Single-page application or multi-page application?

I am working on a web application project. There will be many users in this web application, and each user will be able to upload images to the website. Then I will write an Android application to access these images. This is a description of my project.

Should I use a one-page application like backbone.js, or do I need to use a multi-page approach to applications like Django? For the database, I was thinking about this with Mondomb. Any advice on this is greatly appreciated!

Thanks,

+4
source share
1 answer

SPA (single page application) has nothing to do with Django or Backbone. You can write SPA by using Django. BUT you can also use Backbone with Django. Read more about this in the following posts:

To answer your question , I would say use Backbone + Django and go to the single page app. Where the network moves. Using Backbone, as well as Django, you get the benefits that Django provides on the server side, getting excellent organization on the client side and plumbing for SPA with Backbone.

There are ways you can write your django templates so that they can be reused on the client side. Take a look at this project on my GitHub for help on this, which I will write a post about:

https://github.com/sidazad/django-backbone-stack-1

+9
source

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


All Articles