Friday, September 10, 2010

Re: GWT Newbie:: devmode (same origin policy) with PHP REST backend

Thanks Brett. I received similar advice on IRC ###gwt . Worked
wonderfully !

On Sep 9, 11:28 pm, Brett Thomas <brettptho...@gmail.com> wrote:
> Are you familiar with the "-noserver" option? Check it outhttp://code.google.com/webtoolkit/doc/latest/FAQ_DebuggingAndCompilin...
>
>
>
> On Thu, Sep 9, 2010 at 11:00 AM, Ketan Shah <ketan.s...@gmail.com> wrote:
> > Hi All,
>
> > I am in process of exploring GWT as a potential candidate for my REST
> > based API developed in PHP (served via nginx and php-fpm). The devmode
> > startsup gwt server at port 8888 while I have my backend  at port
> > 8080. I am trying to use RequestBuilder but I dont want to use *jsonp*
> > since I dont intend to open up my API as of now (fyi .. I tried with
> > jsonp by having a callback argument in the url - didnt work, got a
> > blank response). Obviously I am running into 'same origin policy'. I
> > know once I deploy the GWT app in production I would not run into
> > 'same origin policy' .
>
> > Is there any robust solution for achieving this? Any help on this
> > would be appreciated.
>
> > Thanks,
> > -Ketan.
>
> > --
> > 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
> > google-web-toolkit+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment