NYCPHP Meetup

NYPHP.org

[nycphp-talk] Which "ajax/xhr framework" are you using in PHP5?

Carlos A Hoyos cahoyos at us.ibm.com
Wed May 17 17:23:19 EDT 2006


talk-bounces at lists.nyphp.org wrote on 05/17/2006 01:35:45 PM:

> Oh man, that dojo thing is in a league of it's own, with documentation
> (almost) and everything. I'll be using that on the *next* project...
>
Documentation? Maybe I should be asking you questions ;-)

> Carlos (or anyone else) if you've used prototype, can you give a quick
> summary of the relative merits of dojo vs. prototype?

Dojo has a really cool build system so you can pick and choose the features
you need, and it has a great event system. There's also persistency
libraries (using flash movies as storage), and iframes workaround for
things like back button support.

> Does dojo give you the same ability to easily create and extend your
> own classes?

Yep, Dojo has a couple of functions (inherits and extend). Keep in mind
that both prototype and dojo extend javascript to add more power to the
language.

Last week at the ajax experience, I heard the following comparison:
"Prototype is like a Porsche and Dojo is like a Hummer". Prototype has the
Ruby-like iterators, very coder friendly, while Dojo is very engineered
with a lot of function extensions.

Carlos Hoyos,




More information about the talk mailing list