0

I'm need to do a app with this requirements:

-Remote Database connection
-Full Screen
-Some widgets must to update in real time

I'm thinking that it can't do with a web framework because I need a Full screen dedicated app maybe I'm wrong...

Somebody knows what GUI framework is best-suited (Well Documented, samples) for Scala?

and

Is there a way to do a full screen app with Play 2/Scala?

Thanks in advance. Chris.

Edit: The App must be a Kiosk like App (w/touchscreen)

chespinoza
  • 2,638
  • 1
  • 23
  • 46
  • 2
    Why do you need this? do you need to setup for an example a kiosk in public area, or something else, that info is quite important for this question. – biesior Sep 21 '12 at 19:00
  • 1
    This is definitely possible with Play and browser APIs (as mentioned in the answer below). The real-time updates can use WebSockets or Comet in Play. – James Ward Sep 21 '12 at 19:50
  • Excuse me, I wrote unclear... it should be "Why do you need a fullscreen?" of course 'realtime' and `remote DB connection` are basic built-in possibilities of the Play – biesior Sep 21 '12 at 20:43
  • Sorry, yeah I need a kiosk - like App, for a university lunchroom, every guy entering their number id on a touch screen – chespinoza Sep 21 '12 at 20:44

1 Answers1

4

Full screen would most definitely be handled client-side. This answer demonstrates how to make a window full screen. Using that, you most definitely could use Play! (or any other web framework, or no framework at all). If you're most comfortable with web programming, this might be the way to go.

Since you mention a GUI application, I imagine you're not just making a normal web site that you want full screen – that is considered bad design practice. However, for a terminal of some sort, that would work well for you.

If you'd prefer to deploy an application for clients to run, check out Scala's Swing libraries. There are plenty of examples online and in Martin Odersky's Programming Scala book.

Community
  • 1
  • 1
Andrew Conner
  • 1,436
  • 13
  • 21
  • Andrew, which is exactly a bad practice? a webapp running at full screen on a kiosk f/e? – chespinoza Sep 21 '12 at 21:58
  • Apologies for not being clear. A normal web site that goes full screen would be bad design. Just imagine if every other blog you went to tried to go full screen. For a kiosk, it's a great option. It really boils down to what you're more comfortable with on how you build it. Also, most browsers have a native full screen function. On many PCs, it's F11. – Andrew Conner Sep 22 '12 at 02:34