V
V
Valdis112014-07-23 07:21:22
PHP
Valdis11, 2014-07-23 07:21:22

What are the impressions of Phalcon compared to Symfony/Yii?

Who used Phalcon framework and for what projects. The opinion about this framework is very interesting, especially in comparison with Symfony and Yii. Thank you in advance.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Push Pull, 2014-07-23
@deadbyelpy

I'm going to write an article about this, but no way.
briefly IMHO: Phalcon is better than Symfony, which is better than Yii.
What are the selection criteria? Symfony has a higher entry threshold than Phalcon, Yii has an entry threshold even lower, but it lags behind in architecture "inside"
Phalcon has Volt (template engine), SF has Twig, Yii has nothing (but no one bothers putting Twig there)
Ph ,SF is sane DI and Yii is Yii->app()
SF comes with ACLs, Yii comes with RBAC + ACLs, Phalcon comes with ACLs.
Ph, SF2 (Doctrine) has AR, Yii also has DAO
Ph on shared hosting, but who makes projects for shared hosting on SF2? On Yii I know because fast enough you can deploy the blozhik.
I just can’t write more, in the end. it is already possible to make complex applications on Phalcon, it is ready for production, it is simpler than SF2 and more convenient, while its architecture is well thought out like that of SF2
Promoted the idea of ​​Phalcon in the company where I work, it was welcomed with joy and gladly used for complex, enterprise projects.
All of course only based on my experience with them. I don't force my opinion on anyone.

R
Roman, 2015-12-29
@TrogWarZ

Moved from Yii 1 to Phalcon 1.3.x. Now spinning on the sale, everything is fine.
The following is subjective IMHO:
- It's easier to understand, but the documentation is poorer.
- Antediluvian ORM. After Yii, it seems castrated, in some cases it also does not work optimally with the by design base. If you file your bike like OrmModel, which will expand the functionality and reduce verbosity, then you can more or less use it.
– An overly verbose ORM: links, events, validation .. that's all. She will not get to the conciseness of Yii, taking into account the ideology of Phalcon.
- A disgusting non-functional CLI (I mean tasks), even calling it castrated is an exaggeration.
- Convenient built-in cli for generating boilerplate code.
– Very convenient and simple configs, services, DI, migrations. Architecturally much more convenient than in Yii.
- There is a light version (Micro) for small projects - it's a pleasure to write REST API on it.
- A smart templating engine.
– Convenient work with cachers, there is a division into front/back caches, data duplication and speed prioritization between them.
– It is convenient to create your own extensions or include third-party ones in the project.
- Despite the implementation in the form of .so, there is a suitable official autocomplete for the IDE.
– There is a semi-official(?) repository of handy extensions – Incubator.
In general, the impressions are good, not counting the ORM. Ready for sale (:

V
Vlad Malinichev, 2016-06-14
@malinichev

Phalcon 2.1 on the pro is very smart! Very comfortable! It's easier to just try it yourself... A project on Phalcon, more than 10 million users a month, 500+ people are constantly sitting. trackingshipment.net

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question