NYCPHP Meetup

NYPHP.org

[nycphp-talk] Dynamic Form Elements

csnyder chsnyder at gmail.com
Fri Feb 1 13:00:42 EST 2008


On Feb 1, 2008 10:58 AM, Peter Sawczynec <ps at sun-code.com> wrote:

> I vote, pour on the JS. Show/hide. Tool tips. Mouseover. And even, whoa,
> inline frames.

Yes, but some approaches make more sense than others.

Progressive enhancement, where the markup of the page works without
javascript, and then javascript is used to add richer functionality,
is ideal.
http://en.wikipedia.org/wiki/Progressive_enhancement
http://en.wikipedia.org/wiki/Unobtrusive_JavaScript

It seems like more work, since you make a functional wireframe first
and then make it all ajax-y, but it provides a necessary (imo)
separation between front- and back-end processes.

It's similar to the notion that your application should be usable (if
ugly) without css and images.

-- 
Chris Snyder
http://chxo.com/



More information about the talk mailing list