Review : IronPython In Action Permalink

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. Rather that list all the chapters here I will link to the books own website - which looks like a promising resource for updates particularly for such a relatively young implementation of the language.

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).

Before summing up there's a couple of things I should mention. Firstly, I am basing this review on the 'early access' version of the book which is a very advanced edited draft. At the time of reviewing the Appendices and Index where not available and some diagrams were 'work in progress'. I managed to get by fairly well with the Find feature of Adobe Acrobat though a human edited index would be a good addition. Secondly, I should mention I have bumped into one of the authors on the Internet - but who in the (Python) world, hasn't dropped and email to that guy with the funny name and 6 multicoloured heads! I think that absolves me of bias. Probably. Wink

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.

Posted by Davy Mitchell on 2008-10-16 20:47:05.
Categories: IronPython, Python Tags :
Like this post? Digg it or Del.icio.us it. |



XAML and IronPython - Part 4 Online Permalink

After a delay of 3 months (sorry - new job, house fun etc !), Part 4 is now online - oddly the article was written and it was just a little coding required to complete.

Part Four now online. Don't forget Part One and Part Two and Part Three. Articles are aimed at programmers new to GUI work - anyone experienced in GUI programming should zoom right through them.

Getting back to some IronPython on my summer hols... more talking RSS via Speech Synthesis, a podcast orientated MP3 player and have been reading IronPython in Action.

Posted by Davy Mitchell on 2008-08-18 20:30:39.
Categories: IronPython, Python, Software Tags :   
Like this post? Digg it or Del.icio.us it. |



Mood News SilverLight Permalink

So much to blog about... so little time... one thing...

Ever since I put together Mood News, I wanted (and people suggested) having a slider to 'mix' the level of the news. Silverlight 2 (beta) inspired me to put together a new version and though a bit plain looking for a Silverlight app. Data is not updated 'live' yet but that will come soon. Definitely some scope for some swirly colour gradients.

Posted by Davy Mitchell on 2008-05-13 21:55:04.
Categories: IronPython, Python, MoodNews Tags :
Like this post? Digg it or Del.icio.us it. |



XAML and IronPython - Part 3 Online Permalink

Part Three now online. A bit more to digest this time. Don't forget Part One and Part Two. Articles are aimed at programmers new to GUI work - anyone experienced in GUI programming should zoom right through them.

Posted by Davy Mitchell on 2008-04-27 20:54:34.
Categories: IronPython, Python, Software Tags :  
Like this post? Digg it or Del.icio.us it. |



XAML and IronPython Introductory Articles Permalink

Recently I had the idea of writing a bit more on the XAML example I put together. Initially it was going to be on the wiki, then a blog post and now it looks like it will be 5 short articles Wink . Anyway, Part One and Part Two are available right now. Articles are aimed at programmers new to GUI work - anyone experienced in GUI programming should zoom right through them.

The style is explained in the first article (and the reasons behind it sadly still stand for too many computing texts): Many years ago I worked on some tutorials for MFC (a Microsoft C++ GUI Library). The trouble we had with most of the existing reference materials was that the examples crammed in too much at once making it difficult for beginner GUI/MFC programmers to navigate the code. These articles will follow the style we eventually settled on - simple code examples with just one or two GUI controls being displayed interacting. Have fun and I hope you learn something.

So, please enjoy and please feedback!

Posted by Davy Mitchell on 2008-04-23 22:05:32.
Categories: IronPython, Python, Software Tags :  
Like this post? Digg it or Del.icio.us it. |



