logo

Projects I've Used Flex On So Far

So far, I've used Flex to deliver half a dozen applications to my customers. These apps are all out there in the wild, live and in use by real users. Flex is much more than a play thing for me.

Of these six apps, one was a company organisation chart (a customised version of iLog's Elixir components), another was a Web Service front-end emulator for a point of sale system. Two very specific apps. The other four however were all reporting systems.

Flex For Data Reporting

For me, Flex seems best suited when used as a reporting interface for "back-end" data that, more often than not, comes from an HTML front-end.

As a typical example, one of the applications I wrote had a traditional HTML form at the front-end. The webpage was publically available for anybody to come along, fill in their details and request a free voucher.

The HTML form part of the project was all very simple.

What would have been the hard part, had I not used Flex, is creating the back-end administration interface for all the requests. Somewhere for the site owners to view, accept, deny requests, manage voucher codes etc etc.

Flex Makes it Easy

It's not that it's particularly hard to create an admin interface in traditional HTML. It's just that it would be time-consuming and cumbersome to design the interface and then decide on a JavaScript library and CSS framework to use, tie all the user actions to the back end via Ajax etc etc etc.

With Flex it's a breeze to knock up an interface to it all. At its most simple you just add an AdvancedDataGrid control and tie it (via an HTTPService) to the XML feed of requests from the backend. Then you start the fun part of adding the buttons, filters, charts etc that turn a "view" in to a fully-functional app. All that in a fraction of the time it would take in HTML (and dare I say it, xPages?). Add in the fact a vanilla Flex app looks way, way better than a vanilla HTML/xPages app and it's a definite winner every time. Trust me, customers love it.

Knowing When To Use Flex

Now you might be thinking I could have done the whole thing in Flex and used it on the public-facing web form. This is where you need to use caution with Flex.

Although I love Flex I don't want to fall in to the "when all you have is a hammer..." trap and use for absolutely everything.

Where I tend to use Flex is for apps with a limited and defined audience, such as the administrators of the above voucher request system. In that case about 3 or 4 people who I knew to have Flash installed.

While Flash player is, apparently, installed on +95% of browsers (??) that shouldn't be taken as the green light to go using it willy nilly. Use it when you know your audience and when a traditional HTML solution wouldn't suffice and/or be easier in the first place.

Example Reporting Interface

Next post (tomorrow perhaps) I'll show an example of how powerful Flex can be at visualizing backend data. In it I'll offer a fresh take on the concept of categorised views!

If anybody fancies proving me wrong about a) being able to do it in xPages and b) doing it faster then see the next entry for what your goal is. I'd be interested to see if xPages were up to it.

Comments

  1. I would love to see running examples or UI screenshots of your Flex apps

    • avatar
    • Palmi
    • Tue 29 Sep 2009 12:39 PM

    Declyn, Can you take Jake on in Xpages vs Flex ? I would love to see that - how about Dec....

    • avatar
    • Jake Howlett
    • Tue 29 Sep 2009 12:54 PM

    I'd love to share screenshots Patrick, but these are paying customers and I don't want to upset them.

    Palmi. I'll Tweet Declan tomorrow to see if he's up for it. If you check my tweets from yesterday you'll even see a link to the app I'm talking about.

  2. Jake,

    There are so many things you can do with Flex. I am starting a couple of Flex projects for customers very soon. One will be the first non-Domino project I have done is a long time. Have you seen the Dragonfly Project that Autodesk has done using Flex? It is cool. If you have not, go to http://dragonfly.autodesk.com

    • avatar
    • Lance Jurgensen
    • Tue 29 Sep 2009 02:10 PM

    Ok so interest is high, but what is the cost? To the developer and to the client/customer?

    • avatar
    • Jake Howlett
    • Tue 29 Sep 2009 02:30 PM

    Hadn't seen Dragonfly Richard. I should echo your comments and say the possibilities with Flex are almost endless. My commentary about might be mis-interpreted as saying I think Flex is only good at grid-centric data reporting. That's not the case. It's just that, in my day-to-day work that's where I find it of most use.

    What kind of cost Lance? Actual financial outlay? Minimal. The developer buys a license for Flex Builder ($700 US for the pro version or $250 for standard) and the customer doesn't pay anything at all. No server licensing involved.

    In theory, as Flex is open source, you could write and deploy the Flex apps for free.

    I went for the pro licence and have no regrets. Worth every penny.

    Jake

  3. Hi Jake,

    Yes please: more examples !!

    There are still things I'd like to know how to solve in the "accounts.nsf" sample.

    Thanks ;)

    • avatar
    • Raghu
    • Fri 13 Nov 2009 11:37 AM

    Hi Jake,

    I want to know the possibilities of hiding of buttons,sections on flex front end based on the ACL defined in the database.

    Can we do this?

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment:


About This Page

Written by Jake Howlett on Tue 29 Sep 2009

Share This Page

# ( ) '

Comments

The most recent comments added:

Skip to the comments or add your own.

You can subscribe to an individual RSS feed of comments on this entry.

Let's Get Social


About This Website

CodeStore is all about web development. Concentrating on Lotus Domino, ASP.NET, Flex, SharePoint and all things internet.

Your host is Jake Howlett who runs his own web development company called Rockall Design and is always on the lookout for new and interesting work to do.

You can find me on Twitter and on Linked In.

Read more about this site »

Elsewhere

Here are the external links posted on the same day.

More links are available in the archive »

More Content