Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought

Welcome, Guest. Please login or register.
December 18, 2017, 03:49:53 AM
Home Help Search Login Register
News: Please DM @puremvc on Twitter to gain forum access. Spambots are why we can't have nice things.
  Show Posts
Pages: [1]
1  Announcements and General Discussion / General Discussion / Re: FlexJS version of MultiCore PureMVC on: July 19, 2017, 02:16:29 AM
Hi Cliff,

Thanks for all your help. I will fork your repository on github and add there pom for Maven. Would it be ok if I add information about nature of those swc on Development list and users list ? - That is fully archived and available for a public view.

Unfortunately I provide you also wrong information. Maven pom will produce two swc: "puremvc-flexjs-as3-multicore-framework.swc" and "puremvc-flexjs-as3-multicore-framework-js.swc". User who would like to create application in FlexJS using PureMVC will pickup one of those artifact depends on what type of application would like to have on the output: "Falsh" or "JavaScript".

2  Announcements and General Discussion / General Discussion / Re: FlexJS version of MultiCore PureMVC on: June 05, 2017, 11:54:09 PM
I'm sorry about that, but not sure what do you mean - Do you mean those tests ? [1]. If yes - No I didn't prepare pom for tests, but if the thing is to prepare build for those tests to FlexJS and make runnable in Live Test Runner I can try, but it would be a long road, cause I will have to prepare flexunit to this things more.

If those tests has any dependency to Flash, probably I will have to fork repository and also make some changes to the unit tests to handle SWF sight.

[1] https://github.com/PureMVC/puremvc-as3-multicore-unittests

3  Announcements and General Discussion / General Discussion / Re: FlexJS version of MultiCore PureMVC on: June 05, 2017, 03:04:47 AM
Basically yes. Thanks to this SWC you can compile your app to: SWF and JS.
4  Announcements and General Discussion / General Discussion / Re: FlexJS version of MultiCore PureMVC on: May 29, 2017, 11:20:54 PM

You mean why JavaScript version of PureMVC will not work for us - I think it can work, but using it in FlexJS Application will be in that way slightly different. It will require wrappers written in ActionScript around JS version of PureMVC. - Cause this version is not understandable by FlexJS compiler.

Let me explain how actually this swc will help.

Basically when I'm taking your code and build it through FlexJS compiler (FalconJX) each classes is transpiled from ActionScript to JavaScript. I have one to one code - inside "puremvc-flexjs-as3-multicore-framework" - Each AS class has mirror to JavaScript class.

Let say that I would like to write application in FlexJS - I'm writing it in ActionScript using ActionScript port of PureMVC, but in order to compile my app to JavaScript version by FalconJX compiler I need "puremvc-flexjs-as3-multicore-framework" swc.

Of course I could use during compilation your AS version of PureMVC and compiling it each time along with my app, but I wanted to avoid that having  "puremvc-flexjs-as3-multicore-framework" swc.

Ideally would be store this swc somewhere in public maven repository, but your statement that framework should be tied to language not a framework I have started to think that maybe that was a bad idea. I just wanted to have more automate flow for development.

Thoughts ?

5  Announcements and General Discussion / General Discussion / Re: FlexJS version of MultiCore PureMVC on: May 21, 2017, 09:45:43 PM
Hi Cliff,

I'm sorry for the delays in responses I was occupy by ApacheCon. Smiley I think I know what I need to do, but there are still some questions to you.

1) In order to have flexjspuremvc.swc in maven repository I will have to probably pass through some paper work in sonatype [1]
2) Ideally would be if you could get into your github - pure mvc code with my prepared pom.xml - it would be some variation of [2] - maybe something /puremvc-flexjs-as3-multicore-framework. If it's rather not possible I will fork your repo and will be holding on my own everything.

Let me know what do you think.

[1] http://central.sonatype.org/
[2] https://github.com/PureMVC/puremvc-as3-multicore-framework

6  Announcements and General Discussion / General Discussion / Re: FlexJS version of MultiCore PureMVC on: May 07, 2017, 04:08:06 AM
Hi Cliff,

