28. April 2011 23:06
This is one of the most timely and practical books I have ever read. If you are using NHibernate 3.0 and any of it’s “satellite” FOSS projects and you need a reference on how the community is using it, buy this book.
As the name implies, the book is laid out in the same manner as a “cookbook” with each chapter grouping together several “recipes”. These recipes illustrate how the community in general is using NHIbernate each feature or API and while they may not cover every scenario, are usually enough to get you going in the right direction.
The chapters each cover one of the major components of NHibernate, for instance, there are chapters covering of fundamentals of NHibernate:
- Models and Mappings
- Configuration and Schema
- Session and Transactions
Plus additional chapters on the practical usage of NHibernate:
- Testing NHibernate
- Creating a Data Access Layer
- Extending NHibernate
- Using the NHibernate Contribution Projects
Each chapter is divided into a series of “recipes”, for instance Using the Conversation per Business Transaction Pattern, and then offers an explanation of what the said topic is or does. Then it goes into sections on:
- How to do it: detailed description what you need to do to get the example working
- How it works: detailed description about what is going on behind the scenes
- There’s more: any additional information or examples that adds value to the recipe
- Getting Ready: gives information that is required to get the recipe to work – e.g. download the project binaries from http://code.google.com/p/unhaddins
- Easy to read
- Packed full of timely examples
- Layout is easy to follow and comprehend
- Will get you up and running with NHIbernate very quickly
The author’s blog: http://www.jasondentler.com/blog/
4. March 2011 22:54
As usual I have been reading a ton of books lately on various subjects from HTML5 to NHibernate to unit testing and other subjects as well. The plan is to write a series of reviews of each book over the next couple of weeks.
The first book I will write about is Introducing HTML5 by Bruce Lawson and Remy Sharp. If your not familiar with HTML5, it along with CSS3 are the latest and greatest in web standards and technology from the W3C. Too be honest, you have to use the term HTML lightly, with respect to HTML5…while it does add to the markup common associated with HTML and other SGML derivatives, it also offers a whole slew of technologies that are decidedly outside the scope of markup: graphics, client side messaging, geo-location and others.
I’ll keep this book review short and sweet, like the book at barely 200 pages…as the title states, it is an introduction to HTML5 and gives a summary of the various technologies that it comprises. It’s not a reference manual nor a deep explanation of the subject; it’s a brief description of each technology with simple, real world examples of their usage. In my opinion it’s worth is in that a few hundred pages you get enough understanding of each technology, not enough to walk the walk, but definitely enough to hold a conversation on one of the topics. If you are already past this stage, it probably would not appeal to you; it simply doesn’t offer he enough detail.
Additionally, one thing that it does do is give small nuggets of information regarding work-rounds for various browsers that only partially support HTML5 or have bugs in their implementation. In fact, the authors are not shy about discussing some of the limitations of the support for HTML5 across the common, modern browsers. Of course, this is somewhat awry from some of the HTMl5/CSS3 “fanboys” out their that try to pawn HTML5 as the next coming…the truth is that only portions of HTML5 are completely supported by all browsers and knowing the work-rounds (html5shiv, selectivizr, modernizr, etc) the key to using it now.