I’m proud to announce that Prana 0.4 has been released.
Some of the key features and updates:
- major update to the core IoC container
- support for PureMVC
- several bugfixes and minor improvements
General info: http://www.pranaframework.org
Download: SourceForge Download Page
Changes in version 0.4 (26.01.2008)
———————————–
General
* introduction of PureMVC support
* added PureMVC sample application
* nightly builds available at http://prana.herrodius.com
* fixed config.xsl to ignore _svn folders
Package org.pranaframework.cairngorm
* fixed early dispatching of events in EventSequence
Package org.pranaframework.collections
* added “remove” method to IMap and Map
* changed “size” and “values” methods to getters
* Map now extends Dictionary instead of Proxy
Package org.pranaframework.config
* AppSettings now extends Proxy instead of Map
Package org.pranaframework.ioc
* added check for valid IList before creating cursor
* added “isLazyInit” and “initMethod” properties to IObjectDefinition and ObjectDefinition
* added support for init method in ObjectContainer
* added “removeObjectFromInternalCache” method
* enhancements to “getObject”
* added post processing capabilities to ObjectContainer
Package org.pranaframework.ioc.factory
* added IObjectContainerAware
Package org.pranaframework.ioc.factory.config
* added ObjectContainerAwarePostProcessor
* added LoggingTargetFactoryObject
Package org.pranaframework.ioc.parser
* added support for lazy init and init method in XmlObjectDefinitionsParser
* fixed “parseProperties” because of Map refactoring, keys were not strings in XmlObjectDefinitionsParser
Package org.pranaframework.puremvc
* initial release
Package org.pranaframework.utils
* added Parse port from the Fit framework
* added HtmlUtils utility methods for working with html
* added “isExplicitInstanceOf” method to ObjectUtils
Add to Bloglines - Digg This! - del.icio.us - Stumble It! - Twit This! - Technorati links - Share on Facebook - Feedburner
Christophe Herreman is a software developer living in Belgium. He's working on high-end Flex and AIR solutions at
February 2nd, 2008 at 9:15 pm
Hi Christophe,
nice work! I surely will use Prana in future projects.
Now I’m looking for a Properties loader mechanism, i.e.
loading key/value pairs from a .properties file.
What do you think: Is Prana also a (good) solution for this kind of configuration, i.e. where i just load all properties into a class (but without specific setter methods for each line) and then let the application go through the loaded properties and decide what methods/actions to call ?
I hope you understand what i mean.
I need something similar to Java’s Properties class:
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html
Regards
valley
February 3rd, 2008 at 9:50 am
Hi valley,
I added a first implementation of Properties in org.pranaframework.collections. You can load in external files via myProperties.load(url). The IoC container does not take into account property files, but that will be next step.
The code is in SVN. Let me know if this suits your needs.
February 3rd, 2008 at 10:21 am
Hi Christophe,
ok fine, i’ll check this, thank you.
Meanwhile i’ve found your class AppSettings (http://www.herrodius.com/blog/63), which is also a good alternative for me.
Regards
valley
April 1st, 2008 at 4:36 am
Have you consider updating PureMVC dependencies to a newer version (2.0.3)?
Looking at the code it seems to require some minor changes because the way that Proxys and Mediators are registered, but i think it’s worth it.
You’ve made an excellent work on Prana.
Best regards.
Diego.
April 1st, 2008 at 5:36 am
Hi Diego,
the latest SVN version contains modifications for PureMVC 2.0.3. Please check it out.
regards,
Christophe