Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Phalcon and PHP-NG

Hello,

I was wondering what phalcon's role will be when php 7 will be released. Will it still make sense to use a framework built in c? The thing with a full php framework is that I can go into the codebase itself read it, and modify or extend code as needed if there are any bugs etc. Which I cannot do with a framework built in c.

What are your views on this?



1.4k
Accepted
answer

Hi,

long story short, 2.0 will solve your issue.

2.0 would implement zephir lang and it would certainly bridge that gap for you. Right now it is still in development, and i believe we might be pushing stable soon. (not entirely sure how soon though). As far as usability is concern, 2.0 is workable right now.

Zephir lang has syntax similar to php, and it has a compiler that compiles into native c, with all the goodness of optimization. So i would say until PHP7 comes out, which is a year or two from now, phalcon will continue to be a player in php/c framework.

In fact i might say with some of the changes made in zend engine itself, phalcon might be able to take advantage of it using zephir lang.

http://zephir-lang.com/ https://github.com/phalcon/cphalcon/tree/2.0.0/



421

Thanks a lot! That's all I wanted to know, I can now make a more informed choice.