Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Welcome, Guest. Please login or register.
March 23, 2017, 03:09:26 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: Port to Native JS - PureMVC JavaScript Utility: State Machine  (Read 4495 times)
bonesbrigade
Newbie
*
Posts: 3


View Profile Email
« on: July 28, 2014, 12:22:28 PM »

Native JS Statemachine code:
https://github.com/camsjams/puremvc-js-util-statemachine

JS Statemachine demonstation
https://github.com/camsjams/puremvc-js-util-statemachine-demo-locks

Please let me know what you all think!
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2860



View Profile WWW
« Reply #1 on: July 28, 2014, 12:53:05 PM »

Sweet. The code looks lovely. Would you like to contribute it to the project?

On GitHub, I've been creating a new repo owned by PureMVC and accepting pull requests for changes. That would mean you'd then fork this project and make pull requests against that.

That's kind of a pain, since you already have the project in Github, but I'm not sure if forking your project is the right move. Do you have thoughts one way or the other?

Cheers,
-=Cliff>
Logged
bonesbrigade
Newbie
*
Posts: 3


View Profile Email
« Reply #2 on: August 10, 2014, 06:36:33 PM »

I can do it that way - works for me. So you will create the repo and then I will make a fork and add the code in and follow that process.

Thanks!
Logged
bonesbrigade
Newbie
*
Posts: 3


View Profile Email
« Reply #3 on: September 18, 2014, 05:26:22 PM »

Hi,

Any news on the official branch so I can fork it?
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2860



View Profile WWW
« Reply #4 on: September 30, 2014, 10:07:25 AM »

Sorry for the delay. I've had several unexpected time-sinks thrown at me these last few months.

In that time, I've received a version that is built in pure JS using prototypes. I'm currently looking at the two to determine what's best. We added the PureMVC faux-class style so to make it easier on devs, but I'm not yet sure we want to build the utilities based on it.

Please have a look at the most recent posts in this forum from Saad, who has put the Prototype version forward. Perhaps we can discuss the pros and cons in these threads and you could have a look at his code and give your thoughts on which is the better way to go. My primary expertise is in Flex/AS3 so, I want to be sure to get the best input from JS devs on the JS port/utilities before making command decisions.  Smiley

Cheers,
-=Cliff>
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2860



View Profile WWW
« Reply #5 on: October 10, 2014, 04:37:48 PM »


http://forums.puremvc.org/index.php?topic=2110.0

Cheers,
-=Cliff>
Logged
Pages: [1]
Print
Jump to: