Monday, May 19, 2014

Re: Development mode and SOP

Hi Thomas,

Thanks for your reply. I succeed in running the application in DevMode with my own http server. However, it must be only part of the solution since the HTTPRequest still retrieves "0"... But this is probably out of this topics. Any suggestion?

Anyway, thanks for your help : I understand much better the way things work now.

Mathieu

Le dimanche 18 mai 2014 23:33:11 UTC+2, Thomas Broyer a écrit :
If you don't use Java on the server-side, then you don't need to (and shouldn't) use the embedded server of DevMode.

Also, DevMode will soon stop working in Chrome (if not already), just as it stopped working in Firefox. Better skip DevMode and directly go with SuperDevMode.

On Sunday, May 18, 2014 10:13:09 PM UTC+2, m...@gmail.com wrote:
Dear all,

I'm new at developing in GWT and I would like to build an application with the following architecture: AJAX (generated by GWT) + PHP/MySQL.

I'm trying to setup the development environment as such:
  • Apache and MySQL running on MAMP (Mac OS) on ports 8888 and 8889
  • GWT Developer plugin for Google Chrome
  • GWT plugin for Eclipse, automatically selecting an unused port to communicate with the built-in server of the GWT Developer plugin

Now the problem is of course that, due to the SOP, the built-in server of the GWT Developer plugin and the Apache server cannot communicate. I've heard about using a proxy and I think I get the idea but cannot find how to implement it. Furthermore, I wonder if it is not simply possible to run PHP on the built-in server of the GWT Developer plugin.

Your help would be appreciated.

Thanks,

Mathieu

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

No comments:

Post a Comment