Changes for page WebObjects and Squeryl
Last modified by Ravi Mendis on 2011/04/01 11:14
From version 154.1
edited by Ravi Mendis
on 2010/11/09 23:42
on 2010/11/09 23:42
Change comment:
There is no comment for this version
To version 155.1
edited by Ravi Mendis
on 2010/11/09 23:59
on 2010/11/09 23:59
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -3,10 +3,17 @@ 3 3 Advantages of Squeryl over EOF: 4 4 5 5 * Concurrent 6 -* Spawns multiple database connections 7 -* Issues database transactions concurrently 6 +** Spawns multiple database connections 7 +** Issues database transactions concurrently 8 8 * Scala Actor compatible 9 9 * Immutable object model/graph 10 10 * Strongly-typed 11 -* Better suited for business "logic". E.g: avoiding ##UnknownKeyException## 11 +** Better suited for business "logic". 12 + E.g: Exploiting the compiler and IDE to catch exceptions at compile time rather than at run-time. 12 12 * 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.