PureMVC Architects Lounge

PureMVC Manifold => Multicore Version => Topic started by: bonesbrigade on July 28, 2014, 12:22:28



Title: Port to Native JS - PureMVC JavaScript Utility: State Machine
Post by: bonesbrigade on July 28, 2014, 12:22:28
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!


Title: Re: Port to Native JS - PureMVC JavaScript Utility: State Machine
Post by: puremvc on July 28, 2014, 12:53:05
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>


Title: Re: Port to Native JS - PureMVC JavaScript Utility: State Machine
Post by: bonesbrigade on August 10, 2014, 06:36:33
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!


Title: Re: Port to Native JS - PureMVC JavaScript Utility: State Machine
Post by: bonesbrigade on September 18, 2014, 05:26:22
Hi,

Any news on the official branch so I can fork it?


Title: Re: Port to Native JS - PureMVC JavaScript Utility: State Machine
Post by: puremvc on September 30, 2014, 10:07:25
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.  :)

Cheers,
-=Cliff>


Title: Re: Port to Native JS - PureMVC JavaScript Utility: State Machine
Post by: puremvc on October 10, 2014, 04:37:48

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

Cheers,
-=Cliff>