Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
At last, Scala in SA :)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  16 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Cornel Masson  
View profile  
 More options Feb 26 2012, 2:41 pm
From: Cornel Masson <cornel.mas...@googlemail.com>
Date: Sun, 26 Feb 2012 11:41:53 -0800 (PST)
Local: Sun, Feb 26 2012 2:41 pm
Subject: At last, Scala in SA :)

I asked this question<http://www.quora.com/Scala/Has-anyone-in-South-Africa-started-using-S...> quite
some time ago on Quora, and was finally referred to this group today: for a
while there I thought I was the only Scalar Saffer.

I'm a Java architect/developer and have been using Java for > 10 yrs in
enterprise computing, websites, database-driven commerce, etc. I want to
retain the scalability & capability of Java, but dearly want to move to the
beauty of the Scala language. I haven't programmed anything in Scala yet:
would the following architecture make sense for a large system:

   - *Scala *as general language
   - *Lift *as web framework (AFAIK it also supports AJAX/HTML5/Javascript
   interfaces, as well as RESTful web services)
   - *Circumflex *for object/relational mapping (can it cope with
   complexity/performance tuning similar to Hibernate?)
   - *Cake *pattern for dependency injection (replacing use of a library
   like Spring)
   - *Akka *for remoting (if applications need to inter-communicate)
   - *Scala-Redis* interface if using *Redis *as centralised application
   cache

Thanks!

Cornel Masson
Stellenbosch


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pavel Tcholakov  
View profile  
 More options Feb 26 2012, 3:15 pm
From: Pavel Tcholakov <pchola...@gmail.com>
Date: Sun, 26 Feb 2012 22:15:38 +0200
Local: Sun, Feb 26 2012 3:15 pm
Subject: Re: At last, Scala in SA :)
Welcome! It's a pretty quiet list I'm afraid :-)

On Sun, Feb 26, 2012 at 9:41 PM, Cornel Masson


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mitchell Wong Ho  
View profile  
 More options Feb 26 2012, 4:34 pm
From: Mitchell Wong Ho <oreomi...@gmail.com>
Date: Sun, 26 Feb 2012 23:34:51 +0200
Local: Sun, Feb 26 2012 4:34 pm
Subject: Re: At last, Scala in SA :)

Welcome,

It's up to the group's members to stimulate discussion and grow support.

On Sun, Feb 26, 2012 at 10:15 PM, Pavel Tcholakov <pchola...@gmail.com>wrote:

--
Regards,
Mitch
Tel: +27 (0)84 987 8888
Email: oreomitch[at]gmail[dot]com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gary Pampara  
View profile  
 More options Feb 27 2012, 12:33 am
From: Gary Pampara <gpamp...@gmail.com>
Date: Mon, 27 Feb 2012 07:33:10 +0200
Local: Mon, Feb 27 2012 12:33 am
Subject: Re: At last, Scala in SA :)
Just some perspectives from my personal experience:

1. Lift is ok. It is, however, one of those frameworks that you have
to fully embrace. Moving away from it is not really an option once you
start using it.
2. ORM is a bad idea, no matter the situation.
3. You are better off using some proper typing instead of the cake
pattern. Most of the time you end up in a "bakery of doom".
4. Akka is great :)
5. Redis integration is good.

Regards,
Gary

On Sun, Feb 26, 2012 at 11:34 PM, Mitchell Wong Ho <oreomi...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Belrose  
View profile  
 More options Feb 27 2012, 4:01 am
From: Guillaume Belrose <kafe...@gmail.com>
Date: Mon, 27 Feb 2012 01:01:34 -0800 (PST)
Local: Mon, Feb 27 2012 4:01 am
Subject: Re: At last, Scala in SA :)
Hi to the list as well.

I am not (yet) in South Africa, but I will be in the near future,
moving to Jo'burg sometimes in September.
I am currently using Scala on a small scale at my company (a
predominantly C++ shop).

Another advice I would give to someone learning the language is to
take the time to read Martin Odersky's book because it is a pretty
good one. The book is very well structured, starts quite simple and
gradually introduces more advanced topics.

Cheers,

Guillaume

On Feb 27, 5:33 am, Gary Pampara <gpamp...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ewald Horn  
View profile  
 More options Feb 27 2012, 12:54 pm
From: Ewald Horn <ewaldh...@gmail.com>
Date: Mon, 27 Feb 2012 09:54:44 -0800 (PST)
Local: Mon, Feb 27 2012 12:54 pm
Subject: Re: At last, Scala in SA :)

