Sunday, May 18, 2014

Development mode and SOP

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