Hello world – PureMVC demo

Some time ago I was reading PureMVC documentation and I decided to write a small application to better understand the concepts. I wrote the smallest possible example (which has also server communication) – a Hello world application. It has a text field where you can type your name and a Send button. When you click Send, a message with your name is sent to the server, and the server will reply with a “Hello” message. The program is inspired by the Hello world version written with Cairngorm.

You can download the full Flex Builder project here – for the server part I used BlazeDS. Feel  free to use or modify the source code as you want.

5 Responses to “Hello world – PureMVC demo”

  1. Anselm Bradford Says:

    I have a side-by-side “hello world” example application written in Cairngorm and PureMVC on my blog at http://blog.anselmbradford.com/2008/12/05/cairngorm-versus-puremvc-the-most-basic-example/. It uses a simple PHP script for the backend. Just another take on a similar idea :)

  2. cornel Says:

    On a conference somebody said: “the number of questions is finite” – sometimes I think that’s also true for ideas :)

  3. Yaron Says:

    Could you please explain how the Proxy locates the RemoteObject
    Do I need to use the remoting-config.xml and the services-config.xml?

  4. cornel Says:

    In my sample yes, I’m using the xml configuration files. However you can create the destination completely dynamically – whatever suits you best

  5. gurmeet Says:

    I am actually totally in love with PMVC. And this Hello world(first bacterial of this programming age :) ) is a good way to start!

Leave a Reply