--To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/fGSCFWR3KzIJ.
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
About Anorm, isn't it about not having loads of as well?
Besides that, an additional question: any plans to move towards Slick, perhaps as the official thingie, after Scala 2.10 is out?
[]s,
Paulo "JCranky" Siqueira
http://jcranky.com
http://lojinha.paulosiqueira.com.br
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/FYy4L8mnxe0J.
I meant loads of state.... sorry
[]s,
Paulo "JCranky" Siqueira
http://jcranky.com
http://lojinha.paulosiqueira.com.br
Then you will be happy to know that play 2.1 master has migrated to scala 2.10
Besides that, an additional question: any plans to move towards Slick, perhaps as the official thingie, after Scala 2.10 is out?
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/dHINr2EwSGUJ.
> Will Slick be the future standard for Play?I’m not sure to understand well your question: whatever you choose,
Anorm or Slick, their integration with Play is very straightforward,
right?
I agree that the use of both of them will be straight forward.. but I think that we
can safely assume that there will be various ( I mean way more than right now )
community available modules for play in near future.
Now most of them will be using the default database approach ( if may be Anorm
or Slick depending on how the devs goes), now in this case the point of knowing
the "future of play" in terms of default database approach becomes important.
More-ever there is already almost zero documentation for Anorm and if Play drops it in future
then Anorm is sure to reach absolute zero and anyone having their important apps written in using
Anorm will have to switch.
Considering these points I think that this is a pretty important question ( specially for start-ups with
few programmers).
Regards,
Sarvesh
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/zKpSCGKVi_cJ.
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/1K-BDSoNUyIJ.
--
You received this message because you are subscribed to a topic in the Google Groups "play-framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/play-framework/5Yj-Pb08GlM/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to play-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Play is moving completely towards Scala leaving Java. And the fact that Hibernate was created for java, not for Scala. Using Hibernate with Play may not utilize JVM in an efficient way, rather using frameworks and libs solely built using Scala which would use JVM in more efficient way. So the play team has recommended Ebean or Anorm than java frameworks.
It's only my perception.
Play is moving completely towards Scala leaving Java. And the fact that Hibernate was created for java, not for Scala. Using Hibernate with Play may not utilize JVM in an efficient way, rather using frameworks and libs solely built using Scala which would use JVM in more efficient way. So the play team has recommended Ebean or Anorm than java frameworks.
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
I don't think it's so much that OO is not the best fit for Scala, more that it's OO is not the best fit for relational databases. ORM frameworks like JPA put a lot of effort into trying to match them up, but it continually confuses developers, and you have to understand so much about the magic going on underneath that isn't in your code in order to achieve even the simplest tasks. But, in Java, we use these frameworks because the alternative is massive amounts of error prone boiler plate code. In Scala, we don't have this problem, mapping between rows and case classes can be done very easily with minimal boiler plate, creating and populating queries can also be done with minimal boiler plate. So, why bother with the complexity of mapping a relational database to OO in Scala when the biggest benefits, the reduction of boiler plate, don't apply?
On Thursday, 4 October 2012 19:22:11 UTC+10, Jeroen Kransen wrote:
I don't get why Anorm is the default persistence framework mentioned in the Play/Scala documentation. Documentation about it is pretty much non-existent, and questions about it remain unanswered. And technically, why precisely is OO not the best fit for Scala (according to Play documentation)? The whole idea about Scala is that you get functional programming without giving up OO programming. And really when I get a class Foo, and I do a getBar to another class, I want a lazy fetch right then, and not tailor every possible query combination in advance.
By the way, in the book "Manning - Play for Scala" (MEAP, early access, not published yet), besides Anorm another framework is discussed: Squeryl.
Op vrijdag 21 september 2012 02:12:43 UTC+2 schreef Giovanni het volgende:
What about Anorm?
I know that Anorm is not an ORM. The Play documentation suggests to use Anorm, instead of an ORM.
What do you think?
On Fri, Sep 21, 2012 at 2:21 AM, Eishay Smith <eis...@gmail.com> wrote:
We use circumflex & Play2/Scala http://circumflex.ru/projects/orm/index.html with much success talking with H2 & MySQL DBs.
The big pluses are with flexibility and extensibility.
On Thu, Sep 20, 2012 at 12:37 AM, Leon Radley <le...@radley.se> wrote:
Slick is the futurethere are a alot of problems using jpa / hibernate / ebeans with scala because of how the ebean plugin does it's bytecode manipulation.You can get it working, but it's not recommended from what I've understoodIf you're looking for a mongodb orm have a look at salat and my plugin for it http://github.com/leon/play-salatCheers!
On Thursday, September 20, 2012 9:24:09 AM UTC+2, Trung Pham wrote:What ORM do you recommend to use with Play2 Scala?Is there anything that is comparable to ActiveRecord/Ruby?Thanks.
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/fGSCFWR3KzIJ.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
--
You received this message because you are subscribed to the Google Groups "play-framework" group.