Play Framework as Backend for Mobile Apps

747 views
Skip to first unread message

Diego Balduini

unread,
Jun 21, 2014, 12:29:37 PM6/21/14
to play-fr...@googlegroups.com
Hello

I have some experience developing web apps with the Play Framework and i love it.

Now we are moving to a new project that will have Mobile Apps and Facebook canvas clients.

We are considering in using Play as a RESTfull backend for these clients. 

It need to support 100k+ simultaneous users online (Only online (cached*), they might be idle in the meantime). Here we are assuming the akka can handle it, even with Remote Actors or Clustering (in a EC2 environment).

The reasons we choose play are: productivity and reactive.

Any of you have already used Play as backend for mobile only Apps? What do you think are the Pros and Cons?

Regards, Diego

Dirceu Semighini Filho

unread,
Jun 21, 2014, 2:10:34 PM6/21/14
to play-fr...@googlegroups.com

Hei Diego,
Play work very good in a restful environment.
I can say that the json API is very easy to handle the json requests.
Also the async way of handling the request is an advantage.
At the time that i develop a mobile play restful APP, there wasnt any plugins for handling the login and the security, so we need to develop it

Regards
Dirceu

--
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.
For more options, visit https://groups.google.com/d/optout.

Megazord

unread,
Jun 24, 2014, 12:27:53 AM6/24/14
to play-fr...@googlegroups.com
Diego,

https://github.com/baasbox/baasbox

I think it is worth a look.

HTH

Diego Balduini

unread,
Jun 24, 2014, 8:37:16 AM6/24/14
to play-fr...@googlegroups.com
Thank you.

This BaasBox is pretty nice. Even if we don't use it, it's open source will be very helpful.

Regards, Diego


--
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/2_DgLs74IHI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to play-framewor...@googlegroups.com.

Darragh Grealish

unread,
Jun 25, 2014, 8:01:31 AM6/25/14
to play-fr...@googlegroups.com
Thanks Megazord, this was also helpful for me too, great working implementation of Java on Play

Fernando Correia

unread,
Jun 28, 2014, 11:17:17 AM6/28/14
to play-fr...@googlegroups.com
I'm building a mobile application (JavaScript + JQuery Mobile) and I'm using Play (Scala) for the backend.

I like it a lot. Some highlights:
  • Action composition.
  • Async / non-blocking support.
  • Statelessness.
  • Thread pools.
  • Actors.
  • Scala's expressiveness and type safety.
  • Restful routing support (it's also easy to do RPC-style).
  • Websockets, Comet, etc.
  • Powerful and easy to use testing libraries.
  • JSON request handling.
  • Clean and simple JSON handling in general.
  • Powerful and simple database access (Anorm -- Slick looks good as well).
  • Quick refresh in development mode.
  • Access to a wealth of Scala and Java libraries.
  • JVM (performance, maturity).
  • Caching integration.
  • You can also use a front-end HTTP server for caching (nginx, Varnish)

Diego Balduini

unread,
Jun 28, 2014, 3:52:50 PM6/28/14
to play-fr...@googlegroups.com
Nice Fernando, thanks for the feedback.

I know Play is awesome for web applications, but i couldn't find any study case with Mobile front-end apps talking with the server-side through RESTfull services.

I am new to the Mobile world and i assumed it would work as perfectly as Web front-end does. Now i fell more comfortable with your feedbacks.

Regards,
Diego.




--
Reply all
Reply to author
Forward
0 new messages