> Hi
> I noted that GWT can be used with PHP. Could you please share reference
> links of basic tutorial for using PHP with GWT.
> Thanks
>
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop
Hello
In the past I made a small example of gwt and php and I wrote a blogpost
https://vivagwt.blogspot.com/2012/12/gwt-and-php.html
While the blog is outdated and the example code may not run but You could
use it as reference.
The example use GXT for UI and GWT's RequestBuilder and AutoBeans
Hi
I noted that GWT can be used with PHP. Could you please share reference
links of basic tutorial for using PHP with GWT.
Thanks
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving e
Hello.
I want to tie the GWT to the php server and make the php scripts return
JSON.
That's what I do for a medium project I work on, and it works nicely.
The whole interface is in GWT, and server only sends JSON, with a few
exceptions.
One important point to take care of, with JSON
public static native T extends MyClass T fromJson(String json,
ClassT
name) /*-{
return eval(json);
}-*/;
You better use MyClass instance = JsonUtils.safeEval(json) instead.
-- J.
--
You received this message because you are subscribed to the Google Groups
Google Web
want to tie the GWT to the php server and make the php scripts return
JSON. Is this a good approach? What other options do I have?
It would be really useful to have the GWT make SOAP calls to the SOAP
server. Is this possible? Is it a good option?
Thoughts on this?
--
You received this message
Example gwt + php + gxt
http://www.youtube.com/watch?v=azLSxQ0A2e0
Source http://www.merpf.com.ar/download/gwt
On Aug 31, 2013 6:22 AM, Reza Razavipour reza.razavip...@gmail.com
wrote:
I am new to GWT, HTML, javascript...
I am a Java programmer and thus wanting to use GWT on the front end
Hi ... I've been trying several examples that I've found online to have a
PHP script called by an web application developed with GWT (via Eclipse)
using HTTP requests. I figure once I get this to work I can apply the
techniques to my own application. However, I am having a horrible time
Does the built in server, Jetty, that comes with Eclipse and the GWT
plugin not work with PHP?
Jetty does not support PHP directly (thats why its just echo'd). You would
need to define a CGI servlet that calls PHP installed on your system or use
a Java implementation of PHP, something
On Wednesday, February 13, 2013 12:13:55 AM UTC+1, Jens wrote:
Does the built in server, Jetty, that comes with Eclipse and the GWT
plugin not work with PHP?
Jetty does not support PHP directly (thats why its just echo'd). You would
need to define a CGI servlet that calls PHP installed
has an example or tell me where I can find to integrate GWT
with PHP would be grateful.
PS: I found a tool called GWTPHP (http://code.google.com/p/gwtphp/)
making integration using RPC, but from what I noticed the last update
was in 2009, I wonder if anyone knows if the project will continue
There is not much to do about connecting GWT to PHP, the only problem I've had
is the fact that, when developing, both projects have a different URL so the
SOP kicks in, but when deploying everything will run in the same URL and the
SOP code is not needed. I solved that by creating a simlink
if it is possible to connect to the server in PHP, I saw that
the website shows how to make GWT RPC and JSON using Java, but PHP
speaks very little and I'm used to seeing examples to learn things, so
if anyone has an example or tell me where I can find to integrate GWT
with PHP would be grateful.
PS: I
I wonder if it is possible to connect to the server in PHP, I saw that
the website shows how to make GWT RPC and JSON using Java, but PHP
speaks very little and I'm used to seeing examples to learn things, so
if anyone has an example or tell me where I can find to integrate GWT
with PHP would
hi, please see documentnation on RequestBuilder class, there is a good
sample
On 20 Jul., 20:20, bhargava bhargav...@gmail.com wrote:
Hi all,
I need to send a string from my gwt platform on glassfish to a website
running(using php) on apache server.
I know that i need to use JSONP .
Is
There are examples around that are coppied directly from a book, I
believe it was GWT in Action. If you are using GWT 2.0+ a JSONP API
was added...
http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html
On Jul 21, 6:15 am, cokol
Hi all,
I need to send a string from my gwt platform on glassfish to a website
running(using php) on apache server.
I know that i need to use JSONP .
Is there any tutorial which can provide me a good idea on how to use
json in gwt to send a string variable to another server?
Thank you
--
You
It is also possible to use the embedded Jetty server.
Here's how I do it:
1) install Eclipse for PHP Developers from http://www.eclipse.org/downloads/
2) install Google Plugin for Eclipse adding to eclipse the update
site http://dl.google.com/eclipse/plugin/3.5
3) create a New Web Application
maybe you should just use firefox?
are you using eclipse or netbeans?
gwt php in eclipse:
suppose your apache's webroot is c:\www
and you created your project in c:\www\apps\
and your project name is mytest
so your project is gonna have these directories:
c:\www\apps\mytest\src
c:\www\apps
(BrowserChannelServer.java:
401)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
222)
at java.lang.Thread.run(Unknown Source)
can someone please help me out? (either help me install GWT developer
plugin on IE or show me some way to integrate GWT with php in
develoment mode
I work on gwt/php debuger together. This is great. My notes there:
http://wordpress.robwas.homelinux.net/2010/02/19/gwt-integracja/
--
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
Thanks Chris, Yeah I Agree, option 2 seems to be the best way to go.
Although, I have been doing a little research into HTML 5 WebSockets.
Has anyone used WebSockets with GWT/PHP? Is there a reason why there
is very little content available on the subject?
It seems that most major browsers
Hi, I am in the initial planning stages for a community based website
that I plan on developing with GWT and a PHP Backend. I was wondering
if anyone could offer some architectural advice?
The application will have several activities that the user can switch
between, such as forums/topics
On Jan 17, 8:33 pm, Djay gerald.co...@gmail.com wrote:
I have also the same problem.
On a global aspect, the question is how to setup the dev environment
(most of people using eclipse) with GWT and PHP?
It's as easy as deploying your app *once* (to get the *.cache.js and
hosted.html on your
I have also the same problem.
On a global aspect, the question is how to setup the dev environment
(most of people using eclipse) with GWT and PHP?
On 7 jan, 02:34, dleins dle...@gmail.com wrote:
I have ths exact problem with another JSON application using GWT
2.0.
It works fine when compiled
张扬
- Original Message -
From: Djay
To: Google Web Toolkit
Sent: Monday, January 18, 2010 3:33 AM
Subject: Re: Working in development mode in GWT with php
I have also the same problem.
On a global aspect, the question is how to setup the dev environment
(most of people
to have a
very slim communication layer between client and server.
Regards
Jan Ehrhardt
On Tue, Jan 12, 2010 at 6:11 PM, ANDRES BRUN andres.b...@gmail.com wrote:
Hi everybody!
I have a question about mysql, gwt and php, how can I connect all this in a
web Application with the new version
Hi everybody!
I have a question about mysql, gwt and php, how can I connect all this in a
web Application with the new version of GWT? I'm really novice in this but I
want to learn and to practice, I need a guide for dummies. I have a php
script, and I have a Mysql Database and I have connected
I have ths exact problem with another JSON application using GWT
2.0.
It works fine when compiled but the exact same code does not work in
hosted mode.
I am using SmartGWT, but do not think that is the problem...
Doug
On Jan 6, 7:35 pm, Skeezix skeezix6...@gmail.com wrote:
also when I compile
I'm guessing you are running into the Same Origin Policy problem --
your application (in development mode) connects to port , but your
service is at port 8080.
Your easiest way out would be using Internet Explorer, which is more
lax regarding port changes.
Good luck!
F.Kereki
--
You
Hi,
I've recently started on the Client-Server Communication part of
the tutorial of GWT.I've done everything that is said in the JSON
and JSON - PHP part of the tutorial, yet im unable to get the JSON
data from the php script.My setup uses XAMPP and the Stockwatcher
project is located at
also when I compile and deploy the compiled output (inside the war
folder) to the server, it operates properly...hope someone can help me
set this up properly so i can test/debug my app without recompiling
and uploading it to the server
On Jan 6, 4:59 pm, Skeezix skeezix6...@gmail.com wrote:
.
At first I had a simple text file to see if the RequestBuilder would
worked, worked fine. I then change the url to point to my Apache
webserver so I could test the PHP file. The GWT no longer worked and
a RequestException went off.
Is this because the UI must be talking to the same server
the PHP file. The GWT no longer worked and
a RequestException went off.
Is this because the UI must be talking to the same server? Is there a
work around for this
Ted
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
worked, worked fine. I then change the url to point to my Apache
webserver so I could test the PHP file. The GWT no longer worked and
a RequestException went off.
Is this because the UI must be talking to the same server? Is there a
work around for this
Ted
for tbhe back
end. I use the RequestBuilder to communicate with the back end.
At first I had a simple text file to see if the RequestBuilder would
worked, worked fine. I then change the url to point to my Apache
webserver so I could test the PHP file. The GWT no longer worked
I don't think so. I think it has to be localhost, but you can change the
port with the -port switch
Ian
http://examples.roughian.com
2009/8/14 Tiago Z.C tiag...@gmail.com
Hi,
Just more one question...
Is possible change the default url of the hosted mode to an address of a
virtual host? I
If you mean that you want to be able to type
http://virtualhostexample.com/Application.html; in the hosted mode
address bar and see the application running locally in the hosted
mode's embedded server, then couldn't you put virtualhostexample.com
in your hosts file and point it at 127.0.0.1? Or
Hi,
Just more one question...
Is possible change the default url of the hosted mode to an address of a
virtual host? I searched on web and didn't find anything related to that.
I would like to click to run the application and hosted mode starts on
virtualhostexample.com/Application.html
Thank
Ian
I was not understand you because i have understand that the gwt code on time
of running was execute like java bytecode on a servlet container like jetty,
and just after the compile process the java code was transformed to
javascript code.
But know, i was looking for about -noserver option
Hello,
I started my studies about GWT 1 week ago and i'm interested on using
GWT with PHP. I have experience with web development using PHP and
Symfony framework and Java with VRaptor and Tomcat.
Well, i saw that GWT executes on hosted mode using Jetty container and
work with GWT RPC for data
on using
GWT with PHP. I have experience with web development using PHP and
Symfony framework and Java with VRaptor and Tomcat.
Well, i saw that GWT executes on hosted mode using Jetty container and
work with GWT RPC for data exchange between java server and client.
For PHP, JSON appear
for your
sever?
That should work, I think.
On Aug 11, 6:25 am, Tiago tiag...@gmail.com wrote:
Hello,
I started my studies about GWT 1 week ago and i'm interested on using
GWT with PHP. I have experience with web development using PHP and
Symfony framework and Java with VRaptor
?
That should work, I think.
On Aug 11, 6:25 am, Tiago tiag...@gmail.com wrote:
Hello,
I started my studies about GWT 1 week ago and i'm interested on using
GWT with PHP. I have experience with web development using PHP and
Symfony framework and Java with VRaptor and Tomcat.
Well, i saw
2009/8/12 Tiago Z.C tiag...@gmail.com
Ian
If i do that, every time that i want to see the chances that i made on my
app i will have to compile right? I have some doubts because with a small
project the compile process take around 30 seconds.
Hi Tiago,
No, you don't have to compile every
Hi,
I've opened a project called GWT Commerce at
http://code.google.com/p/gwt-commerce/,
my goal is to provide a rewrite of OSCommerce using GWT. I've made a
lot of progress and was recently contacted by a Software Engineer who
wanted to help, I've agreed and he is going to work on
Wow its a great notice.
Im newbiew in gwt, but im expert on php, i'll try help.
2009/7/18 Bob Rozelle broze...@eatlocalfood.com:
Hi,
I've opened a project called GWT Commerce at
http://code.google.com/p/gwt-commerce/,
my goal is to provide a rewrite of OSCommerce using GWT. I've made a
Ok I see now, thanks for the help,
Mark
On Jun 16, 8:38 pm, Ian Bambury ianbamb...@gmail.com wrote:
BTW, just for completeness
If so, would the call the add(new Label(items from dom)) be redundant?
As you have probably worked out, the data for the dictionary is taken from a
JavaScript
Ian, I took a look at the Dictionary class, but I don't understand.
Where is the dictionary getting the user and name elements from?
Is a PHP script supposed to generate them, then in GWT I can just link
up to the items I need in the entry point method? If so, would the
call the add(new
You have to output the data for the Dictionary from the PHP script via a
JavaScript script. In a simple PHP script which creates your index file, put
in something like:
echo script language='javascript'var user = {\fname\:
\Firstname\, \lname\: \Lastname\};/script';
and then in
On 06/13/2009 08:40 PM, markww wrote:
Hi,
This is a general question about GWT and user interfaces. In my
(limited) use with PHP, the server was responsible for generation of
most of the 'UI'. Each script would emit some html which the client
browsers download and render.
If we wanted to
Hi Jeff,
I took a look at the presentation you linked, it pretty much sums up
all the reasons I want to use GWT. You're right, I'll basically have
to make a prototype and see how it works for my end users,
Thanks
On Jun 14, 12:28 pm, Jeff Chimene jchim...@gmail.com wrote:
On 06/13/2009 08:40
A simpler solution with no Ajax call would be:
public class MyProject implements EntryPoint
{
public void onModuleLoad()
{
RootPanel.get().add(new
Label(Dictionary.getDictionary(user).get(name)));
}
}
Ian
http://examples.roughian.com
2009/6/14 markww mar...@gmail.com
Hi,
Hi,
This is a general question about GWT and user interfaces. In my
(limited) use with PHP, the server was responsible for generation of
most of the 'UI'. Each script would emit some html which the client
browsers download and render.
If we wanted to write a project only using GWT for the
BRUN andres.b...@gmail.com:
Hello Everybody
I'm trying to implement a code that permit me integrate PHP, GWT, MYSQL,
I
was testing and implementing different examples but I don't understand
really good, which is the correct way to send data with JSON and
principally. How I can receive
others
Ian
http://examples.roughian.com
2009/6/5 ANDRES BRUN andres.b...@gmail.com:
Hello Everybody
I'm trying to implement a code that permit me integrate PHP, GWT,
MYSQL, I
was testing and implementing different examples but I don't understand
really good, which is the correct
andres.b...@gmail.com:
Hello Everybody
I'm trying to implement a code that permit me integrate PHP, GWT, MYSQL, I
was testing and implementing different examples but I don't understand
really good, which is the correct way to send data with JSON and
principally. How I can receive that data in GWT
Hello Everybody
I'm trying to implement a code that permit me integrate PHP, GWT, MYSQL, I
was testing and implementing different examples but I don't understand
really good, which is the correct way to send data with JSON and
principally. How I can receive that data in GWT? Please, I'm
It appears I didn't need to add -noserver, I was just able to use
request builder to make a request http://localhost/project/
somefile.php?somevar=value and there was no violation of SOP.
Thanks all for your help, it's very much appreciated/
On Mar 30, 11:50 am, Thomas Broyer t.bro...@gmail.com
You have to add the server hosting the php files in the whitelist.
Here's an example of the parameter I'm using:
-noserver -whitelist ^http[:][/][/]myhost[.]com -out www
http://myhost.com/ProjectName/ProjectName.php
This should appear as instructions inside an exception, if you try to
run your
On 29 mar, 17:56, scottland.yo...@googlemail.com
scottland.yo...@googlemail.com wrote:
Hello Folks,
I was wondering how to send a string varible to a php script from my
google webtoolkit code.
i.e. I want to append a string to a php url so that the php script can
take that string and
Hello Folks,
I was wondering how to send a string varible to a php script from my
google webtoolkit code.
i.e. I want to append a string to a php url so that the php script can
take that string and query the yahoo or delicious api.
I'm using wamp and as GWT is on localhost: and wamp is on
Hello,
Any of the following links may help you to find a way to do it:
http://code.google.com/support/bin/answer.py?answer=65632topic=11368
http://code.google.com/support/bin/answer.py?answer=65632topic=11368
http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/DevGuideHttpRequests
Ok thanks, I understand that I can use request builder now. Is there
a way to host php files on the same server utilised by google web
toolkit localhost:.
On Mar 29, 5:50 pm, Miroslav Genov mgenov.j...@gmail.com wrote:
Hello,
Any of the following links may help you to find a way to do
Why you wanna do this ?
Probably this is what you are looking for:
http://code.google.com/support/bin/answer.py?answer=87509topic=10454
http://code.google.com/support/bin/answer.py?answer=87509topic=10454
Regards,
Miroslav
scottland.yo...@googlemail.com wrote:
Ok thanks, I understand that
I think you cant make a Http request to //localhost/ from //localhost:
/ because of the same origin policy.. might be wrong, just wanted
to know incase.
On Mar 29, 6:39 pm, Miroslav Genov mgenov.j...@gmail.com wrote:
Why you wanna do this ?
Probably this is what you are looking
Hi,
I would like to create a website with an interface made by gwt and a
server in PHP and make communicate them by JSON(or XML). Do you have
any ideas how to make it or some tutorials and docs?
Josse
--~--~-~--~~~---~--~~
You received this message because you
http://code.google.com/webtoolkit/tutorials/1.5/JSONphp.html
I would like to create a website with an interface made by gwt and a
server in PHP and make communicate them by JSON(or XML). Do you have
any ideas how to make it or some tutorials and docs?
Josse
Thanks :D
On Mar 6, 9:46 am, Shawn Brown big.coffee.lo...@gmail.com wrote:
http://code.google.com/webtoolkit/tutorials/1.5/JSONphp.html
I would like to create a website with an interface made by gwt and a
server in PHP and make communicate them by JSON(or XML). Do you have
any ideas how
ok I tried without the port :
String url = http://localhost/Portail/www/com.op.Portail/
authenticate.php?name=\'+name+\'pwd=\'+pass+\';
and it works !
So I will try to change my configuration as you suggested Andrej
What I still don't understand :
ok in hosted mode my script is not interpreted
I tried your solution Andrej
If I well understood, I have to replace
stringAttribute key=org.eclipse.jdt.launching.PROGRAM_ARGUMENTS
value=-out www com.op.Portail/Portail.html/
by
stringAttribute key=org.eclipse.jdt.launching.PROGRAM_ARGUMENTS
value=-out www
Hi Raml,
I'm not sure I understand your setup exactly.
If you run your GWT app in hosted mode, it will try to get the php file from
your public/php/ directory (or wherever you put your php). It won't be
processed as php before it is sent to the browser, so you will get the raw
script ?php and
alright, I will re-explain everything from the beginning
Context : I am developing a personal application portal, in which I
want to add various application made in GWT. This portal will run on a
php server.
For this, I began with the identication module, so I have a database
'user' with two
Pavel,
I tried
String url = http://localhost:/com.op.Portail/authenticate.php?
name=\'RamI\'pwd=\'+pass+\';
but the result is the same :s
RamI
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
Hi Raml,
Using port wil always point you to your Tomcat server and therefore the
PHP won't be interpreted. Look at Pavel's email agin - there is no : in
there. This is important because it determines which server is targeted.
Ian
http://examples.roughian.com
2008/10/2 RamI [EMAIL
Hi,
I suggest to use your Apache (with configured php) instead of tomcat
running at port .
Open you module's *.launch file and use something like this:
stringAttribute key=org.eclipse.jdt.launching.PROGRAM_ARGUMENTS
value=-out www com.op.Portail/{module}.html -noserver -port 80/
-noserver
This is a server configuration inside Eclipse issue (mostly). I posted
earlier on how to set that, in this thread.
You don't need GWT to debug this. You can test this whole thing from a
web browser.
Start by browsing to the URL in question. Let's assume it is a restful
URL to get a user:
Hi all,
I am trying to use JSON to get data from a php server. Here is my
code :
String url =
authenticate.php?name=\'+name\'pwd=\'+pass+\';
System.out.println(url);
RequestBuilder requestBuilder = new
RequestBuilder(
I don't think I understand what your problem is. Are you getting an error?
If so, what _exactly_ is the error you are getting?
Did you try running the code in debug mode and made sure that response.
getText() contained the JSON response from your PHP script?
-Pavel
On Wed, Oct 1, 2008 at 12:17
The Tomcat server that hosted mode runs doesn't run the file through the PHP
preprocessor so all you get back is the text, just like any other file.
If you don't actually need to test the PHP, just put the required response
text in the php file, otherwise search this list, there has been a recent
On 9/29/08, stymie [EMAIL PROTECTED] wrote:
Hi,
I cannot figure out how to get gwt working with php on the server
side.
I can describe my setup, if it helps.
First, I have Xampp (linux, but Windows would be the same) set up on
my computer, and apache is configured so that
http
On Mon, Sep 29, 2008 at 7:56 PM, stymie [EMAIL PROTECTED] wrote:
I cannot figure out how to get gwt working with php on the server
side. I know the tomcat server shell will not work. I am using eclipse
and gwt designer.
Does anyone know of any good resources for getting gwt to work with
php
Another way to get PHP responses in hosted mode is like this
Create the url...
String url = Framework.getBaseUrlWithSlash() + filePathAndName;
where getBaseUrlWithSlash() is
public static String getBaseUrlWithSlash()
{
String url = GWT.getModuleBaseURL();
String
Hi,
I am trying to post string so as to pass the value from gwt to php using the
following code. Below is the code i am using in php to accept the posted
value.
Everytime I get an empty string. Am I missing something.
Please help!!!
public void doPost(String postData
']
Andrej.
On Sep 20, 8:05 pm, Amit Dhingra [EMAIL PROTECTED] wrote:
Hi,
I am trying to post string so as to pass the value from gwt to php using the
following code. Below is the code i am using in php to accept the posted
value.
Everytime I get an empty string. Am I missing something.
Please help
gwt-php application:
http://www.demo.qualityunit.com/pax4/merchants/
Andrej
On Sep 20, 9:04 pm, Amit Dhingra [EMAIL PROTECTED] wrote:
Hi Andrej,
Googling gave me one more option which seems to be working...
if (!isset($HTTP_RAW_POST_DATA))
$HTTP_RAW_POST_DATA = file_get_contents(php
86 matches
Mail list logo