You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 13, 2019. It is now read-only.
To run the serverside php + mysql code in this chapter you need php5 and mysql support.
2
+
3
+
4
+
On ubuntu linux you can install the required files like this as root:
5
+
6
+
apt-get install php5-mysql php5-json
7
+
8
+
9
+
Database setup:
10
+
11
+
The example file crud.php assumes that you have a database called "extjsinaction" accessible as user root with no pasword. Feel free to change this to your liking.
12
+
13
+
Tweaking the datastores to run locally:
14
+
15
+
In 7.5_The_Employee_Store.html you can tweak urlRoot to match your local crud.php installation. Just remove "http://extjsinaction.com/" from urlRoot and you should pickup you local file. Remember to alter the proxy type from "jsonp" to "ajax" now that you are running locally. Now you should be able to experiment with datastores from your console in your browser.
0 commit comments