Django

525 views
407 views

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
525
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Django

  1. 1. Why to use it?
  2. 2. What is django? Django is a free, open source web application framework, written in Python, which follows the model–view–controller architectural pattern.
  3. 3. The Django ORM The ORM is an incredibly powerful database tool.
  4. 4. Django as a framework An MVC type framework (called MVT in django) M = Model, the database interface V = View, getting stuff in and out of the database T = The display logic
  5. 5. Admin One of the most powerful parts of Django is the automatic admin interface
  6. 6. Models ● Generally, each model maps to a single database table. ● Each attribute of the model represents a database field
  7. 7. Views A view is a Python function that takes a Web request and returns a Web response.
  8. 8. Templates Templates are user interface of application, encouraging a clean separation of application and presentation logic. Templates can be maintained by anyone with an understanding of HTML; no knowledge of Python is required.
  9. 9. Why should we use django? Unique in being built on standard language and able to take advantages of libraries developed for other purposes, imaging, graphics, imaging and scientific calculations and many more.
  10. 10. Why Django? ● Django keeps your website up and avoids unnecessary crashes. ● Admin interfaces are easy. ● Django builds large websites quickly. ● It is fast as compared to other frameworks. ● Emphasizes reusability.
  11. 11. Other features of django ● Clean URLs ● Object- Relational Mapping ● Loosely coupled components ● Designer-friendly templates ● Cache framework ● MVC architecture ● Jython support ● DRY ( Don't Repeat Yourself)

×