Write PHP like JQuery

Posted: May 6, 2010

So I’ve certainly made my opinion of JQuery clear. As far as I’m concerned it’s really an integral part of the JavaScript language. The main thing it brings to the table is its drop-dead simple css-style selection and manipulation of the DOM.

However, another thing that many JQuery programmers really appreciate is the command chaining lets you pipe the object from one statement to another, futher shrinking the number of lines of code and in the process making it easy to just do a lot of different things in a row to one object.
Read the rest of this entry »

Why JQuery

Posted: October 2, 2009

I used to be one of those ‘He-Man’ coders. Why do I need to use libraries or frameworks? I’l just code it all by hand and it’ll be leaner and more efficient. Why would you bother to have an extra 15k download? That’s an extra server call! You get the idea.

While there certainly are some libraries or frameworks that are too big or that run slower, that’s more a sign of a poorly made library than anything else. JQuery is no poorly made library.

Read the rest of this entry »