17
Django girl’s First Steps, walk with me! An introduction to “Technical things” - by Dhruv @yourfrienddhruv

Django girls ahmedabad First Things First!

Embed Size (px)

Citation preview

Page 1: Django girls ahmedabad First Things First!

Django girl’sFirst Steps, walk with me!

An introduction to “Technical things” - by Dhruv @yourfrienddhruv

Page 2: Django girls ahmedabad First Things First!

Things are scary...Until you know them..

Until you touch them..

Until you see them..

Until you CREATE them.

Page 3: Django girls ahmedabad First Things First!

1. Why so serious?Yes, “Making things” is a long process but not a hard process! We are going to do “simple” things but a lot of it.

➔ Machines are DumbYes machines are still “dumber” than humans!

➔ Machines are EffectiveOnce told, they can do things anywhere, all the time and without asking for any leaves!

➔ Machines are SimpleTrust me.

Page 4: Django girls ahmedabad First Things First!

How many people do you need to sell “flower pots” to all the people in this city and then world?

Tip

Try to estimate “all” the people”, involved, somebody has to make them too!.

Where do you sell it? How do people know about your shop?.

Page 5: Django girls ahmedabad First Things First!

Just one! Yourself.(With a little help from a computer & internet )

Tip

Dumb Machine + Technology = Computer!

Your computer + Everybody else’s computer = Internet!

Page 6: Django girls ahmedabad First Things First!

We are going to create a global place (“web-site”)

using Django and related technologies, which will allow the whole world to reach to your creations!

Tip

To set up a shop, in other country we need “a space” there, but to actually “sell” something we need to know their “Language” too.

Note this, we’ll come back to this soon!

Page 7: Django girls ahmedabad First Things First!

2. Global Shop(s)!We need to take care of 3 things by 3 parties

➔ What

◆ Brand Name (Unique!, email?)

◆ Shop’s design

◆ Things to sell

➔ Who

◆ Mall owner

◆ Shop’s Contractor/Builder

◆ You !

Page 8: Django girls ahmedabad First Things First!

Start talking to your computer!

Taking to computer in simplest way possible is through “console” or “command line”.

And yes it’ really like “talking” + “listening”.

Tip

We have to talk to lot of computers, a lot! , so need to use bare minimal “interface” to “interact” with them.

Page 9: Django girls ahmedabad First Things First!

Just like we use “English” to talk to most of the people, for computers we choose “Python”.

Tip

As you know “English” alone might not be enough!

Don’t worry we will use some other languages too! They are easy.. I swear. :-)

Page 10: Django girls ahmedabad First Things First!

It’s fun Once you start talking.

Also powerful as you can now control “computers” by giving “commands” even from other end of the world!

Tip

Once you have access to “remote” device (e.g. phone, server) with the language you know, you are god!

Page 11: Django girls ahmedabad First Things First!

Using DjangoIs like being part of team.

Where console, python, database, web-interface and others players help you to build a complete website. Tip

We are going to do hands on to everything,

Don’t worry about these big words as of now!

Page 12: Django girls ahmedabad First Things First!

3. Database?!You can’t keep all items you produce in a shop, we need a warehouse or at-least a store room.

➔ ModelStandard way to store your items

➔ QueryA way to find items from your big

store-room!

➔ MigrationsA way to expand your store room!

Page 13: Django girls ahmedabad First Things First!

4. CodingIf you need to create a complete shope’s design yourself, you need to know:

➔ DatabaseWarehouse to store items.

➔ Back-endShope’s shelves.

➔ Front-endShope’s most attractive view, and first impression!

Page 14: Django girls ahmedabad First Things First!

Milestones

Online Offline

Global SetupGithub (Source),

PythonAnywhere (Hosting)

Local SetupGit, Django (Python), Code

Editor (Notepad)

WebsiteShows things to world,

created from central place.

Web ApplicationAlso allows to create things

from anywhere!

Page 15: Django girls ahmedabad First Things First!

What we will use today.

Version control

Git with github

Command line

To interact with computers

Programming language

Python, shell script, HTML, CSS

It’s just small list, of big things!

Page 16: Django girls ahmedabad First Things First!

Still some doubts? You are not the Only one,You are not the First one.

That’s why weare community.

Tip

If you ask questions, your doubts will be answered.

Your doubts will only be answered if you ask questions!

Page 17: Django girls ahmedabad First Things First!

Let’s rock!Just remember, It’s really easy but it’s not short! So, we have to stick together, and do it all!

Creating something together is the best way to share & ultimate way to learn!