By Rupert
AppTemplate Released Beta
This is my beta release of apptemplate which runs ColdFusion, ColdSpring and Reactor.
To configure:
1. rename all instances of apptemplate to your “myapplication” found in the ff files;
Application.cfm:2:<cfapplication name="apptemplate" sessionmanagement="true"> build.xml:2: <property name="source" value="E:\wwwroot\apptemplate"> build.xml:3: </property><property name="target" value="E:\wwwroot\apptemplate"> build.xml:12: token="apptemplate" build.xml:13: value="apptemplate" config/ModelGlue.xml:4: <controller name="SecurityController" type="apptemplate.controller.SecurityController"> config/ModelGlue.xml:10: </controller><controller name="UserController" type="apptemplate.controller.UserController"> config/ColdSpring.xml:12: <property name="viewMappings"><value>/apptemplate/views</value></property> config/ColdSpring.xml:13: <property name="generatedViewMapping"><value>/apptemplate/views/generated</value></property> config/ColdSpring.xml:27: <constructor -arg name="pathToConfigXml"><value>/apptemplate/config/Reactor.xml</value></constructor> config/ColdSpring.xml:28: <property name="project"><value>apptemplate</value></property> config/ColdSpring.xml:29: <property name="dsn"><value>apptemplate</value></property> config/ColdSpring.xml:31: <property name="mapping"><value>/apptemplate/model/data</value></property> config/ColdSpring.xml:48: <bean id="dataAccess" class="apptemplate.model.db.DataAccess" singleton="true"> config/ColdSpring.xml:53: <value>apptemplate</value> config/ColdSpring.xml:57: </bean><bean id="utility" class="apptemplate.model.ValidationUtility" singleton="true"></bean> config/ColdSpring.xml:62: <bean id="userGateway" class="apptemplate.model.db.UserGateway" singleton="true" autowire="byName"></bean> config/ColdSpring.xml:64: <bean id="userDAO" class="apptemplate.model.db.UserDAO" singleton="true" autowire="byName"></bean> config/ColdSpring.xml:66: <bean id="securityService" class="apptemplate.model.service.SecurityService" singleton="true"></bean> config/ColdSpring.xml:68: <bean id="userService" class="apptemplate.model.service.UserService" singleton="true"> controller/UserController.cfc:3: <cffunction name="init" returntype="apptemplate.controller.UserController" access="public" output="false"> controller/UserController.cfc:11: <cfargument name="userService" type="apptemplate.model.service.UserService" required="true"> controller/UserController.cfc:15: <cffunction name="getUserService" returntype="apptemplate.model.service.UserService" access="public" output="false"> controller/SecurityController.cfc:3: </cffunction><cffunction name="init" returntype="apptemplate.controller.SecurityController" access="public" output="false"> controller/SecurityController.cfc:11: <cfargument name="securityService" type="apptemplate.model.service.SecurityService" required="true"> controller/SecurityController.cfc:15: <cffunction name="getSecurityService" returntype="apptemplate.model.service.SecurityService" access="public" output="false"> controller/SecurityController.cfc:20: <cfargument name="userService" type="apptemplate.model.service.UserService" required="true"> controller/SecurityController.cfc:24: <cffunction name="getUserService" returntype="apptemplate.model.service.UserService" access="public" output="false"> model/service/SecurityService.cfc:3: </cffunction><cffunction name="init" returntype="apptemplate.model.service.SecurityService" access="public" output="false"> model/service/UserService.cfc:8: <cfargument name="userGateway" type="apptemplate.model.db.UserGateway" required="true"> model/service/UserService.cfc:12: <cffunction name="getUserGateway" access="public" returntype="apptemplate.model.db.UserGateway" output="false"> model/service/UserService.cfc:17: <cfargument name="userDAO" type="apptemplate.model.db.UserDAO" required="true"> model/service/UserService.cfc:21: <cffunction name="getUserDAO" access="public" returntype="apptemplate.model.db.UserDAO" output="false"> model/db/UserDAO.cfc:1:<cfcomponent name="UserDAO" displayname="UserDAO" extends="apptemplate.model.db.DataAccess" output="false"> model/db/UserGateway.cfc:1:</cfcomponent><cfcomponent name="UserGateway" displayname="UserGateway" extends="apptemplate.model.db.DataAccess" output="false"> </cfcomponent></cffunction></cfargument></cffunction></cfargument></cffunction></cfargument></cffunction></cfargument></cffunction></cfargument></cffunction></bean></controller></property></cfapplication>
2. Create the database w/c runs on MySQL 5 and is found on
apptemplate/
db/
3. If you want to reload all classes, append “init” on the URL string.
| Print article | This entry was posted by rupert on February 7, 2007 at 6:51 pm, and is filed under coldfusion, coldspring, modelglue, reactor. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |