![]() |
|
|
ColdSpring Bean Utilities
Project Home • Blog • Forums • Wiki • Known Issues • Contact Project
Author: Brian Kotek (All RIAForge projects by this author) Description:
This package includes a variety of utilities and other useful components to support development using ColdSpring. Each component has a full description in the comments, and I have several blog posts on these at my blog, http://www.briankotek.com/blog.
ColdSpringXMLUtils.cfc: This component will replace dynamic properties in a ColdSpring XML file with values specified in the passed structure. ColdSpring itself allows for some dynamic properties, but only in certain places in the XML such as constructor argument values. Using this CFC allows you to place dynamic properties anywhere in the XML. It also handles replacing dynamic properties on any imported ColdSpring files that use the <import> tag. BeanInjector.cfc: The component will autowire any other component with ColdSpring-managed beans. Very useful for injecting ColdSpring beans (mainly Singletons) into transient objects. TDOBeanInjectorObserver.cfc: This component uses the BeanInjector to automatically autowire Transfer Decorator objects with ColdSpring beans. Transfer is an ORM (object-relational mapping) framework for ColdFusion. Using this observer allows your Transfer Decorators to supply much richer behavior and allows them to act as real Business Objects rather than simple data containers for database data. AbstractMetadataAwareAdvice.cfc: An abstract ColdSpring AOP Advice that leverages an XML file to supply metadata to your Advices. This greatly enhances the capabilities of an Advice because you can supply information that the Advice can act upon that it would otherwise be unaware of. VOConverterAdvice.cfc: This Advice extends AbstractMetadataAwareAdvice and will automatically convert one set of data into Value Objects that can be used by Flex. It uses the metadata supplied by the superclass to determine how to perform the conversion, and what type to apply to the resulting Value Objects to allow for automatic translation into ActionScript classes. GenericVOConverter.cfc: This is a generic Value Object converter that will convert queries, arrays, or structures into objects of the type specified by the metadata.
Requirements:
These have only been tested on ColdFusion 8, and they require the latest version of ColdSpring to use. Also, the Transfer observer requires the latest release of the Transfer ORM.
The ColdSpringXMLUtils component requires Java 5 or later, which most installs of CF7 or 8 should already have. However, it also uses ReMatchNoCase() which is only supported on CF8. Issue Tracker: There are no issues for this project. To enter issues for this (or any other) project, you must be logged in. Subversion Access: You may access this project's Subversion repository with your client here: http://svn.riaforge.org/coldspringutils. To view this repository with your browser, go here: http://coldspringutils.riaforge.org/index.cfm?event=page.svnbrowse. You may download the latest set of files from Subversion as a zip file. Anonymous users have read access to the repository while the administrator has write access. This project is sharing its code via Subversion. Subversion is an open source source control method. You may find more information about Subversion here: http://subversion.tigris.org/ |
||||||||||||||||||||||||||||
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.