Reminders. Full Django products are due next Thursday! CS370, Günay (Emory) Spring / 6

Size: px
Start display at page:

Download "Reminders. Full Django products are due next Thursday! CS370, Günay (Emory) Spring / 6"

Transcription

1 Reminders Full Django products are due next Thursday! CS370, Günay (Emory) Spring / 6

2 Reminders Full Django products are due next Thursday! Let's start by quizzing you. CS370, Günay (Emory) Spring / 6

3 Exit quiz: Persistent Data and Databases in Web Development To maintain user sessions, what pieces of persistent information must be stored on the client and the server side? What is SQL injection attack and how do you protect against it in your webapp? Entry survey: Django Model-View-Controller (or Template) Architecture What's the point of Django's urls.py le? Where's the database in a Django app and how do yo manipulate it?

4 Web Programming in Django Introduction to its Model-View-Controller (or Template) Architecture CS370 SE Practice & Startup, Cengiz Günay (Some slides courtesy of Eugene Agichstein and the Internets) Snowpacolypse ATL 2014 CS370, Günay (Emory) Django MVC intro Spring / 6

5

6 high-level Python Web framework that encourages rapid development and clean, pragmatic design. Django was designed to handle two challenges: intensive deadlines stringent requirements of the experienced Web developers who wrote it. It lets you build high-performing, elegant Web applications quickly. Focuses on automating as much as possible 1/24/2013 CS 370, Spring

7 Approach: Model-View-Controller Model: maintain state of application. Typically done with a database View: output to client, usually as HTML code, rendered by a web browser. Controller: interaction with user. handles user input, processes data and communicates with Model to save state. Formalized in /29/2013 CS 370, Spring

8 MVC 1/29/2013 CS 370, Spring

9 1 Visitor's browser asks for a URL. 2 Django matches the request against its urls.py les. 3 If a match is found, Django moves on to the view that's associated with the URL. Views are generally found inside each app in the views.py le. 4 The view generally handles all the database manipulation. It grabs data and passes it on. 5 A template (specied in the view) then displays that data.

10 Site design in Django: review Goal: make common Web-development tasks fast Step 1: Design your model: model.py (M) Automatically create DB, APIs, admin interface Step 2: Design your views: views.py (V) Step 3: Design application logic: urls.py (C) Step 4: Design your templates: Step 5: Enjoy free bells & whistles (caching, syndication, ) 1/29/2013 CS 370, Spring

11 Who cares? Spotify uses Django for some of their web sites. Instagram uses Django for their web application [10] Yandex uses Django for their weather forecast site, OpenID provider, blog hosting service, internal Wiki and internal Mail Archives. Transifex an open source platform for localization. Bucketlist uses Django to let users store life goals. The Public Broadcasting Service The Berkeley Graduate School of Journalism Universal Subtitles uses Django for its free and open source collaborative subtitling site. FreeNAS uses Django for its web interface in its 8.0 major release. PBS's Merlin, a platform for managing member stations' video metadata Google internal stuff (details unknown).. 1/24/2013 CS 370, Spring

12 Example Django Project Tutorial: 1/29/2013 CS 370, Spring

13 Django Models A model is the single, definitive source of data about your data. Each model is a Python class that subclasses django.db.models.model. Each attribute of the model represents a database field. Django gives you an automatically-generated database-access API 1/29/2013 CS 370, Spring

14 Example: Person (first_name, last_name) Define Person: from django.db import models class Person(models.Model): first_name = models.charfield(max_length=30) last_name = models.charfield(max_length=30) What happens automatically CREATE TABLE myapp_person ( "id" serial NOT NULL PRIMARY KEY, "first_name" varchar(30) NOT NULL, "last_name" varchar(30) NOT NULL ); 1/29/2013 CS 370, Spring

15 Example: Person (first_name, last_name): 2 Each field should be an instance of the Field class The database column type (e.g. INTEGER, VARCHAR) The widget to use in Django's admin interface, if you care to use it (e.g. <input type="text">, <select>). The minimal validation requirements, used in Django's automatically-generated forms. Field reference: More details: 1/29/2013 CS 370, Spring

16 Django Models 1/29/2013 CS 370, Spring

17 Recap: Django project pieces django-admin.py startproject blog blog/ init.py: A file required for Python to treat the mysite directory as a package manage.py: A command-line utility that lets you interact with this project. Try: python manage.py help settings.py: Settings/configuration for this project. urls.py: The URLs for this project ( table of contents ) 1/29/2013 CS 370, Spring

18 Django Project vs. App 1/29/2013 CS 370, Spring

19 Django architecture encourages this 1/29/2013 CS 370, Spring

20 Example: 1/29/2013 CS 370, Spring

21 URL dispatcher A clean, elegant URL scheme is an important detail in a high-quality Web application. Django lets you design URLs however you want There s no.php or.cgi required Cool URIs don't change: 1/29/2013 CS 370, Spring

