NYCPHP Meetup

NYPHP.org

WAS Re: [nycphp-talk] And the HTML guru is.... NOW about Behavor Driven vs test Driven development

csnyder chsnyder at gmail.com
Wed Jan 10 10:36:21 EST 2007


On 1/10/07, inforequest <1j0lkq002 at sneakemail.com> wrote:
> csnyder chsnyder-at-gmail.com |nyphp dev/internal group use| wrote:
>
> > On 1/9/07, inforequest <1j0lkq002 at sneakemail.com> 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/



More information about the talk mailing list