7 Jan 2009 10:12 AM #1
Progressive Enhancement with Ext JS
If progressive enhancement is a requirement for my app, is it possible with Ext JS? Is XTemplate the recommended way to do this?
7 Jan 2009 10:51 AM #2
7 Jan 2009 2:12 PM #3
7 Jan 2009 6:30 PM #4
I think Jay understands what Progressive Enhancement is. But we need to know what YOU mean by Progressive Enhancement. From the Wikipedia article:
But perhaps you want a more specific answer...?
8 Jan 2009 3:03 AM #5
I think what's meant is more what the best practice is to output a basic html form on the server and "extify" it from client code.
I think the easiest way to do this is probably to just replace the basic html code entirely with generated ext, but keeping the same field names so the server-side script can cope with either situation.
8 Jan 2009 9:40 AM #6
8 Jan 2009 10:24 AM #7
8 Jan 2009 10:40 AM #8
I think progressive enhancement with Ext may be a stretch, although it's possible. But if you're trying to make a full-blown web app that uses progressive enhancement, I think you're wasting your time.
8 Jan 2009 11:15 AM #9
To a point, I took an exising HTML only app and applied quite a lot of Ext functionality (mostly around forms) using the underlying HTML tags.
8 Jan 2009 11:26 AM #10
I would have to agree that progressive enhancement doesn't make sense for rich web apps.
The gap in functionality between what basic mobile or text-mode browsers support and what rich web apps need to do is too big to engineer it using progressive enhancement in reasonable time.
I just build two front-ends, a basic/mobile one, and a rich one. The nice thing is each front-end doesn't have to compromise. The mobile front-end offers up the same data, but the featureset is different from the rich client. It doesn't necessarily do less, it just does something different. It would be almost impossible to do that with progressive enhancement.