Hello, hello everyone, how to use Phalcon how to frame a project?

Source: Internet
Author: User
Just contact Phalcon, the first tutorial, create a project, did you get it? Teach Me


Reply to discussion (solution)

You can download a manual at Https://github.com/netstu/phalcondocs
Relatively large, slow, please be patient

Are you looking at your hands? Step by step.

The official GitHub has examples of projects, copy one, copied

I'm running the first tutorial of Phalcon, but it's not going to work out, it's a bit of a hurry, I don't know how to do it.

How did you do it?
Post your directory structure

I do according to the http://docs.phalconphp.com/zh/latest/reference/tutorial.html of the official website, my working directory is/var/ Www/html/tutorial
Directory structure is:
Tutorial
|--app
|--controllers
--indexcontroller.php
|--models
|--views
|--public
--index.php
Description, the contents of two. htaccess files and two. php files are right, this check is many times, the entire tutorial folder has been changed to 777 of the permissions
I entered localhost/tutorial on the browser to return a blank interface.
I modified index.php to
!--? php
echo "Hello, phalcon!"
?>
can display the Hello phalcon! normally.

Can we see what the problem is?

I do according to the http://docs.phalconphp.com/zh/latest/reference/tutorial.html of the official website, my working directory is/var/www/html/tutorial
The directory structure is:
Tutorial
|--app
|--controllers
--indexcontroller.php
|--models
|--views
|--public
--index.php
Description, the contents of two. htaccess files and two. php files are right, this check is many times, the entire tutorial folder has been changed to 777.
I entered localhost/tutorial on the browser to return a blank interface.
I will change index.php to
echo "Hello, phalcon!"
?>
Can normally display Hello, phalcon!

Can we see what the problem is?

How did you do it?
Post your directory structure


Can you take a look?

Bullsoft.org/phalcon-docs/index.html, the younger brother is also learning, just began to see this tutorial, step by step feel like a sample build up no problem. Hope Useful

Well, there's still a problem, and the situation is, follow this document (http://docs.phalconphp.com/zh/latest/reference/tutorial.html) step-by-step.
To the Controller class must have a "controller" suffix, and the controller action must have an "action" suffix. If you access the application from the browser, you should see something like: "When there is no corresponding occurrence of the amount." There's a blank interface.

Bullsoft.org/phalcon-docs/index.html, the younger brother is also learning, just began to see this tutorial, step by step feel like a sample build up no problem. Hope Useful


Thank you, feel good, but the knot affixed, no points to you

Found the problem, the back wrote a ";", thank you for your reply!!!!

  • 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.