Web Development with Django and MongoDB

Atul Jain (~atul)


17

Votes

Description:

Now a days many people are using MEAN (MongoDB, Express, Angular, Node ) for web development because MongoDB is Schema less Database . The idea is to develop Schema less application using Django with MongoDB as a database

Schema Less or Non-Relational Schema Design

If you come from a relational background a non-relational database may seem counter-intuitive or completely odd since most non-relational databases are document and multi-key oriented and provide a different method of querying and excluding data.

Perhaps a good way to get used to non-relational style data modeling is to ask yourself “What would I never do in SQL”.

Because most relational databases lack proper list data structures you may typically model the Posts ⇔ Tags ⇔ Comments relationship using three models/tables, one table per entity type.

Organizing your data using multiple relationships is the exact opposite of what we will do for our non-relational data model: Have one single collection (table) for everything and store tags and comments in simple lists.

Why we use MOngoDB

  1. No joins

change the way you browse data (note: foreign keys is not the problem)

  1. Transactions

    change what your views do; to do less

  2. Polymorphism

    inheritance of structure (awesome!)

  3. Hashed IDs e.g. 4bebe6e26b2ded78ec00000a (note: foreign keys is not the problem)

MongoDB is schemaless and easy to use so for user no need to use SQL query

Prerequisites:

Python programming ,Basics of django framework, Django Rest Framework

Content URLs:

Basic Public app develop by me

https://github.com/atuljain/django-mongodb-sample-login

Speaker Info:

Atul Jain:

Developer who is a proactive, intuitive and intent to deliver product of the highest quality.

• Developer skill on Python, Open Source ERP • Good Experience in No-Sql databases like MongoDB. • Expert in python technology with framework like Django. Also worked with Nodejs • Good Experience in designing database for both relational and non-relational databases.

Section: Web Development
Type: Workshops
Target Audience: Intermediate
Last Updated:

Just a thought, 20 mins may be too little to deep dive into the details of this. Do you think this would better as a workshop?

Amit Singh Sethi (~dusual)

Yes, i can also conduct workshop but i thought it would be better to just go through introduction of Django-nonrel as many people are not aware. if people seems interested on this topic i can conduct workshop but i get only 12 votes so let see

Atul Jain (~atul)

Talk selection is not dependent on just the number of talks, but a lot more so please do not worry about that.

Can we have some links to your slides or a general structure, some thing that can be used to be put on the projector so audience can follow along.

Please upload the slides/structure so they can be reviewed before 12th feb.

Have you given any talks(including this one) before? Any experience of public speaking? It's not a requirement for doing the talk but would definitely help us gauge the experience level. We suggest going through the presentation least once in front of a small audience to get some experience if you have not already.

Akshay Arora (~akshayaurora)

Login to add a new comment.