Fernando Correia’s Weblog

August 14, 2008

Flex and GAE demo is online

Filed under: Software Development — Fernando Correia @ 9:29 pm
Tags: , ,

The demo application I’ve been working on is now online. It is an example of how to build a Flex client to a service running on Google App Engine. So it uses a RIA front-end and a cloud-based back-end.

You can reach the sample application at this URL:

http://fernando-correia.appspot.com/

Click on Edit projects to open the RIA client. If you refresh the homepage you should see the updates you made.

The source code is published on github and explained in several articles in my blog.

Feedback is welcome.

Advertisements

6 Comments »

  1. Fernando – nice job – this looks really good – the UI validation is nice as it prevents i/p of invalid data. I’m somewhat curious about the layout and how easy/difficult it would be to change that as the app grows with more data elements, thereby requiring multiple pages/forms. Everything is currently on a single page/form. Have you thought about how this would work if the various views needed to move to separate panels/pages? When more data elements are added to the views it probably will not be possible to keep everything on a single page/form?

    I realize that way not your initial goal – however I’m thinking about a real world scenario here. (And you thought you were finished – this stuff is real time consuming.)

    Comment by BrendanC — August 14, 2008 @ 10:12 pm

  2. Hey Fernando. Looks good and works well! Nice job. I added my project Mint-n-Match and am taking a look at your source. Also, thanks for the advice before.

    Mark

    Comment by Mark — August 15, 2008 @ 1:38 am

  3. Brendan, thanks for your feedback. The interface is already split in three independent components that communicate through notifications. My first approach was very monolithic but this one uses the PureMVC framework that allows an application to scale in an organized way.

    Comment by fernandoacorreia — August 15, 2008 @ 8:08 am

  4. Mark, thanks for your support!

    Comment by fernandoacorreia — August 15, 2008 @ 8:09 am

  5. Hi Fernando,

    that initialize function in the client.py does it ever get called? And where exactely? I don’t find a call to this function anywhere in the flex client proxy classes? Does it happen automatically in python?

    Comment by verbruggher — August 20, 2008 @ 11:12 am

  6. Rien, the Python client is a stand-alone program form testing purposes only. The Flex client does not use the Python client in any way. Both clients are independent and talk to the Python service.

    The initialize function can be called via the command line like this:

    client.py initialize

    Comment by fernandoacorreia — August 20, 2008 @ 12:47 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: