Presentasi jlp

16
Intro Django Intro Django I will introduce you to Django and make you fall in love with it.

Transcript of Presentasi jlp

Intro DjangoIntro Django

I will introduce you to Django and make you fall in love with it.

Hello, I am

● Ikhsan Noor Rosyidin● [email protected]● https://twitter.com/essanpupil● https://www.facebook.com/essanpupil● https://id.linkedin.com/in/essanpupil● https://github.com/essanpupil

My daily work is

● Dev– Modifying project's code

based-on client's request.

– Cleaning project's code.– Optimizing project's

performance.

– Upgrading project's package & library.

● Ops– Monitoring server

performance.– Monitoring connection

between servers.– Backup files &

databases.– Write alert scripts.

Django is

● Open source web framework built on top of Python programming language.

● You can compare it with:– Node.js– CodeIgniter– Ruby on Rails– Symfony– Zend– Angular JS

Anybody know this websites?

● instagram.com● www.pinterest.com● disqus.com● www.evenbrite.com● mozilla.org● science.nasa.gov● And many more . . .

Check the full list in https://www.djangosites.org/

What's good in Django?

● A lot of built-in feature– Admin page

– Data validation

– Class based view

– Authentication & authorization

– Bla bla bla

● Easy to customize all those built in● ORM models to database● Pretty url● Awesome template features

– Tag

– Filter

General web feature in Django

● Python-social-auth

– Login with social media account

● Django-dashing

– Data visualisation● Django-autocomplete-light

– Properly autocomplete form

● And so much more . .

Cek this site for a lot more list → https://gitlab.com/rosarior/awesome-django

Ready to use Django project

● Mezzanine– Cms like wordpress, but

built with django

● Drum– Mezzanine with social

media configuration

● Django-cms● Feincms● Wagtail

The awesome-django link in previous page also provide cool django project

Where do I start to learn Django?

● www.djangoproject.com– Django offficial website

● irc.freenode.net/#django– Django irc chatroom in

freenode

● python-id.slack.com– via: slack-python-

id.herokuapp.com

● tutorial.djangogirls.org– Django tutorial created by

female developer

Free hosting for Django

● Openshift● Heroku● Pythonanywhere● And some others

Side quest . . .

● Default admin page

Side quest . . .

Side quest . . .

Quest flashback

1. ./manage.py startapp quest

2.Vi quest/models.py

3.Vi ~/settings.py

4.Vi quest/admin.py

In case you are wondering

● This is basically how django works.

That's all folks, Peace, Love & Develop

Is that all?

● Of course not, this is only a teaser.

● Tell me what is your problem in web development & let's find the solution with django.