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
Play[2.0] - beginner question
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
  8 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
 
Kay  
View profile  
 More options Jul 13 2012, 11:18 pm
From: Kay <karthikk...@gmail.com>
Date: Fri, 13 Jul 2012 20:18:15 -0700 (PDT)
Local: Fri, Jul 13 2012 11:18 pm
Subject: Play[2.0] - beginner question

Hi,
I am new to Java/Play. I am basically a C++ programmer. I have been working
on a design for a small finance application for myself. I have been reading
about play and its simplicity. So I read the tutorial, but I am kind of
lost. Not quite sure where to start. I mean I did not really follow a path
that guides me.

I need some good pointers to understand the framework from a "dummy"
perspective. The threads here are a bit too much for me. Any help would be
greatly appreciated.

Here are my basic questions
a. Does play need linux/unix? Can it run on windows?
b. Does Play follow a UI framework?
c. Can we just write POJO?

Thanks,
Kay


 
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.
Alex Xandra Albert Sim  
View profile  
 More options Jul 14 2012, 1:07 am
From: Alex Xandra Albert Sim <bertz...@gmail.com>
Date: Fri, 13 Jul 2012 22:07:28 -0700 (PDT)
Local: Sat, Jul 14 2012 1:07 am
Subject: Re: Play[2.0] - beginner question

> Here are my basic questions
> a. Does play need linux/unix? Can it run on windows?

No, play does not need linux / unix. You can run it in Windows as long as
you have Java / Scala installed. By Java / Scala I mean JRE, JDK, and other
softwares that you need to run Java / Scala. All of it runs on Windows too.
In fact, 100% of my development work is in Windows.

> b. Does Play follow a UI framework?

Could you please elaborate what do you mean by UI framework? Something like
Qt in C++ world?

If it's something like Qt, in the web world we use HTML for displaying
things (like QML in Qt world), CSS for designing the HTML and Javascript
for interactivity. There's  a lot of CSS and Javascript frameworks, and
each one of them has their own toolchain / framework. Play should support
them all since they are client side code. They run in browser (in contrast
to Play which run in server).

If it's nothing lke Qt, please explain more about your definiiton of "UI
Framework".

> c. Can we just write POJO?

I don't think we can, but I'll let someone answer this since I'm not sure.

Hope this helps.


 
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.
Marcos Pereira  
View profile  
 More options Jul 14 2012, 3:30 pm
From: Marcos Pereira <marcos.si...@gmail.com>
Date: Sat, 14 Jul 2012 16:30:59 -0300
Local: Sat, Jul 14 2012 3:30 pm
Subject: Re: [play-framework] Re: Play[2.0] - beginner question

About POJOs, you can write them, but it requires more work, which maybe is
not the best approach, since the whole point of using a framework is to do
less work.

I just wrote a gist to show how to use POJOs:

https://gist.github.com/3112933

HTH
--
http://about.me/marcospereira

On Sat, Jul 14, 2012 at 2:07 AM, Alex Xandra Albert Sim
<bertz...@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.
Kay  
View profile  
 More options Jul 15 2012, 12:00 am
From: Kay <karthikk...@gmail.com>
Date: Sat, 14 Jul 2012 21:00:27 -0700 (PDT)
Local: Sun, Jul 15 2012 12:00 am
Subject: Re: [play-framework] Re: Play[2.0] - beginner question

Hi Marcos,

Thanks a lot. I definitely dont want to write my own classes for
modes/controllers. I wanted my classes to derive from the base "play"
classes. But If I have some business logic, I can write my own classes and
call them from the respective play derived classes - correct?

Please advice.

Thanks,
Kay


 
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.
Kay  
View profile  
 More options Jul 15 2012, 12:35 am
From: Kay <karthikk...@gmail.com>
Date: Sat, 14 Jul 2012 21:35:11 -0700 (PDT)
Local: Sun, Jul 15 2012 12:35 am
Subject: Re: Play[2.0] - beginner question

