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

csnyder chsnyder at
Wed Jan 10 10:36:21 EST 2007

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

More information about the talk mailing list