Django vs Zend framework: Part 2 of a thrilling framework match up

phpprogrammingpython

Written by:

Reading Time: 6 minutes

This continues our framework comparison. The first part was from this post. This post is the last of the framework match up. Now bring your imaginations to work. If you have forgotten, here is a re-introduction of our main actors.

The cast:

Ring announcer

Referee.

Commentator #1

Commentator #2

The Crowd

Zend framework

Django framework

Ring announcer: Good evening, and welcome to tonight’s main event. Today we bring you the anticipated re-match which has been talked about for weeks.

Here is our first gladiator from the red corner. He is the framework that can still throw big punches. A whole lot of sites use him. He is a feared top-gun in the Python framework circles, and the top recommended framework within Python. He is the unicorn, he is Djaaaaaaaaaaangoooooooooo.

From the blue corner, comes the framework that got huge reviews from the last bout. He calls himself ZF. He is the certified framework, the green one, the one and only Zeeeeeeend.

SO LET’S GET READY TO RUMBLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLEEEEEE!!!

Referee: Just like the first fight, I want a good clean fight between you two. May the best framework win?

(Bell rings)

Round 1: Popularity in its language space

Commentator #2: Remember, this is the seconds of two duels. The final prize will be framework bragging rights!

Commentator #1: That’s right. In the lead up to this bout, both boxers talked a lot. Both said they were going to trash the other one.

Commentator #2: Now they have to put their money where their mouth is. And I can see a few people in the crowd who have come to support both boxers.

 

Commentator #1: So true. In the front row is Magneto, here to lend his support to ZF.

Commentator #2: For Python, the first framework that comes to mind has always been Django. There can be no two ways about it, and it does not look like that would change anytime soon.

Commentator #1: When you come to PHP, the story is different. Although the Zend framework has long been one of the top recommended languages, it is still not the most popular one. That spot still belongs to Laravel.

Commentator #2: Can ZF can change that and move up the ranks? The Zend framework popularity is growing, and with good testimonies being given by many who have used the framework to considerable success. There must be something good about ZF for there to be so much buzz about him.

Commentator #1: Perhaps that buzz and popularity would help change the ranking one day. However on this day, ZF might well lose to Django in that regard.

Score card: Django framework wins

Round 2: modular apps

Commentator #2: Now we start the second round. Which beckons the question, would you use modules or apps?

Commentator #1: What is the difference here, and who uses which?

Commentator #2: Basically both are the same. Modules are employed by Zend framework. Django uses apps. Several different functionalities can be placed in different modules or apps. In the end both do very well to keep features as specific, and microscopic as possible.

Commentator #1: OK, I get it. That means, the developer does not need to develop outside of the module or app. This becomes useful especially when the project is being built by teams, where everyone is working on a small portion of a much bigger app.

(Bell rings)

Commentator #2: The bell has just rung here. This is a difficult round to judge. The judges are looking at each other as to how to score this round.

Commentator #1: The round looks like it could very well go to the Zend framework because of the specificity that goes defining each module. The Zend framework just edges it.

Score card: Zend framework wins

Round 3: Scaffolding

Commentator #1: Django did a superb job in the last round. In this round he is going to bring into play that scaffolding technique we have heard so much praise about.

Commentator #2: You have hit the nail on the head, at the same time Django is trying to hit ZF on the head too. Looks like Django is trying to do some serious damage with that technique we were just talking about.

Commentator #1: Yes indeed, including generating an entire app! Still lots of other frameworks can do this as well. With Django, the default scaffold comes complete with the basics, such as test and route files.

Commentator #2: ZF has Django on the ropes. He wants to prove he can only scaffold!

Commentator #1: If he wants to prove that, then he has some way to go in order to win this round. Lets be clear on this point to the audience at ringside as well as all those listening. Having a template file or folder structure, that you can clone from a repo to begin your base work from is not scaffolding.

Commentator #1: That is telling it like it is. We do not have to guess too much which way this round is going.

Score card: Django framework wins

Round 4: Certifications

Commentator #1: The Zend framework offers certifications to prove not only proficiency with its framework, but also of the PHP language. Sometimes people need more than just your word to know that you are good in something. Zend framework wants to legitimize his stronghold within the PHP community with certifications, just like he is doing in this round as he throws that left hook.

Commentator #2: That is a good block by Django.

Commentator #1: We have got to remember that in the past PHP has had a lot of bad reputation because of spaghetti code that was on a lot of sites. Subsequently a lot of people went searching for other languages. Now by trying to get PHP developers to certify themselves, is trying to improve the standard of coding across board. It is also convincing others to pick up the language again and develop apps with it. A good block by ZF.

Commentator #2:  It is obvious that each boxer has worked on their defense. That was absent from the first match up between these two.

Commentator #1: Still, I urge employers to not trust certifications alone. However that is a good place to start from. At least it gives someone, somewhere a much better sleep knowing he has the most qualified people on the job.

Score card: Zend framework wins

Round 5: IDEs

Commentator #2: Not just the framework alone, but the tool you use to help you build that application is important. What do you think Django is going to use against ZF here.

Commentator #1: Before seeing Django train for this re-match, I thought he might go for a sublime text, or Aptana studio. However the several others who have sparred with Django say he is using the PyCharm IDE. And from research I did, that is a very well recommended IDE from other Python frameworks such as Flask.

Commentator #2: Hmmm. Ok, I heard about this Pycharm IDE from JetBrains. I also heard from the grapevine, Jet Brains not only shared a tool for Pythonistas, but also gave a tool to the PHP community.

Commentator #1: No way! That dude traded to both parties. That is awesome. I see he is trying to balance the scales.

Commentator #2: Yes. He gave PHP Storm IDE to the Zend framework. That is just as strong as PyCharm. That technique looks like it would is cancelling out each boxer. See how they are holding onto to each other.

Commentator #1: Very true. However, the Zend framework has gone for an extra edge. And guess what? They have their own IDE. It is called the Zend Studio, it comes with a lot of good punches that Django is going to find hard to dodge.

Commentator #2: That being said it looks like Zend wins this on account of having the extra card to play.

Score card: Zend framework wins

Round 6: Numbers

Commentator #1: The bell goes for the last round. A large number of startups make a lot of these startups choose Python as their preferred language. The ease with which Python itself is understood is a big factor to push lots of people toward Django.

Commentator #2: That’s all well and good but Zend is also growing too. And ZF is trying to prove that point to Django. However when talking numbers. There are a lot, really of a lot more people looking into Django than ZF.

Score card: Django wins

Commentator #1: The crowd waits in anticipation of who the winner of this bout is. Both contenders, who really are both champions in my eyes stand with their respective teams waiting for the results.

Commentator #2: Once again this match was too close to call for our judges. They have ended this contest as a tie. The boxers go towards each other and give a big hug. They have mad respect for each other. That is good for the sport.

Commentator #1:  Good night from us here. This ends the second of our two match series.

Hopefully this post helped to educate contributors on both repos how we can keep moving forward. Still I advise coders using both frameworks to keeping trading and moving about their paces with Django and ZF. They are both really good boxers.

To all the boxing enthusiast and coders, take care, and go build something awesome!

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll Up