Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a "django backend"?

Tags:

I've been encountering quite a few django Apps mentioning 'backend', but don't exactly know what it is. Searching around google does not give much results regarding django backends in general. Could someone give an explanation?

To be specific, take these examples:

Actually I think the first two and the third are a bit different, what I was more unsure about was the first two: backends included in Apps.

like image 921
Xun Yang Avatar asked Nov 15 '11 09:11

Xun Yang


People also ask

What is the backend of Django?

Among the major benefits of using Django for back-end web development is its Representational State Transfer (REST) framework, which is a popular toolkit for building APIs. The power of Django's REST framework can be assessed from the fact that it takes just three lines of code to build a ready-to-use API.

Is Django backend or frontend?

Django is easy to learn and very easy to handle, if you know python then learn Django and if you don't know python then learn python first and then Django, but learn Django anyhow because it is one of the most popular and best backend frameworks.

Why does Django use backend?

Django is a free and open source framework that is compatible with major operating systems and databases. It has a great number of advantages which made it one of the most popular technologies used for software development. It is considered exceptionally user-friendly, secure, clean, and efficient.

What is Django is used for?

What is Django? Django is a high-level Python web framework that enables rapid development of secure and maintainable websites. Built by experienced developers, Django takes care of much of the hassle of web development, so you can focus on writing your app without needing to reinvent the wheel.


1 Answers

django comes with one or more implementations of authentication, caching, etc but the framework anticipates the need for adding your own custom "backend" implementation. They generally provide a simple well-documented interface as well as a setting variable so it is easy to plug in your own custom module.

This term/pattern is also used by common django apps such as django-registration.

If you are into design patterns this blog provides some analysis: http://charlesleifer.com/blog/django-patterns-pluggable-backends/

like image 193
David Wheaton Avatar answered Sep 19 '22 11:09

David Wheaton