GWT GWT GWT GWT GWT

7 views
Skip to first unread message

Georgy

unread,
Jul 2, 2010, 7:02:59 PM7/2/10
to Lift
Sorry for private message. I did not even know it was private. I mean
google groups interface is not intuitive enough. Some posts do not
have Reply button. http://twitpic.com/21ufvf

So there are many threads about GWT, they seem to hint at the fact
Scala and GWT are incompatible. It may be impossible to do GWT client
code in Scala, but I think it is not necessary. GWT has many widgets,
it allows me to use java instead of js. That suits me. The only thing
missing is the ability to quickly integrate GWT code into the project
similar to what we have in Grails. What do you think?

Timothy Perrett

unread,
Jul 3, 2010, 4:56:15 AM7/3/10
to lif...@googlegroups.com
Sorry, this does not make sense. What do you want to do? Please be as clear as possible.

Cheers, Tim

Sent from my iPhone

> --
> You received this message because you are subscribed to the Google Groups "Lift" group.
> To post to this group, send email to lif...@googlegroups.com.
> To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
>
>

Marius

unread,
Jul 3, 2010, 5:00:03 AM7/3/10
to Lift
Personally I'm not a t all a fan of GWT. Writing JS in Java looks
limiting to me. Besides JS has some functional like feature that makes
it really interesting. GWT compiler might not be happy with Scala
generated byte code.

Why don't you try Lift and then see if you want to go back to GWT.

On Jul 3, 2:02 am, Georgy <httpcathar...@gmail.com> wrote:
> Sorry for private message. I did not even know it was private. I mean
> google groups interface is not intuitive enough. Some posts do not
> have Reply button.http://twitpic.com/21ufvf

Arthur Peters

unread,
Jul 3, 2010, 5:09:09 AM7/3/10
to lif...@googlegroups.com

GWT doesn't take in bytecode at all. It is a totally different compiler for the Java language. So it is impossible feed it scala.

-Arthur (sent from phone)

On Jul 3, 2010 5:00 AM, "Marius" <marius...@gmail.com> wrote:

Personally I'm not a t all a fan of GWT. Writing JS in Java looks
limiting to me. Besides JS has some functional like feature that makes
it really interesting. GWT compiler might not be happy with Scala
generated byte code.

Why don't you try Lift and then see if you want to go back to GWT.


On Jul 3, 2:02 am, Georgy <httpcathar...@gmail.com> wrote:

> Sorry for private message. I did not e...

Georgy

unread,
Jul 3, 2010, 7:13:45 AM7/3/10
to Lift
I want to write client code in Java, insert RootPanels in Views like
http://bit.ly/dBrOJF

I want to call remote procedures from client code and write server-
side procedures in Scala, or at least be able to invoke Scala code
from Java code. Is this possible?

I am an absolute beginner in web development and I speak English very
bad. I had to start with this, I suppose.

Timothy Perrett

unread,
Jul 3, 2010, 8:06:40 AM7/3/10
to lif...@googlegroups.com
As Marius said, im not sure why you want to use GWT with Lift in this instance? If you are a beginner, I think this might end up causing you far more problems than it solves. Why dont you just try Lift out as it was intended, then, if you really really want to use GWT, you can try them in tandem?

Cheers, Tim

Francois

unread,
Jul 3, 2010, 9:09:48 AM7/3/10
to lif...@googlegroups.com
On 03/07/2010 14:06, Timothy Perrett wrote:
> As Marius said, im not sure why you want to use GWT with Lift in this
> instance? If you are a beginner, I think this might end up causing
> you far more problems than it solves. Why dont you just try Lift out
> as it was intended, then, if you really really want to use GWT, you
> can try them in tandem?

I totally agreed with Tim on that. Both Lift and GWT have a rather
involving learning curve, with different concepts, or concept almost
identical but just enough different to make you think you understood
them in one framework and just can apply them in the other, and in fact no.

If you are a beginner, pick one techno, try to understand what it is,
what it allows and what are its strengths and weaknesses, and then bring
more complexity with other techno in the mix.

And if in the end you want to use Lift and GWT together, I think you
should start with Lift, since the integration will likely be "some GWT
widgets in a Lift application", and not the other way around.


--
Francois ARMAND
http://fanf42.blogspot.com
http://www.normation.com

Georgy

unread,
Jul 3, 2010, 12:02:21 PM7/3/10
to Lift
Ok, I'll try. Thanks for your responses.

On Jul 3, 5:09 pm, Francois <fan...@gmail.com> wrote:
> On 03/07/2010 14:06, Timothy Perrett wrote:

> > Why dont you just try Lift out
> > as it was intended, then, if you really really want to use GWT, you
> > can try them in tandem?

David Pollak

unread,
Jul 3, 2010, 6:20:41 PM7/3/10
to lif...@googlegroups.com
On Fri, Jul 2, 2010 at 6:02 PM, Georgy <httpca...@gmail.com> wrote:
Sorry for private message. I did not even know it was private. I mean
google groups interface is not intuitive enough. Some posts do not
have Reply button. http://twitpic.com/21ufvf

So there are many threads about GWT, they seem to hint at the fact
Scala and GWT are incompatible. It may be impossible to do GWT client
code in Scala, but I think it is not necessary.

It may be possible to do GWT client code in Scala soon: http://code.google.com/p/scalagwt/  Note that Lex Spoon (on of the authors of Scala) is behind the project.
 
GWT has many widgets,
it allows me to use java instead of js. That suits me. The only thing
missing is the ability to quickly integrate GWT code into the project
similar to what we have in Grails. What do you think?

What kind of server-side API calls will you make from your GWT code?  It think it's pretty simple to do anything in Lift that could be done in Grails.
 

--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.




--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Blog: http://goodstuff.im
Surf the harmonics

Lukasz Kuczera

unread,
Jul 4, 2010, 5:56:42 PM7/4/10
to Lift
You can try gwt-rest http://code.google.com/p/gwt-rest/
The you have Lifts concise scala abstraction over rest services and
GWT front end. Also check out ext-gwt its neat ;)
Although personally I'm not big fan of GWT.

On Jul 4, 12:20 am, David Pollak <feeder.of.the.be...@gmail.com>
wrote:
> On Fri, Jul 2, 2010 at 6:02 PM, Georgy <httpcathar...@gmail.com> wrote:
> > Sorry for private message. I did not even know it was private. I mean
> > google groups interface is not intuitive enough. Some posts do not
> > have Reply button.http://twitpic.com/21ufvf
>
> > So there are many threads about GWT, they seem to hint at the fact
> > Scala and GWT are incompatible. It may be impossible to do GWT client
> > code in Scala, but I think it is not necessary.
>
> It may be possible to do GWT client code in Scala soon:http://code.google.com/p/scalagwt/ Note that Lex Spoon (on of the authors
> of Scala) is behind the project.
>
> > GWT has many widgets,
> > it allows me to use java instead of js. That suits me. The only thing
> > missing is the ability to quickly integrate GWT code into the project
> > similar to what we have in Grails. What do you think?
>
> What kind of server-side API calls will you make from your GWT code?  It
> think it's pretty simple to do anything in Lift that could be done in
> Grails.
>
>
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Lift" group.
> > To post to this group, send email to lif...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > liftweb+u...@googlegroups.com<liftweb%2Bunsu...@googlegroups.com >
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/liftweb?hl=en.
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
Reply all
Reply to author
Forward
0 new messages