SlideShare a Scribd company logo
1 of 28
1
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
© 2017 CERT
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited
distribution. Please see Copyright notice for non-US Government use and distribution.
Django & Twitter bootstrap in
the workplace: build 'em fast
and furious
Eliezer Kanal
2
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Copyright 2017 Carnegie Mellon University. All Rights Reserved.
This material is based upon work funded and supported by the Department of Defense under Contract No. FA8702-15-D-0002 with Carnegie
Mellon University for the operation of the Software Engineering Institute, a federally funded research and development center.
NO WARRANTY. THIS CARNEGIE MELLON UNIVERSITY AND SOFTWARE ENGINEERING INSTITUTE MATERIAL IS FURNISHED ON
AN "AS-IS" BASIS. CARNEGIE MELLON UNIVERSITY MAKES NO WARRANTIES OF ANY KIND, EITHER EXPRESSED OR IMPLIED, AS
TO ANY MATTER INCLUDING, BUT NOT LIMITED TO, WARRANTY OF FITNESS FOR PURPOSE OR MERCHANTABILITY,
EXCLUSIVITY, OR RESULTS OBTAINED FROM USE OF THE MATERIAL. CARNEGIE MELLON UNIVERSITY DOES NOT MAKE ANY
WARRANTY OF ANY KIND WITH RESPECT TO FREEDOM FROM PATENT, TRADEMARK, OR COPYRIGHT INFRINGEMENT.
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice
for non-US Government use and distribution.
Internal use:* Permission to reproduce this material and to prepare derivative works from this material for internal use is granted, provided the
copyright and “No Warranty” statements are included with all reproductions and derivative works.
External use:* This material may be reproduced in its entirety, without modification, and freely distributed in written or electronic form without
requesting formal permission. Permission is required for any other external and/or commercial use. Requests for permission should be
directed to the Software Engineering Institute at permission@sei.cmu.edu.
* These restrictions do not apply to U.S. government entities.
Carnegie Mellon® and CERT® are registered in the U.S. Patent and Trademark Office by Carnegie Mellon University.
DM17-0178
3
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Outline
• Framework Selection
• Set up for success
• Django
• Django extras
• Bootstrap
4
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
• Too many decisions
• Too many options
• Too many variables
5
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Don’t…
x Roll your own
x Choose “no framework”
 Technical debt
 Framework/base development vs.
Actual development
 Security bugs!!!
 You are on a team
 Each project is unique