Great,

looks like I have some reading to do!

Best regards,
Ewald


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Belrose  
View profile  
 More options Feb 27 2012, 3:19 pm
From: Guillaume Belrose <kafe...@gmail.com>
Date: Mon, 27 Feb 2012 12:19:48 -0800 (PST)
Local: Mon, Feb 27 2012 3:19 pm
Subject: Re: At last, Scala in SA :)

I know books can be quite pricey in SA. There is a free online version of the first edition of Martin Odersky's book at http://www.artima.com/pins1ed/
It does not cover things that were are added in Scala 2.8 and after but it is a very good resource. The other one, also free is the book from Alex Payne who used to work at Twitter. The book is available at: http://ofps.oreilly.com/titles/9780596155957/
Happy reading.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wilter du Toit  
View profile  
 More options Feb 27 2012, 3:26 pm
From: Wilter du Toit <wil...@virtualmobiletech.com>
Date: Mon, 27 Feb 2012 12:26:51 -0800 (PST)
Local: Mon, Feb 27 2012 3:26 pm
Subject: Re: At last, Scala in SA :)
You could look at:

* Scala
* Squeryl for ORM (if you are going to use a relational database, if
not look at AWS DynamoDB)
* Akka
* Play 2.0
* VIM

I specifically mention VIM since most of the tooling for Scala is not
great and using VIM will most likely be much more productive for you.
Scala is also succinct enough that you do not generally need an IDE.
The typesafe stack already comes with VIM support and there are
several alternatives available.

It is also worthwhile learning sbt in-depth since both the typesafe
stack and play use it as the underlying build system.

I also found that learning Haskell at the same time as Scala works
well since many of the FP concepts are explained in more depth in the
Haskell community/resources (e.g. learnyouahaskell.com ).

The learning curve is fairly steep and there has been some recent
articles about Scala being too complex, which I have found to be not
true. I can assure you that if you just keep going, it is well worth
it.

On Feb 27, 7:54 pm, Ewald Horn <ewaldh...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mnetship  
View profile  
 More options Feb 27 2012, 3:55 pm
From: mnetship <mnets...@gmail.com>
Date: Mon, 27 Feb 2012 22:55:01 +0200
Local: Mon, Feb 27 2012 3:55 pm
Subject: Re: At last, Scala in SA :)

Hi,

Welcome, it is true this list is very quite, but it's something we can
change.

Here is a list of resources that should get you started:

Scala Schools -> http://twitter.github.com/scala_school/
Programming in Scala (2nd Edition) Buy the book, you won't regret it.
http://www.artima.com/shop/programming_in_scala

Scala Introduction from a Java Perspective ->
http://www.youtube.com/watch?feature=player_embedded&v=PKc5IwHG68k
Hilarious intro to Scala -> http://www.youtube.com/watch?v=LH75sJAR0hc

I currently working on a fun project using Akka, SBT, ScalaTest and Scalaz,
I've ha.

Regarding your question:
Lift is a very mature Scala framework, but the community is moving towards
Play! framework, it's part of the Typesafe stack.
For a new endevour i'd recommend using Play! instead of Lift. It also plays
nicely with Akka (another Typesafe product).

I have used *Hibernate + Spring* within Scala, they tend to feel javaish
but they are still good for the job.
A couple of gotchas : your bean properties must have setters & hence be
vars. (you could use @BeanProperty for setters)
If you decide to use *Circumflex* tell me how it goes, i've never used it.

*Cake* is good if you want wiring during compile time. you may also want to
check *SUBCUT* (Cake on steroids) https://github.com/dickwall/subcut

*Scala Redis* (I've never used this).

In Summary, this is what i'd recommend

*Play!* Framework http://www.playframework.org/
*Akka* http://www.akka.io
*Hibernate + Spring*
*Scala Redis* (If you are using Redis, it makes sense)
*SBT* https://github.com/harrah/xsbt/wiki (similar to Maven, with more
scala power)

Hope this helps.

Kind Regards
Michael
*I see the fun in functional*

On Sun, Feb 26, 2012 at 9:41 PM, Cornel Masson <cornel.mas...@googlemail.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Belrose  
View profile  
 More options Feb 27 2012, 4:17 pm
From: Guillaume Belrose <kafe...@gmail.com>
Date: Mon, 27 Feb 2012 21:17:11 +0000
Local: Mon, Feb 27 2012 4:17 pm
Subject: Re: At last, Scala in SA :)