Links for April 17th Permalink
Some changes for this link dump - more description of the link from the feed. Is is too long?
  1. 'World peace' hitcher is murdered
    A female Italian artist hitch-hiking to the Middle East in a wedding dress to promote world peace is murdered in Turkey....
  2. OLE Automation (IDispatch) Support in IronPython
    Shri Borde explains how com interoperability works in IronPython 1 and IronPython 2:OLE Automation (IDispatch) Support in IronPython...
  3. Expelled Review
    It's 11:20 PM Friday night. We have just returned from watching a special Hollywood screening of ...
  4. Replace Notepad with Notepad2 [Featured Windows Download]
    Windows only: When Notepad just doesn't have the features you need to get simple text-editing done, check out the lightweight but feature-packed alternative, Notepad2. Since we ...
  5. How Do You Maximize Your Lunch Hour? [Ask The Readers]
  6. ANN: ActivePython 2.5.2.2 and 2.4.5.14 are now available
    I'm happy to announce that ActivePython 2.5.2.2 and 2.4.5.14 are now available for download from: [link] These are patch releases that update ActivePython to core Python 2.5.2 and 2.4.5. ...
  7. 'Two dead' in Russian cave siege
    Two members of a doomsday sect holed up in a cave since October have died, a survivor tells Russian media....
  8. Google Talk Labs Edition
    Google released a new version of their instant messenger. Called Google Talk Labs Edition, thi...
  9. Flicker Free Syntax Highlighting
    Chris Redford looks at the problem of implementing flicker free syntax highlighting in a rich textbox from IronPython:Flicker Free Syntax Highlighting - a .NET Solution...
  10. Urban Rhythm "Luv Will make It Right" (Strictly Rhythm Records, 1991)
    ...
  11. The Bible and Modern Astronomy, Part 2
  12. XAML GUI Events Example
    Davy Mitchell has been experimenting with Windows Presentation Foundation and XAML. He has posted an example to the IronPython Cookbook showing how to load up a User Interface definition from XML and th...
  13. Grow in Small Spaces with the Wall-Hanging Plant Holder [Weekend Project]
    A wall-hanging plant holder makes growing plants in your cramped apartment a realistic endeavor, but there's a catch. As is, the plant wall reta...
  14. POSSIBLE HUMAN REMAINS FOUND ON CARNOUSTIE BEACH
    THE INVESTIGATION into body parts found on Arbroath beach earlier this week moved to Carnoustie late last night....
  15. tinypy.org website launched!
  16. World to compete for Saltire Prize
    First Minister announces world's largest ever single prize for innovation in marine renewable energy....
  17. Google Gears, a Software Update for the Web
    Google Gears started as an open-source plug-in that enabled web applications to work offline, but its real purpose is to speed up the addition of features to web browsers. Developers are frustrated that it takes too long to create standards and they h...
  18. Psychotic: optimizing Python compiler
  1. Now available: orkut on your mobile phone
    Posted by Hazel Mary, Software EngineerHave you ever wanted to check if your buddy responded to your scrap about this evening's plans, but not been close to a computer? Do you wish you could pass the time on your long commute home by browsing through your friends' profiles?...
  2. Aborigines 'used in experiments'
    Some Aboriginal children in Australia were once used for medical experiments, an activist claims....
  3. POLICE ISSUE DIESEL THIEVES WARNING
    TAYSIDE Police is warning members of the Angus business community to be aware that thieves have been targeting a number of premises recently to steal diesel from commercial ve...
  4. Let's start the blog with a farewell to holidays...
    At last our blog is here!After months (maybe even years) of talking about it, our fingers have at last been pulled out of their proverbial resting places....
  5. Syria on Alert 'Because Hizbullah Revenge Attack is Near' (Israel - God's Timepiece)
    Syria has raised the state of alert of its armed forces because it knows Hizbullah's revenge attack against Israel for the killing of Imad Mughniyeh is near, according to Israel's Channel 2 TV. Soon after Mughniyeh's death, Israel warned Syria that it would hold it responsible for any revenge attack...
  6. Third-Party Gmail Redesign Style
    The Firefox extension Stylish allows you to easily load homemade style...
  7. Monkeys on Mars?
    Russia tests animals for possible space flight...
  8. The Voidspace Techie Blog: On Testing: Some Programmers Refuse to Get it
    Well I hadn't intended this to be my first blog entry after returning from RuPy and Expert Zone, in fact I should be going to bed. However, this blog entry on whether large test suites prove Python is not suitable for large projects is a subject dear to my heart. ... [912 words] ...
  9. Vista SP1 Won't Install on Dual-Boot Systems: Microsoft
    APC Magazine: "Are you currently running Windows and Linux in a dual-boot setup? You're going to have major headaches with Vista SP1, Microsoft has admitted..."...
  10. Terror threat to UK 'is growing'
    Home Secretary Jacqui Smith describes the terrorism threat facing the UK as "severe" and "growing"....
  11. 'World peace' hitcher is murdered
    A female Italian artist hitch-hiking to the Middle East in a wedding dress to promote world peace is murdered in Turkey....
  12. OLE Automation (IDispatch) Support in IronPython
    Shri Borde explains how com interoperability works in IronPython 1 and IronPython 2:OLE Automation (IDispatch) Support in IronPython...
  13. Expelled Review
    It's 11:20 PM Friday night. We have just returned from watching a special Hollywood screening of ...
  14. Replace Notepad with Notepad2 [Featured Windows Download]
    Windows only: When Notepad just doesn't have the features you need to get simple text-editing done, check out the lightweight but feature-packed alternative, Notepad2. Since we ...
  15. How Do You Maximize Your Lunch Hour? [Ask The Readers]
  16. ANN: ActivePython 2.5.2.2 and 2.4.5.14 are now available
    I'm happy to announce that ActivePython 2.5.2.2 and 2.4.5.14 are now available for download from: [link] These are patch releases that update ActivePython to core Python 2.5.2 and 2.4.5. ...
  17. 'Two dead' in Russian cave siege
    Two members of a doomsday sect holed up in a cave since October have died, a survivor tells Russian media....
  18. Google Talk Labs Edition
    Google released a new version of their instant messenger. Called Google Talk Labs Edition, thi...
  19. Flicker Free Syntax Highlighting
    Chris Redford looks at the problem of implementing flicker free syntax highlighting in a rich textbox from IronPython:Flicker Free Syntax Highlighting - a .NET Solution...

Posted by Davy Mitchell on 2008-04-12 16:52:34.
Categories: IronPython, Python, Software, Internet Tags :  
Like this post? Digg it or Del.icio.us it. |



Twitter - Far Far More Than Social Networking Permalink

There's been a fair bit of blogging about Twitter and people 'getting it' or not. Sure, it is a great networking site and far more fun than the likes of Bebo but that's not Twitters strength which lies in its API which makes a great platform. Any app can have email/IM/SMS notifications (public or private) with just a few lines.

Besides from getting 140 character updates, the more interesting Tweets come from news services and other Bots. BBC have a number of good channels though I tend to track keywords e.g Scotland in tweets. I have also been looking at Trac for issue tracking so have been following peoples experiences - complaints about installation and discussion of alternatives have proved invaluable and conjured up new leads. Redmine looks cool but is ROR rather than Python!

Also Twitter is probably best experienced through IM with Google Talk being my preferred client. This turns Twitter into a terminal/console for internet applications. Remember The Milk is the best example. I can add a task to my todo list by typing 'd rtm Buy some milk.' into my IM window. Neat!

Okay a few more applications are required (Google Calendar please?) but I'd advise you to sign up for Twitter. It is just getting interesting Exclamation

Posted by Davy Mitchell on 2008-04-09 20:38:21.
Categories: Internet, IronPython, Python, Scotland, Software Tags :
Like this post? Digg it or Del.icio.us it. |



XAML Fun, Editors and Psycho-Fooled! Permalink

Been playing around with IronPython and XAML lately. It is pretty cool to work with and the end results look really good. Well they look slick until you go overboard playing with gradients and drop shadows! I put together a version of the Firedrop2 gui in XAML as an example on the Ironpython cookbook.

XAML would have been at lot easier if I had downloaded and Express edition of VB2008 earlier. It includes a powerful XAML editor which works 2 ways (edit with gui or fiddle with the code.

Finally I was totally fooled by Psychotic - well done!

Posted by Davy Mitchell on 2008-04-03 21:30:52.
Categories: IronPython, Python Tags :  
Like this post? Digg it or Del.icio.us it. |



Links from Google Reader Permalink
  1. BBC apologizes for erroneous reporting on Israel
  2. Solution sought over embryo vote
  3. views.py for wikinear.com
  4. SkySails Test Results In! 20% Fuel Savings!
  5. Brown criticised over embryo bill
  6. Interactive console in Pydev
  7. Ubuntu 8.04 Gets Ready for Beta
  8. Q&A time!
  9. WORLD CHAMPIONSHIPS COMING TO CARNOUSTIE
  10. First church inaugurated in Qatar
  11. Carnoustie bay
  12. Special Post--from How to Know God Exists
  13. UPDATED RELEASE: 2.0 Beta 1 (Mar 14, 2008)
  14. Celebrating St Andrew's Day
  15. The Tools Google Uses Internally
  16. UPDATED WIKI: v2.0 Beta 1 Release Notes
  17. Taking Back Astronomy: The Universe Confirms the Bible
  18. Rugby: Scotland shock England
  19. Blair to teach in the US on faith
  20. Iran debate: Who owns the revolution?

Posted by Davy Mitchell on 2008-03-24 18:36:03.
Categories: Internet, Python, IronPython, Christian Tags :  
Like this post? Digg it or Del.icio.us it. |



Pythonnews, IronPython and finally upgrading to Python 2.5 Permalink

Right going to burn through a few topics fast tonight since I was up at 5am...

pythonnews now has 24 followers. In case you missed it, Pythonnews tweets News about the Python Programming Language brought to you on Twitter! Another good reason to sign up to Twitter. When Twitter is used through IM in particular, it can be quite powerful as you can track keywords, access bots (rememberthemilk being an important one for me) and meet some great people. With a few more bots it could be powerful command shell.

IronPython has had another release and they have fixed a few bugs I needed out of the way. Thank guys! Only had time to run Mood News on it tonight but there are a lot of bugs fixed and a few new features.

Yes and am running on Python 2.5 now... on Ubuntu Hardy Heron. The Alpha has a Windows install so you can install to the Windows Filesystem so no repartitioning or anything nasty. C:Ubuntu indeed. Reboot and you have a full install of Ubuntu to try out. Impressive stuff and much nicer than Vista.

Posted by Davy Mitchell on 2008-03-02 07:34:04.
Categories: Python, IronPython, Internet Tags :  
Like this post? Digg it or Del.icio.us it. |



pythonnews on twitter - Follow Follow me! Permalink

Sheesh... I have been busy but I want to do a Python news project (newsletter and podcast plans shelved sadly) this year and I needed a small project that would suit sporadic yet regular short updates. So I have launched a Twitter service called pythonnews - News about the Python Programming Language brought to you on Twitter!

If you want to publicise something Python related just direct message pythonnews or leave a comment.

Posted by Davy Mitchell on 2008-02-26 18:21:04.
Categories: IronPython, Python, Fun Tags :
Like this post? Digg it or Del.icio.us it. |



The BBC and Web Sliders and Mood News Permalink

The BBC have been working on some cool RSS projects and they are going to open source a web slider controls soon too. There's a pretty cool demo to play with. The idea is you 'mix' a level of locality to the news you want.

I have always wanted to add a slider to MoodNews and this looks like a good fit. Other slider controls are available! Speaking of the BBC, MoodNews got a mention on the PM blog the other day. PM is probably my favourite news program on radio and accompanies me on my commute home each night.

Posted by Davy Mitchell on 2008-01-09 22:07:21.
Categories: Internet, IronPython, Python, MoodNews Tags :   
Like this post? Digg it or Del.icio.us it. |




Locations of visitors to this page