View Full Version : ExtJs 4.x with Php and MySql, best practices?

26 Nov 2013, 12:33 PM

I would like to know what is the best way to use ExtJs 4.x in conjonction with PHP/MySQL. Did I need to use an ORM? If yes what is the best ORM for ExtJs and PHP/MySql?
I used the csql class developed by sakalos, it work well but it is not up to date.

Can you help me in my choice?



26 Nov 2013, 12:39 PM
This will come down to personal preference.

I would recommend MVC with our API, as for the PHP/MySQL side, there are many options.

Many users start out with CodeIgniter, and there are many examples online, but it is dated.

I have been looking at the following:


26 Nov 2013, 12:49 PM


14 May 2014, 9:52 PM
I have been trying to search a way to work with sencha architect3 and multiple mysql tables to perform CRUD operations but it seems there are no tutorials/codes for the same on various websites. I have been searching all over the internet and found contradictory and incomplete responses I have tables "classes", "students" and "subjects" in php-mysql backend Every class has many students. Every student has many subjects. I am using sencha architect3 to display a grid of all classes when one class lets say "engineering" is selected, it should show all students in that class. when any student is selected, it should show all subjects taken up by that particular student. This all is happening in one view. Also I should be able to add more subject to a student and a student to a class. I am looking for a way to perform CRUD operations on multiple tables using sencha grids and forms. Possible solution 1. Use nested JSON but donít know how to parse the same using sencha. Possible way is using: a. model associations b. mappings c. server programming- problem is how to get C, R, D operations using sench front end 2. Use simple JSON Please help me with basic guidelines regarding the same.

14 May 2014, 10:06 PM
This example (http://extjs.eu/examples/#writable-grid) implements a grid with all CRUD operations, however without associations.