Spring ActionScript: site and documentation update

ActionScript, Air, Flash, Flex, Inversion of Control, Spring ActionScript Add comments

Some quick news about the status of the project.

The Spring ActionScript project has a new home at http://www.springactionscript.org!

We have been updating the documentation extensively and although this is still a work in progress, this should be a valuable resource to get started with the framework. Please see the “Documentation” section for more info and available doc formats.

There are also some neat new features like advanced autowiring and support for custom XML namespaces (available in SVN) that will be distributed with the new 0.8 release, expected to be released by the end of this week.

As usual, we appreciate any feedback. Join our Google developers group or the forum.

Have fun coding!


Add to Bloglines - Digg This! - del.icio.us - Stumble It! - Twit This! - Technorati links - Share on Facebook - Feedburner
 

10 Responses to “Spring ActionScript: site and documentation update”

  1. Graeme Harker Says:

    I guess you know that the “PDF” link on http://www.springactionscript.org has
    been a 404 for a while now. Is that a side effect of the documentation update?

  2. Christophe Says:

    Oops, thanks for reporting this Graeme. We will fix this asap. The correct link is http://www.springactionscript.org/docs/reference/pdf/springactionscript.pdf

  3. Arnoud Says:

    Hi Christophe,

    Really exited about autowiring. Just wondering. Would it be possible to use autowiring if you program against interfaces like:

    package {

    private var _model:IModelInterface;

    function MyClass(model:IModelInterface)
    {
    _model = model;
    }

    }

    in the container we would hae 2 definitions:

    (note the impl)

    so the question is is the container smart enough to recognise that there is 1 class implementing the IModelInteface
    and wire up myClass accordingly?

    That would be awesome as we could keep classes sealed, program against interfaces but still autowire them.

    What do you think? BTW im really exited about the docs! They are really good (but this specifict question is not addressed ;-) ) this was the biggest missing feature of the framework.

    Arnoud

  4. Arnoud Says:

    hmm tags are removed, second attempt:

    i meant in the container we would have 2 definitions:

    <object id=”myClass” class=”MyClass” autowire=”contructor” />
    <object id=”model” class=”ModleImpl” />

  5. Christophe Says:

    Hi Arnoud, yes that is supported. The container will check for matches on the class, subclass, interfaces and factory object possibly creating the target type. Cheers, Christophe (PS: how’s Tim?)

  6. Arnoud Says:

    That is really great!

    I hope this framework will get more attention when going to the 0.8 release.
    It is really powerful. I’ll promote it ;-)

    NB Tim is doing great. I’m working on the same project now. It’s ashame we didn’t
    meet…

    looking forward to the release!

    Arnoud

  7. Christoph Says:

    Hi Christophe,

    thanks for SpringActionscript! Actually I try to learn it and I like the reference documentation very much but there seems to be a gap between the documentation and SA 0.7.1.

    Do you have an idea, when SpringActionscript 0.8 will be released? I tried to build my own 0.8 version but failed (no maven project ;-)

    Regards,
    Christoph

  8. Christophe Says:

    Hi Christoph, we have actually been planning a new release for quite some time but have not managed to do so, mainly due to a lack of time. Please mail me (info @ this domain) and I’ll send you a build of the latest version.

  9. Christoph Says:

    Hi Christophe,

    there seems to be a problem with the trunk of the SA core project. If I try to build my own version with ant or maven, I get the following error (taken from ant build):

    compile-main-debug:
    [compc] Loading configuration file C:\Programme\Adobe\Flex Builder 3 Plug-in\sdks\3.3.0\frameworks\flex-config.xml
    [compc] D:\Dev\workspace\spring-actionscript\core\src\main\actionscript\org\springextensions\actionscript\context\support\mxml
    \ObjectDefinition.as(158): col: 37 Error: Typ wurde nicht gefunden oder war keine Kompilierungszeit-Konstante: Param.
    [compc]
    [compc] protected function addParam(param:Param):void{
    [compc] ^
    [compc]
    [compc] D:\Dev\workspace\spring-actionscript\core\src\main\actionscript\org\springextensions\actionscript\context\support\mxml
    \ObjectDefinition.as(192): col: 34 Error: Typ wurde nicht gefunden oder war keine Kompilierungszeit-Konstante: Template.
    [compc]
    [compc] public function get template():Template {
    [compc] ^
    [compc]
    [compc] D:\Dev\workspace\spring-actionscript\core\src\main\actionscript\org\springextensions\actionscript\context\support\mxml
    \ObjectDefinition.as(199): col: 38 Error: Typ wurde nicht gefunden oder war keine Kompilierungszeit-Konstante: Template.
    [compc]
    [compc] public function set template(value:Template):void {
    [compc] ^
    [compc]

    I try to do the new build becaus I get some strange error setting up RemoteObjects with SpringActionscript in 0.7.1 and I have absolutely no clue how to solve this:

    Error: null
    at mx.rpc::AbstractService/http://www.adobe.com/2006/actionscript/flash/proxy::setProperty()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AbstractService.as:282]
    at org.springextensions.actionscript.ioc.factory.support::AbstractObjectFactory/getObject()[C:\Users\Christophe\Documents\Adobe Gumbo MAX Preview\spring-actionscript\core\src\main\actionscript\org\springextensions\actionscript\ioc\factory\support\AbstractObjectFactory.as:221]
    at org.springextensions.actionscript.ioc.factory.support::DefaultListableObjectFactory/preInstantiateSingletons()[C:\Users\Christophe\Documents\Adobe Gumbo MAX Preview\spring-actionscript\core\src\main\actionscript\org\springextensions\actionscript\ioc\factory\support\DefaultListableObjectFactory.as:139]
    at org.springextensions.actionscript.context.support::XMLApplicationContext/afterParse()[C:\Users\Christophe\Documents\Adobe Gumbo MAX Preview\spring-actionscript\core\src\main\actionscript\org\springextensions\actionscript\context\support\XMLApplicationContext.as:161]
    at org.springextensions.actionscript.ioc.factory.xml::XMLObjectFactory/_doParse()[C:\Users\Christophe\Documents\Adobe Gumbo MAX Preview\spring-actionscript\core\src\main\actionscript\org\springextensions\actionscript\ioc\factory\xml\XMLObjectFactory.as:341]
    at org.springextensions.actionscript.ioc.factory.xml::XMLObjectFactory/_loadNextProperties()[C:\Users\Christophe\Documents\Adobe Gumbo MAX Preview\spring-actionscript\core\src\main\actionscript\org\springextensions\actionscript\ioc\factory\xml\XMLObjectFactory.as:315]
    at org.springextensions.actionscript.ioc.factory.xml::XMLObjectFactory/_loadNextConfigLocation()[C:\Users\Christophe\Documents\Adobe Gumbo MAX Preview\spring-actionscript\core\src\main\actionscript\org\springextensions\actionscript\ioc\factory\xml\XMLObjectFactory.as:291]
    at org.springextensions.actionscript.ioc.factory.xml::XMLObjectFactory/_onLoaderComplete()[C:\Users\Christophe\Documents\Adobe Gumbo MAX Preview\spring-actionscript\core\src\main\actionscript\org\springextensions\actionscript\ioc\factory\xml\XMLObjectFactory.as:241]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

    And, how can it be different, I have to proceed in my project – my boss is nervous.

    Can you give me a helping hand?

    Regards,
    Christoph

  10. Bhanu Says:

    Hi

    I have a doubt

    Is there any way to auto generate the cairngorm classes(command,Event,vos) or even delegates from the web services or from a remote object..?

    Bhanu

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in