Changes for page WebObjects with Scala
Last modified by Ravi Mendis on 2011/05/10 02:10
From version 414.1
edited by Ravi Mendis
on 2010/01/14 23:00
on 2010/01/14 23:00
Change comment:
There is no comment for this version
To version 417.1
edited by Ravi Mendis
on 2010/01/14 22:54
on 2010/01/14 22:54
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,14 +1,13 @@ 1 1 === What is Scala? === 2 2 3 3 Scala is a modern language not unlike Groovy. 4 -It is said to be more powerful and faster than Groovy or Rub y.5 -This 's been the reason for its adoption at sites like Twitter.4 +It is said to be more powerful and faster than Groovy or Rub. 5 +This has been the reason for its adoption at sites like Twitter. 6 6 7 7 Many of its features and paradigms favor multi-threading and concurrency. 8 -It could be said that Scala was designed from the ground up withconcurrencyin mind.8 +It could be said that Scala was designed from the ground up for concurrency. 9 9 10 -Some of its features may not be unfamiliar to Objective-C or WebObjects developers. 11 -Here's a quick summary: 10 +Some of these features may not be unfamiliar to Objective-C or WebObjects developers. Here's a summary: 12 12 13 13 |= |= Objective-C |= Java |= Scala 14 14 |= Mutable/Immuable Datatypes | Collections //e.g: NSArray/NSMutableArray// | No | Yes ... ... @@ -31,10 +31,10 @@ 31 31 With Web 2.0, building concurrent WebObjects applications is a must. 32 32 Developing and maintaining a concurrent or multi-threaded WebObjects application can be challenging. 33 33 34 - ThelackoficvariablesmeansthatScala is inherently thread-safe.35 -I thas concurrencythatiseffectivelybuilt-inothelanguagein the formofActors.33 +Scala offers concurrency that is (effectively) built-in to the language and is inherently thread-safe. 34 +In other words, developing Ajax (i.e asynchronous communication) with WO will require concurrent request handling and thread-safe code, for which Scala is a better choice than Java. 36 36 37 - Sofor WebObjectsdevelopers,Scala offers itself as apowerful,safeandeasy-to-usesolutionforconcurrent applications.36 +In addition Scala offers itself as a solution for tasks that typically would have involved threads in a WebObjects application 38 38 39 39 === Can WebObjects be Programmed In Scala? === 40 40