NYCPHP Meetup

NYPHP.org

[nycphp-talk] JavaScript List?

jahmon :-) jahmon at jahmon.com
Fri Jul 19 14:53:02 EDT 2002


I tend not to use javascript much at all.
for validation, I usually do light validation (syntax, not empty, is email,
etc) w/ JS and heavy w/ php (error checking, etc).
It's useful for DHTML stuff...but can be combursome. 
What I think it is useful for though...is for gui enhancements.
For example: I had a client recently, that wanted to pull address from a
database table to populate a form. W/O JS, this was a three step process,
with PHP loaded JS, it became a 1 step process. 

Everything has it's place, and once you realize the right place for
everything...you become a better developer. 

JS defineately has it's purpose. But I don't think it should be used for
everything. Lets use the right tool for the right job...and save the other
tools for the other jobs.


jahmon ;-)



More information about the talk mailing list