1. #1
    Sencha Premium Member sencha-dev2's Avatar
    Join Date
    Jun 2012
    Location
    France
    Posts
    59
    Answers
    2
    Vote Rating
    0
    sencha-dev2 is on a distinguished road

      0  

    Question Answered: MVC matters : How to link ExtJS to a database (PostGreSQL) ?

    Answered: MVC matters : How to link ExtJS to a database (PostGreSQL) ?


    Hi, I am currently developing a web-oriented application with ExtJS. I use PostgreSQL as the database, and I wanted to know if it was possible to interface directly with ExtJS PGSQL.


    For the moment, I overcomes my problem using ZEND, however I would like to avoid having a double MVC architecture for my application.


    Thanks in advance for your help.

  2. Sencha/ExtJS uses client-side scripting and it doesnt know anything about your server. You can send request to the server which will return data back to you application. Any connection with database will pass on server side.

    Afaik there is one project http://zefext.sourceforge.net/ but looks like it is dead.

    I hope, following posts will help you.

    http://aboutfrontend.com/extjs/extdesigner-extjs-and-zend-framework/
    http://www.slideshare.net/ThorstenSu...c-driven-extjs

  3. #2
    Sencha Premium Member Zdeno's Avatar
    Join Date
    Nov 2009
    Location
    Prague
    Posts
    358
    Answers
    5
    Vote Rating
    15
    Zdeno will become famous soon enough

      0  

    Default


    Sencha/ExtJS uses client-side scripting and it doesnt know anything about your server. You can send request to the server which will return data back to you application. Any connection with database will pass on server side.

    Afaik there is one project http://zefext.sourceforge.net/ but looks like it is dead.

    I hope, following posts will help you.

    http://aboutfrontend.com/extjs/extdesigner-extjs-and-zend-framework/
    http://www.slideshare.net/ThorstenSu...c-driven-extjs

  4. #3
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,637
    Answers
    613
    Vote Rating
    400
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    I would like to avoid having a double MVC architecture for my application
    You should not confuse client MVC with service side MVC .. each have their place.

    Scott.

  5. #4
    Sencha Premium Member sencha-dev2's Avatar
    Join Date
    Jun 2012
    Location
    France
    Posts
    59
    Answers
    2
    Vote Rating
    0
    sencha-dev2 is on a distinguished road

      0  

    Default


    Thank you both for help. I think I forgot that JS was only called on client-side...

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar