29 Nov 2010 7:39 AM #1
wrapping php site with GXT interface
I have a php website and I want to have an GXT interface to it, what is the best way to deal with this, I do not want to write the my backend in java I want to stick with what I have...
Thanks in advance...
29 Nov 2010 7:48 AM #2
So you want to rewrite your frontend and stay with your old backened?
29 Nov 2010 7:50 AM #3
Yes this is the plan , is that possible and what is the best way to achieve it?
29 Nov 2010 7:53 AM #4
Well, what datatype does your backend return? JSON or XML? GXT ships with a JsonReader and a XmlReader. Take a look at this example:
This combobox is even filled with a php backend: http://www.sencha.com/examples/explo...vancedcombobox
29 Nov 2010 7:55 AM #5
JSON mostly, will I be able to use all the features in the GXT API, or just some of them?
29 Nov 2010 7:57 AM #6will I be able to use all the features in the GXT API, or just some of them?
29 Nov 2010 8:00 AM #7
My Idea is to wrap my current php functions to return JSON Strings instead of rendering php/html page and call them using requestbuilder, then converting them to Objects extending ModelData (this is if necessary of course)...
29 Nov 2010 8:01 AM #8then converting them to Objects extending ModelData (this is if necessary of course)...
29 Nov 2010 8:03 AM #9
I'll give it a shot .
Thanks for the help...
By marrrck in forum Ext GWT: DiscussionReplies: 8Last Post: 29 Nov 2011, 1:32 AM
By pfisk in forum Community DiscussionReplies: 0Last Post: 27 Apr 2010, 12:17 PM
By baume Mercier Classima in forum Community DiscussionReplies: 4Last Post: 18 Sep 2009, 6:22 AM
By albeva in forum Community DiscussionReplies: 3Last Post: 9 Nov 2007, 5:01 AM