ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Yang <eric...@gmail.com>
Subject Re: Web UI frameworks
Date Fri, 18 Nov 2011 19:56:45 GMT
Rail style framework is preferred for keeping quality code
maintenance.  I looked at Play! Framework, it looks like a framework
that matches UI requirement for Ambari.  +1 on using Play! Framework
for Ambari UI.

regards,
Eric

On Fri, Nov 18, 2011 at 6:00 AM, Ahmed Fathalla <afathalla@gmail.com> wrote:
> Are you looking for something just to build a UI, or for a full Rails style
> web framework? If you want the latter then I suggest Play! Framework which
> is a Java web framework that's been getting a lot of good karma lately.
>
> On Thu, Nov 17, 2011 at 11:47 PM, Eric Yang <eric818@gmail.com> wrote:
>
>> Google Web Toolkit is somewhat cumbersome to use for real UI work.  It
>> is designed for building UI for Java developer which make abstraction
>> of HTML.  The framework lower the requirement to build basic UI, but
>> it can be difficult to build complex UI.  GWT is a fast developing
>> project. So, there are a lot of versions floating around. Many
>> functions, interfaces and events get deprecated and keeping up with
>> their pace is not too much fun when you have other work to do.  If you
>> have tasted the power of JavaScript and know how to properly utilize
>> it to your advantage, then you will feel crippled with an unexpressive
>> language like java.
>>
>> Apache MyFaces is alternative implementation of JSF.  It is reasonable
>> for delivering server side rendering pages with JSP like taglibs.
>> There are certain tasks that can be rendered more efficiently on
>> server side.  This works for people that can parse between lines in
>> the template files.  Structs is a out-dated version of MyFaces.  I
>> would not recommend to use either framework because parse different
>> language between lines has proven tedious.
>>
>> Apache Click would be a good alternative framework for generating
>> server side rendering pages.  HTML template can be fully decoupled
>> with Java logic.  This provide ability to create efficient rendering
>> pages on the server side.  In branch 0.0, jQuery and HTML5 were used
>> to create a fully functional UI for Hadoop cluster deployment.  This
>> is fine for creating basic pages, but for optimizing complex table
>> rendering, it would be good to use Apache Click and jQuery combination
>> to deliver more polished UI.
>>
>> regards,
>> Eric
>>
>> On Thu, Nov 17, 2011 at 9:08 AM, Owen O'Malley <owen@hortonworks.com>
>> wrote:
>> > All,
>> >   I've been poking around at frameworks that we could use for building
>> the
>> > web UI and it looks like there are a lot of options:
>> >
>> >   1. Google Web Toolkit
>> >   2. Java Server Faces
>> >   3. Struts
>> >   4. Javascript libraries (jQuery, Dojo, YUI,
>> >   Prototype/Scriptaculous, Google Closure, Mootools)
>> >
>> > I went over a presentation that describes the differences:
>> >
>> >
>> http://courses.coreservlets.com/Course-Materials/pdf/jsf/jsf2/JSF2-Overview.pdf
>> >
>> > Based on that, the fact that most of us are Java programmers I'm leaning
>> > toward one of the Java libraries. Based on the documentation that I've
>> been
>> > reading, I'm currently leaning toward GWT. Has anyone used the packages
>> > before? Thoughts?
>> >
>> > -- Owen
>> >
>>
>
>
>
> --
> Ahmed Fathalla
>

Mime
View raw message