Answer the question
In order to leave comments, you need to log in
ZF || YII || Rails ||?
Question for consultation, not for sracha holivar sake.
I myself am a PHP programmer who grew up from C / C ++, the last three years I have been an active Drupal developer.
For a long time I wanted to study something else, since it’s dumb to know only one subject well.
And then fate threw in the idea of creating one service, I was going to do it on Drupal, but I thought about the question voiced in the title.
Technically, the service will consist of a bunch of forms and statistics + data import from CSV + active interaction with the external API via cron.
Convenient form generation and Ajax are required.
In this regard, Drupal suits me, but it is heavy for services, especially the latest versions.
What to take, where to run? MVC as such, I do not know.
While I look narrowly at Zend Framework and Yii.
Zend attracts an abundance of ready-made classes (I can be wrong in the terminology, I apologize), it is said about Yii that there is a lot of documentation, including in Russian.
Yesterday I looked at Ruby On Rails - it's nice.
Also, there is a criterion whether I will find a job / freelance on the framework later, it seems to me that you will never be lost with Zend, but I heard about Rails that it’s not enough to study it, try to get a job as a rail engineer.
Answer the question
In order to leave comments, you need to log in
As far as I've heard Yii draws inspiration from rails. At least very often I hear that they are similar. As for the Zend Framework, I have never heard positive feedback from anyone, everyone says the same thing “An excellent collection of ready-made classes”.
If you like Ruby On Rails, then I settled on it in your place. Of course, there are fewer vacancies in Ruby than PHP, but there are noticeably fewer developers, and the qualifications of developers are noticeably better on average. By the way, the level of salaries in Ruby is higher than in PHP.
Another huge bonus if you go to work as a ruby. then you will always develop on the rail, and not, as in the case of PHP, you will come across a hated framework / cms / engine on which it breaks you to write.
A purely personal opinion: Yii is more elegant, more concise, more convenient than ZF, it is easier to enter it. In Yii, you get the backbone of the application, to which it is convenient to link the necessary components. ZF is a constructor that only hints at how to work with it correctly. In addition, Yii implements properties, events, and behaviors out of the box, which, if you spend a little time and understand, turn out to be very convenient. In addition, it is very easy to attach the desired component from ZF to Yii (it can be a mail module, a PCC generator, or something like that).
Why use Yii if everything is not there? This is where I started. Yii supplemented, if necessary, with components from ZF is nicer than ZF itself.
There were crontasks in the technical presentation of the service, so I’ll note that both Yii and ZF have tools for creating console applications that, sharing the code of models and other classes with the web part, are much better suited for service tasks already because they are self-sufficient, they run directly from the console and don't require you to yank yourself through a web request.
I won’t say for the rail, but nodejs is good. I’m not sure that it makes sense to write completely web applications on it, but to take out highly loaded APIs that need to spit JSON, or something that the event-oriented approach (web chat, for example) fits well.
Use Yii if you want to write in PHP and something custom if you like Ruby. ZF is a rare brake and an example of overengineering, for a simple task there you need 20 classes and they can be connected to each other through some kind of dependency injection. It seems that its developers are fans of Java.
Oh, don't use OpenSource CMS in PHP yet. They are written in a bad style and of poor quality, slow down, and any attempt to modify something in them is fraught with the destruction of the brain (especially the template system in Drupal).
Check out Django. Or better chat with a good jungist, I think that's just what you need.
The same, somehow asked such a question, only the list was a little different, there was also Django and had already worked with yii by that time. I read a book on django, played around, didn’t like it, tried rails and fell in love, now I’m finishing a project on rails and starting another one, but I’m still working on php.
I don’t regret choosing ruby on rails, it’s a very handy thing, it’s rapidly developing and a sea of ready-made gems 90% of everything you have to do is added with a gem and a couple of lines of code.
yii is easy to learn, easy to work with, easy to extend
RoR… you should learn, but in general it’s a
zend thing… old and heavy
node.js is not suitable for your task
forgot the link
download.yandex.ru/company/experience/subbotnik/Grokhovetsky_Ekb.pdf
>>ZF || YII || Rails ||?
Look towards Symfony2
for DB/XML mapping Docrine 2.1
for testing PhpUnit/Bedhat/Mink
Ideologically very close to Rails. Everything you love about rails can be found in Symfony.
Rails 3 is a beauty in general. I highly recommend.
ZF is worse than Symfony... Especially if you read the ZF sources. I don’t know what they were smoking, but in places it’s just tin ... IHMO, not flexible, not convenient.
YII - indirectly touched a couple of times, IHMO, better than ZF.
ZF has nice and handy components like Zend_Soap that make life a lot easier. So you can look towards ZF, but Zend_Application, IHMO, is terrible.
Yii is good, but it's new, so it's not widely known yet. Zend does contain a lot of bikes, but it's old. This is both an advantage and a disadvantage. I heard a lot of good things about Rails, but almost never saw any projects on it. Everything depends on the task. You need to learn MVC anyway.
Rails is a very convenient framework, the only thing you need to be prepared for is that it eats a lot of RAM.
If this is not acceptable, see Sinatra (or Node.JS + Express).
I am familiar with Zend "with one eye", about rails - "sometimes I read", yii - I use it in my work.
In order not to go into details, you can learn about trends from Google trends.
By trends - promising yii
www.google.com/trends?q=yii%2C+ruby+on+rails%2C+zend&ctab=0&geo=all&date=all&sort=1
In principle, all options are good. I am completely satisfied with ZF. A large number of bikes of standard solutions have already been implemented and tested .
The main difference between the ZF and the rest is that it is less monolithic. You can use only some of the modules from it, which favorably affects the speed of development. For molds there are generators by the way.
If you don’t know MVC, then I would exclude ZF (as a framework, as a class library for all occasions - it’s good) - it’s too easy to write non-MVC there, thinking that you are writing MVC. I would not recommend starting a serious project in an unfamiliar language - you have to “fight” more with the language than with the task. The elimination method remains yii. Plus, he has an active Russian-speaking community. I would also advise you to look in the direction of symfony, even if you don’t use it, then at least you can get an idea of \u200b\u200bMVC from one chapter of the symfony book using the example of “naked” PHP - for sure, a lot will be familiar :) symfony.com/doc/current/book/from_flat_php_to_symfony2. html
I would choose between rails and janga. My choice is jung.
If you are not in Moscow and St. Petersburg, then it’s really hard to find a job according to these vacancies, but it’s worth it)
Dzhangu is used, for example, in the same Yandex.
At the subbotnik in the ECB, they made a report in which it is revealed why dzhanga
take a closer look at symfony v1.4, there you will be able to generate everything and everything, plus creating and working with all apis is also very simple there.
training will pay off for you. finding a job for a symphonist is also not at all difficult,
the only minus of symphony 1.4 is its slowness (compared to yii), but since you are considering zf, then consider sf
Added jangu to Google trend statistics. Well, for the sake of interest.
http://www.google.com/trends/?q=yii,+ruby+on+rails,+zend,+symfony,+django&ctab=0&geo=all&date=all&sort=1
By the way, why doesn't TS consider it?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question