Create an App
After registering your account, you need to create an app to Http://sae.sina.com.cn/?m=myapp&a=create.
Then click on the App list Http://sae.sina.com.cn/?m=myapp Select the app you just created. Select "Code Management"on the left, as shown in:
Create version
When you visit your app http://1.lazydemo.sinaapp.com/you'll see:
Edit Code
Click "Edit code to go to the online editor":
You can use the SAE by editing your code in the red marked area below.
Another way to submit a code: SVN
If you want more convenient to submit code, better synchronization with the world, abandon the FTP to the SVN bar, first to http://tortoisesvn.net/downloads.html download an SVN software. After the installation is complete, right-click on your desktop to see:
Click "Checkout"
Note: URL of repository write https://svn.sinaapp.com/lazydemo/1 Lazydemo for your app name, for example your call myappsae, then you write https:// SVN.SINAAPP.COM/MYAPPSAE/1 , 1 is the version number you created, but instead of the version 1 you created, replace it with a different number. The next step is to let you enter your username and password, and note that the username and password are not the user name and password of Weibo , but the username and password you filled in when you created the SAE account. The code after checkout is:
How do I submit the code after modifying it?
Use your editor to edit the code (I use sublime), do you want to use this editor? Then go to Baidu Search and download.
Modify the code to:
<? PHP Echo ' <strong>welcome to Sae!</strong> '; Echo ' Hello lazy! ' ;? >
After saving and then look at your code directory, you will find that the green small hook is missing, put on the red exclamation point, this time you need to submit code and the line of the environment is consistent.
Submit Code
Right-click to select "SVN commit" to submit the code.
Then revisit the address of the app: http://1.lazydemo.sinaapp.com/can see the section "Hello lazy!" that you just added The
This is the most basic environment to use the SAE, how to create the application, deploy the code, from the beginning of the article will not repeat this part, but focus on the SAE service, Apple told how to use the SAE rapid development of efficient applications.
Sina App Engine (SAE) Introductory Tutorials (1)