Amazon.co.uk: Customer Reviews: Stripes: ...and Java web development is fun again (Pragmatic Programmers)

Customer Reviews


2 Reviews
5 star:
 (2)
4 star:    (0)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
Share your thoughts with other customers
Create your own review
 
 
Only search this product's reviews
Most Helpful First | Newest First

 
2 of 2 people found the following review helpful:
5.0 out of 5 stars Great book. Great web framework., 23 Nov 2008
* Stripes is a great modern MVC web framework similar to WebWorks/Struts 2 in that it uses interceptors as part of it's architecture.
* It makes less use of XML and more use of Annotations. URL's that will be forwarded are encoded in the action classes themselves. So you don't end up with the equivalent of a struts.xml or struts-config.xml with global forwards or action mappings as in classic Struts.
* There few disadvantages I've seen with Stripes over Struts 2 are:
** Struts 2 wrappers Servlet objects like the request/response and uses Hashmaps to represent request parameters. Stripes doesn't sheild you from this so elegantly and makes use of them directly with things like Exceptions. This makes testing dependent upon a container or specialised mock implementation libraries.
** Because OGNL is used with Struts 2, you are not constrained by the MessageFormatter limit on the number of parameters passed.
** Struts 2's 'themes'. This provides continuity and eliminates the drudgery of manually providing the plumbing for things like Form layout.
* Other than that, the book illustrated several benefits Stripes I've not seen covered in Struts 2/Webwork in the area of security.
** Binding of properties is properly locked down by use of access modifiers and annotations.
** The book shows how to guard against Cross Site Scripting attacks. (I don't know why this wasn't implemented as an interceptor. i.e. XMLEscaping chevrons in form input to stop malicious Javascript code from running).
** Stripes also has a handy mechanism to encrypt request parameters.
* The book illustrates Stripes by providing a web based email client. It starts out by mocking the DAO's, but as the book progresses shows how to integrate with JPA/Hibernate, Spring/Guice and Ajax via Prototype/jQuery. There's a section on testing including Mockito, and the book uses DisplayTag for tabular lists of data.
* Frederic also illustrates how create some excellent abstract base classes through use of Generics which I found educational in its own right.
* Coverage of i18n was better covered that any book on a web framework I've yet seen. It even went down to the level of translating text within controls.
* There is also good advice on protecting against double submits and browser back.
* Stripes also facilitates:
** wizard type functionality.
** can provide the equivalent of Sitemesh/Tiles without need for third party jars. It does show how to work with these too.
* I particularly enjoyed reading the sidebars from Tim Fennell the Stripes architect. Hearing things from two experts perspectives was a novel approach that worked well.
* It's a sound book which I wholeheartedly recommend. It's a fast paced, factual and devoid from fluff.
* Depending on the itch you have to scratch...
** If security is more of an issue to you I'd recommend Stripes. (Update: For Struts 2 there is now the HDIV plugin that resolves this)
** If automating form layout and shielding from the servlet for testing, I'd recommend Struts 2.
** Either way this is a great technology worth adding to your repertoire.
* There is also a minor logic error on P205. Should check for duplicate aliases in "add mode".
* My only other minor gripe with th book was the cover could have been more substantial.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
5.0 out of 5 stars 5 stars for Stripes, 5 stars for the book, 26 Feb 2009
I received this book few days before Christmas, and I'm now really impressed: in few weeks, following this beautiful manual, I got all the necessary information and skills I need to start using the Stripes Framework for my own projects!
I successfully implemented also the Stripersist library and Hibernate, and everything is working fine from the beginning.
Stripes is a recent tool, but we are lucky because the official website is rich of useful information and the documentation is very accurate; we are lucky because Stripes is very powerful but also extremely simple, and Frederic Daoud did a fantastic work writing this book!
It's very well organized, introducing components and arguments of the framework in a logic and developer-friendly way.
Chapters on Layout Reuse, Custom Messages and Persistance are absolutely stunning, definitively one of the best tecnical book I have read in the last year!
On the Pragmatic Programmer's web site you can find the zipped source code with all the book's examples: it's useful to keep everything under control, looking at the entire class code, following the changes introduced in the book.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


Most Helpful First | Newest First
 

Sponsored Links

 (What is this?)
   Free Java App Management opens new browser window
www.NewRelic.com  -  Monitor and troubleshoot your Java apps using New Relic RPM Lite 
   Web Programming Courses opens new browser window
www.seeklearning.co.uk  -  Recommended Web Programming courses to match your IT career. 
   Ruby Bootcamp + RoR Conf opens new browser window
www.skillsmatter.com  -  4-day Ruby Bootcamp w David Black + free RoR conference ticket £750 

This product

Stripes: ...and Java web development is fun again (Pragmatic Programmers)
£25.18
In stock
Add to basket Add to wishlist

Where's My Stuff?

Delivery and Returns

Need Help?

amazon.co.uk Amazon Home
International Sites:  United States  |  Germany  |  France  |  Japan  |  Canada  |  China
Business Programs: Sell on Amazon  |  Fulfilment by Amazon  |  Join Associates  |  Join Advantage
Customer Service  |  Help  |  View Basket  |  Your Account
About Amazon.co.uk  |  Careers at Amazon
Conditions of Use & Sale |  Privacy Notice  © 1996-2009, Amazon.com, Inc. and its affiliates