Re: GWT frontend, non java backend

2013-06-10 Thread Thomas Broyer

On Friday, June 7, 2013 9:29:45 PM UTC+2, Nolan Brassard wrote:

 I've read a few different sources about how to create projects with a GWT 
 front and a non-java backend. Well how about hosting, how do you host a GWT 
 front end?


See http://www.gwtproject.org/doc/latest/DevGuideDeploying.html
TL;DR: GWT generates JS (and images, and CSS, and HTML), so you host it 
just like any other static asset.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT frontend, non java backend

2013-06-10 Thread Ronan Quillevere
As Thomas Broyer stated the client part is only static code.

So if your backend is using a REST API you could use restyGWT which is a 
REST client service generator to communicate between your client (in GWT) 
and your backend (whatever the technology is).

Hope it can help :)



On Friday, June 7, 2013 9:29:45 PM UTC+2, Nolan Brassard wrote:

 I've read a few different sources about how to create projects with a GWT 
 front and a non-java backend. Well how about hosting, how do you host a GWT 
 front end? We've been primarily developing GWT/GXT applications for the 
 past 5 or 6 years until we got bought out recently and their forcing us to 
 use Ruby on Rails for the back end. I'm in the process of researching how 
 we could use GWT as the front end. Any tips, links, tutorials, anything to 
 help me figure this process out would be greatly appreciated. Thank you


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT frontend, non java backend

2013-06-08 Thread Ferenc Balogh
https://code.google.com/p/phpgwt/source/browse/#svn%2Ftrunk%2Fphpgwt%2Fsrc%2Forg%2Fphpgwt

Check out the classes under phpgenerator and phpservice packages. Although 
it's for PHP, if you study these classes and the deferred binding 
capabilities of GWT you will have the idea how to realise something similar 
for Ruby on Rails.

2013. június 7., péntek 21:29:45 UTC+2 időpontban Nolan Brassard a 
következőt írta:

 I've read a few different sources about how to create projects with a GWT 
 front and a non-java backend. Well how about hosting, how do you host a GWT 
 front end? We've been primarily developing GWT/GXT applications for the 
 past 5 or 6 years until we got bought out recently and their forcing us to 
 use Ruby on Rails for the back end. I'm in the process of researching how 
 we could use GWT as the front end. Any tips, links, tutorials, anything to 
 help me figure this process out would be greatly appreciated. Thank you


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT with non-Java backend

2008-12-01 Thread Peter Ondruška

I use GWT with Google App Engine backend with RequestBuilder.

2008/12/1, ajay jetti [EMAIL PROTECTED]:
 This should help i think

 http://angel.hurtado.googlepages.com/tutorialgwt2

 yours

 Ajay

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT with non-Java backend

2008-12-01 Thread Reinier Zwitserloot

Yes, tons of people have used GWT on the front and something that
isn't java on the back-end. You can transfer data using JSON, XML
(but, really, don't. XML is stupid as a wire protocol), or whatever
binary format you think is useful.

The only caveat (and this applies to using GWT-RPC as well), is that
GWT apps can only receive data 'whole'. You can not stream. So, if you
were thinking of pumping 50 megabytes worth of data down to the
client, you need to split it up into pieces and have the GWT client
app request and process each piece one at a time. The general idea of
processing 50 MB worth of stuff in a javascript app also doesn't sound
like a good idea in general, as javascript isn't really fast enough to
do it unless you're on WebKit+SquirrelFish, Google Chrome+V8, or
Firefox 3.1 beta + tracemonkey. (Those are all beta or small market
share browsers with amazing javascript interpreters).


On Dec 1, 10:01 am, Peter Ondruška [EMAIL PROTECTED] wrote:
 I use GWT with Google App Engine backend with RequestBuilder.

 2008/12/1, ajay jetti [EMAIL PROTECTED]:

  This should help i think

 http://angel.hurtado.googlepages.com/tutorialgwt2

  yours

  Ajay
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT with non-Java backend

2008-12-01 Thread Johan Rydberg

Joshua Partogi skrev:
 Dear all,
 
 Has anyone worked GWT with non-Java backend (like PHP or Rails) and
 send it with AJAX Http request? Does it work good? I am wondering
 whether this is a good approach. I would appreciate any experience
 shared here.

I've developed a GWT RPC gateway to Python on the server.  It is
tightly integrated with the Twisted networking framework:

   http://code.google.com/p/twisted-gwt/

~jr

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT with non-Java backend

2008-12-01 Thread Eduardo Guardiola


I'm using .NET on the server (i miss Java, haven't had choice).
Jayrock as JSON-RPC. And a custom implementation of JSON-RPC for GWT
using RequestBuilder of course.

http://jayrock.berlios.de/

On 1 dic, 15:43, Johan Rydberg [EMAIL PROTECTED] wrote:
 Joshua Partogi skrev:

  Dear all,

  Has anyone worked GWT with non-Java backend (like PHP or Rails) and
  send it with AJAX Http request? Does it work good? I am wondering
  whether this is a good approach. I would appreciate any experience
  shared here.

 I've developed a GWT RPC gateway to Python on the server.  It is
 tightly integrated with the Twisted networking framework:

    http://code.google.com/p/twisted-gwt/

 ~jr
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT with non-Java backend

