1. #1
    Sencha User
    Join Date
    Oct 2009
    Posts
    44
    Vote Rating
    0
    cutout33 is on a distinguished road

      0  

    Question wrapping php site with GXT interface

    wrapping php site with GXT interface


    Hi All,

    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...

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    So you want to rewrite your frontend and stay with your old backened?

  3. #3
    Sencha User
    Join Date
    Oct 2009
    Posts
    44
    Vote Rating
    0
    cutout33 is on a distinguished road

      0  

    Default


    Yes this is the plan , is that possible and what is the best way to achieve it?

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Well, what datatype does your backend return? JSON or XML? GXT ships with a JsonReader and a XmlReader. Take a look at this example:

    http://www.sencha.com/examples/explorer.html#jsongrid
    http://www.sencha.com/examples/explorer.html#xmlgrid


    This combobox is even filled with a php backend: http://www.sencha.com/examples/explo...vancedcombobox

  5. #5
    Sencha User
    Join Date
    Oct 2009
    Posts
    44
    Vote Rating
    0
    cutout33 is on a distinguished road

      0  

    Default


    JSON mostly, will I be able to use all the features in the GXT API, or just some of them?

  6. #6
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    will I be able to use all the features in the GXT API, or just some of them?
    Nobody will be able to answer this as you have not told us what you are actually doing. But normally you should be able to reuse your old backend.

  7. #7
    Sencha User
    Join Date
    Oct 2009
    Posts
    44
    Vote Rating
    0
    cutout33 is on a distinguished road

      0  

    Default


    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)...

  8. #8
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    then converting them to Objects extending ModelData (this is if necessary of course)...
    You can use JsonReader for this. This should work.

  9. #9
    Sencha User
    Join Date
    Oct 2009
    Posts
    44
    Vote Rating
    0
    cutout33 is on a distinguished road

      0  

    Default


    I'll give it a shot .

    Thanks for the help...

Similar Threads

  1. GXT examples site and javadoc site down?
    By marrrck in forum Ext GWT: Discussion
    Replies: 8
    Last Post: 29 Nov 2011, 1:32 AM
  2. FRED online site generator uses ExtJs interface
    By pfisk in forum Community Discussion
    Replies: 0
    Last Post: 27 Apr 2010, 12:17 PM
  3. php interface
    By baume Mercier Classima in forum Community Discussion
    Replies: 4
    Last Post: 18 Sep 2009, 6:22 AM
  4. php interface
    By albeva in forum Community Discussion
    Replies: 3
    Last Post: 9 Nov 2007, 5:01 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi