Your SlideShare is downloading. ×
0
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Django part 1
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Django part 1

290

Published on

Django is a powerful framework for python

Django is a powerful framework for python

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

  • Be the first to like this

No Downloads
Views
Total Views
290
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Django Presentation by: Sachin Kumbhojkar Msc(CA) , Freelancer
  • 2. What is DJANGO ? Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design Oh man I feel like
  • 3. Now ! Lets talk like humans •Django is a framework for python •Enables fast software development •Follows Model View Control pattern
  • 4. Basic Info •Python Framework •License Type: BSD •Follows MVC architecture •Maintained by Django software foundation •Websites that uses django •Instagram •Mozilla •Pinterest
  • 5. Key Features
  • 6. Mocked up your head ? Don’t worry , here is the Explaination
  • 7. 1. Object Relational Mapper In Simple terms Absolutely no ‘Locha’ to retrieve data Hmm… then how will we manage database ?
  • 8. You can write and access your database and its queries ENTIRELY IN PYTHON Wanna see How ?
  • 9. Example Creating a table named person having columns first_name and last_name having length 30
  • 10. Mysql create table person (first_name text(30),last_name text(30));
  • 11. Django class Person(models.Model): first_name = models.CharField(max_length=30) last_name = models.CharField(max_length=30) But dude you can still write sql queries if needed
  • 12. 2. Automatic Admin Interface Does this sounds interesting ?
  • 13. Django Provides you with Admin interface No need to create it explicitly
  • 14. Django admin interface The django admin interface gets created at the time of creation of a new project You just need to enable it with few steps
  • 15. 3. Elegant Url design You can define your own urls and the actions too Like the url is 127.0.0.1/myapp/yodudeareyouthere you can define what should happen after anyone entering this url
  • 16. 4. Template System Django has its own templating languages Which supports Dynamic Templates And provide you with data also In short template is the User Interface for application What is the use ? to separate design, content and Python code.
  • 17. 5. Cache System Now first of all lets learn how to pronounce it http://www.youtube.com/watch?v=_rCcV6M iQZ0 Cache is pronounced as CASH
  • 18. Now what is that The cache system actually lets you cache/save the dynamic pages Use ? You don’t need to handle each request for them
  • 19. 6. Internationalization Django has full support for Multi-language application (speaking languages not programming languages ), letting you specify translation strings and providing hooks for language-specific functionality.
  • 20. Remember Django is just a framework for python which is written in python itself Everything you do in Django , at the end of the day its python So the basic python rules apply here also , such as code indentation , classes etc
  • 21. Do send Comments / Questions / Ideas To sachin755@gmail.com

×