Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Django
Django

7.8K
5.6K
+ 1
2.8K
Hibernate
Hibernate

633
435
+ 1
16
Add tool

Django vs Hibernate: What are the differences?

Developers describe Django as "The Web framework for perfectionists with deadlines". Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. On the other hand, Hibernate is detailed as "Idiomatic persistence for Java and relational databases". Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.

Django and Hibernate are primarily classified as "Frameworks (Full Stack)" and "Object Relational Mapper (ORM)" tools respectively.

"Rapid development" is the top reason why over 491 developers like Django, while over 9 developers mention "Easy ORM" as the leading cause for choosing Hibernate.

Django is an open source tool with 42.3K GitHub stars and 18.2K GitHub forks. Here's a link to Django's open source repository on GitHub.

According to the StackShare community, Django has a broader approval, being mentioned in 979 company stacks & 882 developers stacks; compared to Hibernate, which is listed in 85 company stacks and 72 developer stacks.

- No public GitHub repository available -

What is Django?

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

What is Hibernate?

Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Django?
Why do developers choose Hibernate?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con

    Sign up to add, upvote and see more consMake informed product decisions

    What companies use Django?
    What companies use Hibernate?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Django?
    What tools integrate with Hibernate?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Django and Hibernate?
    Flask
    Flask is intended for getting started very quickly and was developed with best intentions in mind.
    Node.js
    Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
    Rails
    Rails is a web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
    Laravel
    It is a web application framework with expressive, elegant syntax. It attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
    PHP
    Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
    See all alternatives
    Decisions about Django and Hibernate
    HAProxy
    HAProxy
    Varnish
    Varnish
    Tornado
    Tornado
    Django
    Django
    Redis
    Redis
    RabbitMQ
    RabbitMQ
    nginx
    nginx
    Memcached
    Memcached
    MySQL
    MySQL
    Python
    Python
    Node.js
    Node.js

    Around the time of their Series A, Pinterestโ€™s stack included Python and Django, with Tornado and Node.js as web servers. Memcached / Membase and Redis handled caching, with RabbitMQ handling queueing. Nginx, HAproxy and Varnish managed static-delivery and load-balancing, with persistent data storage handled by MySQL.

    See more
    StackShare Editors
    StackShare Editors
    Django
    Django
    React
    React
    Python
    Python
    Node.js
    Node.js

    In late 2015, following the Series G, Pinterest began migrating their web experience to React, primarily because they โ€œfound React rendered faster than our previous template engine, had fewer obstacles to iterating on features and had a large developer community.โ€

    The legacy setup consistent of Django, Python and Jinja on the backend, with Nunjucks handling template rendering on the client side. They wanted to move to React for handling template rendering across the board, but if they โ€œswitched the client-side rendering engine from Nunjucks to React, [theyโ€™d] also have to switch [their] server-side rendering, so they could share the same template syntax.โ€

    They decided on an iterative approach that consolidated a single template rendering engine between client and server, since โ€œIf the server could interpret JavaScript, and use Nunjucks to render templates and share our client-side code, we could then move forward with an iterative migration to React.โ€ The team decided to stand up a Node process, behind Nginx, and interpret JavaScript server-side.

    Now, when a user agent makes a request, a latent module render requests that it needs data via an API call. Concurrently, a separate network call is made โ€œto a co-located Node process to render the template as far as it can go with the data that it has.โ€

    Node then responds with rendered templates, and along with a โ€œholesโ€ array to indicate what data was still needed to complete the render. Finally, the Python webapp makes an API call to fetch the remaining data, and each module is sent back to Node as completely independent module requests/in parallel/.

    With this framework in place, Pinterest developers are in the process of replacing Nunjucks code with React components throughout the codebase.

    See more
    Zarema Khalilova
    Zarema Khalilova
    Frontend Team Lead at Uploadcare ยท | 8 upvotes ยท 46.3K views
    atUploadcareUploadcare
    Netlify
    Netlify
    Gatsby
    Gatsby
    React
    React
    Node.js
    Node.js
    Django
    Django
    #StaticWebHosting
    #StaticSiteGenerators
    #Frontend

    Since 2011 our frontend was in Django monolith. However, in 2016 we decide to separate #Frontend from Django for independent development and created the custom isomorphic app based on Node.js and React. Now we realized that not need all abilities of the server, and it is sufficient to generate a static site. Gatsby is suitable for our purposes. We can generate HTML from markdown and React views very simply. So, we are updating our frontend to Gatsby now, and maybe we will use Netlify for deployment soon. This will speed up the delivery of new features to production.

    #StaticSiteGenerators #StaticWebHosting

    See more
    Tim Abbott
    Tim Abbott
    Founder at Zulip ยท | 7 upvotes ยท 28.1K views
    atZulipZulip
    Django REST framework
    Django REST framework
    Django
    Django

    Zulip has been powered by Django since the very early days of its development with Django 1.4, back in 2012. As a reasonably mature web application with significant scale, we're at the stage in many companies' development where one starts to rip out more and more of the web framework to optimize things or just make them work the way we want. (E.g. while I was at Dropbox in early 2016, we discovered we only had about 600 lines of code left from the original Pylons framework that actually ran).

    One of the things that has been really fantastic about Django is that we're still happily using it for the vast majority of code in the project, and every time Django comes out with a new release, I read the changelog and get excited about several improvements that actually make my life better. While Django has made some design decisions that I don't agree with (e.g. I'm not a fan of Django REST framework, and think it makes life more difficult), Django also makes it easy to do your own thing, which we've done to great effect (see the linked article for details on our has_request_variables framework).

    Overall I think we've gotten a ton of value out of Python and Django and would recommend it to anyone starting a new full-featured web application project today.

    See more
    Python
    Python
    Django
    Django
    JavaScript
    JavaScript
    Node.js
    Node.js

    Django or NodeJS? Hi, Iโ€™m thinking about which software I should use for my web-app. What about Node.js or Django for the back-end? I want to create an online preparation course for the final school exams in my country. At the beginning for maths. The course should contain tutorials and a lot of exercises of different types. E.g. multiple choice, user text/number input and drawing tasks. The exercises should change (different levels) with the learning progress. Wrong questions should asked again with different numbers. I also want a score system and statistics. So far, I have got only limited web development skills. (some HTML, CSS, Bootstrap and Wordpress). I donโ€™t know JavaScript or Python.

    Possible pros for Python / Django: - easy syntax, easier to learn for me as a beginner - fast development, earlier release - libraries for mathematical and scientific computation

    Possible pros for JavaScript / Node.js: - great performance, better choice for real time applications: user should get the answer for a question quickly

    Which software would you use in my case? Are my arguments for Python/NodeJS right? Which kind of database would you use?

    Thank you for your answer!

    Node.js JavaScript Django Python

    See more
    Benjamin Bernard-Bouissiรจres
    Benjamin Bernard-Bouissiรจres
    Web Developer at ipexia ยท | 11 upvotes ยท 42K views
    atipexiaipexia
    PythonAnywhere
    PythonAnywhere
    Symfony
    Symfony
    Python
    Python
    Django
    Django

    I really love Django because it is really fast to create a web application from scratch and it has a lot a facilities like the ORM or the Admin module ! The Python language is really easy to read and powerful, that's why I prefer Django over Symfony.

    I use Django at work to make tools for the technicians but I also use it for me to build my personal website which I host on PythonAnywhere.

    See more
    Michael Mota
    Michael Mota
    CEO & Founder at AlterEstate ยท | 4 upvotes ยท 929 views
    Next.js
    Next.js
    Graphene
    Graphene
    GraphQL
    GraphQL
    Django
    Django

    I've been using Django for quite a long time and in my opinion I would never switch from it. My company is currently using Django with REST framework and a part in GraphQL using Graphene. On the frontend we use Next.js and so far everything has been running quite good. I've found limitations but manage to solve it.

    As someone mentioned before, if you are comfortable with Django, don't switch. There's no need since with django you can basically achieve anything. Of course this will depend on the project you want to build, but the scalability and flexibility django can offer it's just out of this world. (Don't want to sound like a fan boy haha but it really is).

    See more
    Interest over time
    Reviews of Django and Hibernate
    No reviews found
    How developers use Django and Hibernate
    Avatar of MOKA Analytics
    MOKA Analytics uses DjangoDjango

    Django takes the hassle out of building an enterprise web application using Python.

    • admin app for administration
    • ORM for deploying against different database vendors
    • social auth package for authentication with enterprise IdP
    • guardian package for authorization
    Avatar of Yaakov Gesher
    Yaakov Gesher uses DjangoDjango

    Our backend was written in Django. We took advantage of the ready-to-go admin interface as a go-to solution for the client to be able to authorize his users, as well as other functionality, while most of the work was done through the Django Rest Framework.

    Avatar of Blair Gemmer
    Blair Gemmer uses DjangoDjango

    Hands down the best Python web framework I've used. Very easy to extend and add apps and go from 0 to full project quickly and painlessly. I built a fully authenticated project with a single endpoint in less than 30 minutes.

    Avatar of Kang Hyeon Ku
    Kang Hyeon Ku uses HibernateHibernate

    Mybatis ๋กœ ์ฟผ๋ฆฌ๋ฅผ ๋งŒ๋“ค๊ณ  ์กฐ๊ฑด๋ถ„ ๋ถ„๊ธฐ์‹ for ๋ฌธ์„ ์ฟผ๋ฆฌ์— ๋‹ฌ์•„ ๋”์ด์ƒ ์ฟผ๋ฆฌ๋ฅผ ์•Œ์•„ ๋ณผ ์ˆ˜ ์—†๊ฒŒ ๋˜์—ˆ์„๋•Œ ์ด๊ฒŒ ์˜๋งˆ๊ฐ€ ์žˆ๋‚˜ ์‹ถ์—ˆ๋‹ค. ๊ทธ ๋•Œ ํ•œ๋ฒˆ orm ์„ ์จ๋ณด๋ฉด ์–ด๋–จ๊นŒ ์‹ถ์–ด ์ตœ๊ทผ์— ๋ฐฐ์šฐ๊ธฐ ์‹œ์ž‘ํ•œ orm ์ด๋‹ค. ์ •๋ง ํŽธํ•˜๊ฒŒ ๊ฐœ๋ฐœ์„ ํ•  ์ˆ˜ ์žˆ๋Š”๋ฐ ์ผ์กฐํ•˜๊ณ  ์žˆ๋‹ค. ๋‹ค๋งŒ ๊ฒฐ๊ตญ์— ์ฟผ๋ฆฌ๋ฅผ ๋‚ ๋ ค ๋งตํ•‘์„ ํ•˜๋Š”๋ฐ, ์ฟผ๋ฆฌ๋ฅผ ์ž˜ ๋ชจ๋ฅด๊ฑฐ๋‚˜ ๊ทธ์— ๋Œ€ํ•œ ์ง€์‹ ์—†์ด ์“ฐ๋‹ค๊ฐ€๋Š” ๋งํ•˜๊ฒ ๊ตฌ๋‚˜ ํ•˜๋Š” ์ƒ๊ฐ์ด ๋งŽ์ด ๋“ค์—ˆ๋‹ค.

    Avatar of Analytical Informatics
    Analytical Informatics uses HibernateHibernate

    We use a Clojure-powered wrapper around Hibernate to provide an ORM access to our data store for applications, as well as offering SSO integration and HIPAA logging functionality.

    Avatar of Kang Hyeon Ku
    Kang Hyeon Ku uses DjangoDjango

    ์ •๋ง ํŽธ๋ฆฌํ•˜๊ณ  ๋งŽ์€๊ฒƒ์„ ์•Œ์•„์„œ ์ œ๊ณตํ•ด ์ฃผ๋Š” ํ”„๋ ˆ์ž„์›Œํฌ ์ด๋‹ค. ์ฑ…์˜ ์˜ˆ์ œ๋งŒ ์ง„ํ–‰ํ•ด์„œ ๋งŽ์ด ์จ๋ณด์ง€๋Š” ๋ชปํ–ˆ์ง€๋งŒ, ์‰ฝ๊ฒŒ ์‰ฝ๊ฒŒ ์›น์„ ๊ฐœ๋ฐœ ํ•  ์ˆ˜ ์žˆ๋Š” ์ ์ด ๋งค๋ ฅ์  ์ด๋‹ค. ๊ฒŒ๋‹ค๊ฐ€ orm ์ด ๊ธฐ๋ณธ์œผ๋กœ ๋‚ด์žฅ ๋˜์–ด ์žˆ๊ณ  db ๋„ sqlite ๊ฐ€ ๊ธฐ๋ณธ์œผ๋กœ ๋˜์–ด์žˆ์–ด. ๊ทธ๋ƒฅ django ๋งŒ ์„ค์น˜ํ•˜๋ฉด ๋ฐ”๋กœ ์›น๊ฐœ๋ฐœ์ด ๊ฐ€๋Šฅํ•˜๋‹ค.

    Avatar of Seungkwon Park
    Seungkwon Park uses DjangoDjango

    django๋Š” ์ €์˜ ๋ฌด๊ธฐ์ž…๋‹ˆ๋‹ค.

    django ์ด์™ธ์— flask๋กœ ๊ฐ„๋‹จํ•œ restful api๋ฅผ ๋งŒ๋“ค๋ฉด์„œ ๋Š๋‚€์ ์€ framework ๋ณด๋‹ค ์–ธ์–ด๊ฐ€ ์ค‘์š”ํ•˜๋‹ค๋Š”๊ฒƒ์„ ์•Œ์•˜๊ณ  django๊ฐ€ ์–ผ๋งˆ๋‚˜ ํฐ framework์ธ์ง€ ์•Œ๊ฒŒ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

    ์ €๋Š” signal ์‚ฌ์šฉ์„ ์ข‹์•„ํ•ฉ๋‹ˆ๋‹ค.

    Avatar of Tongliang Liu
    Tongliang Liu uses HibernateHibernate

    Can't escape from when you're on the Java stack and deal with relational db.

    Avatar of Satoru Ishikawa
    Satoru Ishikawa uses HibernateHibernate

    Strut ใ‚„ Spring ใชใฉ Java web app flame work ใงใฎ Object Relation Mapperใจใ—ใฆ

    Avatar of icarus-dave
    icarus-dave uses HibernateHibernate

    Persistence layer for backend data; maps entities to the database.

    How much does Django cost?
    How much does Hibernate cost?
    Pricing unavailable
    Pricing unavailable