Hello world – PureMVC demo
Posted by cornel | Filed under Flex
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.
April 2nd, 2009 at 10:57 am
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
April 2nd, 2009 at 3:03 pm
On a conference somebody said: “the number of questions is finite” – sometimes I think that’s also true for ideas
October 26th, 2009 at 2:51 pm
Could you please explain how the Proxy locates the RemoteObject
Do I need to use the remoting-config.xml and the services-config.xml?
October 26th, 2009 at 5:19 pm
In my sample yes, I’m using the xml configuration files. However you can create the destination completely dynamically – whatever suits you best
January 4th, 2010 at 10:12 pm
I am actually totally in love with PMVC. And this Hello world(first bacterial of this programming age
) is a good way to start!