x Just choose your
personal favorite
6
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Web Framework Benefits
Backend Framework will make you:
• Faster
• Capable
• Secure
Frontend Framework (layout) will make you:
• Look Professional
Frontend Framework (interactivity) will make you:
• Interactive
7
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Framework Selection
Critical:
• What will the organization support?
• What does your team already know?
• What best suits your needs?
- Size of community, support
Less critical:
• Ability to scale?
• Framework speed?
8
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Set up for Success: Minimal training
• Django:
1. Do the tutorial
2. Google EVERYTHING
• Bootstrap:
1. Explain the grid
2. Scan through docs
Resize the window
while browsing!
Time investment: 1 day
9
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
10
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Django – projects, apps, URLs
settings.py:
INSTALLED_APPS = (
‘email’,
‘calendar,
‘todo’,
)
Terminal:
$ django-admin startproject mail_clone
$ django-admin startapp email
$ django-admin startapp calendar
$ django-admin startapp todo
urls.py:
urlpatterns = [
url(r'^email/', include(’email.urls')),
url(r'^calendar/', include(’calendar.urls')),
url(r'^todo/', include(’todo.urls')),
]
–Namespaced database
–Test webserver
–manage.py file
–Site settings file
–Skeleton folder/file
structure
11
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Django – Database, ORM
from django.db import models
class Email(models.Model):
to = models.CharField()
from = models.CharField()
date = models.DateField()
subject = models.CharField()
body = models.TextField()
models.py:
Terminal:
$ python manage.py makemigrations
$ python manage.py migrate
–Update database structure
–Create database changes file
12
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Django – Database, ORM
>> Email.objects.create(
to=“alice@example.com”,
from=“bob@example.com”,
date=”2017-04-01 13:00:00”,
subject=“Howdy!”,
body=“Created an email!”)
from django.db import models
class Program(models.Model):
name = models.CharField(max_length=500)
description = models.TextField()
date_added = models.DateField(auto_now_add=True)
models.py:
>> e = Email.objects.filter(to=“alice@example.com”)
>> e.subject = “Hello!”
>> e.save()
>> e.delete()
13
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
14
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Django – Other fun stuff
views.py
• Logic for each page
• Submitted form processing
forms.py
• Forms framework… cleans, error
checks, etc. for you
Templates
• HTML, with custom syntax
• very similar to most other
template languages
tests.py
• Built-in testing framework
15
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Django – Admin tools
16
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
17
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Django – DRF
Django Rest Framework (DRF)
• Sophisticated API design framework
• From their website:
Some reasons you might want to use REST framework:
• The Web browsable API is a huge usability win for your developers.
• Authentication policies including packages for OAuth1a and OAuth2.
• Serialization that supports both ORM and non-ORM data sources.
18
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
• UI Consistency
• Proven UI concepts
• Professional look
• Excellent community
support:
• Themes
• Extensions
Bootstrap – Why
19
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Bootstrap – Grid
• Think newspapers
• Columnar content
• Bootstrap deals with
padding, margin
• “Just Add Classes”
20
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
21
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Bootstrap – Everything else
22
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Bootstrap – Everything else
• Forms
• Buttons
• Wells
• Tables
• Images
• Typgraphy
• Navbars
• Breadcrumbs
• Alerts
• Thumbnails
• Progress bars
• Labels
• Badges
• Panels
• Lists
• Dropdowns
• List groups
• Glyphicons
• Tooltips
• Carousels
• Responsive menus
• Tabbed lists
• Modal boxes
• Popovers
• Transitions
• Plugins
• Themes
23
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
• Almost all through
<div>’s and classes
• Encourages valid
HTML
• Note: Poor bug
handling (just
markup, no
“debugger”)
Bootstrap – Implementation
24
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
25
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
26
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Django – Admin tools
• Built-in interface for oft-used
functionality
• Needs only model definition
• Highly customizable UI
• Limited functionality extensibility
27
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Takeaway
• Frameworks save time, effort
• Roll-your-own is bad
• Django (and other modern tools) have powerful features
• Bootstrap is a really cheap way to look super professional
28
SATURN 2017
Django & Twitter bootstrap in the workplace: build 'em fast and furious
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please
see Copyright notice for non-US Government use and distribution.
@eykanal
Contact Info
Eliezer Kanal
Technical Manager & Principle Researcher
Telephone: +1 412.268.5204
Email: ekanal@cert.org
blog.erikdev.com
@eykanal

More Related Content

Similar to Django & Twitter Bootstrap in the workplace: build 'em fast and furious

#ATAGTR2019 Presentation "Curtailing Automation Impediments: Refactoring Auto...
#ATAGTR2019 Presentation "Curtailing Automation Impediments: Refactoring Auto...#ATAGTR2019 Presentation "Curtailing Automation Impediments: Refactoring Auto...
#ATAGTR2019 Presentation "Curtailing Automation Impediments: Refactoring Auto...Agile Testing Alliance
 
The case for Web components - Drupal4Gov webinar
The case for Web components - Drupal4Gov webinarThe case for Web components - Drupal4Gov webinar
The case for Web components - Drupal4Gov webinarbtopro
 
Python Django tutorial | Getting Started With Django | Web Development With D...
Python Django tutorial | Getting Started With Django | Web Development With D...Python Django tutorial | Getting Started With Django | Web Development With D...
Python Django tutorial | Getting Started With Django | Web Development With D...Edureka!
 
Continuous Delivery - The Next 10 years
Continuous Delivery - The Next 10 yearsContinuous Delivery - The Next 10 years
Continuous Delivery - The Next 10 yearsDave Farley
 
Building a design system with (p)react
Building a design system with (p)reactBuilding a design system with (p)react
Building a design system with (p)reactBart Waardenburg
 
DevOps In Mobility World With Microsoft Technology
DevOps In Mobility World With Microsoft Technology DevOps In Mobility World With Microsoft Technology
DevOps In Mobility World With Microsoft Technology Agile Testing Alliance
 
How to Open Source an Internal Project
How to Open Source an Internal ProjectHow to Open Source an Internal Project
How to Open Source an Internal ProjectAll Things Open
 
Iterating For Success: A Case Study in Remote Paired Programming, The Evoluti...
Iterating For Success: A Case Study in Remote Paired Programming, The Evoluti...Iterating For Success: A Case Study in Remote Paired Programming, The Evoluti...
Iterating For Success: A Case Study in Remote Paired Programming, The Evoluti...VMware Tanzu
 
#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...
#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...
#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...Agile Testing Alliance
 
Learnings from Developing a New B2B SaaS Product (Suryaveer Lodha (Sunny) Pro...
Learnings from Developing a New B2B SaaS Product (Suryaveer Lodha (Sunny) Pro...Learnings from Developing a New B2B SaaS Product (Suryaveer Lodha (Sunny) Pro...
Learnings from Developing a New B2B SaaS Product (Suryaveer Lodha (Sunny) Pro...IT Arena
 
Data scientist enablement dse 400 - week 1
Data scientist enablement   dse 400 - week 1Data scientist enablement   dse 400 - week 1
Data scientist enablement dse 400 - week 1Dr. Mohan K. Bavirisetty
 
Architecting DevOps Ready Application
Architecting DevOps Ready Application Architecting DevOps Ready Application
Architecting DevOps Ready Application Agile Testing Alliance
 
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...Agile Testing Alliance
 
SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Con...
SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Con...SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Con...
SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Con...Harry McLaren
 
Spring Tools 4 - Eclipse and Beyond
Spring Tools 4 - Eclipse and BeyondSpring Tools 4 - Eclipse and Beyond
Spring Tools 4 - Eclipse and BeyondVMware Tanzu
 
#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing
#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing
#ATAGTR2020 Presentation - Case study for holistic approach to IoT testingAgile Testing Alliance
 
Linuxkit and Moby - A Sneek Peek into The Future of Container Ecosystem
Linuxkit and Moby - A Sneek Peek into The Future of Container EcosystemLinuxkit and Moby - A Sneek Peek into The Future of Container Ecosystem
Linuxkit and Moby - A Sneek Peek into The Future of Container EcosystemAgile Testing Alliance
 

Similar to Django & Twitter Bootstrap in the workplace: build 'em fast and furious (20)

Salesforce: CI,CD & CT
Salesforce: CI,CD & CTSalesforce: CI,CD & CT
Salesforce: CI,CD & CT
 
#ATAGTR2019 Presentation "Curtailing Automation Impediments: Refactoring Auto...
#ATAGTR2019 Presentation "Curtailing Automation Impediments: Refactoring Auto...#ATAGTR2019 Presentation "Curtailing Automation Impediments: Refactoring Auto...
#ATAGTR2019 Presentation "Curtailing Automation Impediments: Refactoring Auto...
 
The case for Web components - Drupal4Gov webinar
The case for Web components - Drupal4Gov webinarThe case for Web components - Drupal4Gov webinar
The case for Web components - Drupal4Gov webinar
 
Python Django tutorial | Getting Started With Django | Web Development With D...
Python Django tutorial | Getting Started With Django | Web Development With D...Python Django tutorial | Getting Started With Django | Web Development With D...
Python Django tutorial | Getting Started With Django | Web Development With D...
 
Continuous Delivery - The Next 10 years
Continuous Delivery - The Next 10 yearsContinuous Delivery - The Next 10 years
Continuous Delivery - The Next 10 years
 
Building a design system with (p)react
Building a design system with (p)reactBuilding a design system with (p)react
Building a design system with (p)react
 
DevOps In Mobility World With Microsoft Technology
DevOps In Mobility World With Microsoft Technology DevOps In Mobility World With Microsoft Technology
DevOps In Mobility World With Microsoft Technology
 
How to Open Source an Internal Project
How to Open Source an Internal ProjectHow to Open Source an Internal Project
How to Open Source an Internal Project
 
Iterating For Success: A Case Study in Remote Paired Programming, The Evoluti...
Iterating For Success: A Case Study in Remote Paired Programming, The Evoluti...Iterating For Success: A Case Study in Remote Paired Programming, The Evoluti...
Iterating For Success: A Case Study in Remote Paired Programming, The Evoluti...
 
#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...
#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...
#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...
 
Learnings from Developing a New B2B SaaS Product (Suryaveer Lodha (Sunny) Pro...
Learnings from Developing a New B2B SaaS Product (Suryaveer Lodha (Sunny) Pro...Learnings from Developing a New B2B SaaS Product (Suryaveer Lodha (Sunny) Pro...
Learnings from Developing a New B2B SaaS Product (Suryaveer Lodha (Sunny) Pro...
 
Data scientist enablement dse 400 - week 1
Data scientist enablement   dse 400 - week 1Data scientist enablement   dse 400 - week 1
Data scientist enablement dse 400 - week 1
 
Windows Automation with Ansible
Windows Automation with Ansible Windows Automation with Ansible
Windows Automation with Ansible
 
Architecting DevOps Ready Application
Architecting DevOps Ready Application Architecting DevOps Ready Application
Architecting DevOps Ready Application
 
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
 
SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Con...
SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Con...SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Con...
SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Con...
 
Spring Tools 4 - Eclipse and Beyond
Spring Tools 4 - Eclipse and BeyondSpring Tools 4 - Eclipse and Beyond
Spring Tools 4 - Eclipse and Beyond
 
SamSegalResume
SamSegalResumeSamSegalResume
SamSegalResume
 
#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing
#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing
#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing
 
Linuxkit and Moby - A Sneek Peek into The Future of Container Ecosystem
Linuxkit and Moby - A Sneek Peek into The Future of Container EcosystemLinuxkit and Moby - A Sneek Peek into The Future of Container Ecosystem
Linuxkit and Moby - A Sneek Peek into The Future of Container Ecosystem
 

Recently uploaded

Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girladitipandeya
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024APNIC
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Servicesexy call girls service in goa
 
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663Call Girls Mumbai
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...singhpriety023
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...Neha Pandey
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Delhi Call girls
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...SofiyaSharma5
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.soniya singh
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebJames Anderson
 
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.CarlotaBedoya1
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersDamian Radcliffe
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445ruhi
 
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Onlineanilsa9823
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableSeo
 

Recently uploaded (20)

Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
 
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
 
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
 
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 

Django & Twitter Bootstrap in the workplace: build 'em fast and furious

  • 1. 1 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal © 2017 CERT [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. Django & Twitter bootstrap in the workplace: build 'em fast and furious Eliezer Kanal
  • 2. 2 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Copyright 2017 Carnegie Mellon University. All Rights Reserved. This material is based upon work funded and supported by the Department of Defense under Contract No. FA8702-15-D-0002 with Carnegie Mellon University for the operation of the Software Engineering Institute, a federally funded research and development center. NO WARRANTY. THIS CARNEGIE MELLON UNIVERSITY AND SOFTWARE ENGINEERING INSTITUTE MATERIAL IS FURNISHED ON AN "AS-IS" BASIS. CARNEGIE MELLON UNIVERSITY MAKES NO WARRANTIES OF ANY KIND, EITHER EXPRESSED OR IMPLIED, AS TO ANY MATTER INCLUDING, BUT NOT LIMITED TO, WARRANTY OF FITNESS FOR PURPOSE OR MERCHANTABILITY, EXCLUSIVITY, OR RESULTS OBTAINED FROM USE OF THE MATERIAL. CARNEGIE MELLON UNIVERSITY DOES NOT MAKE ANY WARRANTY OF ANY KIND WITH RESPECT TO FREEDOM FROM PATENT, TRADEMARK, OR COPYRIGHT INFRINGEMENT. [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. Internal use:* Permission to reproduce this material and to prepare derivative works from this material for internal use is granted, provided the copyright and “No Warranty” statements are included with all reproductions and derivative works. External use:* This material may be reproduced in its entirety, without modification, and freely distributed in written or electronic form without requesting formal permission. Permission is required for any other external and/or commercial use. Requests for permission should be directed to the Software Engineering Institute at permission@sei.cmu.edu. * These restrictions do not apply to U.S. government entities. Carnegie Mellon® and CERT® are registered in the U.S. Patent and Trademark Office by Carnegie Mellon University. DM17-0178
  • 3. 3 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Outline • Framework Selection • Set up for success • Django • Django extras • Bootstrap
  • 4. 4 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal • Too many decisions • Too many options • Too many variables
  • 5. 5 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Don’t… x Roll your own x Choose “no framework”  Technical debt  Framework/base development vs. Actual development  Security bugs!!!  You are on a team  Each project is unique x Just choose your personal favorite
  • 6. 6 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Web Framework Benefits Backend Framework will make you: • Faster • Capable • Secure Frontend Framework (layout) will make you: • Look Professional Frontend Framework (interactivity) will make you: • Interactive
  • 7. 7 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Framework Selection Critical: • What will the organization support? • What does your team already know? • What best suits your needs? - Size of community, support Less critical: • Ability to scale? • Framework speed?
  • 8. 8 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Set up for Success: Minimal training • Django: 1. Do the tutorial 2. Google EVERYTHING • Bootstrap: 1. Explain the grid 2. Scan through docs Resize the window while browsing! Time investment: 1 day
  • 9. 9 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal
  • 10. 10 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Django – projects, apps, URLs settings.py: INSTALLED_APPS = ( ‘email’, ‘calendar, ‘todo’, ) Terminal: $ django-admin startproject mail_clone $ django-admin startapp email $ django-admin startapp calendar $ django-admin startapp todo urls.py: urlpatterns = [ url(r'^email/', include(’email.urls')), url(r'^calendar/', include(’calendar.urls')), url(r'^todo/', include(’todo.urls')), ] –Namespaced database –Test webserver –manage.py file –Site settings file –Skeleton folder/file structure
  • 11. 11 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Django – Database, ORM from django.db import models class Email(models.Model): to = models.CharField() from = models.CharField() date = models.DateField() subject = models.CharField() body = models.TextField() models.py: Terminal: $ python manage.py makemigrations $ python manage.py migrate –Update database structure –Create database changes file
  • 12. 12 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Django – Database, ORM >> Email.objects.create( to=“alice@example.com”, from=“bob@example.com”, date=”2017-04-01 13:00:00”, subject=“Howdy!”, body=“Created an email!”) from django.db import models class Program(models.Model): name = models.CharField(max_length=500) description = models.TextField() date_added = models.DateField(auto_now_add=True) models.py: >> e = Email.objects.filter(to=“alice@example.com”) >> e.subject = “Hello!” >> e.save() >> e.delete()
  • 13. 13 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal
  • 14. 14 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Django – Other fun stuff views.py • Logic for each page • Submitted form processing forms.py • Forms framework… cleans, error checks, etc. for you Templates • HTML, with custom syntax • very similar to most other template languages tests.py • Built-in testing framework
  • 15. 15 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Django – Admin tools
  • 16. 16 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal
  • 17. 17 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Django – DRF Django Rest Framework (DRF) • Sophisticated API design framework • From their website: Some reasons you might want to use REST framework: • The Web browsable API is a huge usability win for your developers. • Authentication policies including packages for OAuth1a and OAuth2. • Serialization that supports both ORM and non-ORM data sources.
  • 18. 18 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal • UI Consistency • Proven UI concepts • Professional look • Excellent community support: • Themes • Extensions Bootstrap – Why
  • 19. 19 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Bootstrap – Grid • Think newspapers • Columnar content • Bootstrap deals with padding, margin • “Just Add Classes”
  • 20. 20 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal
  • 21. 21 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Bootstrap – Everything else
  • 22. 22 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Bootstrap – Everything else • Forms • Buttons • Wells • Tables • Images • Typgraphy • Navbars • Breadcrumbs • Alerts • Thumbnails • Progress bars • Labels • Badges • Panels • Lists • Dropdowns • List groups • Glyphicons • Tooltips • Carousels • Responsive menus • Tabbed lists • Modal boxes • Popovers • Transitions • Plugins • Themes
  • 23. 23 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal • Almost all through <div>’s and classes • Encourages valid HTML • Note: Poor bug handling (just markup, no “debugger”) Bootstrap – Implementation
  • 24. 24 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal
  • 25. 25 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal
  • 26. 26 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Django – Admin tools • Built-in interface for oft-used functionality • Needs only model definition • Highly customizable UI • Limited functionality extensibility
  • 27. 27 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Takeaway • Frameworks save time, effort • Roll-your-own is bad • Django (and other modern tools) have powerful features • Bootstrap is a really cheap way to look super professional
  • 28. 28 SATURN 2017 Django & Twitter bootstrap in the workplace: build 'em fast and furious [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. @eykanal Contact Info Eliezer Kanal Technical Manager & Principle Researcher Telephone: +1 412.268.5204 Email: ekanal@cert.org blog.erikdev.com @eykanal

Editor's Notes

  1. Front-end framework back-end framework Database Server Cacheing layer Messaging system Deployment tools Packaging At least version control is still just Git… j/k, unless you’re enterprise, in which case Harvest or MS or whatever
  2. No worry about:
  3. Highmark: Support whatever we want… yay! Team already knew python, I already knew django. Front-end: I already knew bootstrap, they didn’t Base needs for us: SAS integration, single sign on. Front-end: anything pretty Fights: why bother with bootstrap?
  4. Give examples: Tubepress – php, more complex to manage Highmark – reporting, boom. New apps, boom. Tie together/share data, boom