Prashant just put PureMVCDemo to github [1]. I've added for library and example part poms for maven build. I called maven artifact "FlexJSPureMVC" [2]. There is an apache license header, but we can change it - cause I don't know what put there.

I did example build for you that you don't have to do it on yourself - it is zipped target folder. [3] Simple go to target/javascript/bin/js-debug/index.html to run demo.

The question is where we should go from there? I would like to have demo part in Apache Flex project - that's something what Prashant is willing to do, but what's with code of PureMVC itself? Where we should put it ? How can we have artifacts on the maven central repository ?

[1] https://github.com/pkumar-ghub/ApacheFlexJSDemo
[2] https://github.com/pkumar-ghub/ApacheFlexJSDemo/blob/master/PureMVC/pom.xml
[3] https://1drv.ms/u/s!ApVpLyjpHDC2zVZ7eF7Uk_wQ2A53

Thank you,
7  Announcements and General Discussion / General Discussion / FlexJS version of MultiCore PureMVC on: March 20, 2017, 01:48:23 PM
Hi Cliff,

My names is Piotr Zarzycki and I am one of the PMC member of Apache Flex project. With the Team we are working on next generation Flex framework FlexJS. [1] One of our users Prashant created interesting demo when he was able to use MultiCore version of PureMVC to build application. He basically creates from sources of MultiCore PureMVC swc using FlexJS compiler. [2] (swc is in bin folder)

I like his demo cause it's simply showing that we are able to use PureMVC to build FlexJS applications. I would like to put this demo in our examples - make it available for each user who would like to use FlexJS.

We are building our examples and framework itself using Ant or Maven. I would like to prepare Prashant's demo to be buildable by Maven and make FlexJS version of PureMVC downloadable from Maven central.

- Would it be possible to put our FlexJS version of PureMVC.swc in maven central ?

[1] https://cwiki.apache.org/confluence/display/FLEX/FlexJS
[2] https://www.dropbox.com/s/2h2cdfyje5lojlh/PureMVC.zip

Thank you in advance,
8  Announcements and General Discussion / General Discussion / Re: Advantages of PureMVC over Robotlegs 2 on: January 06, 2014, 04:49:24 AM
Hi naghekyan.

Have you checked also https://code.google.com/p/fabrication/ utility witch is add many intresting features to PureMVC.

9  Announcements and General Discussion / Fabrication / Re: Fabrication releases and updates on: October 23, 2013, 07:15:56 AM
Changelog: https://code.google.com/p/fabrication/wiki/ChangeLog
10  Announcements and General Discussion / Fabrication / Re: Fabrication releases and updates on: January 13, 2013, 10:40:09 AM

Changelog: http://code.google.com/p/fabrication/wiki/ChangeLog
11  Announcements and General Discussion / Fabrication / Questions about Facade (Issue 25) on: September 30, 2010, 03:02:12 AM
If you whant register on forum you must write email with reason of registration.
Link to contact form: http://futurescale.com/v3/company/contact-us --> Select "Request Access to Futurescale-operated Forums"

To solve your problem you can use Custom dependencies mechanism -> http://code.google.com/p/fabrication/wiki/CustomDependencies.

Code: (mxml)
<fabrication:DependenciesProvider xmlns:fx="http://ns.adobe.com/mxml/2009"
    <fx:Object id="userVo"

In Main application override properties:

Code: (as)
override public function get dependencyProviders():Array
    return super.dependencyProviders.concat([LoggedUserProvider]);

When user login to your application by proxy class (I assume you use proxy to login user) you can modify dependency provider object:

public class LoginProxy extends FabricationProxy
// <------ PUBLIC CONSTS ------>
public static const NAME:String = "LoginProxy";
// <------ CTOR ------>
public function LoginProxy(data:Object=null)
super(NAME, data);
// <------ PUBLIC & PRIVATE PROPERTIES ------>
public var userObj:Object;
// <------ PUBLIC METHODS/OVERRIDE ------>
public function loginUser(email:String, password:String):void
var userVo:UserVo = new UserVo("Piotr", "Z", email);
//modify provider
userObj.userVo = userVo;

Whenever you whant use logged user in your fabrication actors Command, Mediator or Proxy you just create property:

public var userVo:Object;

I hope it help. Wink

Pages: [1]