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

Show Posts

| * |

  Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 11
61  PureMVC Manifold / Standard Version / Re: Trying to make a simple card matching game (memory) on: June 01, 2009, 06:27:53
I can't redesign your game for you but I can tell you to step back and consider the original premise of MVC.

What does your domain model consist of?

An array of card face values that represent a shuffled deck,
A score,
A list of high scores?
A count of matching attempts? (Not sure what the premise of the game is)

What does your view consist of?

A background
A deck
Some number of displayed cards
A scoreboard
Some buttons?

So the job of PureMVC is to help you get the data from the Model into the View and update the Model based on user interaction at the View.

The Card class you are torn about is probably a view component that displays certain data from the Model - specifically the face value of the card. So it must be informed of the data it is to present. A mediator would do this. When you click on the card, (perhaps to turn it over), the Mediator would listen for this event and in turn either update the Model or perhaps send a notification heard by another mediator or a command that needs to take some action, such as seeing if you clicked on the right card.

-=Cliff>
62  PureMVC Manifold / Demos and Utils / EmployeeAdmin - A PureMVC Ruby / wxRuby Demo on: January 18, 2009, 07:28:07
This demo illustrates techniques for performing routine maintenance operations in a PureMVC-based Ruby application. It uses wxRuby widgets to implement the UI.

The project has historically been located here: http://trac.puremvc.org/Demo_Ruby_wxRuby_EmployeeAdmin
It has been moved to: https://github.com/PureMVC/puremvc-ruby-demo-wxruby-employeeadmin/wiki

The author is Jake Dempsey.
63  PureMVC Manifold / Standard Version / Welcome to the Ruby Standard Port on: January 15, 2009, 07:08:36
Here are some important URLS for the project:

The project has historically been located here: http://trac.puremvc.org/PureMVC_Ruby
It has been moved to: https://github.com/PureMVC/puremvc-ruby-standard-framework/wiki

The Project Owner is:
Jake Dempsey <jake.dempsey@puremvc.org>

Out of the gate we have full unit tests and a wxRuby port of the Employee Admin Demo!
-=Cliff>
64  PureMVC Manifold / Demos and Utils / EmployeeAdmin - A PureMVC ObjectiveC / UIKit Demo on: January 14, 2009, 07:04:33
This demo illustrates techniques for performing routine maintenance operations in a PureMVC-based Flex application.

The project has historically been located here: http://trac.puremvc.org/Demo_ObjectiveC_UIKit_EmployeeAdmin
It has been moved here: https://github.com/PureMVC/puremvc-objectivec-demo-uikit-employeeadmin/wiki

The author is Brian Knorr.

Originally implemented in Flex for a desktop-sized web browser, this port has been artfully reconceived by Brian to fit the mobile form factor, where transition into sub-screens is necessary.

65  PureMVC Manifold / Standard Version / Welcome to the Objective C Standard Port on: January 14, 2009, 06:32:58
Here are some important URLS for the project:

The project has historically been located here: http://trac.puremvc.org/PureMVC_ObjectiveC

It has been moved to: https://github.com/PureMVC/puremvc-objectivec-standard-framework/wiki

The Project Owner is:
Brian Knorr <brian.knorr@puremvc.org>

-=Cliff>
66  PureMVC Manifold / Server Side / Server side examples on: January 14, 2009, 06:28:26
Just an update on server side activity:

The PHP port currently ships with a CSS Zen Garden PureMVC-based demo.

Also the ColdFusion port has server side Hello World and Login demos.

And the Python port has an excellent Google App Engine blog demo.

-=Cliff>
67  PureMVC Manifold / Demos and Utils / Pipes - A PureMVC Haxe MultiCore Utility on: January 11, 2009, 09:50:27
This utility provides the capability for creating pipelines that pass messages between Cores in a PureMVC Haxe MultiCore-based application. Pipelines can be composed of filters, queues, splitting and merging tees, and more.

The demo is located at http://trac.puremvc.org/Utility_Haxe_MultiCore_Pipes

The utility was ported from AS3 by Marco Secchi.
68  PureMVC Manifold / MultiCore Version / Welcome to the Haxe Port - MultiCore Version on: January 10, 2009, 07:50:45
Here are some important URLS for the project:

The project has historically been located here: http://trac.puremvc.org/PureMVC_Haxe_MultiCore
It has been moved here: https://github.com/PureMVC/puremvc-haxe-multicore-framework/wiki

The Project Owner is:
Marco Secchi, <marco.secchi@puremvc.org>

