Gwt 2.0 with Symfony php framework

284 views
Skip to first unread message

Ricoux

unread,
Apr 15, 2010, 3:30:33 AM4/15/10
to Google Web Toolkit
I must implement a web application using Symfony php framework (with
doctrine) with a javascript framework in order to use and create rich
UI components.

First of all, I have to realize a study of existing javascript
framework and I must choose one. GWT provides many UI components and
has many advantages compared to other traditional JS Framework
(designer, developped view in java, ...). However, I don't find
complete tutorial about the use of GWT with php or Symfony (except
http://examples.roughian.com).

I would like your opinion, Is a Symfony project using GWT is viable?
Do you know tutorials about it? Does someone has already realize this?

Thank you in advance.

Eric

Marcello Nuccio

unread,
Apr 16, 2010, 11:45:40 AM4/16/10
to Google Web Toolkit
I am working on a similar project: GWT on the client, PHP on the
server.

After a few days of experimentation, I have found the most effective
approach is to put as much as possible of the application logic on the
client, and use server side PHP only to publish application data (be
it on DB or files).

I am using: plain PHP to validate access to data sources and publish
it as JSON on RESTful services; GWT to program application logic,
build interfaces, and access data on the server.

The main advantages I have found are:

- ease of server side development, because you only have to validate
data for integrity and check access rules. This is a major point
because simplicity means better security.

- great speed of the application, because it is loaded as optimized
static files, runs mostly on the client, and only needs to exchange
application data with the server.

- it is trivial to change server technology because you only have
very simple RESTful services.

- it is easy to write new client applications because all data is
available as standard RESTful services.

On the client I am using Restlet GWT 2.0-RC2 to access REST services.
It is very badly documented, but I can send you a sample code if you
are interested.

On the server I am using standard PHP5 PDO library to access database.
I do not know anything about Symfony, sorry.

Marcello


On 15 Apr, 09:30, Ricoux <ricou...@gmail.com> wrote:
> I must implement a web application using Symfony php framework (with
> doctrine) with a javascript framework in order to use and create rich
> UI components.
>
> First of all, I have to realize a study of existing javascript
> framework and I must choose one. GWT provides many UI components and
> has many advantages compared to other traditional JS Framework
> (designer, developped view in java, ...). However, I don't find
> complete tutorial about the use of GWT with php or Symfony (excepthttp://examples.roughian.com).
>
> I would like your opinion, Is a Symfony project using GWT is viable?
> Do you know tutorials about it? Does someone has already realize this?
>
> Thank you in advance.
>
> Eric

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

Reply all
Reply to author
Forward
0 new messages