[ajug-members] Can anyone recommend a book for learningRubyon Rails?

Joe Sam Shirah joe_sam at bellsouth.net
Wed Jul 30 13:14:24 EDT 2008


    As far as my two cents, I've been happy with my choice of JSF and 
Facelets.  With some boilerplate code, you can go straightaway and eliminate 
JSP altogether, keeping (IMO) code where code belongs.  On the last two 
projects, I've included RichFaces for rich and ajax capabilities.  I tend to 
be minimalist and have run into few framework issues.  On larger projects, 
faces-config.xml tends to get big, but virtually everything is in one place.

    If anyone's interested, I have an article with code, and live demo on 
conceptGO's Community page, at:

http://www.ibm.com/developerworks/java/library/j-richfaces/index.html?S_TACT=105AGX02&S_CMP=HP

    Because of JEE support, I believe JSF is worth a look.  I have word from 
an EG member that JSF 2.0 will support varieties of both Facelets and JSF 
Templating.


                                                         Joe Sam

Joe Sam Shirah -        http://www.conceptgo.com
conceptGO       -        Consulting/Development/Outsourcing
Java Filter Forum:       http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International?    http://www.jguru.com/faq/I18N
Que Java400?            http://www.jguru.com/faq/Java400

----- Original Message ----- 
From: "Gunnar Hillert" <gunnar at hillert.com>
To: <ajug-members at ajug.org>
Sent: Wednesday, July 30, 2008 1:25 AM
Subject: Re: [ajug-members] Can anyone recommend a book for learningRubyon 
Rails?


> Hi,
>
> The core idea of Struts 2 is really nice - Plain POJOs that serve as
> actions (Great for testing - by default no dependency on the request).
> Your action's instance variables are immediately available in your JSPs
> (In a sense similar to Rails). It is certainly a step-up from Struts
> 1.x. and I think it is nicer to work with than Spring MVC < v2.5 as well.
>
> That being said - While it is very easy to get started you will hit
> quite a few annoyances with Struts 2, most of them are minor but the
> biggest one right now is that the present version of Struts is over a
> year old and the current Dojo integration is awful and has been
> substantially refactored in 2.1 - but I am waiting for the final 2.1
> release for months now...
>
> Have you looked at Spring MVC 2.5? It improved quite a bit since the 2.0
> days (Fully supports annotation-based configuration now), plus you have
> Spring Webflow readily available in case you need to handle
> conversational state.
>
> Right now I am a bit on the fence between both frameworks - maybe they
> should just merge... Anyway - regarding RoR...'Agile Web Development
> with Rails' is a great book (First and second edition). RoR certainly
> has some nice features...
>
> Cheers,
>
> Gunnar
>
> mike stittleburg wrote:
>> Struts 2 == Webwork 2
>>
>> That said it's an improvement over Struts 1.x but still tedious. The
>> pure java side (actions) are pretty straightforward. The greatest
>> annoyance I find is with developing the views (jsp,tags,...). All the
>> binding is still done with string attributes which is quite error
>> prone. The tag libraries seem rather lame compared to something like
>> JSF or ASP.NET :).
>>
>> I'm not convinced that the RnR view model is any less tedious and you
>> are still mixing code and markup in the same file.
>>
>>     -----Original Message-----
>>     *From:* Thomas, Dave [mailto:dthomas at tandbergtv.com]
>>     *Sent:* Tuesday, July 29, 2008 6:04 PM
>>     *To:* ajug-members at ajug.org
>>     *Subject:* Re: [ajug-members] Can anyone recommend a book for
>>     learningRubyon Rails?
>>
>>     Looked at Struts 2, but at the time didn't look ready for prime
>>     time.  It's completely different, so a rewrite in Struts 2 would
>>     be the same as a rewrite in something with more sex appeal like
>>     Seam+Facelets.  Or Ruby on Rails.
>>
>>
>>
>>     ------------------------------------------------------------------------
>>
>>     *From:* Darren Nelsen [mailto:dnelsen4 at Humana.com]
>>     *Sent:* Tuesday, July 29, 2008 3:46 PM
>>     *To:* ajug-members at ajug.org
>>     *Cc:* ajug-members at ajug.org
>>     *Subject:* Re: [ajug-members] Can anyone recommend a book for
>>     learning Rubyon Rails?
>>
>>
>>
>>     What version of Struts are you on?
>>
>>     Struts 2 is far less tedious than Struts 1.x from what I've read.
>>     Have you looked into that? Might be easier to migrate.
>>
>>
>>     Inactive hide details for "Dewberry, Jim"
>>     <jdewberry at connecture.com>"Dewberry, Jim" <jdewberry at connecture.com>
>>
>>     *"Dewberry, Jim" <jdewberry at connecture.com>*
>>
>>     07/29/2008 03:14 PM
>>
>>     Please respond to
>>     ajug-members at ajug.org
>>
>>
>>
>>     To
>>
>>
>>
>>
>>     <ajug-members at ajug.org>
>>
>>     cc
>>
>>
>>
>>     Subject
>>
>>
>>
>>
>>     [ajug-members] Can anyone recommend a book for learning Ruby on 
>> Rails?
>>
>>
>>
>>
>>
>>
>>     Hi Everybody!
>>
>>     Struts is tedious. Can anyone recommend a book for learning Ruby
>>     on Rails?
>>
>>     Thanks, Jim_______________________________________________
>>     ajug-members mailing list
>>     ajug-members at ajug.org
>>     http://www.ajug.org/mailman/listinfo/ajug-members
>>




More information about the ajug-members mailing list