Getting Started with Play 2, Scala, and Squeryl
Summary:
In this article you will learn how to get started building web applications with Play 2, Scala, Squeryl, JSON, CoffeeScript, and jQuery. You will also learn how to test the application with ScalaTest and then deploy the application on the cloud with Heroku.
The ability to add new comments in this discussion is temporarily disabled.
Most recent reply: February 6, 2013 4:17 PM by
Russ
|
Get started building web apps with Play 2, Scala, and Squeryl with this article by James Ward and Ryan Knight. http://www.artima.com/articles/play2_scala_squeryl.html
|
|
|
I'm about 70% done with an enterprise integration using Play 2, Squeryl, Akka, SOAP, JMS integrating two different major SaaS providers in conjunction with our internal ESB. Thanks for posting this, I've referenced it several times.
One quick thing to note with regards to your case class approach and Squeryl: embedding the id value within the case class itself, as opposed to placing it on the constructor, negates case class copy. That is to say, now you can't simply update the model instance by copying it, b/c the id will always remain 0. Perhaps I'm missing something, or wondered if this was intentional?
|
|