[ajug-members] Can anyone recommend a book for learningRubyon Rails?
Gunnar Hillert
gunnar at hillert.com
Wed Jul 30 01:25:22 EDT 2008
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
>
> **********************************************************************
>
> This communication is confidential and intended solely for the
> addressee(s). Any unauthorized review, use, disclosure or distribution
> is prohibited. If you believe this message has been sent to you in
> error, please notify the sender by replying to this transmission and
> delete the message without disclosing it. Thank you.
>
> E-mail including attachments is susceptible to data corruption,
> interception, unauthorized amendment, tampering and viruses, and we
> only send and receive e-mails on the basis that we are not liable for
> any such corruption, interception, amendment, tampering or viruses or
> any consequences thereof.
>
> This email, its content and any attachments is PRIVATE AND
> CONFIDENTIAL to TANDBERG Television, Part of the Ericsson Group.
>
> www.tandbergtv.com
> **********************************************************************
>
>
>
> The information transmitted is intended only for the person or
> entity to which it is addressed and may contain CONFIDENTIAL
> material. If you receive this material/information in error,
> please contact the sender and delete or destroy the
> material/information.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ajug-members mailing list
> ajug-members at ajug.org
> http://www.ajug.org/mailman/listinfo/ajug-members
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ajug.org/pipermail/ajug-members/attachments/20080730/f901274a/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 73 bytes
Desc: not available
Url : http://www.ajug.org/pipermail/ajug-members/attachments/20080730/f901274a/attachment-0002.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 73 bytes
Desc: not available
Url : http://www.ajug.org/pipermail/ajug-members/attachments/20080730/f901274a/attachment-0003.gif
More information about the ajug-members
mailing list