Chinese Manual official Website: http://phalcon.ipanta.com/1.3/tutorial.html#bootstrap
The website provides http://www.tutorial.com project source GitHub address: https://github.com/phalcon/tutorial
Issues to be aware of when building:
1. Build the Virtual Host:
<virtualhost *:>"d:/web/tutorial/"ServerName www.tutorial.com"d:/web/tutorial/"></Directory></VirtualHost>
Note that the root directory is assigned to the project root directory and not to public
2. The base URI of the boot file needs to be modified:
<? PHP // Setup a base URI so this all generated URIs include the "tutorial" folder$diset('url
', function () { new \phalcon\mvc\url (); $url->setbaseuri ('/tutorial/'); return $url;});
$url->setbaseuri ('/tutorial/'); modified to
$url->setbaseuri ('/');
3. Note the password to modify the database
4. Note interface in Google Chrome sorry, in Firefox browser can be well compatible with the official website performance consistent
5. Firefox Firebug when the network is not good to install when the network is better!
Learn the Phalcon framework to build the first project registration function according to the official website manual