4 ms·
If you are not against Java you might want to check out JSF. Code your pages using Facelets though, its better than using JSP. JSF is nice because (unlike ASP.n
by jsjenkins168 19y ago
If you are not against Java you might want to check out JSF. Code your pages using Facelets though, its better than using JSP. JSF is nice because (unlike ASP.net) it cleanly separates behavior and presentation (its purely MVC).
And its a component based architecture which is rendering format agnostic (HTML, WML, XHTML-MP, cHTML). So you can code one page which can render the contents in a different format depending on the client device. This is what the JSF MobileFaces library does when you hit the page from a mobile phone. It automatically renders the page in the proper format for the target device without the developer needing to worry about the details.
The problem is JSF is complicated, which can be very frustrating. For this reason I just use it as the underlying framework, which basically just directs to my GWT pages.
- sohail 19y agoThank you sir for justifying me staying away from all these frameworks.
- jsjenkins168 19y agoWhat did I say that would justify you staying away? Java? I would take JSF over ASP.net any day. I consider ASP.Net to be on a similar level to old fashioned JSP (mixing and mashing of model and presentation all over the place). JSF on the other hand is a true MVC framework So my point is: JSF is very powerful if you can master it.
- hello_moto 19y agoWikipedia entry for JSF: "According to the author of the book Core JSF, JSF offers a means for Java to compete with ASP.NET/Visual Studio in the area of Rapid application development (RAD). The addition of the Sun Java Studio Creator IDE provides a RAD environment similar to Visual Studio 2005, potentially lowering development cost and other barriers to entry." So basically the world of J2EE pre-JSF is worse than ASP.NET and with JSF, J2EE is catching up with ASP.NET stack.
- michaelneale 19y ago> So you can code one page which can render the contents in a different format depending on the client device. I think that is the fundamental failing of JSF. It shows that the creators of it think that a specific view is just a detail.
- michaelneale 19y agoScala !