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: StopWatch - A PureMVC Haxe/Xinf Demo  (Read 17245 times)
zjnue
Jr. Member
**
Posts: 17


View Profile Email
« on: December 13, 2008, 07:55:29 »

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. Xinf is used for the user interface.

Standard and MultiCore versions are included.

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

It was ported to Haxe by Zjnue Brzavi.
« Last Edit: January 11, 2009, 09:20:24 by puremvc » Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 on: December 13, 2008, 09:46:39 »

I would like to consider putting these demos into the repository but they are packaged oddly. Particularly, what is 'xinf'?  (as in Demo_haXe_Xinf_StopWatch...../puremvc/haxe/demos/xinf/...)

?

-=Cliff>
Logged
zjnue
Jr. Member
**
Posts: 17


View Profile Email
« Reply #2 on: December 13, 2008, 11:23:17 »

Hi Cliff,

> I would like to consider putting these demos into the repository

Thanks for showing interest.

> but they are packaged oddly.

I tried my best to mimic package structures found on the site - StateMachine ZIP being one of them.
Please let me know what the preferred format is then and I'll update.

While on this topic, please allow me to introduce the haxelib package manager:
http://haxe.org/doc/haxelib/using_haxelib
It's source is available - so maybe a custom version could solve some PMVC maintenace problems?

> Particularly, what is 'xinf'?  (as in Demo_haXe_Xinf_StopWatch...../puremvc/haxe/demos/xinf/...)

Glad you ask. Xinf can be many things [1], but in terms of your 'Source Code Packaging' guidelines here [2], the fact that Xinf can be a runtime ( Xinfinity ) and a framework, makes it fall into a YYY category following:
"YYY (only optional if not applicable) = any related client technology being used (flex, flash, air, etc...)"

While I've currently only produced Flash and JS binaries - I plan to update the example with the neko-based Xinfinity binaries once a new xinf release is made.

All the best,

Zjnue


[1]
http://xinf.org

Xinf (Xinf Is Not Flash) strives to provide a unified SVG-oriented API for graphics programming in haXe. Using Xinf, your application can run on Adobe's Flash Player (Version 9 up), our own 'Xinfinity' runtime, and (with limitations) on standards-compliant web browsers like Mozilla Firefox - from the same source code.

Most of it's cross-runtime magic is owed to the excellent haXe language and compiler and the neko virtual machine. Xinf adds abstracted implementations for rendering and user-interface events, and a cross-platform (Linux/Windows/OSX), OpenGL-based runtime environment (dubbed Xinfinity).

"The Xinf Project"'s first output "product" is a Flash movie to render static SVG content.

[2]
http://forums.puremvc.org/index.php?topic=142.0
Logged
zjnue
Jr. Member
**
Posts: 17


View Profile Email
« Reply #3 on: December 13, 2008, 11:31:08 »

by the way - xinf is brought to you by the same person who made swfmill [1] - the free swf factory so many people like to use

[1]
swfmill.org
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #4 on: December 15, 2008, 08:03:32 »

Ok, cool. In that case, I think the package structure is probably just fine. I'll look into this a little more as soon as possible if you're interested in publishing them here.

-=Cliff>
Logged
zjnue
Jr. Member
**
Posts: 17


View Profile Email
« Reply #5 on: December 15, 2008, 08:51:20 »

Hi Cliff,

Thanks very much, it will be an honour.
(Though, I'd prefer to be in the queue after Marco's multicore and pipes ports please)

I may want to make tweaks / improvements to the ports from time to time.
Would you like me to post to the applicable thread each time I do, or shall we just see which version you grabbed in the end and update on SVN from there?

All the best,

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



View Profile WWW Email
« Reply #6 on: December 18, 2008, 01:22:52 »

When they If you can zip up each demo/util and send them over, as well as a short bio for your  project owner page, I'll put you in the queue.

I do have Marco's stuff as well as a couple of new ports and demos to add so it is a bit of a queue, but I'm on it.

-=Cliff>
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #7 on: December 18, 2008, 01:24:08 »

And I'll set you up with instructions and a login for ongoing maintenance.

-=Cliff>
Logged
zjnue
Jr. Member
**
Posts: 17


View Profile Email
« Reply #8 on: January 01, 2009, 05:09:45 »

Hi Cliff,

Happy New Year ! Thanks for your message and please excuse the delay in getting back to you.
Hmm, I'm not into bio's, but if you need something, maybe put:
"Zjnue favours developer-centric technologies - providing as much flexibility and freedoms as possible. It has been a great joy to discover haXe and Xinf for these and other reasons. PureMVC seems to fit these criteria well also - thanks for sharing !"
As for the ZIPs, are the links provided OK, or would you like me to email them instead?

Thanks,

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



View Profile WWW Email
« Reply #9 on: January 01, 2009, 09:39:29 »

If you can send an email with the zips, and the bio and all as requested, it will be a big help. I can put the email in my follow up queue then and it greatly enhances the likelyhood I'll actually get to it.

Thanks,
-=Cliff>
Logged
zjnue
Jr. Member
**
Posts: 17


View Profile Email
« Reply #10 on: January 02, 2009, 02:50:29 »

Hi, I've sent an email to cliff, puremvc and cliff.hall at puremvc, so hopefully one of those went through. Please let me know if not.
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #11 on: January 11, 2009, 09:22:43 »

Alrighty, it's up! What a cool demo. I'm impressed with Xinf! Folks, you need to check it out!

-=Cliff>
Logged
Pages: [1]
Print