Difference between revisions of "Phalcon"
| Line 3: | Line 3: | ||
Phalcon is a web framework implemented as a C extension , every Phalcon's fan know that. It mean we cannot view source code of framework like another PHP framework. | Phalcon is a web framework implemented as a C extension , every Phalcon's fan know that. It mean we cannot view source code of framework like another PHP framework. | ||
| + | '''File structure''' | ||
| + | <source> | ||
| + | . | ||
| + | └── tutorial | ||
| + | ├── app | ||
| + | │ ├── controllers | ||
| + | │ │ ├── IndexController.php | ||
| + | │ │ └── SignupController.php | ||
| + | │ ├── models | ||
| + | │ │ └── Users.php | ||
| + | │ └── views | ||
| + | └── public | ||
| + | ├── css | ||
| + | ├── img | ||
| + | ├── index.php | ||
| + | └── js | ||
| + | </source> | ||
| + | ==Phalcon Developer Tools== | ||
| + | ==Tutorial - basic== | ||
Revision as of 04:44, 24 June 2018
Phalcon is a web framework implemented as a C extension , every Phalcon's fan know that. It mean we cannot view source code of framework like another PHP framework.
File structure
.
└── tutorial
├── app
│ ├── controllers
│ │ ├── IndexController.php
│ │ └── SignupController.php
│ ├── models
│ │ └── Users.php
│ └── views
└── public
├── css
├── img
├── index.php
└── jsPhalcon Developer Tools
Tutorial - basic
Auto complete for Phalcon framework in Eclipse
Thank for Phalcon Developer tool. It provide useful interface & class declaration scripts which support IDE auto complete function.
Assuming that, Phalcon developer tools is installed. If no, you can download or clone a cross platform package containing the developer tools from Github.
GitHub link : https://github.com/phalcon/phalcon-devtools
In Eclipse, you just need to add devtool path : phalcon-devtools/ide/PHALCON_VERSION by adding external Source Folder in PHP include Path / Libraries tab.