ThinkPHP, thinkphp Official Website
ThinkPHP3.2 has built-in support for the SAE platform (using the application mode). It has its own unique features and can use ThinkPHP's standard features to the maximum extent, the difference between SAE and the general environment is invisible to developers. You can even run your program on SAES without learning any knowledge about SAES. As long as ThinkPHP is developed, you can run the program on SAES.
ThinkPHP of SAE has the following features:
- Crossover: allows the same code to run in both the SAE environment and normal environment. Solved the problem that SAES cannot be used to debug code locally.
- Smoothness: we still use ThinkPHP as before, but you have used the SAE service without knowing it, so you do not have to study the SAE service to reduce learning costs. For example, if you do not need to study the KVDB service, you have used the KVDB service by using the F function of ThinkPHP In the SAE environment.
- Integrity: The following features are not deleted during SAE development. All features in the standard ThinkPHP mode are supported.
Learn more SAES ThinkPHP: http://document.thinkphp.cn/manual_3_2/sae.html
I. Install ThinkPHP for SAES
We can install ThinkPHP 3.2.3 framework when creating a new application, for example:
For existing applications, you can go to the "Application repository" (http://sae.sina.com.cn /? M = appstore.
2. After the application is created, go to code management. You will find that the ThinkPHP Code has been deployed.
3. Obtain Code locally
To facilitate local development, we get code to the local. Obtain the svn address.
The code is obtained by SVN checkout.
Click OK to get the code. Then you can edit the code locally.
References:
Sina cloud (SAE) supports direct installation of ThinkPHP3.2