• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Quick Question about Stripes?

 
Brian Legg
Ranch Hand
Posts: 488
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am very interested in Stripes (anything that can save me time!!) and I have a couple questions.

First off, does Stripes replace Struts? (please say yes)

If so, how hard is it to migrate from a Struts configuration to using Stripes?

Lastly, about the book itself, it seems that configuration and setup is much simpler using Stripes, if so why does it need an entire book? What are the main topics that the book covers?

Thank you for your time!
 
Frederic Daoud
author
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Brian, thank you for your interest!

Originally posted by Brian Legg:
I am very interested in Stripes (anything that can save me time!!) and I have a couple questions.

First off, does Stripes replace Struts? (please say yes)


Yes


If so, how hard is it to migrate from a Struts configuration to using Stripes?


The migration should be relatively straightforward. Please see http://www.coderanch.com/t/420814/oa/Migrating-Struts for more detailed explanations.


Lastly, about the book itself, it seems that configuration and setup is much simpler using Stripes, if so why does it need an entire book? What are the main topics that the book covers?


Configuration and setup is only a couple of pages in the book

Really, the book is much more about teaching the reader, with detailed explanations and many examples, how to use the features of Stripes to their full potential.

Furthermore, because Stripes is not full stack, the book also covers how to integrate several other frameworks to address those needs (database, middle-tier, AJAX, testing, and so on). The list of frameworks that are covered in the book are listed in this thread: http://www.coderanch.com/t/420817/oa/Stripes-other-frameworks

So, to summarize, Stripes is not difficult to learn, but the book will teach you many useful techniques and show you how to solve typical web application requirements with Stripes.
 
Aaron Porter
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, Stripes does replace Struts. YAY!

There are several people including me who have Struts and Stripes co-existing while they migrate away from Struts. Because of the incredible binding system in Stripes we cut out 3/4 of the code required in Struts although I don't know if that's typical. Mostly, we just needed to copy the logic from Struts and update JSPs. The biggest advantage for me was getting rid of all of the abstraction in Struts. Now I don't have to open 15 different files to figure out what's going on.

I've been using Stripes since 2005 writing several plugins for it along the way and I still learned quite a bit from the book. It has extremely good coverage. You can see the table of contents here.
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Aaron Porter:
Yes, Stripes does replace Struts. YAY!

There are several people including me who have Struts and Stripes co-existing while they migrate away from Struts. Because of the incredible binding system in Stripes we cut out 3/4 of the code required in Struts although I don't know if that's typical. Mostly, we just needed to copy the logic from Struts and update JSPs. The biggest advantage for me was getting rid of all of the abstraction in Struts. Now I don't have to open 15 different files to figure out what's going on.



That's really nice to hear Thanks!
 
Brian Legg
Ranch Hand
Posts: 488
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply, that is GREAT news to someone like me who has not heard of Stripes yet. Time to go get it approved to the project.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic