|
14 of 14 people found the following review helpful:
5.0 out of 5 stars
A MUST read for every Struts developer, February 27, 2004
I started reading the ebook version with some skeptisicm as the book is from a first time Publisher. My view has changed since then remarkably. As I read the ebook, I was impressed by the practical coverage in this book - which also convinced me to buy the printed book. The book has some typos but they are really minor and did not distract me much and neither has prevented me from giving five stars to this book. The book was best value for my money It manages to do justice to Struts and its best practices in a short 225 page and costs just 14.95. The book deserves its subtitle "Basics to Best Practices". Doesnt matter if you are a beginer or an expert in Struts - You will find this book useful. The book starts off with an excellent introduction to MVC and how Struts fits into MVC. It then explains the basics of Struts very well and develops a hands-on application in Struts. The fun starts from Chapter 4 onwards. Chapter 4 covers advanced Struts concepts and presents some interesting ideas about Struts Action design. Chapter 6, 9 and 10 were killer stuff. I have three other Struts books with me, yet I found these chapters totally novel concepts found nowhere else. For example, Chapter 6 explained how to modify the Struts BaseTag, CheckboxTag to handle some scenarios where they dont work out-of-the-box. It provided a thorough coverage of Struts Form submissions with Image Buttons. I was doing it wrong all these time!!. Chapter 6 also covered JSTL and how to use Struts-EL. Probably the crown jewel(s) from Chapter 6 are: a) How to handle editable List based Forms b) How to handle Multi page read only lists (by integrating the popular Pageer Taglib from jsptags.com with Struts) c) A high-performance page traversal framework mechanism Chapter 7 covers Tiles. Coverage of Tiles elsewhere I read on the net try to cover every feature in Tiles - many of which confuse me. This book sticks to just one way of using Tiles - which I think is the best way to use Tiles. Chapter 9 is about Exception handling with Struts. I have one word to say "Fantastic" !!! The coverage of Exception handling alone is probably worth the price of the book. It provides a solid framework to handle Exceptions in Struts, log them in a centralized manner and report and alert in a production environment. I plan to use this framework AS IS in the project I am currently working on. Most other books on Struts limit their exception chapter to explaining differences between Checked v/s Unchecked exceptions and telling how the <global-exception> tags work in the struts-config.xml. Chapter 10 is for folks who want to customize Struts and reap its benefits in design and development of production systems. It presents three of four examples of how Struts can be effectively customized. The best among them was how to how to handle duplicate form submissions in a generic manner. We all have to deal with duplicate form submissions in daily life and handle them on usecase basis by using the Synchronizer tokens. The technique illustrated here no doubt relies on the Sync token but uses it a very ingenious manner, presents a generic Action class. I liked this technique. Other techniques I liked are that the chapter provides a Dispatch Action like functionality for Image based form submission. The DispatchAction in Struts is great, unfortunately I can use it only under certain restrictions. One of them is that the all of the buttons have to have the same name. This technique removes that restriction and opens a world of possibilities for designing cleaner applications while providing enhanced user experience. If you architect, design and develop Struts based applications for your living, do yourself a favor - Go buy this book. I bet you will not have it in your book shelf but in your hand everyday.
|