22 How Django processes a request 1. Determine the root URLconf module to use. Ordinarily, this is the value of the ROOT_URLCONF setting, can be changed. 2. Load URLconf and looks for variable urlpatterns. This should be a Python list, in the format returned by the function django.conf.urls.patterns(). 3. Iterate through each URL pattern, in order, and stop at the first one that matches the requested URL. (REGEX) 4. If one of the regexes matches, import and call the given view, which is a Python function. The view gets passed an HttpRequest as its first argument and any values captured in the regex as remaining arguments. 5. If no regex matches, or if an exception is raised during any point in this process, invoke an appropriate error-handling view. 1/29/2013 CS 370, Spring

23 Symbol Matches. (dot) Any single character \d Any single digit [A-Z] [a-z] [A-Za-z] 2-minute REGEX review Any character between A and Z (uppercase) Any character between a and z (lowercase) Any character between a and z (case-insensitive) + One or more of the previous expression (e.g., \d+ matches one or more digits) [^/]+ One or more characters until (and not including) a forward slash? Zero or one of the previous expression (e.g., \d? matches zero or one digits) Zero or more of the previous expression (e.g., \d* matches zero, one or more * than one digit) {1,3} Between one and three (inclusive) of the previous expression (e.g., \d{1,3} matches one, two or three digits) 1/29/2013 CS 370, Spring

24 Python Regexes, cont d To capture a value from the URL, just put parenthesis around it. There's no need to add a leading slash, because every URL has that. For example, it's ^wiki, not ^/wiki. The 'r' is optional but recommended. Named regular-expressions: (?P<name>pattern) (?P<page_name>[^/]+)/$', 1/29/2013 CS 370, Spring

25 Example URLconf from django.conf.urls.defaults import * # urlpatterns = patterns('', ) (r'^wiki/(?p<page_name>[^/]+)/$', 'blog.wiki.views.view_page'), (r'^wiki/(?p<page_name>[^/]+)/edit/$', 'blog.wiki.views.edit_page'), (r'^wiki/(?p<page_name>[^/]+)/save/$', 'blog.wiki.views.save_page'), 1/29/2013 CS 370, Spring

26 Passing Parameters to Views

27 Good Design: Including other URLConfs Your urlpatterns can "include" other URLconf modules. Allows modular sites (good design) urlpatterns = patterns('', (r'^wiki/', include('blog.wiki.urls')) ) Note But: (wiki/urls.py): (r'^(?p<page_name>[^/]+)/$', 'blog.wiki.views.view_page') More details: 1/29/2013 CS 370, Spring

28 Design Pattern: Include URLs There should be one urls.py at the project level, and one urls.py at each app level. The project level urls.py should include each of the urls.py under a prefix.: 1/29/2013 CS 370, Spring

29 Django book: Onwards and upwords Common mistakes/gotchas: To be continued 1/29/2013 CS 370, Spring

Django: Views, Templates, and Sessions

Django: Views, Templates, and Sessions Django: Views, Templates, and Sessions CS 370 SE Practicum, Cengiz Günay (Some slides courtesy of Eugene Agichtein and the Internets) CS 370, Günay (Emory) Django Views/Templates Spring 2014 1 / 7 Agenda

More information

Reminders. Github & HTTP steps, together with the minimally viable Django product are due this coming Tuesday! CS370, Günay (Emory) Spring / 8

Reminders. Github & HTTP steps, together with the minimally viable Django product are due this coming Tuesday! CS370, Günay (Emory) Spring / 8 Reminders Github & HTTP steps, together with the minimally viable Django product are due this coming Tuesday! CS370, Günay (Emory) Spring 2015 1 / 8 Reminders Github & HTTP steps, together with the minimally

More information

Technology modeling. Ralf Lämmel Software Languages Team University of Koblenz-Landau

Technology modeling. Ralf Lämmel Software Languages Team University of Koblenz-Landau Technology modeling Ralf Lämmel Software Languages Team University of Koblenz-Landau Technologies are at the heart of software development. Let s model them for understanding. 1 Different kinds of software

More information

MIT AITI Python Software Development Lab DJ1:

MIT AITI Python Software Development Lab DJ1: MIT AITI Python Software Development Lab DJ1: This lab will help you get Django installed and write your first application. 1 Each person in your group must complete this lab and have it checked off. Make

More information

Webdev: Building Django Apps. Ryan Fox Andrew Glassman MKE Python

Webdev: Building Django Apps. Ryan Fox Andrew Glassman MKE Python Webdev: Building Django Apps Ryan Fox Andrew Glassman MKE Python What Django is Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced

More information

Tomasz Szumlak WFiIS AGH 23/10/2017, Kraków

