Pro Dynamic .NET 4.0 Applications
Author: Carl Ganz
Publisher: Apress, 2010
Pages: 264
ISBN: 978-1430225195
Aimed at: Experienced C# programmers
Rating: 2
Pros: Some interesting advanced techniques
Cons: Misleading title, not deep
Reviewed by: Ian Elliot

This is a very strange book. It isn't a good book but you still might want to buy it.

The title Pro Dynamic .NET 4.0 Applications might lead you to believe that the book was about the latest dynamic programming facilities in .NET 4.0, or indeed something about .NET 4.0. In fact the book is about things that were included in .NET 3.5 and it doesn't really deal with dynamic typing at all.

So what is the book all about? Mainly it's about code generation with a something thrown in on SQL and dynamic forms.


Banner

 

Chapter 1 looks at SQL Metadata and .NET code generation - mainly CodeDOM. Chapter 2 discusses the use of reflection to load assemblies, instantiate classes and call methods at runtime. Chapter 3 takes us a little further with code generation and looks at runtime code compilation.  This more or less closes the section of the book on dynamic code.

Chapter 4 deals with changing forms at runtime even to the extent of defining an XML language that specifies the form - something like XAML for WinForms. Chapter 5 does the same thing for ASP.NET Web Forms and Chapter 6 for WPF forms. There is nothing clever or particularly advanced in these chapters - if you know how to programmatically create a control and add it to a form or layout panel then you really don't need to read this.

The final two chapters are about reporting generation and database design. Again nothing particular difficult or surprising.

Another problem with the book is that nothing is very well explained. The examples are long and without adequate discussion and perhaps most importantly there is insufficient motivation for the whole enterprise. If you know why you might want to work with the CodeDOM and generate code then you might find digging though the examples rewarding but if you just a vague idea that dynamic code might be useful don't bother.

This isn't an inspiring book and in the main you can give it a miss.

Banner


I.M. Wright’s “Hard Code” 2nd Ed

Author:  Eric Brechner
Publisher: Microsoft Press, 2nd Ed, 2011
ISBN: 978-0735661707
Aimed at: Software developers and managers
Rating: 4
Pros: A sometimes entertaining insight into the world of Microsoft
Cons: Tends to be repetitive; necessarily cliquey
Reviewed by: Sue Gee

This book originated as a [ ... ]



Programming PHP (3e)

Author: Kevin Tatroe, Peter MacIntyre & Rasmus Lerdorf
Publisher: O'Reilly
Pages: 540
ISBN: 978-1449392772
Audience: Programmers from other languages
Rating: 4
Reviewer: Mike James

PHP isn't always taken as a "serious" programming language. However, given that it powers so many websites it deserv [ ... ]


More Reviews

Last Updated ( Tuesday, 19 April 2011 )
 
 

   
RSS feed of book reviews only
I Programmer Book Reviews
RSS feed of all content
I Programmer Book Reviews
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.