Re: Anyone playing with Scala?
Re: Anyone playing with Scala?
- Subject: Re: Anyone playing with Scala?
- From: Ravi Mendis <email@hidden>
- Date: Thu, 17 Sep 2009 06:55:48 +0200
Hi Tim,
Yes.
Here's how to use Scala to code a WO app:
http://wiki.objectstyle.org/confluence/display/WO/WebObjects+with+Scala
Thanks,
Ravi
On Thursday, September 17, 2009, at 06:51AM, "Tim Worman" <email@hidden> wrote:
>Ravi et al:
>
>How is it possible to use another language like Scala to code
>WebObjects apps? Sorry for the newb question - I'm really interested
>in the answer. My first real programming (apart from filemaker,
>applescript, shell, etc.) is webobjects and I wasn't a computer
>science major so this must require a level of abstraction beyond my
>experience.
>
>Tim
>UCLA GSE&IS
>
>On Sep 16, 2009, at 9:43 PM, Ravi Mendis wrote:
>
>> Playtime is over for Scala...
>> ...my intention is to do my next production app in Scala.
>>
>> The primary motivation for using Scala is that it is inherently
>> thread-safe.
>> Web 2.0 apps (like a ERDivaLook app for example) really need
>> concurrent request handling.
>>
>> With Java, one can be careful, but unless you code-review regularly
>> you can never be sure you have thread-safe code.
>> In Scala you are automatically writing thread-safe code (more or
>> less).
>> So you don't have to have sleepless nights over deadlocks when using
>> concurrent request handling :)
>>
>> Now, developing and deploying more ambitious Web 2.0 UI is a
>> possibility...
>>
>>
>> On Thursday, September 17, 2009, at 06:10AM, "Q" <email@hidden>
>> wrote:
>>> Thanks Ravi, I will check it out. It's only been 2 years and 3 months
>>> since I asked the original question. :)
>>>
>>> Over the last couple of years I have actually written a few proof of
>>> concept approaches for writing wo apps in other languages: ruby,
>>> groovy, javascript, etc. They worked with various amounts of success,
>>> and it is all very cool, but I always keep coming back to java
>>> because
>>> of the tool support and IDE integration with WOLips and Java.
>>> Particularly for things that aren't code, like component validation,
>>> content assist, etc.
>>>
>>> Do you feel this is something you would use to write real world apps
>>> with, or is it just something you have tried as a bit of fun?
>>>
>>> On 17/09/2009, at 11:27 AM, Ravi Mendis wrote:
>>>
>>>> Dusting off an ancient thread here...
>>>>
>>>> For those interested in programming WebObjects in Scala, you might
>>>> like:
>>>> http://wiki.objectstyle.org/confluence/display/WO/WebObjects+with
>>>> +Scala
>>>>
>>>> Thanks to Dominique Schonenberger for gifting me "Programming in
>>>> Scala" (by Martin Odersky) for my holidays :)
>>>>
>>>> FYI: Martin Odersky, is both the author of the language and the
>>>> book.
>>>> I highly recommend it! It's easy to see why Scala's become popular
>>>> at Twitter, linkedin, etc.
>>>>
>>>> Thanks,
>>>> Ravi
>>>
>>>
>>>
>>> --
>>> Seeya...Q
>>>
>>> Quinton Dolan - email@hidden
>>> Gold Coast, QLD, Australia (GMT+10)
>>>
>>>
>>>
>>>
>>>
>>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden