Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

Framefactory One
Project Home Blog Wiki Known Issues External Project Link Contact Project

Author: Marco Betschart (All RIAForge projects by this author)
Admins: Reinhard Jung
Last Updated: August 11, 2010 7:44 AM
Version: 1.11
Views: 13,418
Downloads: 801
License: GPL (GNU General Public License)

Description:

Based on Framework One to load Beans, Controllers, Models, Services and create Accessors for Beans and Models.


/beans/user.cfc
<cfcomponent output="false" hint="Enthaelt die User Eigenschaften inklusive dynamischen Accessors">
   
<cfproperty name="username"      type="string"   required="true"   hint="Name des Benutzers" />
<cfproperty name="password"      type="string"   required="true"   hint="Passwort des Benutzers" />
<cfproperty name="birthdate"   type="date"      required="true"   hint="Geburtsdatum des Benutzers" />

<!--- add your functions, custom accessors or a customized validate function --->

</cfcomponent>


/models/user.cfc
<cfcomponent output="false" hint="Usermodel uebernimmt alle CRUD Arbeiten fuer den User">
   
<cffunction name="save" returntype="void" access="public" output="false" hint="Speichert den User in der Datenbank">
   <cfargument name="username"      type="string" required="true" hint="Name des Benutzers" />
   <cfargument name="password"      type="string" required="true" hint="Passwort des Benutzers" />
   <cfargument name="birthdate"   type="string" required="true" hint="Geburtsdatum des Benutzers" />

   <cfset var local = structNew() />

   <cfquery name="local.myQuery" datasource="#variables.instance.datasource#">
      <!--- your insert statement --->
   </cfquery>
</cffunction>

</cfcomponent>

Requirements:

ColdFusion 8.0.1 / 9.0
Railo 3.1.x

Issue Tracker:

This project has an external bug tracker. You can find it here:
https://www.assembla.com/spaces/ff1/support/tickets

Source Control Access:

This project hosts its source control at an external location:
http://svn2.assembla.com/svn/ff1