Hi,
For remoting, you can also take a look at Finagle from Twitter http://twitter.github.com/finagle/
For general knowlege of concurrency, I find ScalaSTM to be quite interesting http://nbronson.github.com/scala-stm/

Sent from my iPad

On 27 Feb 2012, at 20:55, mnetship <mnets...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Belrose  
View profile  
 More options Feb 28 2012, 4:29 am
From: Guillaume Belrose <kafe...@gmail.com>
Date: Tue, 28 Feb 2012 01:29:23 -0800 (PST)
Local: Tues, Feb 28 2012 4:29 am
Subject: Re: At last, Scala in SA :)

@Wilter
Have you looked recently at both Eclipse and Intellij. The Scala support
for both IDEs is many times better than what it used to be.
I've not used VIM, but I have heard good things about it.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wilter du Toit  
View profile  
 More options Feb 29 2012, 2:48 am
From: Wilter du Toit <wil...@virtualmobiletech.com>
Date: Tue, 28 Feb 2012 23:48:13 -0800 (PST)
Local: Wed, Feb 29 2012 2:48 am
Subject: Re: At last, Scala in SA :)
I have been following the improvements in the IDEs, mostly with
regards to refactoring. Once the refactoring support is compelling I
will most likely keep Vim as the editor and use an IDE when I need to
do larger refactoring.

Using the Scala REPL also further reduces the need for an IDE.

On Feb 28, 11:29 am, Guillaume Belrose <kafe...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cornel Masson  
View profile  
 More options Mar 6 2012, 3:17 am
From: Cornel Masson <cornel.mas...@googlemail.com>
Date: Tue, 6 Mar 2012 00:17:05 -0800 (PST)
Local: Tues, Mar 6 2012 3:17 am
Subject: Re: At last, Scala in SA :)

Thanks, guys, some interesting replies. Looks like it's not going to be
possible to do  a complete Scala re-architecture for this next project, but
I'm going to try and slip in a small side project as a tester. I'll keep
you posted.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacobus Reyneke  
View profile  
 More options Mar 8 2012, 3:09 am
From: Jacobus Reyneke <jacobusreyn...@gmail.com>
Date: Thu, 8 Mar 2012 00:09:53 -0800 (PST)
Local: Thurs, Mar 8 2012 3:09 am
Subject: Re: At last, Scala in SA :)

Definitely have a look at Finagle or Play2-Mini for integration and REST.
Lift is rock solid, but the Play2 Framework and Play2-Mini solves similar
problems in a friendlier manner (that's my opinion at least)

To see how Finagle can be used as a bare bones REST server, have a look at
this project: https://github.com/robi42/heroku-finagle-rogue
(If you end up looking into Finagle, then be sure to join the Finaglers
google group.)

I found Finagle interesting for the huge amount of cool stuff it hides
under the bonnet. It has a super-slick architecture, that allows you to
expand by adding filters to support additional functionality rather than
changing existing code. For example, to add JSON support to you REST
service, you would simply add a JSON filter onto your existing service.

For general Scala questions and general advice, there is still nothing that
beats StackOverflow.

Cheers,
Jacobus


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Belrose  
View profile  
 More options Mar 8 2012, 4:10 am
From: Guillaume Belrose <kafe...@gmail.com>
Date: Thu, 8 Mar 2012 09:10:40 +0000
Local: Thurs, Mar 8 2012 4:10 am
Subject: Re: At last, Scala in SA :)
If you work for an organization with a large amount of human capital
invested in Java code, it is worth pointing that Scala works very well
with Java libraries. Scala allows you to add your own sugar coating
around Java code quite easily. For example, for RESTFul web services
or DI you can use JAX-RS and Google Guice from Scala just as fine. The
code is still Java-ish but you can still use Scala features like type
inference. functions, traits, etc, to make it a lot more concise.

On 8 March 2012 08:09, Jacobus Reyneke <jacobusreyn...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cornel Masson  
View profile  
 More options Mar 8 2012, 5:06 am
From: Cornel Masson <cornel.mas...@googlemail.com>
Date: Thu, 8 Mar 2012 02:06:44 -0800 (PST)
Local: Thurs, Mar 8 2012 5:06 am
Subject: Re: At last, Scala in SA :)

Wow, I've done a bit of research on the *Play Framework*, and it looks like
a serious contender! I'm actually considering it very strongly for this big
*Java *project of mine and, of course, it will be an ideal, low-risk route
into *Scala*.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »