Web dev. Frame for RAD Dev web application. as soon as possible (Yii vs Django)

I looked for it and did not find anything interesting, right now I and my team know / partially know (Codeigniter, Yii), as well as Django (Python Framework), now after working with codeigniter for 1 year we noticed that we are not so effective , and we still need to rewrite most of the materials many times (comment system, image upload, rating, voting, etc.) (you can call this a progressive improvement).

Now we started development in Yii, and it’s great that we are experiencing this, but what I find is that I love Python more than PHP, but due to deadlines and lack of time I can not ask my team switch to it now. So what I'm trying to do is convince myself that the structure of these 3 (Codeigniter, Yii, Django) will give us a fast delivery time?

My personal opinion is that Yii and Django are somewhat equal, but due to the possibility of ayting, there is not much. Django Packages packages, we will be able to develop faster and faster, although Yii also has Yii Extensions , but at the moment there are few, and only a few are very stable, while others have errors (maybe all this is due to my more knowledge of PHP and PHP frameworks than Python frameworks and Django), so I would be glad if someone who has practical experience moving from PHP to Python-based frameworks could shed some light on this!

Edit: I am looking for a practical answer from the programmer who developed Django vs. Yii (or at least played with them), and he / she can verify that the development time for a typical CMS / Portal / Website Overview / Digg clone ... the type of web application takes less time in one than the other, since the time I'm worried about learning the language / features / benefits is not so important, scalability also depends on the correct optimization of the database and other architectural changes, I would also like to emphasize that I do not consider Ruby on Rails, because I do not want learn Ruby just for the box, and I'm interested in Django vs. Yii from the point of view of the shortest time to market, taking into account all other factors (workforce / skill set / database design) equal, kind help, I’ve been thinking about this for a week!

+4
source share
2 answers

Vivec, this is one of those questions that are difficult to answer better than "it depends." Personally, I believe that language and its ecosystem are a very important factor in choosing, perhaps more than a specific structure.

Why is that? As you already mentioned, you learned that you need to write a lot of code from scratch, even if you thought that the structure would provide it. This is the main fact of our programming life - regardless of the structure / library, in the end we are going to write some own functions, because:

  • Or is he absent
  • Or it is not enough for our needs, for 1000 possible reasons.

Thus, in the end, when the application becomes more complex, we find that we are introducing more and more functionality, because existing libraries are simply not flexible enough. I think the recent success of web micro frameworks in Python has its roots in the same reason.

That's why the foundation is important, and the foundation in your case is PHP and its ecosystem versus Python and its ecosystem. Both languages ​​have a huge amount of library code, but what do you find more enjoyable to work with the language? Which one do you and your fellow developers know best? In what language will it be easier for you to hire new developers (if applicable)?


PS I don't know much about PHP, but for Python / Django, in addition to Django Packages, there is also Pinax .

+1
source

I never used Yii and Code Igniter, but I came from CakePHP and now I am working on Django and I like it. I can say that Python has a higher test culture, and Django has excellent docs. If you are looking for Yii and Django on github, you will find 191 against 6176 projects.

IMHO Python is an order of magnitude better than PHP, and average Python code is better than average PHP code.

Your choice should be between Django and Rails or Sinatra, I think. The Python community is bigger than the Ruby community; instead, there are more Rails projects and developers than Django.

0
source

All Articles