Do we even need web frameworks?
On the Struts mailing list, Ted Husted writes:
IMHO, if we had today's JavaScript/CSS/HTML environment available to us in 1998, then JSP, ASP, JSF, PHP, and all the rest of it, would not exist. We did all these things to make up for the shortcomings of the client-side environment, and, since then, the key shortcomings have been addressed.
I believe Ted has a good point. However, today's Ajax development toolkits don't help those applications that require Section 508 compliance. Of course, if your toolkit embraces 508 compliance, I'd love to hear about it.
Posted by Tony on August 09, 2007 at 04:53 PM MDT #
Posted by Ashkan on August 09, 2007 at 05:04 PM MDT #
Posted by Larry on August 09, 2007 at 05:31 PM MDT #
Posted by Marius Hanganu on August 09, 2007 at 07:05 PM MDT #
Only if writing javascript code wasn't that painful
by the way the math questions to post here are too hard, I just entered:
2 + 22 = 26
:)
Posted by musachy on August 09, 2007 at 09:10 PM MDT #
A better title might have been: "Do we even need server pages?"
At work, we still use a server-side framework to handle input validation, business logic, data access, and text formatting. It's a simple pipeline based on a chain of command. We use JSON-RPC to call a server-side method that calls the appropriate command. The method can then return whatever data is needed. To look at the server-side code, you wouldn't know that a web application was involved.
For the view, we just don't use server pages or text templates. Personally, I find it much easier to code dynamic HTML in JS than with Java tags or ASP.NET controls.
Next, we're thinking of rewriting the chain of command for server-side JavaScript, so that we can do our part of the application in JS, end to end. I'm also wondering what would happen if we added OSGi to the mix on the server-side.
As for Section 508, I believe YUI is putting a lot of focus on accessibility. Of course, if we were all coding in AJAX in 2002 the way we are in 2007, there would be more browser support for AJAX and 508 by now.
-Ted.
Posted by Ted Husted on August 10, 2007 at 01:30 AM MDT #
Posted by Thiago HP on August 10, 2007 at 12:51 PM MDT #
Posted by Dan Cox on August 10, 2007 at 08:16 PM MDT #