Re: [nyphp-talk] Intellectual Monday

2007-01-23 Thread edward potter
The yahoo UIL thigs are mind blowing. Check out the videos, it's 10,000 lines of JS code. I'm starting to fade out a bit from the PHP world - after MANY years, this new JS stuff is just too tempting to play with. http://developer.yahoo.com/yui/theater/ :-) ed On 1/22/07, Billy Reisinger <[EMA

RE: [nyphp-talk] Intellectual Monday

2007-01-23 Thread Cliff Hirsch
That's pretty cool. Maddening to read, but very powerful. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Marscher Sent: Monday, January 22, 2007 3:38 PM To: NYPHP Talk Subject: Re: [nyphp-talk] Intellectual Monday A lot of the methods in the

Re: [nyphp-talk] Intellectual Monday

2007-01-22 Thread Billy Reisinger
I got nothing on chaining, but I have some opinions about the prototype concept. The prototyping concept in general is similar to using a static member in Java. A function prototype in JavaScript is a member that is common to all instances of that function (read: class). If one instance d

RE: [nyphp-talk] Intellectual Monday

2007-01-22 Thread Baer, Jon
] On Behalf Of Cliff Hirsch Sent: Monday, January 22, 2007 1:49 PM To: talk@lists.nyphp.org Subject: [nyphp-talk] Intellectual Monday I have been digging into JavaScript and jQuery, and am intrigued by several concepts. 1. jQuery uses chaining, whereby every method within jQuery returns the query

Re: [nyphp-talk] Intellectual Monday

2007-01-22 Thread Rob Marscher
A lot of the methods in the Zend Framework classes use object chaining. It requires PHP5. In terms of the prototype concept... javascript doesn't have a traditional object implementation -- you can't say "class A extends class B" -- and the lines are pretty blurred between what a function is

Re: [nyphp-talk] Intellectual Monday

2007-01-22 Thread csnyder
On 1/22/07, Cliff Hirsch <[EMAIL PROTECTED]> wrote: I wonder how these techniques work in the PHP world. Does anyone use chaining effectively? Is there a PHP equivalent to the prototype concept? Javascript is an beautiful, powerful language. I never thought I would say that, and I think Netsca

[nyphp-talk] Intellectual Monday

2007-01-22 Thread Cliff Hirsch
I have been digging into JavaScript and jQuery, and am intrigued by several concepts. 1. jQuery uses chaining, whereby every method within jQuery returns the query object itself. 2. JavaScript's prototype method is an interesting concept for adding methods to existing classes. I wonder how th