2008-11-30 Thread Martin Gorostegui
Yes,

I´m working with GWT with a PHP backend and I know many people in this list
also do that. It is an excellent approach if you can't have a Java backend
but want to have all the benefits of GWT (except for the optimised GWT Java
RPC).
Basically what you should do is instead of using GWT Java RPC (extending
RemoteService, RemoteServiceServlet and creating an AsyncInterface) is use
the RequestBuilder class to make http calls. What you send and receive can
be anything you want but JSON is what is most used. For dealing with JSON
client-side you can use GWT own JSON classes and Javascript Overlay Types if
you are with GWT 1.5, and for dealing with JSON serverside you can use any
PHP, Ruby, etc library to encode\decode JSON.

I recommend you search this list archives as there are tons of messages
about what I'm telling you (even people who is using JSONP instead, or
json.org JSONRequest or the ones who have created their own way of dealing
with JSON client-side). Also this section of the official documentation
should be useful for you:
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=DevGuideServerCalls

Hope this helps,

Martin

On Sun, Nov 30, 2008 at 9:31 PM, Joshua Partogi [EMAIL PROTECTED]wrote:


 Dear all,

 Has anyone worked GWT with non-Java backend (like PHP or Rails) and
 send it with AJAX Http request? Does it work good? I am wondering
 whether this is a good approach. I would appreciate any experience
 shared here.

 Thank you in advance

 --
 Not by might nor by power, but by His Spirit.

 Read my blog: http://joshuajava.wordpress.com/
 Follow me on twitter: http://twitter.com/jpartogi

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT with non-Java backend

2008-11-30 Thread [EMAIL PROTECTED]

I too have worked on GWT front with PHP in the backend, communicating
as Martin stated using RequestBuilder and exclusively JSON.  Quite
simple really.  I've also built a prototype Ruby backend to the same
frontend and it too was pretty easy, and I'm a bit of a Ruby noob.
Martin's guidance is dead on...search this area for many examples,
they are there!

Later,
Shaffer

On Nov 30, 6:15 pm, Martin Gorostegui [EMAIL PROTECTED]
wrote:
 Yes,

 I´m working with GWT with a PHP backend and I know many people in this list
 also do that. It is an excellent approach if you can't have a Java backend
 but want to have all the benefits of GWT (except for the optimised GWT Java
 RPC).
 Basically what you should do is instead of using GWT Java RPC (extending
 RemoteService, RemoteServiceServlet and creating an AsyncInterface) is use
 the RequestBuilder class to make http calls. What you send and receive can
 be anything you want but JSON is what is most used. For dealing with JSON
 client-side you can use GWT own JSON classes and Javascript Overlay Types if
 you are with GWT 1.5, and for dealing with JSON serverside you can use any
 PHP, Ruby, etc library to encode\decode JSON.

 I recommend you search this list archives as there are tons of messages
 about what I'm telling you (even people who is using JSONP instead, or
 json.org JSONRequest or the ones who have created their own way of dealing
 with JSON client-side). Also this section of the official documentation
 should be useful for 
 you:http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=goog...

 Hope this helps,

 Martin

 On Sun, Nov 30, 2008 at 9:31 PM, Joshua Partogi [EMAIL PROTECTED]wrote:



  Dear all,

  Has anyone worked GWT with non-Java backend (like PHP or Rails) and
  send it with AJAX Http request? Does it work good? I am wondering
  whether this is a good approach. I would appreciate any experience
  shared here.

  Thank you in advance

  --
  Not by might nor by power, but by His Spirit.

  Read my blog:http://joshuajava.wordpress.com/
  Follow me on twitter:http://twitter.com/jpartogi
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT with non-Java backend

2008-11-30 Thread Joshua Partogi

Thank you so much Martin for the hint. :-)
I am more confident now to use GWT with non-Java backend. Because I
thought people only use GWT with Java on the backend.

Cheers.

On Dec 1, 12:15 pm, Martin Gorostegui [EMAIL PROTECTED]
wrote:
 Yes,

 I´m working with GWT with a PHP backend and I know many people in this list
 also do that. It is an excellent approach if you can't have a Java backend
 but want to have all the benefits of GWT (except for the optimised GWT Java
 RPC).
 Basically what you should do is instead of using GWT Java RPC (extending
 RemoteService, RemoteServiceServlet and creating an AsyncInterface) is use
 the RequestBuilder class to make http calls. What you send and receive can
 be anything you want but JSON is what is most used. For dealing with JSON
 client-side you can use GWT own JSON classes and Javascript Overlay Types if
 you are with GWT 1.5, and for dealing with JSON serverside you can use any
 PHP, Ruby, etc library to encode\decode JSON.

 I recommend you search this list archives as there are tons of messages
 about what I'm telling you (even people who is using JSONP instead, or
 json.org JSONRequest or the ones who have created their own way of dealing
 with JSON client-side). Also this section of the official documentation
 should be useful for 
 you:http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=goog...

 Hope this helps,

 Martin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT with non-Java backend

2008-11-30 Thread ajay jetti
This should help i think

http://angel.hurtado.googlepages.com/tutorialgwt2

yours

Ajay

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---