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 !!!!