Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: Demo Application Ideas  (Read 20609 times)
Rhysyngsun
Courseware Beta
Sr. Member
***
Posts: 51

Nathan Levesque

 - rhysyngsun@gmail.com  - rhysyngsun
View Profile WWW Email
« on: January 04, 2008, 08:52:30 »

So, I think it's a good idea to start throwing around some ideas for how to showcase the Python port. I think a few general things have been mentioned such as server-side applications and desktop applications running off 3rd Party GUI frameworks. I've mostly been looking into the desktop area, but I'd love to see any ideas anyone has.

As far as desktop development goes, wxWidgets uses classes similar to how MXML works (since MXML compiles down to AS3 objects, then down to swf) so I think this would be a good starting point, especially for people who may have programmed in Flex and are wanting to explore the Python code.

So far, the Python implementation is identical to the original AS3, syntax differences between the two languages aside. I'm finishing up the documentation (hopefully tonight). I will be running some unit test tomorrow to make sure everything works (my primary concern at the moment is the functionality of the singletons, but I will be posting detailed information on how I resolved this later on).

So, lets hear some ideas!
Logged

Joel Hooks
Courseware Beta
Sr. Member
***
Posts: 146


baby steps

 - 46288188  - passport@provinsal.com  - joeltuff
View Profile WWW Email
« Reply #1 on: January 04, 2008, 09:47:33 »

The first idea that popped into my mind was a simple card game. I'm thinking War. My first thought was solitaire, but then I decided to KISS.

Some graphics, scoring, user interaction. Very simple, but it would cover the range. Besides, who doesn't like a challenging game of War!
Logged

http://joelhooks.com - my ramblings about developing with actionscript and python using pureMVC and django respectively.
Rhysyngsun
Courseware Beta
Sr. Member
***
Posts: 51

Nathan Levesque

 - rhysyngsun@gmail.com  - rhysyngsun
View Profile WWW Email
« Reply #2 on: January 04, 2008, 09:53:17 »

Sounds interesting Joel, Are you thinking of using PyGame, or some other framework for your graphics?
Logged

Joel Hooks
Courseware Beta
Sr. Member
***
Posts: 146


baby steps

 - 46288188  - passport@provinsal.com  - joeltuff
View Profile WWW Email
« Reply #3 on: January 04, 2008, 10:29:54 »

There are a couple open-source card sets. I'd just use images. I've never done any GUI work with Python, so it should be fun. I'd certainly take recommendations as to the framework to use.
Logged

http://joelhooks.com - my ramblings about developing with actionscript and python using pureMVC and django respectively.
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #4 on: January 05, 2008, 06:27:27 »

Sounds like you guys are on the right track. We need simple hello world demos, but we also need more involved ones to show you can actually do stuff.    Finally we want demos that cosy up to the popular frameworks in the language du jour.

-=Cliff>   
Logged
tobydeh
Moderator
Sr. Member
*****
Posts: 52


View Profile Email
« Reply #5 on: March 07, 2008, 03:21:28 »

I am very familiar with WxPython and willing to help!

As for the singletons Nathan are you familiar with the "Borg" pattern?

http://wiki.tobydehavilland.com/borg-pattern
Logged
kosirm
Courseware Beta
Newbie
***
Posts: 3


View Profile Email
« Reply #6 on: June 05, 2008, 02:05:52 »

For me the most valuable demo would be:
puremvc(python) -> pyamf(http://pyamf.org/) -> flex/flash client
on google app engine (example: http://pyamf.org/wiki/GoogleAppEngine)
I think there is a large audience for such configuration right now.
AMF is lightweight transport - sometimes 10 times faster than XML and open from recently.
On the other hand I think there is some code duplication if puremvc is implemented on
both server and client...
Best regards,
Milan
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #7 on: June 05, 2008, 09:02:19 »

What would be the code duplication in an app with PureMVC on both sides? The client has one job to do, the server has a different job. They communicate and collaborate to accomplish a set of use cases. What does it matter if both sides use the same framework/methodolgy to complete their respective tasks?

-=Cliff>
« Last Edit: June 05, 2008, 09:04:12 by puremvc » Logged
kosirm
Courseware Beta
Newbie
***
Posts: 3


View Profile Email
« Reply #8 on: June 06, 2008, 02:52:49 »

Cliff, you are the architect, so I must admit this was kinda stupid statement. I was thinking about RPC and how to implement such architecture over different technologies in a system. Still I'd like to see PureMVC(python port on GAE) connected with flash/flex using amf (pyamf). Maybe there is too much technologies involved and this is not a good idea for python port demo. If you think so, forget it.
Best regards,
Milan
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #9 on: June 07, 2008, 03:33:30 »

There's no problem at all with a PureMVC to PyAMF demo, I just couldn't understand the code duplication comment, that's all.
And I agree, I thimk GAE is toing to be huge as a platform because its so easy and approachable.

-=Cliff>
Logged
Pages: [1]
Print