Wiki source code of EOGenerator Templates and Additions
Last modified by David Avendasora on 2011/09/12 00:55
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | == WOLips EOGenerator (VEOGen) == | ||
2 | |||
3 | * Basic setup [[instructions>>doc:WOL.Home.EOGenerator.WebHome]] | ||
4 | * Using custom [[templates>>doc:WOL.Home.EOGenerator.Using Custom EOGenerator Templates.WebHome]] | ||
5 | * Velocity Information | ||
6 | ** [[Velocity Template Language Reference>>url:http://velocity.apache.org/engine/devel/vtl-reference-guide.html||shape="rect"]] | ||
7 | ** [[Velocity Users Guide>>url:http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html||shape="rect"]] | ||
8 | ** [[Article and example of Velocity usage>>url:http://www.javaworld.com/javaworld/jw-12-2001/jw-1228-velocity.html||shape="rect"]] | ||
9 | * EOModel value [[reference>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.Velocity Generator Reference.WebHome]] for template customization | ||
10 | * [[Tips and Tricks>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.Veogen Tips and Tricks.WebHome]] | ||
11 | * The Current Official WOLips Velocity EOGenerator Templates | ||
12 | ** Standard (non-Wonder) Templates | ||
13 | *** [[_Entity.java>>url:https://github.com/wolips/wolips/blob/master/wolips/core/plugins/org.objectstyle.wolips.eogenerator.core/templates/_Entity.java||shape="rect"]] | ||
14 | *** [[Entity.java>>url:https://github.com/wolips/wolips/blob/master/wolips/core/plugins/org.objectstyle.wolips.eogenerator.core/templates/Entity.java||shape="rect"]] | ||
15 | ** WOnder Templates | ||
16 | *** [[_WonderEntity.java>>url:https://github.com/wolips/wolips/blob/master/wolips/core/plugins/org.objectstyle.wolips.eogenerator.core/templates/_WonderEntity.java||shape="rect"]] | ||
17 | *** [[WonderEntity.java>>url:https://github.com/wolips/wolips/blob/master/wolips/core/plugins/org.objectstyle.wolips.eogenerator.core/templates/WonderEntity.java||shape="rect"]] | ||
18 | ** Consolidated WOnder Templates with "Clazz" pattern (Ramsey Gurley) | ||
19 | *** [[_WonderEntity.java>>url:https://github.com/nullterminated/ponder/raw/master/ERR2d2w/Support/Templates/_WonderEntity.java||shape="rect"]] | ||
20 | *** [[WonderEntity.java>>url:https://github.com/nullterminated/ponder/raw/master/ERR2d2w/Support/Templates/WonderEntity.java||shape="rect"]] | ||
21 | |||
22 | * Mike Schrag's Templates | ||
23 | ** _Entity superclass [[template>>url:http://webobjects.mdimension.com/wolips/EOGenerator/Velocity%20EOGenerator%20Templates/_Entity.java||shape="rect"]] | ||
24 | ** Entity subclass [[template>>url:http://webobjects.mdimension.com/wolips/EOGenerator/Velocity%20EOGenerator%20Templates/Entity.java||shape="rect"]] | ||
25 | * ERCoreBusinessLogic templates showing off the "Clazz" pattern | ||
26 | ** _Entity superclass [[template>>url:https://github.com/projectwonder/wonder/tree/master/Frameworks/BusinessLogic/ERCoreBusinessLogic/Support/_Entity.java||shape="rect"]] | ||
27 | ** Entity subclass [[template>>url:https://github.com/projectwonder/wonder/tree/master/Frameworks/BusinessLogic/ERCoreBusinessLogic/Support/Entity.java||shape="rect"]] | ||
28 | * Oswaldo Bueno's FetchSpecification Addition | ||
29 | ** _Entity superclass [[addition>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.Oswaldo Bueno's FetchSpecification Addition.WebHome]] | ||
30 | * Pierre Frisch's Templates w/[[sPearCat>>url:http://www.spearcat.com/||shape="rect"]] Additions | ||
31 | ** _Entity superclass [[template>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.sPearCat-Ready Superclass Template.WebHome]] | ||
32 | ** Entity subclass [[template>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.sPearCat-Ready Subclass Template.WebHome]] | ||
33 | * Pierce Wetter's addition to count to-many destination objects without loading all the destination objects. | ||
34 | ** _Entity superclass [[addition>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.Count To-Many Objects without Loading.WebHome]]. | ||
35 | * David Avendasora's Java Client Templates & EOGenericRecord classes | ||
36 | ** **Server-Side Classes** (Requires Project Wonder) | ||
37 | ** _EntityServer.java [[template>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.Server-Side _Entity\.java Template.WebHome]] | ||
38 | ** EntityServer.java [[template>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.Server-Side Entity\.java Template.WebHome]] | ||
39 | ** **Client-Side Classes** | ||
40 | ** EOGenericRecord [[additions>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.Client-Side EOGenericRecord Additions.WebHome]] | ||
41 | ** Session.java [[additions>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.Session\.java Addition.WebHome]] | ||
42 | ** _EntityClient.java [[template>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.Client-Side _Entity\.java Template.WebHome]] | ||
43 | ** EntityClient.java [[template>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.Client-Side Entity\.java Template.WebHome]] | ||
44 | * Florijan Stamenkovic's [[JBND>>url:http://web.mac.com/flor385/JBND/||shape="rect"]]-aware Java-Client Templates | ||
45 | There are only Client-Side Class JBND-specific templates. You can use any Server-Side Class templates you wish. | ||
46 | ** **Client-Side Classes** | ||
47 | ** _EntityClient.java [[template>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.JBND Client-Side _Entity\.java Template.WebHome]] | ||
48 | ** EntityClient.java [[template>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.JBND Client-Side Entity\.java Template.WebHome]] | ||
49 | * Ravi Mendis' basic (proof-of-concept) Scala Templates | ||
50 | ** EOF Scala Templates | ||
51 | *** _Entity.scala [[template>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.Scala _Entity\.java Template.WebHome]] | ||
52 | *** Entity.scala [[template>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.Scala Entity\.java Template.WebHome]] | ||
53 | ** [[Squeryl>>url:http://squeryl.org/||shape="rect"]] Templates | ||
54 | *** _Entity.eotemplate [[template>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.Squeryl _Entity\.eotemplate.WebHome]] | ||
55 | *** Entity.eotemplate [[template>>doc:WOL.Home.EOGenerator.EOGenerator Templates and Additions.Squeryl Entity\.eotemplate.WebHome]] | ||
56 | * John Huss' complete SCALA Templates (basically a translation of the java WonderEntity template with the addition of Option accessors for optional properties) | ||
57 | ** [[_ScalaEntity.scala>>attach:_ScalaEntity.scala]] | ||
58 | ** [[attach:ScalaEntity.scala]] | ||
59 | |||
60 | == Rubicode's Legacy EOGenerator (WO 5.3 and before) - Obsoleted by OS X Leopard and WO 5.4 == | ||
61 | |||
62 | {{warning title="Deprecated"}} | ||
63 | The original EOGenerator will not work with OS X 10.5 or higher since the Cocoa-Java Bridge framework has been deprecated. You should only use it for compatibility with older projects. All new development should be done with the Velocity EOGenerator built into WOLips. | ||
64 | {{/warning}} | ||
65 | |||
66 | * [[EOGenerator's Home>>url:http://www.rubicode.com/Software/EOGenerator/||shape="rect"]] | ||
67 | * Basic setup [[instructions>>doc:WOL.Home.EOGenerator.Generating Custom EO Java Classes.WebHome]] | ||
68 | * Template [[addition ideas>>url:http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Using_EOF/EOGenerator#Custom_EOGenerator_Mods||shape="rect"]] (only for Rubicode's EOGenerator, but should be able to be translated to either JavaEOGenerator or Veogen) | ||
69 | * Jonathan Rentzsch's Templates | ||
70 | ** [[_Entity superclass>>url:http://rentzsch.com/trac/browser/trunk/java/EOGenerator/JavaSourceEOF52.eotemplate||shape="rect"]] | ||
71 | ** [[_Entity superclass (ContentContext Aware)>>url:http://rentzsch.com/trac/browser/trunk/java/EOGenerator/JavaSourceEOF52CC.eotemplate||shape="rect"]] | ||
72 | ** [[Entity subclass>>url:http://rentzsch.com/trac/browser/trunk/java/EOGenerator/JavaSubclassSourceEOF5.eotemplate||shape="rect"]] |