Tomasz Szumlak WFiIS AGH 23/10/2017, Kraków Python in the Enterprise Django Intro Tomasz Szumlak WFiIS AGH 23/10/2017, Kraków Going beyond Django is a Web framework very popular! It is not the only one, and cannot do wonders There are many others:

More information

CE419 Web Programming. Session 15: Django Web Framework

CE419 Web Programming. Session 15: Django Web Framework CE419 Web Programming Session 15: Django Web Framework Web Applications & Databases In modern Web applications, the arbitrary logic often involves interacting with a database. Behind the scenes, a database-driven

More information

Django urls Django Girls Tutorial

Django urls Django Girls Tutorial Django urls Django Girls Tutorial about:reader?url=https://tutorial.djangogirls.org/en/django_urls/ 1 di 6 13/11/2017, 20:01 tutorial.djangogirls.org Django urls Django Girls Tutorial DjangoGirls 6-8 minuti

More information

정재성

정재성 건전지로달리는 쟝고세미나 정재성 Django Web Framework CGI #!/usr/bin/env python import MySQLdb print "Content-Type: text/html\n" print "books" print "" print "books" print

More information

generates scaffolding/framework for models, views

generates scaffolding/framework for models, views Django by Adrian Holovaty and Jacob Kaplan-Moss (released July 2005) a collection of Python scripts to create a new project / site generates Python scripts for settings, etc. configuration info stored

More information

Django Data Model Revisited and Testing Introduction

Django Data Model Revisited and Testing Introduction Django Data Model Revisited and Testing Introduction CS 370 SE Practicum, Cengiz Günay (Some slides courtesy of Eugene Agichtein and the Internets) CS 370, Günay (Emory) Django Data and Testing Intro Spring

More information

Ninja Typers Web Application Design Document By Marvin Farrell C

Ninja Typers Web Application Design Document By Marvin Farrell C Ninja Typers Web Application Design Document By Marvin Farrell C00141725 Table of Contents 1. Introduction... 2 2. Django Files... 2 2.2. Project Files... 2 2.3. Application Files... 3 3. Use Cases...

More information

Accelerating Information Technology Innovation

Accelerating Information Technology Innovation Accelerating Information Technology Innovation http://aiti.mit.edu Ghana Summer 2012 Lecture DJ04 Django Views Simple Diagram HTTP Request Browser urls.py HTTP Request Model/Database Data Request Data

More information

Tangent MicroServices Documentation

Tangent MicroServices Documentation Tangent MicroServices Documentation Release 1 Tangent Solutions March 10, 2015 Contents 1 Getting Started 3 1.1 Micro Services Projects......................................... 3 2 Service Registry 5

More information

webkitpony Documentation

webkitpony Documentation webkitpony Documentation Release 0.1 Toni Michel May 24, 2014 Contents 1 Motivation 3 2 Goal 5 3 Understanding webkitpony 7 3.1 Understanding webkitpony........................................ 7 3.2 The

More information

Documentation and Deployment

Documentation and Deployment Documentation and Deployment CS 370 SE Practicum, Cengiz Günay (Some slides courtesy of Eugene Agichtein and the Internets) I know what I learned this semester: CS 370, Günay (Emory) Documentation and

More information

django-scaffold Documentation

django-scaffold Documentation django-scaffold Documentation Release 1.1.1 James Stevenson May 27, 2015 Contents 1 Installation 3 2 Creating an app to extend scaffold 5 2.1 1. Create a new application........................................

More information

Moving to a Sustainable Web Development Environment for Library Web Applications

Moving to a Sustainable Web Development Environment for Library Web Applications Portland State University PDXScholar Online Northwest Online Northwest 2010 Feb 5th, 9:00 AM - 11:00 AM Moving to a Sustainable Web Development Environment for Library Web Applications Anjanette Young

More information

django-avatar Documentation

django-avatar Documentation django-avatar Documentation Release 2.0 django-avatar developers Oct 04, 2018 Contents 1 Installation 3 2 Usage 5 3 Template tags and filter 7 4 Global Settings 9 5 Management Commands 11 i ii django-avatar

More information

Rapid Development with Django and App Engine. Guido van Rossum May 28, 2008

Rapid Development with Django and App Engine. Guido van Rossum May 28, 2008 Rapid Development with Django and App Engine Guido van Rossum May 28, 2008 Talk Overview This is not a plug for Python, Django or Google App Engine Except implicitly :) Best practices for using Django

More information

django-avatar Documentation

django-avatar Documentation django-avatar Documentation Release 2.0 django-avatar developers Sep 27, 2017 Contents 1 Installation 3 2 Usage 5 3 Template tags and filter 7 4 Global Settings 9 5 Management Commands 11 i ii django-avatar

More information

Django Web Framework: A Comprehensive Introduction and Step by Step Installation

Django Web Framework: A Comprehensive Introduction and Step by Step Installation Continuous Issue - 12 June July 2017 Abstract Django Web Framework: A Comprehensive Introduction and Step by Step Installation One of the emerging framework in python is Django framework which follows