Hi Alex,
This definitely helps.
But the very reason I wanted to try this is due to Java and I have a decent
knowledge of Java. But is Scala a must to work with play framework?

Regarding the UI framework, I wanted to see if I have to create a CRUD
screen, I dont have to write that for every Database table instead I have a
common UI class that I can derive from for all my different tables. Does it
even make sense? Please let me know.
Can you please suggest a easy CSS Javascript framework?

At the end of the day I am looking to create a CRUD screen in play
framework just using Java. (of course with java classes derived from play
framwork classes).

On Saturday, July 14, 2012 1:07:28 AM UTC-4, Alex Xandra Albert Sim 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.
Alex Xandra Albert Sim  
View profile  
 More options Jul 18 2012, 10:53 am
From: Alex Xandra Albert Sim <bertz...@gmail.com>
Date: Wed, 18 Jul 2012 07:53:18 -0700 (PDT)
Local: Wed, Jul 18 2012 10:53 am
Subject: Re: Play[2.0] - beginner question

On Sunday, 15 July 2012 11:35:11 UTC+7, Kay wrote:

> Hi Alex,
> This definitely helps.
> But the very reason I wanted to try this is due to Java and I have a
> decent knowledge of Java. But is Scala a must to work with play framework?

As far as I know, you don't need Scala for play framework. The core is
written in Scala, but since Scala is compatible with java (you can call
scala library from java and vice versa) it should work in Java as well.

> Regarding the UI framework, I wanted to see if I have to create a CRUD
> screen, I dont have to write that for every Database table instead I have a
> common UI class that I can derive from for all my different tables. Does it
> even make sense? Please let me know.

There's no module like that in the core framework, and as of now, there's
no module supporting CRUD generation also :(
You might want to watch this page in case of some module for CRUD comes
out: https://github.com/playframework/Play20/wiki/Modules

> Can you please suggest a easy CSS Javascript framework?

For CSS I use Twitter Bootstrap <http://twitter.github.com/bootstrap/>, and
for Javascript jQuery <http://jquery.com/> is nice (and almost everywhere
:p).

> At the end of the day I am looking to create a CRUD screen in play
> framework just using Java. (of course with java classes derived from play
> framwork classes).

This is definitely possible, just a lot of work for now (compared to other
framework). Another alternative is to use play framework 1, which has a
CRUD generator.

Regards,


 
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.
opensource21  
View profile  
 More options Jul 18 2012, 1:46 pm
From: opensource21 <opensourc...@gmail.com>
Date: Wed, 18 Jul 2012 10:46:54 -0700 (PDT)
Local: Wed, Jul 18 2012 1:46 pm
Subject: Re: Play[2.0] - beginner question

I start playing to build a CRUD but there was no interest so I stopped. See
https://groups.google.com/d/topic/play-framework/Ol7-xbxkA4M/discussion
based on this I fear there wan't be a solution in the near future. Perhaps
a scaffolding approach in 2.1
Niels

Am Sonntag, 15. Juli 2012 06:35:11 UTC+2 schrieb Kay:


 
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.
Will Sargent  
View profile  
 More options Jul 18 2012, 4:23 pm
From: Will Sargent <will.sarg...@gmail.com>
Date: Wed, 18 Jul 2012 13:23:34 -0700
Local: Wed, Jul 18 2012 4:23 pm
Subject: Re: [play-framework] Re: Play[2.0] - beginner question

On Wed, Jul 18, 2012 at 10:46 AM, opensource21 <opensourc...@gmail.com> wrote:
> I start playing to build a CRUD but there was no interest so I stopped. See
> https://groups.google.com/d/topic/play-framework/Ol7-xbxkA4M/discussion
> based on this I fear there wan't be a solution in the near future. Perhaps a
> scaffolding approach in 2.1

A scaffolding solution based on giter8 is planned in 2.1.

https://groups.google.com/d/msg/play-framework/xHPpFQFJjJg/LDNWyB8XvygJ

Will.


 
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