Django or Zop?

I want to create a website, and I am confused about which web infrastructure to use. Please recommend me which structure is better: Django or Zope. I am using Python.

+4
source share
7 answers

I have no idea which site you are trying to create, so it is difficult to recommend a specific infrastructure. I would recommend going through some lessons to find out which one you like best (there are also pylons and TurboGears there).

Today, Django seems to be the most popular starting complex.

+9
source

If you mean simple Zope2 from zope, then I will go to Django. The most interesting things in the Zope world happen with Plone or Grok (which is Zope3, which is actually very different from Zope2).

Grok works great with relational databases, Plone doesn't actually work, so if you are dependent on a DBMS, either go with Grok or Django.

Zope and Plone have a pretty steep learning curve, so you'll get started with Django faster.

The biggest drawback of Django is, in my opinion, that it tries to do everything by itself (templating, publishing objects, ORM, etc.), while there are many great existing components. If you want to use your code / knowledge outside the web structure you use, consider Pylons or BFG

Many options, no clear answer, sorry :)

+10
source

If your website is very hierarchical and requires subtle permissions, I would use Zope. (Do not use Zope if you intend to store data almost exclusively in an SQL database.)

If you have large datasets that can be placed in (sql) tables and you need many forms, I would use Django. (Do not use Django if you need very subtle access controls and hierarchical data)

You see: both have their own weaknesses and strengths (although I am only developing in Django these days. The Zope community seems to be arguing a bit about how it should develop)

+4
source

Here is a good comparison of Django and Zope (and Rails)

http://cd-docdb.fnal.gov/cgi-bin/RetrieveFile?docid=2715;filename=Comparison.html;version=3

They preferred Django. I personally use Django, so I don't know much about Zope.

Another good thing about Django is that they have very good documentation (although I don't know what Zope has). Many people praised this very much.

I also found Django quite easy to use, and they also have a ready-made admin panel that allows you to quickly manage your website from the first steps. More important to me, however, is its subtle integration with python and simple organization (in the link above they complained that Zope uses a lot of its functions, and Django is closer to pure Python).

+2
source

If you are starting from scratch, I suggest you go for Django. You will get many features and suppost from django. Easy to debug and best suited for rapid development. On the other hand, you should choose only Zope if you have experienced developers who are familiar with Zope or have existing projects based on Zope, and the cost of switching is too high for a potential gain.

The zope website says: "It is no longer recommended to start new projects with it if you are not familiar with the technology stack.

+1
source

Zop is dead. Like TurboGears, Pylons, BFG, Repoze, CherryPy, etc.

Active and popular Python web frames include:
* django
flask
* bottle

Large, medium and small. Make your choice.

+1
source

As a python developer and zope user. I recommend using zope because last year I used a zope server. I ran into many development problems, but zope never let me down, but I can connect all db and create high-level applications

0
source

Source: https://habr.com/ru/post/1309112/


All Articles