More information

Quoting Wikipedia, software

Quoting Wikipedia, software Developers How To Django When Python Bites the Web WWW.WWW.WWW. Here s how to start using Django for Web application development. Quoting Wikipedia, software frameworks aim to facilitate software development

More information

Graphene Documentation

Graphene Documentation Graphene Documentation Release 1.0.dev Syrus Akbary Nov 09, 2017 Contents 1 Introduction tutorial - Graphene and Django 3 1.1 Set up the Django project........................................ 3 1.2 Hello

More information

The Django Web Framework Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013

The Django Web Framework Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013 The Django Web Framework Part II Hamid Zarrabi-Zadeh Web Programming Fall 2013 2 Outline Overview Making the Front Page Creating the Template Creating View Functions Configuring URL Patterns Finishing

More information

django-openid Documentation

django-openid Documentation django-openid Documentation Release 2.0a Simon Willison September 27, 2017 Contents 1 Installation 3 2 Accepting OpenID 5 2.1 Redirecting somewhere else....................................... 6 2.2 Requesting

More information

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. Django

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. Django About the Tutorial Django is a web development framework that assists in building and maintaining quality web applications. Django helps eliminate repetitive tasks making the development process an easy

More information

SAURASHTRA UNIVERSITY

SAURASHTRA UNIVERSITY SAURASHTRA UNIVERSITY RAJKOT INDIA Accredited Grade A by NAAC (CGPA 3.05) CURRICULAM FOR M. Sc. (IT & CA) (2 Years Full Time: 4 Semester Programme) MASTER OF SCIENCE (Information Technology & Computer

More information

L6 Application Programming. Thibault Sellam Fall 2018

L6 Application Programming. Thibault Sellam Fall 2018 L6 Application Programming Thibault Sellam Fall 2018 Topics Interfacing with applications Database APIs (DBAPIS) Cursors SQL!= Programming Language Not a general purpose programming language Tailored for

More information

wagtail-robots Documentation

wagtail-robots Documentation wagtail-robots Documentation Release dev Adrian Turjak Feb 28, 2018 Contents 1 Wagtail Robots In Action 3 2 Installation 9 3 Initialization 11 4 Rules 13 5 URLs 15 6 Caching 17 7 Sitemaps 19 8 Host directive

More information

Django starting guide

Django starting guide Django starting guide (and much more ) Alessandro Bucciarelli Outline Lesson 1 Intro to versioning systems (Git) Intro to Python and basic data structures Django Lesson 2 Interaction between Django and

More information

widgets, events, layout loosely similar to Swing test browser, or plugin for testing with real browser on local system

widgets, events, layout loosely similar to Swing test browser, or plugin for testing with real browser on local system Web [Application] Frameworks conventional approach to building a web service write ad hoc client code in HTML, CSS, Javascript,... by hand write ad hoc server code in [whatever] by hand write ad hoc access

More information

Reminders. Emory Horror Code:

Reminders. Emory Horror Code: Reminders Emory Horror Code: Request permission and document any code you did not write We won't hesitate to report you: will cause a dent in your life Reminders Emory Horror Code: Request permission and

More information

Lecture 10(-ish) Web [Application] Frameworks

Lecture 10(-ish) Web [Application] Frameworks Lecture 10(-ish) Web [Application] Frameworks Minimal Python server import SocketServer import SimpleHTTPServer class Reply(SimpleHTTPServer.SimpleHTTPRequestHandler): def do_get(self): # query arrives

More information

Security and Authentication

Security and Authentication Security and Authentication CS 370 SE Practicum, Cengiz Günay (Some slides courtesy of Eugene Agichtein and the Internets) CS 370, Günay (Emory) Security and Authentication Spring 2014 1 / 15 Agenda Upcoming

More information

Project OpenDSA Log Support Final Report

Project OpenDSA Log Support Final Report Project OpenDSA Log Support Final Report Victoria Suwardiman Anand Swaminathan Shiyi Wei {vsuward, anand90, wei}@vt.edu CS5604 Fall 2012 Department of Computer Science Virginia Tech 12/10/2012 ABSTRACT

More information

EXPERIENCES MOVING FROM DJANGO TO FLASK

EXPERIENCES MOVING FROM DJANGO TO FLASK EXPERIENCES MOVING FROM DJANGO TO FLASK DAN O BRIEN, VP OF ENGINEERING CRAIG LANCASTER, CTO Jana Mobile Inc. www.jana.com WHO WE ARE Jana is a startup company in Boston connecting advertising and marketing

More information

Django MFA Documentation

Django MFA Documentation Django MFA Documentation Release 1.0 Micro Pyramid Sep 20, 2018 Contents 1 Getting started 3 1.1 Requirements............................................... 3 1.2 Installation................................................

More information

The syndication feed framework

The syndication feed framework 1 di 14 12/04/2007 18.23 The syndication feed framework This document is for Django's SVN release, which can be significantly different than previous releases. Get old docs here: 0.96, 0.95. Django comes

More information

Front End Programming

Front End Programming Front End Programming Mendel Rosenblum Brief history of Web Applications Initially: static HTML files only. Common Gateway Interface (CGI) Certain URLs map to executable programs that generate web page

More information

AJAX: From the Client-side with JavaScript, Back to the Server

AJAX: From the Client-side with JavaScript, Back to the Server AJAX: From the Client-side with JavaScript, Back to the Server Asynchronous server calls and related technologies CS 370 SE Practicum, Cengiz Günay (Some slides courtesy of Eugene Agichtein and the Internets)

More information

web.py Tutorial Tom Kelliher, CS 317 This tutorial is the tutorial from the web.py web site, with a few revisions for our local environment.

web.py Tutorial Tom Kelliher, CS 317 This tutorial is the tutorial from the web.py web site, with a few revisions for our local environment. web.py Tutorial Tom Kelliher, CS 317 1 Acknowledgment This tutorial is the tutorial from the web.py web site, with a few revisions for our local environment. 2 Starting So you know Python and want to make

More information

Django Test Utils Documentation

Django Test Utils Documentation Django Test Utils Documentation Release 0.3 Eric Holscher July 22, 2016 Contents 1 Source Code 3 2 Contents 5 2.1 Django Testmaker............................................ 5 2.2 Django Crawler.............................................

More information

Building a Django Twilio Programmable Chat Application

Building a Django Twilio Programmable Chat Application Building a Django Twilio Programmable Chat Application twilio.com/blog/08/0/python-django-twilio-programmable-chat-application.html March 7, 08 As a developer, I ve always wanted to include chat capabilities

More information

django-gollum Documentation

django-gollum Documentation django-gollum Documentation Release 1.0.0 Luke Sneeringer December 11, 2016 Contents 1 Installation 3 2 Dependencies 5 3 Getting Started 7 4 Getting Help 9 5 License 11 6 Index 13 6.1 Using django-gollum...........................................

More information

Django IPRestrict Documentation

Django IPRestrict Documentation Django IPRestrict Documentation Release 1.4.1 Tamas Szabo Nov 06, 2017 Contents 1 Table of Contents 3 1.1 Requirements and Installation...................................... 3 1.2 Configuration...............................................

More information

Working with the Seagull Framework. By Demian Turner, Seagull Systems

Working with the Seagull Framework. By Demian Turner, Seagull Systems Working with the Seagull Framework By Demian Turner, Seagull Systems seagullproject.org Who is Demian Turner? Developing websites since 1996, using PHP since 1999 Committer on several open source projects:

More information

Accelerating Information Technology Innovation

Accelerating Information Technology Innovation Accelerating Information Technology Innovation http://aiti.mit.edu/program/philippines-summer-2012/ Philippines Summer 2012 Lecture 4 Django Views and Templates June 28, 2012 Agenda Django Views Django

More information

django-embed-video Documentation

django-embed-video Documentation django-embed-video Documentation Release 0.6.stable Juda Kaleta October 04, 2013 CONTENTS i ii Django app for easy embeding YouTube and Vimeo videos and music from SoundCloud. Repository is located on

More information

Python. Django. (Web Application Framework - WAF) PyCharm. (Integration Development Environment - IDE)

Python. Django. (Web Application Framework - WAF) PyCharm. (Integration Development Environment - IDE) Python Django (Web Application Framework - WAF) PyCharm (Integration Development Environment - IDE) Compiled and condensed notes from various online sources Gregg Roeten pg 1 Build Environment as of 09/10/2015

More information

JAVA For Beginner's Crash Course: Java For Beginners Guide To Program Java, JQuery, & Java Programming (Java For Beginners, Learn Java, JQuery,...

JAVA For Beginner's Crash Course: Java For Beginners Guide To Program Java, JQuery, & Java Programming (Java For Beginners, Learn Java, JQuery,... JAVA For Beginner's Crash Course: Java For Beginners Guide To Program Java, JQuery, & Java Programming (Java For Beginners, Learn Java, JQuery,... Programming, Programming Language, Coding) By Quick Start

More information

Accelerating Information Technology Innovation

Accelerating Information Technology Innovation Accelerating Information Technology Innovation http://aiti.mit.edu/program/philippines-summer-2012/ Philippines Summer 2012 Lecture 3 Rapid Application Development with Python June 26, 2012 Agenda Introduction

More information

Bambu API Documentation

Bambu API Documentation Bambu API Documentation Release 2.0.1 Steadman Sep 27, 2017 Contents 1 About Bambu API 3 2 About Bambu Tools 2.0 5 3 Installation 7 4 Basic usage 9 5 Questions or suggestions? 11 6 Contents 13 6.1 Defining

More information

CS50 Quiz Review. November 13, 2017

CS50 Quiz Review. November 13, 2017 CS50 Quiz Review November 13, 2017 Info http://docs.cs50.net/2017/fall/quiz/about.html 48-hour window in which to take the quiz. You should require much less than that; expect an appropriately-scaled down

More information

djangotribune Documentation

djangotribune Documentation djangotribune Documentation Release 0.7.9 David THENON Nov 05, 2017 Contents 1 Features 3 2 Links 5 2.1 Contents................................................. 5 2.1.1 Install..............................................

More information

django-embed-video Documentation

django-embed-video Documentation django-embed-video Documentation Release 0.7.stable Juda Kaleta December 21, 2013 Contents i ii Django app for easy embeding YouTube and Vimeo videos and music from SoundCloud. Repository is located on

More information

django-contact-form Documentation

django-contact-form Documentation django-contact-form Documentation Release 1.4.2 James Bennett Aug 01, 2017 Installation and configuration 1 Installation guide 3 2 Quick start guide 5 3 Contact form classes 9 4 Built-in views 13 5 Frequently

More information

Django_template3d Documentation

Django_template3d Documentation Django_template3d Documentation Release 0.0.1 Robert Steckroth August 27, 2016 Contents 1 Getting Started 3 1.1 Quick Install............................................... 3 2 Learning Template3d 5 2.1

More information

canary Documentation Release 0.1 Branton K. Davis

canary Documentation Release 0.1 Branton K. Davis canary Documentation Release 0.1 Branton K. Davis August 18, 2012 CONTENTS 1 Installation 3 1.1 Installing Canary Reports........................................ 3 1.2 Running the Demo Project........................................

More information

Django Deployment & Tips daybreaker

Django Deployment & Tips daybreaker Django Deployment & Tips 2010. 6. 7 daybreaker We have covered Django Basics Concept of MVC Templates Models Admin Sites Forms Users (authentication) Thanks to battery Today s Contents Deployment: mod_python

More information

Databases/JQuery AUGUST 1, 2018

Databases/JQuery AUGUST 1, 2018 Databases/JQuery AUGUST 1, 2018 Databases What is a Database? A table Durable place for storing things Place to easily lookup and update information Databases: The M in MVC What is a Database? Your Model

More information

Linguistic Architecture

Linguistic Architecture Linguistic Architecture Modeling Software Knowledge SoftLang Team, University of Koblenz-Landau Prof. Dr. Ralf Lämmel Msc. Johannes Härtel Msc. Marcel Heinz Outline Motivating Software Documentation Classic

More information

Zend Framework for IBM i

Zend Framework for IBM i Zend Framework for IBM i Part II: MVC and ZF Applications Who is Jeff Olen? Author of bestselling IBM i Programmers Guide to PHP Zend Certified Engineer PHP 5 IBM i developer for 20+ years Co-founder of

More information

Accelerating Information Technology Innovation

Accelerating Information Technology Innovation Accelerating Information Technology Innovation http://aiti.mit.edu Nigeria Summer 2011 Django The Big Picture Google App Engine Mobile Web Browser/ Mobile Web App Your Django app Mobile App Development

More information

Python Web Development With Django By Paul Bissex, Jeff Forcier

Python Web Development With Django By Paul Bissex, Jeff Forcier Python Web Development With Django By Paul Bissex, Jeff Forcier Web Programming in Python with Django! - Web Programming in Python with Django a simple web poll >>foreachserver pkill u maria python Restarts

More information

Contents. 1. What is otree? 2. The Shell and Python. 3. Example: simple questionnaire. 4. Example: public goods game. 5. Test bots.

Contents. 1. What is otree? 2. The Shell and Python. 3. Example: simple questionnaire. 4. Example: public goods game. 5. Test bots. Contents 1. What is otree? 2. The Shell and Python 3. Example: simple questionnaire 4. Example: public goods game 5. Test bots David Klinowski 2 What is otree? What is otree? platform to program social

More information

Django with Python Course Catalog

Django with Python Course Catalog Django with Python Course Catalog Enhance Your Contribution to the Business, Earn Industry-recognized Accreditations, and Develop Skills that Help You Advance in Your Career March 2018 www.iotintercon.com

More information

django-mongonaut Documentation

django-mongonaut Documentation django-mongonaut Documentation Release 0.2.20 Daniel Greenfeld Sep 27, 2017 Contents 1 Installation 3 1.1 Normal Installation............................................ 3 1.2 Static Media Installation.........................................

More information

The Relational Model

The Relational Model The Relational Model Grant Weddell David R. Cheriton School of Computer Science University of Waterloo CS 348 Introduction to Database Management Spring 2012 CS 348 (Intro to DB Mgmt) Relational Model

More information

nacelle Documentation

nacelle Documentation nacelle Documentation Release 0.4.1 Patrick Carey August 16, 2014 Contents 1 Standing on the shoulders of giants 3 2 Contents 5 2.1 Getting Started.............................................. 5 2.2

More information

CS637 Midterm Review

CS637 Midterm Review CS637 Midterm Review Coverage: Duckett Chapter 1-2: Basics: Can skip pp. 53-56 Chapter 3: Lists: all important Chapter 4:Links: all important Chapter 5:Images: can skip old code Chapter 6: Tables: all

More information

django-oauth2-provider Documentation

django-oauth2-provider Documentation django-oauth2-provider Documentation Release 0.2.7-dev Alen Mujezinovic Aug 16, 2017 Contents 1 Getting started 3 1.1 Getting started.............................................. 3 2 API 5 2.1 provider.................................................

More information

SAURASHTRA UNIVERSITY

SAURASHTRA UNIVERSITY SAURASHTRA UNIVERSITY RAJKOT INDIA Accredited Grade A by NAAC (CGPA 3.05) CURRICULAM FOR M. Sc. (IT & CA) (2 Years Full Time: 4 Semester Programme) MASTER OF SCIENCE (Information Technology & Computer

More information

Technology modeling. Ralf Lämmel Software Languages Team University of Koblenz-Landau

Technology modeling. Ralf Lämmel Software Languages Team University of Koblenz-Landau Technology modeling Ralf Lämmel Software Languages Team University of Koblenz-Landau Technologies are at the heart of software development. Let s model them for understanding. Acknowledgement: This is

More information

Software Test Plan Version 1.0

Software Test Plan Version 1.0 Software Test Plan Version 1.0 3/23/2017 Team Name: Skyward Team Members: Gage Cottrell Justin Kincaid Chris French Alexander Sears Sponsors: Dr. Michael Mommert and Dr. David Trilling Mentor: Dr. Otte

More information

Easy-select2 Documentation

Easy-select2 Documentation Easy-select2 Documentation Release 1.2.2 Lobanov Stanislav aka asyncee September 15, 2014 Contents 1 Installation 3 2 Quickstart 5 3 Configuration 7 4 Usage 9 5 Reference 11 5.1 Widgets..................................................

More information

Web Security. Attacks on Servers 11/6/2017 1

Web Security. Attacks on Servers 11/6/2017 1 Web Security Attacks on Servers 11/6/2017 1 Server side Scripting Javascript code is executed on the client side on a user s web browser Server side code is executed on the server side. The server side

More information

Full Stack Web Developer

Full Stack Web Developer Full Stack Web Developer Course Contents: Introduction to Web Development HTML5 and CSS3 Introduction to HTML5 Why HTML5 Benefits Of HTML5 over HTML HTML 5 for Making Dynamic Page HTML5 for making Graphics

More information

South Africa Templates.

South Africa Templates. South Africa 2013 Lecture 15: Django Database Intro + Templates http://aiti.mit.edu Database Interaction Managers Manager is a class It's the interface between the database and django Various methods,

More information

CS 2316 Homework 9a GT Room Reservation Login

CS 2316 Homework 9a GT Room Reservation Login CS 2316 Homework 9a GT Room Reservation Login Due: Wednesday November 5th Out of 100 points Files to submit: 1. HW9.py This is an INDIVIDUAL assignment! Collaboration at a reasonable level will not result

More information

Django-Select2 Documentation. Nirupam Biswas

Django-Select2 Documentation. Nirupam Biswas Nirupam Biswas Mar 07, 2018 Contents 1 Get Started 3 1.1 Overview................................................. 3 1.2 Installation................................................ 3 1.3 External Dependencies..........................................

More information

django-model-report Documentation

django-model-report Documentation django-model-report Documentation Release 0.2.1 juanpex Nov 06, 2017 Contents 1 Demo 3 1.1 User Guide................................................ 3 1.2 Modules.................................................

More information

Django-Style Flask. Cody Lee SCALE12x Feb 22, git clone

Django-Style Flask. Cody Lee SCALE12x Feb 22, git clone Django-Style Flask Cody Lee codylee@wellaware.us git clone https://github.com/platinummonkey/flask_scale12x.git SCALE12x Feb 22, 2014 Introduction Senior Network Engineer at WellAware - An oil and gas

More information

Google Groups. Using, joining, creating, and sharing. content with groups. What's Google Groups? About Google Groups and Google Contacts

Google Groups. Using, joining, creating, and sharing. content with groups. What's Google Groups? About Google Groups and Google Contacts Google Groups Using, joining, creating, and sharing content with groups What's Google Groups? Google Groups is a feature of Google Apps that makes it easy to communicate and collaborate with groups of

More information

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. TurboGears

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. TurboGears About the Tutorial TurboGears is a Python web application framework, which consists of many modules. It is designed around the MVC architecture that are similar to Ruby on Rails or Struts. TurboGears are

More information

Django Phantom Theme Documentation

Django Phantom Theme Documentation Django Phantom Theme Documentation Release 1.1 Przemyslaw bespider Pajak for EggForSale Sep 28, 2017 Contents 1 Features 3 2 Authors and Contributors 5 3 Licence 7 4 Support or Contact 9 5 Instalation

More information

Django REST Framework JSON API Documentation

Django REST Framework JSON API Documentation Django REST Framework JSON API Documentation Release 2.0.0-alpha.1 Jerel Unruh Jan 25, 2018 Contents 1 Getting Started 3 1.1 Requirements............................................... 4 1.2 Installation................................................

More information

Module 3 Web Component

Module 3 Web Component Module 3 Component Model Objectives Describe the role of web components in a Java EE application Define the HTTP request-response model Compare Java servlets and JSP components Describe the basic session

More information

Hue Application for Big Data Ingestion

Hue Application for Big Data Ingestion Hue Application for Big Data Ingestion August 2016 Author: Medina Bandić Supervisor(s): Antonio Romero Marin Manuel Martin Marquez CERN openlab Summer Student Report 2016 1 Abstract The purpose of project

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Joomla

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Joomla About the Tutorial Joomla is an open source Content Management System (CMS), which is used to build websites and online applications. It is free and extendable which is separated into frontend templates

More information

Strategies for Rapid Web Prototyping. Ruby on Rails. Clemens H. Cap

Strategies for Rapid Web Prototyping. Ruby on Rails. Clemens H. Cap Strategies for Rapid Web Prototyping Ruby on Rails Strategies for Rapid Web Prototyping DRY: Don't repeat yourself Convention over Configuration Separation of Concern Templating MVC: Model View Controler

More information

Statirator Documentation

Statirator Documentation Statirator Documentation Release 0.2.0 Meir Kriheli June 21, 2014 Contents 1 Reason 3 2 Source Code 5 2.1 Quick Start................................................ 5 2.2 Modus operandi.............................................

More information

Json Parse Error - No Json Object Could Be Decoded Django Rest Framework

Json Parse Error - No Json Object Could Be Decoded Django Rest Framework Json Parse Error - No Json Object Could Be Decoded Django Rest Framework It supports REST framework's flexible request parsing, rather than just supporting form data. ParseError: JSON parse error - No

More information

DATABASE SYSTEMS. Database programming in a web environment. Database System Course, 2016

DATABASE SYSTEMS. Database programming in a web environment. Database System Course, 2016 DATABASE SYSTEMS Database programming in a web environment Database System Course, 2016 AGENDA FOR TODAY Advanced Mysql More than just SELECT Creating tables MySQL optimizations: Storage engines, indexing.

More information

Accelerating Information Technology Innovation

Accelerating Information Technology Innovation Accelerating Information Technology Innovation http://aiti.mit.edu Rwanda Summer 2011 Django 01: Models Models Suppose we want to create a web application to manage data about thousands of movies What

More information

CSc 337 Final Examination December 13, 2013

CSc 337 Final Examination December 13, 2013 On my left is: (NetID) MY NetID On my right is: (NetID) CSc 337 Final Examination December 13, 2013 READ THIS FIRST Read this page now but do not turn this page until you are told to do so. Go ahead and

More information

COMMUNITY PARENTING PLATFORM

COMMUNITY PARENTING PLATFORM Bachelor s thesis Degree programme in Information Technology 240S08 2016 Instructor Patric Granholm Laxmi Thebe COMMUNITY PARENTING PLATFORM Development and Deployment Using the Django Framework BACHELOR

More information

7401ICT eservice Technology. (Some of) the actual examination questions will be more precise than these.

7401ICT eservice Technology. (Some of) the actual examination questions will be more precise than these. SAMPLE EXAMINATION QUESTIONS (Some of) the actual examination questions will be more precise than these. Basic terms and concepts Define, compare and discuss the following terms and concepts: a. HTML,

More information

OU Mashup V2. Display Page

OU Mashup V2. Display Page OU Mashup V2 OU Mashup v2 is the new iteration of OU Mashup. All instances of OU Mashup implemented in 2018 and onwards are v2. Its main advantages include: The ability to add multiple accounts per social

More information

JAMES BENNETT DJANGOCON EUROPE 3RD JUNE 2015 THE NET IS DARK AND FULL OF TERRORS

JAMES BENNETT DJANGOCON EUROPE 3RD JUNE 2015 THE NET IS DARK AND FULL OF TERRORS JAMES BENNETT DJANGOCON EUROPE 3RD JUNE 2015 THE NET IS DARK AND FULL OF TERRORS WHO I AM Working with Django 9 years, 5 at Lawrence Journal- World Commit bit since 2007 Involved in Django s release and

More information