-=Cliff>
69  PureMVC Manifold / Demos and Utils / PureMVC Haxe MultiCore Version Unit Tests on: January 10, 2009, 07:47:53
These are the Unit Tests for the PureMVC MultiCore Framework for Haxe

The project has historically been located here: ttp://trac.puremvc.org/PureMVC_Haxe_MultiCore_UnitTests
It has been moved here: https://github.com/PureMVC/puremvc-haxe-multicore-unittests/wiki

The Unit Tests were ported from AS3 by Marco Secchi.
70  PureMVC Manifold / Demos and Utils / DesktopCitizen - A PureMVC AS3 MultiCore / AIR Utility on: December 02, 2008, 07:55:00
This utility provides the ability for PureMVC-based AIR applications remember their window size, position and maximized state each time it is launched.

The utility is located here: http://trac.puremvc.org/Utility_AS3_AIR_DesktopCitizen

The author is Cliff Hall.

NOTE: Since this is a Standard/MultiCore demo, please post discussion about this utility on the main thread: http://forums.puremvc.org/index.php?topic=262.0
71  PureMVC Manifold / Demos and Utils / XMLDatabase - A PureMVC AS3 MultiCore / AIR Utility on: December 02, 2008, 07:52:48
This utility provides the ability for PureMVC-based AIR applications to easily create and persist and work with XML databases.

The utility is located here: http://trac.puremvc.org/Utility_AS3_AIR_XMLDatabase

The author is Cliff Hall.

NOTE: Since this is a Standard/MultiCore demo, please post discussion about this utility on the main thread: http://forums.puremvc.org/index.php?topic=261.0
72  PureMVC Manifold / Demos and Utils / StopWatch - A PureMVC / AS3 MultiCore Demo on: November 29, 2008, 09:38:10
This demo illustrates the use of the StateMachine Utility to define and navigate the states of a Finite State Machine or FSM of a working StopWatch.

The demo is located here: http://trac.puremvc.org/Demo_AS3_Flex_StopWatch

Standard and MultiCore versions are included.

The author is Cliff Hall.

NOTE: Since this is a Standard/MultiCore demo, please post discussion about this utility on the main thread: http://forums.puremvc.org/index.php?topic=861.0
73  PureMVC Manifold / Demos and Utils / StopWatch - A PureMVC / AS3 Demo on: November 29, 2008, 09:35:12
This demo illustrates the use of the StateMachine Utility to define and navigate the states of a Finite State Machine or FSM of a working StopWatch.

The demo has historically been located here: http://trac.puremvc.org/Demo_AS3_Flex_StopWatch
The project has been moved here: https://github.com/PureMVC/puremvc-as3-demo-flex-stopwatch/wiki

Standard and MultiCore versions are included.

The author is Cliff Hall.
74  PureMVC Manifold / Demos and Utils / StateMachine - A PureMVC / AS3 MultiCore Utility on: November 29, 2008, 09:33:21
This utility provides a simple yet effective Finite State Machine implementation, which allows the definition of discrete states, and the valid transitions to other states available from any given state, and the actions which trigger the transitions.

A mechanism is provided for defining the entire state machine in XML and having a fully populated StateMachine injected into the PureMVC app.

Standard and MultiCore versions are included.

The utility was historically located here: http://trac.puremvc.org/Utility_AS3_StateMachine
It has now been moved to https://github.com/PureMVC/puremvc-as3-util-statemachine/wiki

Standard and MultiCore versions are included.

The authors are Neil Manuell and Cliff Hall.

NOTE: Since this is a Standard/MultiCore utility, please post discussion about this utility on the main thread: http://forums.puremvc.org/index.php?topic=859.msg3884
75  PureMVC Manifold / Demos and Utils / StateMachine - A PureMVC / AS3 Utility on: November 29, 2008, 08:45:01
This utility provides a simple yet effective Finite State Machine implementation, which allows the definition of discrete states, and the valid transitions to other states available from any given state, and the actions which trigger the transitions.

A mechanism is provided for defining the entire state machine in XML and having a fully populated StateMachine injected into the PureMVC app.

Standard and MultiCore versions are included.

The utility has historically been located here: http://trac.puremvc.org/Utility_AS3_StateMachine
The project has been moved here: https://github.com/PureMVC/puremvc-as3-util-statemachine/wiki

Standard and MultiCore versions are included.

The authors are Neil Manuell and Cliff Hall.
Pages: 1 ... 3 4 [5] 6 7 ... 11