We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon 2.0 / Zephir Workflow

hi

in phalcon 2.0 we can code like before in PHP or take advantage of new zephir layer, which allow us write better code, and compile this code in a c extension, please correct me if I not understand correctly.

This mean that all zephir source code don't live in our project folders, but is outside our project.

There is some project example in zephir which can help getting start?

Thanks



6.6k
Accepted
answer

Zephir can be used without Phalcon, but on the whole you've got it. Better code, that is always the question ;-) I would say faster code.

For getting started with Zephir check this: https://zephir-lang.com/tutorial.html