Changes for page WebObjects and Squeryl

Last modified by Ravi Mendis on 2011/04/01 11:14

From version 158.1
edited by Ravi Mendis
on 2010/11/09 23:46
Change comment: There is no comment for this version
To version 159.1
edited by Ravi Mendis
on 2010/11/10 00:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -11,3 +11,15 @@
11 11  ** Better suited for business "logic".
12 12   E.g: Exploiting the compiler and IDE to catch exceptions at compile time rather than at run-time.
13 13  * Uses Scala (functional) collection classes
14 +
15 += Migrating EOF -> Squeryl =
16 +
17 +In keeping with the strong-typed philosophy of Scala, Squeryl has no dynamic component like EOF (i.e an EO model file).
18 +
19 +EOF though has the ability to generate classes in Java (and in Objective-C prior to WebObjects 4.5) enforcing type as has become customary in enterprise environments. We may exploit this feature of EOF to generate a Squeryl schema.
20 +
21 +Create a .eogen file for your EO model as normal. Only set the File Names extension
22 +
23 +* Squeryl Templates
24 +** Entity.eotemplate [[template>>WOL:Squeryl _Entity.eotemplate]]
25 +** Entity.eotemplate [[template>>WOL:Squeryl Entity.eotemplate]]