View Full Version : MVC matters : How to link ExtJS to a database (PostGreSQL) ?

28 Aug 2012, 7:04 AM
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.

28 Aug 2012, 7:32 AM
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://aboutfrontend.com/extjs/extdesigner-extjs-and-zend-framework/)

28 Aug 2012, 9:58 AM
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.


28 Aug 2012, 11:53 PM
Thank you both for help. I think I forgot that JS was only called on client-side...