Hello everyone, how do I use phalcon to build a project?

Source: Internet
Author: User
Tags blank page
Hello everyone, how do I use phalcon to build a project? I just got started with phalcon. I used the first tutorial to create a project. Have you ever done this? Teach me


Reply to discussion (solution)

You can download a manual in https://github.com/netstu/phalcondocs
Relatively large, relatively slow, please be patient

They all look good? Step by step? .

The official github has an example project, copy one, and copy it.

I am running the first tutorial of phalcon, but I am in a hurry and don't know how to start it.

How did you do it?
Paste your directory structure

According to the region on the official website
The directory structure is:
Tutorial
| -- App
| -- Controllers
-- IndexController. php
| -- Models
| -- Views
| -- Public
-- Index. php
Note: the content of the two. htaccess files and two. php files is correct. this check is performed many times and the permissions of the entire tutorial folder are changed to 777.
I enter localhost/tutorial in the browser to return a blank interface.
I changed index. php
Echo "Hello, Phalcon! "
?>
Hello, Phalcon!

Can you see what the problem is?

According to the region on the official website
The directory structure is:
Tutorial
| -- App
| -- Controllers
-- IndexController. php
| -- Models
| -- Views
| -- Public
-- Index. php
Note: the content of the two. htaccess files and two. php files is correct. this check is performed many times and the permissions of the entire tutorial folder are changed to 777.
I enter localhost/tutorial in the browser to return a blank interface.
I changed index. php
Echo "Hello, Phalcon! "
?>
Hello, Phalcon!

Can you see what the problem is?

How did you do it?
Paste your directory structure


Can you help me?

Bullsoft.org/phalcon-docs/index.html, the younger brother is also learning this tutorial, and I feel that it is okay to build the sample step by step. Hope to be useful

Amount, there is still a problem, the situation is like this, according to this document (http://docs.phalconphp.com/zh/latest/reference/tutorial.html) step by step.
The Controller class must have the "Controller" suffix and the Controller Action must have the "Action" suffix. If you access the application from a browser, you should see the following: "At the time, there is no corresponding phenomenon. Blank page appears

Bullsoft.org/phalcon-docs/index.html, the younger brother is also learning this tutorial, and I feel that it is okay to build the sample step by step. Hope to be useful


Thanks. I think it's good. it's a pity I closed the post and didn't share it with you.

I found the problem and wrote a ";" later. 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.