Open danhyun opened 10 years ago
Thanks for the info. We will be updating chapters to version 2.3 and ideally highlighting significant differences from previous versions. I'm not sure we'll be able to include Async support as that may require a lot of content. But there is certainly interest in it.
@pledbrook that sounds great. I love the http async implementation and I think it's one less thing that the Play uses can comment about :)
I have been writing hubbub from scratch using 2.3.4 and making changes so it will work. It may not be the best grails-y way to do it but if you're interested I can push up my local copy for reference.
I'm not sure if this book will be covering the latest version of Grails 2 but there are a few pointers, all gathered from the what's new section of the online documentation that may be nice to put in the first few chapters of the book.
Forked Execution:
If you wish to debug in your favorite IDE, removing the
test
andrun
options from thegrails.project.fork
closure inBuildConfig.groovy
will prevent you from ripping your hair out as to wondering why your break points are not working.Test Runner Daemon:
Invoking
restart-daemon
in grails interactive mode makes for faster test runs.Nice to have:
Some "new" features I would like to see covered are the Data Binding and Command Object improvements listed.
I'm also very interested in the Async support which, at a glance, seems to be similar to the NIO approach of request/response handling as seen in the Play framework.
Overall I find grails to be a great pleasure to work with and I would like to thank the authors for writing a concise guide to the topology of the framework. The online documentation is great but there's a lot of it and this book does a great job laying out the grails landscape so that I know where to look for more details.