Awanish Ranjan

  • DDaudalagidmembuat kutipantahun lalu
    In a nutshell, a web application needs authentication and authorization, homepage, database connectivity, HTML pages for frontend, CSS for styling, a URL mapper, and a controller to choose what action is to be performed based on the request, etc.
  • DDaudalagidmembuat kutipantahun lalu
    You will be glad to know that some of the most famous websites use Django. Examples: Disqus, Instagram, Knight Foundation, MacArthur Foundation, Mozilla, National Geographic, Open Knowledge Foundation, Pinterest, Open Stack, etc.
  • DDaudalagidmembuat kutipantahun lalu
    Now, run the django-admin startproject mysite command. This will create a project name mysite in your Project_root directory
  • DDaudalagidmembuat kutipantahun lalu
    The manage.py is the Python file responsible for running scripts involving Django-admin and your Django project.
  • DDaudalagidmembuat kutipantahun lalu
    Models-Views-Templates (MVT) is the architecture followed by Django.
  • DDaudalagidmembuat kutipantahun lalu
    The other common framework follows a slightly different architecture called Models-Views-Controller (MVC).
  • DDaudalagidmembuat kutipantahun lalu
    Any project in the computing world has several components like a database, a presentation layer, a client (user) end, a server end, networks to connect these components, etc.
  • DDaudalagidmembuat kutipantahun lalu
    Thus, we need a proper setup or design which shows how to connect or arrange these components such that they work at their best. Such a setup is called architecture.
  • DDaudalagidmembuat kutipantahun lalu
    A database will contain all the data, a backend, a frontend, a server to host all this, and a network to connect these components.
  • DDaudalagidmembuat kutipantahun lalu
    So, we need an architecture that can connect our database to our backend so that our code can read/write data from the database, a connection between backend and frontend so that data can be rendered (shown) on the frontend, and networks so that the flow of these communications keeps happening.
fb2epub
Seret dan letakkan file Anda (maksimal 5 sekaligus)