Learn the Phalcon framework to build the first project registration function according to the official website manual

Source: Internet
Author: User
Tags website performance

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.