Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Welcome, Guest. Please login or register.
May 24, 2017, 08:09:09 PM
Home Help Search Login Register
News: ATTENTION: Spambots must die! Humans must visit http://contact.futurescale.com to request forum access.
Pages: [1]
Print
Author Topic: Demo Application Ideas  (Read 12597 times)
Rhysyngsun
Courseware Beta
Sr. Member
***
Posts: 51

Nathan Levesque

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

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
« Reply #1 on: January 04, 2008, 09:47:33 PM »

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
« Reply #2 on: January 04, 2008, 09:53:17 PM »

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
« Reply #3 on: January 04, 2008, 10:29:54 PM »

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: 2866



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

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
« Reply #5 on: March 07, 2008, 03:21:28 PM »

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
« Reply #6 on: June 05, 2008, 02:05:52 AM »

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: 2866



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

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 AM by puremvc » Logged
kosirm
Courseware Beta
Newbie
***
Posts: 3


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

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: 2866



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

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
Jump to: