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: pureMVC example application Outlines  (Read 22049 times)
trilec
Sr. Member
****
Posts: 52



View Profile WWW Email
« on: March 14, 2008, 04:56:01 »

Hi all,
As I began expanding my horizons into the pureMVC framework I started outlining the demo source code.
Part of this outlining process was to simplify to the raw PureMVC functions and callbacks so I could see at a glance how the demo was structured and thus giving me more insite into the framework itself.

This is an example of these outlines, the question is does anyone else find this useful?
And if so where would be a good place to upload more of these.
Outlines for:  Cafetownsend , Bookstore , Arch101Demo and Helloflash.

http://www.trilec.com/opensource/PMVCOutline_Bookstore.html

http://www.trilec.com/opensource/PMVCOutline_cafetownsend.html

http://www.trilec.com/opensource/PMVCOutline_Arch101Demo.html

http://www.trilec.com/opensource/PMVCOutline_Helloflash.html

Hope it helps
Cheers
« Last Edit: March 14, 2008, 06:22:24 by trilec » Logged
theFlashWizard
Jr. Member
**
Posts: 13


View Profile Email
« Reply #1 on: March 15, 2008, 08:23:59 »

I think this is very useful. It's always good to think before you go straght to development. It's just a thing you need to learn.
I usually make a lot of notes for myself. I use uml class diagrams a lot to put a lot of the info of your outlines in. I also make little notes of processes. A simple example from my Memory game (it's in the GameCollection demo)

All the cards are layed down
card.TURNED event
  send CARD_TURNED
  CardTurnedCommand
  If(firstCard == null)
    firstCart = turnedCard;
  Else
    secondCard = turnedCard
    Send CHECK_CARDS
    CheckCardsCommand
      If correct score++
      Else score--
        removeCards
Logged
trilec
Sr. Member
****
Posts: 52



View Profile WWW Email
« Reply #2 on: March 15, 2008, 09:27:50 »

so true,

Have you seen any flow charting for action script 3 with perhaps import/ export.
seems to be nothing out there.

cheers
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #3 on: March 15, 2008, 11:04:05 »

Visio is great for UML. You just have to add the language types. In the VSD file for the PureMVC Framework, I have all the AS3 types defined, so that when method return types or parameters are entered they're typed to AS3.

Visio comes with several language's defined, but I've not yet discovered how to save it out of the UML model I have it defined in so that it can always be available for any diagram.

If anyone knows, please tell me, and I'll post the AS3 types if it can be exported for reuse. Surely it can.

-=Cliff>
Logged
Oscar
Jr. Member
**
Posts: 12


View Profile Email
« Reply #4 on: March 19, 2008, 07:53:28 »

For AS3 there will be an UML Software called "Saffron". It is not released yet, but it looks that's it will released soon.
Here is the Blog with infos about this software.
Logged
justSteve
Courseware Beta
Sr. Member
***
Posts: 55


View Profile Email
« Reply #5 on: March 22, 2008, 01:12:53 »

Check the last half dozen messages or so. Seems Saffron will not be making it to Flex anytime soon, if at all.
Logged
Joel Hooks
Courseware Beta
Sr. Member
***
Posts: 146


baby steps

 - 46288188  - passport@provinsal.com  - joeltuff
View Profile WWW Email
« Reply #6 on: April 11, 2008, 09:53:18 »

Enterprise Architect is a good one for AS3, you can import classes and export stubs. Very nice.

I've been following Saffron for over a year. Its general vaporness makes me sad, but he is very close, so we shall see. If you get past the rumors and see what he is saying, then it will still make it to AIR.
Logged

http://joelhooks.com - my ramblings about developing with actionscript and python using pureMVC and django respectively.
trilec
Sr. Member
****
Posts: 52



View Profile WWW Email
« Reply #7 on: April 12, 2008, 04:17:57 »

I have ended up using MicroOLAP Database designer for getting proxy designs and VO's
then feeding PHP output into FCG (Flex Code Generator with some adjusted templates) to output pureMVC source, needs a little re-work for pureAS3, but saves quite a bit of time.

T
Logged
Pages: [1]
Print