Iron Python in Action

Iron Python in Action by Christian Muirhead and Michael J. Foord

Iron Python in Action

Binding:
Paperback
Number of Pages:
480
ISBN:
1933988339
Product Group:
book
Publisher:
Manning Publications
Publication Date:
March 30, 2009
BooksForGeeks.com ID:
2360

Reviews for Iron Python in Action

  1. Very Readable Intro to Python, IronPython, .Net and Development Practices

    Rated 5 out of 5 stars, July 12th, 2009

    Being one the first books on any topic out there is a double edged sword. On the one hand you can corner the market for a while and on the other you have a wide range of expectations to deal with. With the topic being IronPython, this challenge is even trickier with the diversity of the Python audience (CPython, Jython, PyPy etc) plus the .Net crowd thrown in. Pleasing everyone is going to be tricky! Personally, I was after a more rounded knowledge of Python (I've learnt what I have through a mish-mash of tutorials and podcasts) and, more importantly, a good bit on .Net that will feed into the day job.

    The opening chapter introduces the history of both Python and IronPython, dynamic languages and the rich .Net Framework. The short sections on IronPython for .Net Programmer and IronPython for Python Programmer are a nice touch. Being part of the 'In Action' Series, it unsurprisingly wastes no time and dives straight into the Python console, Silverlight, meta-programming and more before reaching chapter 2! The second chapter was one of the key ones for me hoping to fill in my patchy Python knowledge. The authors have thankfully not rushed this section (as many catch-up chapters in books sometimes do). Anyone new to Python should be up to speed no problem. Later chapters in the book cover more advanced Python topics such as protocols. It is also not just Python in there. Design patterns, unit testing and other general topics are covered with their particular relevance to Python.

    Chapter 4 introduces the multi-doc example which is revisited in later chapters with different aspects expanded. This contrasts with some shallow samples in other programming books which on second glance are not that helpful. The entire book is also fairly neutral in terms of tools. Mono (alternative version of .Net) is covered. Whilst MS centric technology is covered such as ASP.net and Visual Studio get good coverage too, other editors/IDE such as Wing. The Open Source crowd shouldn't feel left out. The chapter on databases chooses PostgreSQL which is an odd choice as MS SQL would be a bit more Enterprise-y and has some excellent free (beer) editions. This would make the book a bit more appealing to the Windows audience. However the RBMS choice is platform neutral and using the Framework classes doesn't differ too much when using different systems. Another little niggle here is that use of COM objects is not covered - perhaps a legacy topic for a cutting edge technology book and COM usage is covered in online resources.

    I have not tried everything in the book - there's a lot in there! GUI test automation is probably next on my list. Later topics cover hosting IronPython in your own programs so you can enable them for scripting and more advanced mixing of IronPython and the regular .Net languages. Powershell also high on my list to re-read.

    To really give the book a road test I decide to use it as my main reference for working on a small desktop application. I chose a code editor as a project - turned out to be very different to MultiDoc and the contrasts particularly in the design decisions. (As a little aside, the editor may get released with a bit more work.) It also served as a good 'playground' for trying out things from the book and I often found myself going there first instead of the usual MSDN and Visual Studio class browser. It is not a dust gathering title. The electronic version is worth having alongside the dead tree version (estimated as being Jan 2009).

    In conclusion, if you are interested in IronPython this book is a must for your bookshelf. 'IronPython In Action' gives a packed tour of IronPython across the key technologies from the desktop, databases, system administration to the web server and client side. Commendably it manages to bring all interested groups along for the ride and you will definitely be inspired to 'Action'. Ho ho. Going back to my initial goals after reading it, I definitely have improved my IronPython, Python and .Net. Result.

    IronPython in Action is published by Mannings. A free chapter is available so you can try before you buy.
  2. Fills a surprising gap in the market

    Rated 5 out of 5 stars, May 12rd, 2009

    IronPython, as the first dynamic language on top of the CLR, with version 1.0 released over two years ago, is an important language in the wider world of .net, and yet has been strangely neglected in the English language press (though there has been a Japanese language book available for a couple of years now).

    IronPython in Action now fills that surprising gap.

    The task the authors set themselves is an heroic one -- to teach Python to .net programmers, and .net to Python programmers, and, just in case that was not enough, several of the more outré parts of .net, and good programming practices, for just about everybody as well. What makes this a great book is that, in the course of about 450 pages, with copious external citations, they actually succeed.

    Part of the secret of the success is that this (like Programming In Scala: A Comprehensive Step-By-Step Guide) is not a beginner's book and assumes the reader has a degree of familiarity with basic programming concepts -- for example, the Python "if", "for" and "while" statements are covered together in just over a page, with the link collection in Appendix C there in case a more at length treatment is required -- so freeing space for more advanced material to be covered.

    The coverage of the less glamorous parts of .net (such as the System.Management namespace) is more than many mainstream .net books bother with, and the coverage of the sexier new material (WPF, Silverlight) is more measured than in the typical technology-specific text -- enough to be worthwhile whatever .net language you might typically use, even if you don't catch the Python bug.

    Declaration of interest: I get cited on page 221 for a blog post I made a couple of years ago.
  3. A Clear and Broad Introduction to Python on .NET

    Rated 5 out of 5 stars, April 12th, 2009

    Michael Foord and Christian Muirhead have written a very clear and readable introduction to IronPython. Even as a seasoned Python programmer, I confess to having learnt a thing or two about the Python language while gaining a good background in the .NET framework. Windows Forms, ASP.NET, Silverlight, using IronPython with C# and VB, testing and metaprogramming, databases and web services - the book covers a good breadth of applications.

    If you're a Python programmer looking to get into .NET, or a .NET developer wanting to explore Python and dynamic languages, this is the ideal book for you.
  4. Fantastic book

    Rated 5 out of 5 stars, April 12th, 2009

    Straightforward enough for me to get started, but with enough detail to be useful as a reference book as well. Particularly liked the Silverlight and the testing chapters. Fun style of writing and 'real' enough examples.

Our Network

BooksForGeeks.com is a participant in the Amazon Europe S.à r.l. Associates Programme, an affiliate advertising programme designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.co.uk