root/coldbox/trunk/install/illidium_templates/coldbox/readme.txt @ 809

Revision 809, 1.6 kB (checked in by lmajano, 6 years ago)

Illidium Scaffolding Templates

Line 
1********************************************************************************
2Copyright 2005-2007 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
3www.coldboxframework.com | www.luismajano.com | www.ortussolutions.com
4********************************************************************************
5ILLIDIUM COLDBOX SCAFFOLDING TEMPLATE
6********************************************************************************
7These templates will help you scaffold a ColdBox application with the use of
8Brian Rinaldi's Illidium Generator.  Please note the following:
9
10UNIT TESTS:
11- The generator will create the unit tests for the handlers for you. However,
12  you MUST supply the application's mapping in the generated SETUP methods.
13
14 
15COLDSPRING:
16- Once the coldspring.xml is generated, you will have to replace the
17  "YOUR_ALIAS_HERE" with the alias of your datasource as you define it in
18  the config.xml.cfm.
19 
20  <Datasource alias="MyDSNAlias" name="real_dsn_name" dbtype="mysql" username="" password="" />
21
22
23DAO SAVE METHOD:
24The save method is pre-configured to create a UUID for the primary key. If you do
25not want this to happen (You might have another pk method or an incremental sequence,
26or autonumber) then please comment the following line in your generated DAO or
27Template:
28
29<!--- Comment the following if you would NOT like to generate UUID's --->
30<cfset arguments.#root.bean.xmlAttributes.name#.set#primaryKey#(createUUID())>
31
32 
33STYLE.CSS:
34You will need to add the style declaration to the layout if you want to use
35the pre-set stylesheet. If not, just use your own.
Note: See TracBrowser for help on using the browser.