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]
1  PureMVC Manifold / MultiCore Version / Re: Eclipse plugin for pureMVC on: January 11, 2010, 04:35:01
I am sorry to inform you that the first final version of this plugin will not be opensource. I just got a contract with http://ahead.com and i will do the first verion for them.

Geirr
2  PureMVC Manifold / MultiCore Version / Re: Eclipse plugin for pureMVC on: November 16, 2009, 10:14:13
I was planning todo the templates in xml so its possible to edit them.
In eclipse it would be easy to edit them.

I posted a small blog post at http://gwinnem.wordpress.com/2009/11/14/building-a-puremvc-multicore-eclipse-plugin-creating-a-preference-page/

Just to give a small impression on what i plan for the plugin.

Feel free to give me some input regarding this.

In the next tutorial i plan to explain howto create the context menu items for this plugin

Rgds
Geirr
3  PureMVC Manifold / MultiCore Version / Re: Eclipse plugin for pureMVC on: November 14, 2009, 11:54:09
Tnxs Cliff.
Do you have comments on the other question.

Geirr
4  PureMVC Manifold / MultiCore Version / Re: Eclipse plugin for pureMVC on: November 14, 2009, 06:01:37
Hi Cliff.

I was planning adding the following to the plugin:
  • Add PureMvc Nature
  • Create New Facade
  • Create New Proxy
  • Create New Mediator
  • Create New Simple Command
  • Create New Macro Command

The PureMvc Nature will only add the puremvcmulticore swc to the project for now.
Will extend it to also handle pipes.

I prefer storing the notification constants in the classes which the notification triggers.
Any pro's con's on this approach ?

Also would like some feedback on what you consider as a minimum of functions to include in the different actors.

Geirr
5  PureMVC Manifold / MultiCore Version / Re: Eclipse plugin for pureMVC on: November 12, 2009, 02:23:59
I have tried the FCG air app tool. But i was asking if there was a specific plugin like Log4Flex where you with easy shortcut keys in eclipse can generate new SimpleCommands, Mediators etc...
And yes :) i have offcourse the flexbuilder plugin... ;D Im not exactly a novice developer since i have been developing java apps for the last 10 years in eclipse...

The reason for asking was that i was abit annoyed with the repetitive tasks for all the classes and if there is no plugin i would look into creating my own eclipse plugin..

Geirr
6  PureMVC Manifold / MultiCore Version / Eclipse plugin for pureMVC on: November 11, 2009, 03:05:48
Does anyone know about a good eclipse plugin for developing pureMVC apps ?
7  PureMVC Manifold / MultiCore Version / Re: event firing two times. on: November 04, 2009, 12:05:58
Hi Cliff, im running flexbuilder 3 eclipse plugin with framework 3.3


Geirr
8  PureMVC Manifold / MultiCore Version / event firing two times. on: November 04, 2009, 06:20:29
I have a proxy with a delegate class loading a xml file using HTTPService.
The proxy implements the IResponder interface and an instance of the proxy is passed to the delegate class.
My problem is that the proxy's result function is fired twice and the same with the fault function if the loading fails.
Anyone have any idea why ?

Proxy code:
        override public function onRegister():void
        {
            if (Log.isDebug())
                logger.debug("onRegister");
            var delegate:DefaultModuleLoaderDelegate = new DefaultModuleLoaderDelegate(this);
            delegate.loadModuleConfig();
        }

Delegate code:
        /**
         * Constructor.
         * @param responder IResponder from caller.
         */
        public function DefaultModuleLoaderDelegate(responder:IResponder)
        {
            if (Log.isDebug())
                logger.debug("Constructor");
            this.service = new HTTPService();
            this.service.contentType = HTTPService.CONTENT_TYPE_XML;
            this.service.url = XMLFILE;
            this.service.resultFormat = HTTPService.RESULT_FORMAT_E4X;
            this.responder = responder;
        }

        /**
         * Worker function. Responsible for loading xml file.
         */
        public function loadModuleConfig():void
        {
            if (Log.isDebug())
                logger.debug("loadModuleConfig");
            try
            {
                token = this.service.send();
                //Making sure the response is delegated upwards.
                token.addResponder(this.responder);
            }
            catch (error:Error)
            {
                if (Log.isError())
                    logger.error(error.getStackTrace());
                ExtendedAlert.showExtended("defaultmodule.xml is missing.", "Fatal error", 4, null, null, ExtendedAlert.ICON_ERROR48, 4);
            }
        }
Pages: [1]