L
L
la02010-10-15 08:38:11
PHP
la0, 2010-10-15 08:38:11

Choosing My First Framework (PHP)

All the best!
I suddenly realized that I know php at a good level (but not up to the php-specified OOP subtleties of course), I want to stop reinventing the wheel, as it was with other languages.
What advise from not so difficult for basic operations?
I want to start, perhaps, with a simple database like helloWorld with categories and a paginator.
Thanks in advance!
PS as usual, I generously expose for adequate (including well-reasoned) comments in karma.

Answer the question

In order to leave comments, you need to log in

12 answer(s)
M
MuXaJIbI4, 2010-10-15
@MuXaJIbI4

But I use symfony and have never regretted it. Opportunities on the contrary are more than enough. It is not so difficult to learn, as there is a lot of documentation, including those translated into Russian. Not a small Russian community. Plus, symfony 2 will be released soon, and there are even more goodies ;)

U
un1t, 2010-10-15
@un1t

I have looked at cakephp, symfony, CodeIgniter, Kohana, Yii, Akelos, and a few more.
Of the above, CakePHP is well documented and fairly easy to learn. Of the shortcomings, PHP4 support and a not very advanced community, although a large one, can be noted.
Yii is a cool thing, written using PHP5 and trendy design patterns, and tightly integrated with web 2.0 (AJAX) features. Good API documentation, but almost no examples.
Akelos - too raw.
CodeIgniter - php4, weak ORM.
Kohana (fork from CodeIgniter) - php5, poorly documented, weak ORM.
Symfony is an attempt to clone RubyOnRails in php. However, it is more difficult to learn than the original and the possibilities are much less. IMHO it's better to learn rails or dzhanga then.
Bottom line:
for beginners - cakephp, for advanced yii

M
MastaEx, 2010-10-15
@MastaEx

But what I saw:
CakePHP is well documented, but there is too much “magic” in it, I would not recommend it.
Codeigniter is well documented, the code is not so hot in places and not only because of PHP4 support.
Kohana - the code is beautiful, the documentation for development is quite enough, but I went from it when I accidentally saw Yii.
Zend Framework - everything is fine with the code and documentation, but there are too many of both, and the docks are also chaotic and the most obscure moments, as if to evil, are omitted. I use ZF as a set of quality libraries, not as a CMF. In places, it is clumsy due to a too finely divided structure, and as a result of a huge number of classes.
Yii— the documentation — is plentiful, transparent and generally fine. The code and architecture are great. There is a chic ORM. The entry threshold is low - read the guide from cover to cover (it's not that big) and into battle. Due to competent autoload'a - smart. Recommend!

C
char, 2010-10-15
@ char

Judging by the pace and direction of development, Yii has a great future. Here, after all, it is important where the critical mass of developers will be, accumulating a knowledge base, examples, modules. I stopped my choice on it, join. :)

A
Alexey, 2010-10-15
@Softovick

Can costs at once on CMS/CMF? For example, Drupal - provides the ability to both riveting a banal website quickly, and a framework for developing applications (api.drupal.org)

L
Leonid Svyatov, 2010-10-15
@Svyatov

At a new job, I had to master Yii - I got used to it very quickly (literally in a couple of days). For the third month I have been working closely with this framework. I think it's a great, well thought out piece. Perfect for projects of any complexity, IMHO. I recommend to get acquainted.
ZF is too heavyweight, in my opinion. And CodeIgniter is just outdated.

Y
yuretsz, 2010-10-15
@yuretsz

A man approached me about six months ago with the same question. Advised him Symfony. Recently I met him again, the man was very grateful to me.

Y
yopopt, 2010-10-17
@yopopt

I advise you to start with CodeIgniter. It is simple, logical, and there is good documentation for it (including in Russian).

I
Ivan, 2010-10-15
@dohlik

I have already unsubscribed about Kohana in the comments above. Excellent framework, look directly at 3.0. Nothing superfluous - initially download the kernel, add everything else (even the Database) as you wish. Of course, there is not as much documentation as CI, but in principle it is enough. What is not clear - find out on the forum (there is a Russian-language branch ). There are blogs about Kohana, both in Russian and in English.
By the way, version 3.1 should be released by the end of the year, it seems like all sorts of interesting things will be added there.

P
Prometheus, 2010-10-15
@Prometheus

I am using ZendFramework .
Look at examples and docks, maybe you will like it.

D
denisigo, 2010-10-15
@denisigo

I recommend Kohana. At one time, I began to get acquainted with PHP frameworks with the Zend Framework - then it seemed to me too overloaded and with a very high level of abstraction, even where it would seem that this is not necessary. Somewhere I heard an opinion that Zend has a high entry threshold - apparently, this is so. But acquaintance in any case was useful.
Then I tried Kohana and was amazed at how transparent and obvious everything was arranged. In Kohana, there is no unnecessary overcomplication and unnecessary abstractions. In short, Kohana is HMVC, modularity, transparency, speed. You do exactly what the logic of your application requires and do not bother.

A
Arthur Complicated, 2010-10-17
@Ar2r

1C-Bitrix to study (write modules, components, etc.).
At the same time, high-load projects can be done on CodeIgniter with a frontend and a backend.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question