csnyder chsnyder-at-gmail.com |nyphp dev/internal group use| wrote:
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/
Thanks Chris. I had apparently been reading people who read that
article. It was better.
It's obvious once again: one needs to be an expert at everything to be
good at the web. I know I will never do well with js, so I will continue
to do things the way the XXXXX library allows me to, and then move on
again next time.
That makes me more of a novice than ever before. Yeah. Another year older.
-=john
--
-------------------------------------------------------------
Your web server traffic log file is the most important source of web business
information available. Do you know where your logs are right now? Do you know
who else has access to your log files? When they were last archived? Where
those archives are? --John Andrews Competitive Webmaster and SEO Blogging at
http://www.johnon.com
_______________________________________________
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