On 1/10/07, inforequest <[EMAIL PROTECTED]> wrote:
csnyder chsnyder-at-gmail.com |nyphp dev/internal group use| wrote:

> On 1/9/07, inforequest <[EMAIL PROTECTED]> wrote:
>
> Or do you mean the so-called "behavior" approach to front-end
> programming, where the class attributes of objects in markup are used
> to create JavaScript objects on page load? Saves a lot of code, but
> the routines used to find objects by class name are notoriously slow.
>

yeah, that's the one. Do we expect the "slowness" to improve with age?
The idea of keeping the presentation js separate from the behavior js is
as nice as it was when we did it to the HTML.

Or maybe we shouldn't uses classes for behavior:
http://unspace.ca/discover/attributes/
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to