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 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Newbie:: devmode (same origin policy) with PHP REST backend
Are you familiar with the -noserver option? Check it out http://code.google.com/webtoolkit/doc/latest/FAQ_DebuggingAndCompiling.html#How_do_I_use_my_own_server_in_hosted_mode_instead_of_GWT%27s 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 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.