|
Revision 809, 1.6 kB
(checked in by lmajano, 6 years ago)
|
|
Illidium Scaffolding Templates
|
| Line | |
|---|
| 1 | ******************************************************************************** |
|---|
| 2 | Copyright 2005-2007 ColdBox Framework by Luis Majano and Ortus Solutions, Corp |
|---|
| 3 | www.coldboxframework.com | www.luismajano.com | www.ortussolutions.com |
|---|
| 4 | ******************************************************************************** |
|---|
| 5 | ILLIDIUM COLDBOX SCAFFOLDING TEMPLATE |
|---|
| 6 | ******************************************************************************** |
|---|
| 7 | These templates will help you scaffold a ColdBox application with the use of |
|---|
| 8 | Brian Rinaldi's Illidium Generator. Please note the following: |
|---|
| 9 | |
|---|
| 10 | UNIT 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 | |
|---|
| 15 | COLDSPRING: |
|---|
| 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 | |
|---|
| 23 | DAO SAVE METHOD: |
|---|
| 24 | The save method is pre-configured to create a UUID for the primary key. If you do |
|---|
| 25 | not want this to happen (You might have another pk method or an incremental sequence, |
|---|
| 26 | or autonumber) then please comment the following line in your generated DAO or |
|---|
| 27 | Template: |
|---|
| 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 | |
|---|
| 33 | STYLE.CSS: |
|---|
| 34 | You will need to add the style declaration to the layout if you want to use |
|---|
| 35 | the pre-set stylesheet. If not, just use your own. |
|---|