Gierer’s “(…) Ext JS and Spring” book review
On the beginning of the March we were asked by Packt Publishing to review a quite fresh book about ExtJS: “Enterprise Application Development with Ext JS and Spring”. After a small research about the author (which by the way looks as a very experienced guy) and the book itself I decided to consider it positively.
The best way to do that was to follow the steps provided in book and make a summary after each part on which book is splitted.
Part 1 – Build backend with Java, Spring and MySQL
As a developer without an experience in Java but with an experience in the development of the enterprise app with PHP and Zend it was interesting for me how much effort I will need to put to prepare the same full stack solution using language and tools mentioned in the title. And after reading the first part I need to admit, less than I expected.
Gierer’s book, takes you through all of the necessary steps, from the basics like IDE (Maven, Server), MySQL configuration to the more advanced parts like implementing JPA (Java Persistent API), server layers (DAO, service layer, request handling, Spring) and covering code via unit tests. What’s important it doesn’t bother you with too long descriptions or quotes from documentation, but provides step by step instructions how to achieve the wanted goal (proven by screenshot of each action or source code). Also architectural decisions seems right for me (database design, interfaces, generalisation, etc.), author explains you and guides you where and how to use a different principles and technics. And as a bonus you’re able to find in the text links to the additional resources which can help you improve your’s application (ex. password encryption strategies).
But it’s also one thing which I think was treated leniently by the author. Ext JS 4 provides a dedicated solutions for communication between the frontend and the server, stuff called Ext.Direct. It is recommended to use this mechanism in application build with Sencha’s framework. And even if we are not familiar or we are not a fans of RPC servers we should use a REST instead of it. So, the example of communication provided in the book still needs a tweak as it’s only simple request handling mechanism.
Part 2 – Cover frontend part with ExtJS 4
Frontend part focused on Ext JS 4. This part is a lot of shorter than previous one and of course there is a reason of that. Author mostly explains patterns and principles occurred in the framework and shows how to use tools like Sencha CMD or basic classes and components. For the beginners or people who never try Sencha library it’s a complete knowledge to start, but if you are familiar with Ext JS 4 basics and you looking for a deeper lecture, so you need to search for another book.
+ Solid introduction to the development robust enterprise services in JAVA
+ Provides description of nearly all steps of development (from the set up of project to the production stage)
+ Contains detailed description of every steps (with screenshots), methods, properties or annotations
+ I wasn’t able to find any mistakes
- Example server doesn’t implement REST or RPC architecture style
- Doesn’t contains any word about Ext.Direct
- Ext JS is only an addition to the book
You can find this book here: