Thursday, 22 January 2009

Is AIR ready for LOB ??

I've been persevering with Flex & AIR for some time and while I have enjoyed using most of the Flex, AIR, Actionscript facilities - I have now come to the conclusion that AIR (which I would require for my commecial applications) is not ready for LOB (Line of Business) use!

The sandboxing imposed because of the emphatic insistance of cross-platform use means that solutions we know our customers would ask for are simply not possible at the moment. Printing is still not resolved, database access is ok if you want to access corporate data - but create a simple CRUD for an Access database or interact wiht Excel you've got headaches!

As previously stated I have used Microsoft Visual Studio since it was born - In fact I got back to Visual Basic 1.0 (but that shows my age ;-) With the frustration of AIR I thought I would pay Visual Studio a visit - I was astounded at how much progress MS have made with WPF.

It has the following benefits :-



  • You can access anything a Windows Forms application could

  • Printing is fully supported

  • It is not tied to Flash as the timeline of the application (Multi-Threading is a breeze)

  • All tools are skinless - this is something Adobe plans for Flex 4 !!

  • The XAML Markup language is better than Actionsript IMO

  • WPF 'IS' suitable for a massive range of applications from LOB Accounts apps to some wonderful 3D rendering graphics apps.

  • I've also found that the attitude of the MS developers has changed they are much keener to engage the development community and not so elitist as they were before.

  • I could go on......

I have been re-writing an old booking system - I've put about three weeks work into it and in another couple of weeks I hope to have it to a commercial stage - That's Fast! and that's including learning WPF from scratch!


Here's an early screenshot...





Tuesday, 26 August 2008

PRINTING REPORTS IN FLEX AND AIR



As my previous post stated - Printing reports with Adobe Flex & AIR can be quite challenging.

I've been prototyping an application that needs tabular reports with a preview and the ability to print or output as PDF. AlivePDF provide the solution to PDF output. i think I've got most other areas working. I've posted the source code and a sample application called TS-Ledger (a mock ledger program that demonstrates the printing facilities quite well).

Click here http://www.thorntonsoftware.co.uk/flex.html to download the source or demo app.

I hope this helps people get to grips with printing reports in Flex & AIR.

Enjoy... Steve