Web Programming in Python with Django!

Size: px
Start display at page:

Download "Web Programming in Python with Django!"

Transcription

1 Web Programming in Python with Django! Instructors: Steve Levine '11 Maria Rodriguez '11 Geoffrey Thomas '10 Wednesday, January 27 th SIPB IAP 2010

2 Course Overview What is Django? Apps, Models, and Views URL Structure Templates Admin Interface Forms Examples / Tutorials

3 What is Django?

4 What is Django? django [jāngō] -noun 1. a shiny web framework that allows one to build dynamic, professional-looking websites in python: Need to make a slick website? Use django! 2. masculine form of popular Hasbro game Jenga (will not be discussed tonight) 3. magic

5 Funk-tacular Features projects or apps are pluggable object relational mapper: combines the advantages of having a database with the advantages of using an object oriented programming language database allows for efficient data storage and retrieval Python allows for cleaner and more readable code

6 Funk-tacular Features automatic admin interface offers the functionality of adding, editing, and deleting items within a database in a graphical, user friendly way flexible template language that provides a way to retrieve data and display it on a webpage in its desired format url design is elegant and easy to read

7 Marvelous Websites Made the Django Way: Models & Views User Interface (HTTP Output) App Layer Controller View MVC Model Database Layer MySQL: Database

8 Marvelous Websites Made the Django Way: Models & Views App Layer: Outputs HTML (controls how data is displayed to the user) MVC Layer 1. Model: Models contains classes definitions for holding data 2. View: The View controls the access and filtration of data in order to be passed onto the app layer for display. 3. Controller: The Controller receives and manages inputs to update the Model layer. Additionally, it also updates the elements for the View layer as necessary. Database Layer: The models are stored in database tables in MySQL.

9 The Django Way

10 Amazing Apps Django does not work quite like PHP, or other server side scripting languages Django organizes your website into apps An app represents one component of a website Example: a simple web poll, blog, etc. Apps can be used in multiple different websites/projects ( pluggable ), and a website can have multiple apps

11 Amazing Apps Each app has its own data and webpages associated with it called models and views, respectively Example: a poll that lets users vote on questions Views (different webpages): Page with questions + choices (actual voting page) Statistics page that shows past results Models (data): Poll questions Choices associated with each question The actual voting data! (set of selected choices)

12 Amazing Apps When you create an app, Django makes a folder, appname/ in your project directory It contains, among some other files: models.py views.py urls.py (will be discussed later) The app looks like a package (ex., polls.view, polls.models, etc.)

13 Models

14 Magnificent Models Models store data for your app Key for making dynamic websites! Models are implemented as Python classes, in models.py file Awesome feature of Django: the object relational mapper Allows you to access/change a database (ex., MySQL) just by calling functions on your models

15 Magnificent Models Example models: from django.db import models class Poll(models.Model): question = models.charfield(max_length=200) pub_date = models.datetimefield('date published') class Choice(models.Model): poll = models.foreignkey(poll) choice = models.charfield(max_length=200) votes = models.integerfield()

16 Magnificent Models Can easily create instances of your model: p = Poll(question="What's up?", pub_date=datetime.datetime.now()) Save it to the database: p.save() The object relational mapper takes care of all the MySQL for you!

17 Magnificent Models The object relational mapper even automagically sets up your MySQL database Example generated code: BEGIN; CREATE TABLE "polls_poll" ( "id" serial NOT NULL PRIMARY KEY, "question" varchar(200) NOT NULL, "pub_date" timestamp with time zone NOT NULL ); CREATE TABLE "polls_choice" ( "id" serial NOT NULL PRIMARY KEY, "poll_id" integer NOT NULL REFERENCES "polls_poll" ("id"), "choice" varchar(200) NOT NULL, "votes" integer NOT NULL ); COMMIT;

18 Magnificent Models Example methods and fields: Poll.objects.all() - returns list of all objects p.question Poll.objects.filter(question startswith='wha t') (This function was autogenerated by Django!)

19 A word about databases Although Django certainly does do a lot for you, it helps to know a bit about databases When designing a model, useful to think about good database practice

20 Digestible Databases Good Database Design in a Nutshell: 1. Groups of related fields belong in the same table 2. New tables should be created for data fields that are almost always empty 3. Most of the time the information contained in unrelated fields will not need to be retrieved at the same time, so those groups of fields should be in separate fields as one another

21 Digestible Databases Example Database: (a) Patient Table Patient ID Last Name First Name Room No. (b) Medication Table Prescription ID Patient ID Medication Dosage Instruction (c) Schedule Table Schedule ID Prescription ID Tim e Next Admin Date M T W R F S a S u

22 Views

23 Vivacious Views Views are Python functions they make the web pages users see Can make use of models for getting data Can use anything that Python has to offer!...and there's A LOT Python can do! Makes for interesting websites

24 Vivacious Views

25 Vivacious Views View functions take as input: HttpResponse object contains useful information about the client, sessions, etc. Return as output HttpResponse object basically HTML output Most often, views don't actually write HTML they fill in templates! (discussed shortly)

26 Vivacious Views Example view: from django.shortcuts import render_to_response from mysite.polls.models import Poll def index(request): latest_poll_list = Poll.objects.all().order_by('-pub_date')[:5] return render_to_response('polls/index.html', {'poll_list': poll_list})

27 Templates

28 Templates, Tags, & Tricks The Django template language consists of tags, which perform many functions and may be embedded in a text file to do neat tricks.

29 {% endif %} Tags: Templates, Tags, & Tricks Ex. variable {{ poll.question }} Ex. for-loop {% for choice in poll.choice_set.all %} {% endfor %} Ex. if-statement {% if patient_list %}... {% else %}...

30 Templates, Tags, & Tricks Example: Displaying poll results <html> <h1>{{ poll.question }}</h1> <ul> {% for choice in poll.choice_set.all %} <li>{{ choice.choice }} -- {{ choice.votes }} vote{{ choice.votes pluralize }}</li> {% endfor %} </ul> </html>

31 Django URL Structure

32 Utterly Unblemished URL's Django structures your website URL's in an interesting way Recap: the URL is the text you type to get to a website For non Django websites: Refers to a file /some/directory/index.php on the server Different in Django! URL's are organized more elegantly and more easily understandably

33 Utterly Unblemished URL's Consider this example: URL specifies article date, not a reference to a specific file Allows a more logical organization, that is less likely to change over time

34 Utterly Unblemished URL's Overview of how Django works, using URL's URLs URLConf Views View: polls() View: articles() View: authors() Templates Template: plain Template: fancy Template: cute

35 Utterly Unblemished URL's URL patterns map to Views Views may use templates Templates contain HTML (discussed later) This puts a layer of abstraction between URL names and files The file urls.py that specifies how URL's get mapped to views, using regular expressions

36 Utterly Unblemished URL's Example urls.py: urlpatterns = patterns('', (r'^articles/2003/$', 'news.views.special_case_2003'), (r'^articles/(?p<year>\d{4})/$', 'news.views.year_archive'), (r'^articles/(?p<year>\d{4})/(?p<month>\d{2})/$', 'news.views.month_archive'), (r'^articles/(?p<year>\d{4})/(?p<month>\d{2})/(?p<day>\d+)/$', 'news.views.article_detail'), ) will result in news.views.article_detail(request, year='2009', month='03', day='14') being called

37 Utterly Unblemished URL's These are mostly like regular expressions, which are outside of the scope of this class

38 Admin Interface

39 Awesome Automatic Admin Generating admin sites for your staff or clients to add, change and delete content is tedious work that doesn t require much creativity. For that reason, Django entirely automates creation of admin interfaces for models. Django was written in a newsroom environment, with a very clear separation between content publishers and the public site. Site managers use the system to add news stories, events, sports scores, etc., and that content is displayed on the public site. Django solves the problem of creating a unified interface for site administrators to edit content. The admin isn t necessarily intended to be used by site visitors; it s for site managers. Reference:

40

41 Forms

42 Fun with Forms Why use them? 1. Automatically generate form widgets. 2. Input validation. 3. Redisplay a form after invalid input. 4. Convert submitted form data to Python data types.

43 Example: Fun with Forms <h1>{{ poll.question }}</h1> {% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %} <form action="/polls/{{ poll.id }}/vote/" method="post"> {% csrf_token %} {% for choice in poll.choice_set.all %} <input type="radio" name="choice" id="choice{{ forloop.counter }}" value="{{ choice.id }}" /> <label for="choice{{ forloop.counter }}">{{ choice.choice }}</label><br /> {% endfor %} <input type="submit" value="vote" /> </form>

44 Fun with Forms

45 Other Nifty Django Features

46 Satisfying Sessions You can uses sessions in Django, just like the sessions in PHP Sessions allow you to store state across different pages of your website Common uses: store logged in username, shopping cart information, etc. If you write to a session in one view (webpage), it will be visible in all views afterwards as well Session is found in the HttpResponse object

47 Real Live Examples!

48 Real-World Apps MedSched Shiny!

49 Tutorial: Polling Setting up Django through Scripts: 1. connect to athena: >>ssh 2. set up scripts >>add scripts >>scripts 3. Follow instructions from there to install Django 4. connect to scripts: >>ssh scripts.mit.edu >>cd ~/Scripts

50 Helpful Commands From project folder run mysql type show databases; to see your databases type use <database_name>; to use a database type show tables; to view the tables in that database type drop table <table_name>; to drop a table Drop affected tables each time fields within your models change.

51 Helpful Commands >>./manage.py syncdb or >>python manage.py syncdb Updates database tables whenever you drop tables or add applications to INSTALLED_APPS in settings.py >>add scripts >>for each server pkill u maria python Restarts the development server to see your changes.

52 Handy References Official Django website: Contains an amazing tutorial that you should follow Information on setting up Django Documentation for various classes, functions, etc.

Introduction to Django Web Framework

Introduction to Django Web Framework Introduction to Django Web Framework Web application development seminar, Fall 2007 Jaakko Salonen Jukka Huhtamäki 1 http://www.djangoproject.com/ Django

More information

Using Python, Django and MySQL in a Database Course

Using Python, Django and MySQL in a Database Course Using Python, Django and MySQL in a Database Course Thomas B. Gendreau Computer Science Department University of Wisconsin - La Crosse La Crosse, WI 54601 gendreau@cs.uwlax.edu Abstract Software applications

More information

Rapid Website Deployment With Django, Heroku & New Relic

Rapid Website Deployment With Django, Heroku & New Relic TUTORIAL Rapid Website Deployment With Django, Heroku & New Relic by David Sale Contents Introduction 3 Create Your Website 4 Defining the Model 6 Our Views 7 Templates 7 URLs 9 Deploying to Heroku 10

More information

Slides from INF3331 lectures - web programming in Python

Slides from INF3331 lectures - web programming in Python Slides from INF3331 lectures - web programming in Python Joakim Sundnes & Hans Petter Langtangen Dept. of Informatics, Univ. of Oslo & Simula Research Laboratory October 2013 Programming web applications

More information

Django tutorial. October 22, 2010

Django tutorial. October 22, 2010 Django tutorial October 22, 2010 1 Introduction In this tutorial we will make a sample Django application that uses all the basic Django components: Models, Views, Templates, Urls, Forms and the Admin

More information

Django Web Framework. Zhaojie Zhang CSCI5828 Class Presenta=on 03/20/2012

Django Web Framework. Zhaojie Zhang CSCI5828 Class Presenta=on 03/20/2012 Django Web Framework Zhaojie Zhang CSCI5828 Class Presenta=on 03/20/2012 Outline Web frameworks Why python? Why Django? Introduc=on to Django An example of Django project Summary of benefits and features

More information

Introduction to FreeNAS development

Introduction to FreeNAS development Introduction to FreeNAS development John Hixson john@ixsystems.com ixsystems, Inc. Abstract FreeNAS has been around for several years now but development on it has been by very few people. Even with corporate

More information

The Django web development framework for the Python-aware

The Django web development framework for the Python-aware The Django web development framework for the Python-aware Bill Freeman PySIG NH September 23, 2010 Bill Freeman (PySIG NH) Introduction to Django September 23, 2010 1 / 18 Introduction Django is a web

More information

Web [Application] Frameworks

Web [Application] Frameworks 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

Effective Django. Build 2015.10.18. Nathan Yergler

Effective Django. Build 2015.10.18. Nathan Yergler Effective Django Build 2015.10.18 Nathan Yergler 18 October 2015 CONTENTS 1 Getting Started 3 1.1 Your Development Environment..................................... 3 1.2 Setting Up Your Environment......................................

More information

Web Application Frameworks. Robert M. Dondero, Ph.D. Princeton University

Web Application Frameworks. Robert M. Dondero, Ph.D. Princeton University Web Application Frameworks Robert M. Dondero, Ph.D. Princeton University 1 Objectives You will learn about: The Django web app framework Other MVC web app frameworks (briefly) Other web app frameworks

More information

django-gcm Documentation

django-gcm Documentation django-gcm Documentation Release 0.9.3 Adam Bogdal August 23, 2015 Contents 1 Quickstart 3 2 Sending messages 5 2.1 Multicast message............................................ 5 3 Signals 7 4 Extending

More information

Web [Application] Frameworks

Web [Application] Frameworks 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

Whisler 1 A Graphical User Interface and Database Management System for Documenting Glacial Landmarks

Whisler 1 A Graphical User Interface and Database Management System for Documenting Glacial Landmarks Whisler 1 A Graphical User Interface and Database Management System for Documenting Glacial Landmarks Whisler, Abbey, Paden, John, CReSIS, University of Kansas awhisler08@gmail.com Abstract The Landmarks

More information

Nupic Web Application development

Nupic Web Application development Nupic Web Application development Contents Focus in... 1 Why to build a Web Application?... 1 The common data flow schema... 1 Tools... 2 Preparations... 2 Download/Install Django... 2 Check if Django

More information

Para perfeccionistas con deadlines

Para perfeccionistas con deadlines Para perfeccionistas con deadlines Leo Soto M. Imagemaker IT Encuentro Linux 2008 Python? Django? Python is an experiment in how much freedom programmers need... ...Too much freedom and nobody can read

More information

Introduction to web development with Python and Django Documentation

Introduction to web development with Python and Django Documentation Introduction to web development with Python and Django Documentation Release 0.1 Greg Loyse August 22, 2014 Contents 1 Introduction 3 1.1 The Internet............................................... 3

More information

Outline. Lecture 18: Ruby on Rails MVC. Introduction to Rails

Outline. Lecture 18: Ruby on Rails MVC. Introduction to Rails Outline Lecture 18: Ruby on Rails Wendy Liu CSC309F Fall 2007 Introduction to Rails Rails Principles Inside Rails Hello World Rails with Ajax Other Framework 1 2 MVC Introduction to Rails Agile Web Development

More information

Ruby On Rails. CSCI 5449 Submitted by: Bhaskar Vaish

Ruby On Rails. CSCI 5449 Submitted by: Bhaskar Vaish Ruby On Rails CSCI 5449 Submitted by: Bhaskar Vaish What is Ruby on Rails? Ruby on Rails is a web application framework written in Ruby, a dynamic programming language. Ruby on Rails uses the Model-View-Controller

More information

Web Development Frameworks. Matthias Korn <mkorn@cs.au.dk>

Web Development Frameworks. Matthias Korn <mkorn@cs.au.dk> Web Development Frameworks Matthias Korn 1 Overview Frameworks Introduction to CakePHP CakePHP in Practice 2 Web application frameworks Web application frameworks help developers build

More information

Table of Contents. Table of Contents

Table of Contents. Table of Contents Table of Contents Table of Contents Chapter 1: Introduction to Django... 6 What Is a Web Framework?... 6 The MVC Design Pattern... 7 Django s History... 8 How to Read This Book... 9 Chapter 2: Getting

More information

Django on AppEngine Documentation

Django on AppEngine Documentation Django on AppEngine Documentation Release Sebastian Pawluś October 18, 2014 Contents 1 Installation 3 1.1 Download latest Google AppEngine SDK................................ 3 1.2 Install Django..............................................

More information

PROJECT REPORT OF BUILDING COURSE MANAGEMENT SYSTEM BY DJANGO FRAMEWORK

PROJECT REPORT OF BUILDING COURSE MANAGEMENT SYSTEM BY DJANGO FRAMEWORK PROJECT REPORT OF BUILDING COURSE MANAGEMENT SYSTEM BY DJANGO FRAMEWORK by Yiran Zhou a Report submitted in partial fulfillment of the requirements for the SFU-ZU dual degree of Bachelor of Science in

More information

Best Practices for Managing Your Public Web Space and Private Work Spaces

Best Practices for Managing Your Public Web Space and Private Work Spaces Best Practices for Managing Your Public Web Space and Private Work Spaces So You re an Administrator to a Committee, Round Table, System User Group or Task Force? This Guide will introduce you to best

More information

UQC103S1 UFCE47-20-1. Systems Development. uqc103s/ufce47-20-1 PHP-mySQL 1

UQC103S1 UFCE47-20-1. Systems Development. uqc103s/ufce47-20-1 PHP-mySQL 1 UQC103S1 UFCE47-20-1 Systems Development uqc103s/ufce47-20-1 PHP-mySQL 1 Who? Email: uqc103s1@uwe.ac.uk Web Site www.cems.uwe.ac.uk/~jedawson www.cems.uwe.ac.uk/~jtwebb/uqc103s1/ uqc103s/ufce47-20-1 PHP-mySQL

More information

!!!!!!!! Startup Guide. Version 2.7

!!!!!!!! Startup Guide. Version 2.7 Startup Guide Version 2.7 Installation and initial setup Your welcome email included a link to download the ORBTR plugin. Save the software to your hard drive and log into the admin panel of your WordPress

More information

Installing buzztouch Self Hosted

Installing buzztouch Self Hosted Installing buzztouch Self Hosted This step-by-step document assumes you have downloaded the buzztouch self hosted software and operate your own website powered by Linux, Apache, MySQL and PHP (LAMP Stack).

More information

Advanced Web Development SCOPE OF WEB DEVELOPMENT INDUSTRY

Advanced Web Development SCOPE OF WEB DEVELOPMENT INDUSTRY Advanced Web Development Duration: 6 Months SCOPE OF WEB DEVELOPMENT INDUSTRY Web development jobs have taken thе hot seat when it comes to career opportunities and positions as a Web developer, as every

More information

Django Two-Factor Authentication Documentation

Django Two-Factor Authentication Documentation Django Two-Factor Authentication Documentation Release 1.3.1 Bouke Haarsma April 05, 2016 Contents 1 Requirements 3 1.1 Django.................................................. 3 1.2 Python..................................................

More information

IE Class Web Design Curriculum

IE Class Web Design Curriculum Course Outline Web Technologies 130.279 IE Class Web Design Curriculum Unit 1: Foundations s The Foundation lessons will provide students with a general understanding of computers, how the internet works,

More information

latest Release 0.2.6

latest Release 0.2.6 latest Release 0.2.6 August 19, 2015 Contents 1 Installation 3 2 Configuration 5 3 Django Integration 7 4 Stand-Alone Web Client 9 5 Daemon Mode 11 6 IRC Bots 13 7 Bot Events 15 8 Channel Events 17 9

More information

Web Application Development

Web Application Development Web Application Development Approaches Choices Server Side PHP ASP Ruby Python CGI Java Servlets Perl Choices Client Side Javascript VBScript ASP Language basics - always the same Embedding in / outside

More information

IBM Unica emessage Version 8 Release 6 February 13, 2015. User's Guide

IBM Unica emessage Version 8 Release 6 February 13, 2015. User's Guide IBM Unica emessage Version 8 Release 6 February 13, 2015 User's Guide Note Before using this information and the product it supports, read the information in Notices on page 403. This edition applies to

More information

Google App Engine Data Store

Google App Engine Data Store Google App Engine Data Store ae-10-datastore www.appenginelearn.com Unless otherwise noted, the content of this course material is licensed under a Creative Commons Attribution 3.0 License. http://creativecommons.org/licenses/by/3.0/.

More information

Advanced Tornado TWENTYONE. 21.1 Advanced Tornado. 21.2 Accessing MySQL from Python LAB

Advanced Tornado TWENTYONE. 21.1 Advanced Tornado. 21.2 Accessing MySQL from Python LAB 21.1 Advanced Tornado Advanced Tornado One of the main reasons we might want to use a web framework like Tornado is that they hide a lot of the boilerplate stuff that we don t really care about, like escaping

More information

What will you find here?

What will you find here? Getting Started With PHPMagic PHPMagic is a Application Development (RAD) tool for generating advanced PHP applications that connect to and manage data of MySQL databases. It also generates PHP code for

More information

Fachgebiet Technische Informatik, Joachim Zumbrägel

Fachgebiet Technische Informatik, Joachim Zumbrägel Computer Network Lab 2015 Fachgebiet Technische Informatik, Joachim Zumbrägel Overview Internet Internet Protocols Fundamentals about HTTP Communication HTTP-Server, mode of operation Static/Dynamic Webpages

More information

CPE111 COMPUTER EXPLORATION

CPE111 COMPUTER EXPLORATION CPE111 COMPUTER EXPLORATION BUILDING A WEB SERVER ASSIGNMENT You will create your own web application on your local web server in your newly installed Ubuntu Desktop on Oracle VM VirtualBox. This is a

More information

Tableau Server Trusted Authentication

Tableau Server Trusted Authentication Tableau Server Trusted Authentication When you embed Tableau Server views into webpages, everyone who visits the page must be a licensed user on Tableau Server. When users visit the page they will be prompted

More information

DevKey Documentation. Release 0.1. Colm O Connor

DevKey Documentation. Release 0.1. Colm O Connor DevKey Documentation Release 0.1 Colm O Connor March 23, 2015 Contents 1 Quickstart 3 2 FAQ 5 3 Release Notes 7 i ii DevKey Documentation, Release 0.1 Github PyPI Contents 1 DevKey Documentation, Release

More information

How to test and debug an ASP.NET application

How to test and debug an ASP.NET application Chapter 4 How to test and debug an ASP.NET application 113 4 How to test and debug an ASP.NET application If you ve done much programming, you know that testing and debugging are often the most difficult

More information

Using The HomeVision Web Server

Using The HomeVision Web Server Using The HomeVision Web Server INTRODUCTION HomeVision version 3.0 includes a web server in the PC software. This provides several capabilities: Turns your computer into a web server that serves files

More information

CSCI110 Exercise 4: Database - MySQL

CSCI110 Exercise 4: Database - MySQL CSCI110 Exercise 4: Database - MySQL The exercise This exercise is to be completed in the laboratory and your completed work is to be shown to the laboratory tutor. The work should be done in week-8 but

More information

Virtual Communities Operations Manual

Virtual Communities Operations Manual Virtual Communities Operations Manual The Chapter Virtual Communities (VC) have been developed to improve communication among chapter leaders and members, to facilitate networking and communication among

More information

Certified PHP/MySQL Web Developer Course

Certified PHP/MySQL Web Developer Course Course Duration : 3 Months (120 Hours) Day 1 Introduction to PHP 1.PHP web architecture 2.PHP wamp server installation 3.First PHP program 4.HTML with php 5.Comments and PHP manual usage Day 2 Variables,

More information

Tableau Server Trusted Authentication

Tableau Server Trusted Authentication Tableau Server Trusted Authentication When you embed Tableau Server views into webpages, everyone who visits the page must be a licensed user on Tableau Server. When users visit the page they will be prompted

More information

CIS 192: Lecture 10 Web Development with Flask

CIS 192: Lecture 10 Web Development with Flask CIS 192: Lecture 10 Web Development with Flask Lili Dworkin University of Pennsylvania Last Week s Quiz req = requests.get("http://httpbin.org/get") 1. type(req.text) 2. type(req.json) 3. type(req.json())

More information

Getting Started with the Frontpage PHP Plus Version

Getting Started with the Frontpage PHP Plus Version Getting Started with the Frontpage PHP Plus Version Ecommerce Templates - 1 - Table of Contents Welcome 3 Requirements.. 4 Installing the template 5 Opening the template in Frontpage... 8 Using an FTP

More information

A WEB INTERFACE FOR NATURAL LANGUAGE PROCESSING DRIVEN FAQ WEBSITE. A Thesis. Presented to the. Faculty of. San Diego State University

A WEB INTERFACE FOR NATURAL LANGUAGE PROCESSING DRIVEN FAQ WEBSITE. A Thesis. Presented to the. Faculty of. San Diego State University A WEB INTERFACE FOR NATURAL LANGUAGE PROCESSING DRIVEN FAQ WEBSITE A Thesis Presented to the Faculty of San Diego State University In Partial Fulfillment of the Requirements for the Degree Master of Science

More information

Web Development with Flask and the Raspberry Pi Leading by Example CUAUHTEMOC CARBAJAL ITESM CEM 22/04/2014

Web Development with Flask and the Raspberry Pi Leading by Example CUAUHTEMOC CARBAJAL ITESM CEM 22/04/2014 Web Development with Flask and the Raspberry Pi Leading by Example CUAUHTEMOC CARBAJAL ITESM CEM 22/04/2014 Introduction Flask: lightweight web application framework written in Python and based on the

More information

Bitrix Site Manager 4.0. Quick Start Guide to Newsletters and Subscriptions

Bitrix Site Manager 4.0. Quick Start Guide to Newsletters and Subscriptions Bitrix Site Manager 4.0 Quick Start Guide to Newsletters and Subscriptions Contents PREFACE...3 CONFIGURING THE MODULE...4 SETTING UP FOR MANUAL SENDING E-MAIL MESSAGES...6 Creating a newsletter...6 Providing

More information

LAMP [Linux. Apache. MySQL. PHP] Industrial Implementations Module Description

LAMP [Linux. Apache. MySQL. PHP] Industrial Implementations Module Description LAMP [Linux. Apache. MySQL. PHP] Industrial Implementations Module Description Mastering LINUX Vikas Debnath Linux Administrator, Red Hat Professional Instructor : Vikas Debnath Contact

More information

Test-Driven Development with Python

Test-Driven Development with Python Test-Driven Development with Python Test-Driven Development with Python by Revision History for the : See http://oreilly.com/catalog/errata.csp?isbn= for release details. Table of Contents Preface.......................................................................

More information

CS169.1x Lecture 5: SaaS Architecture and Introduction to Rails " Fall 2012"

CS169.1x Lecture 5: SaaS Architecture and Introduction to Rails  Fall 2012 CS169.1x Lecture 5: SaaS Architecture and Introduction to Rails " Fall 2012" 1" Web at 100,000 feet" The web is a client/server architecture" It is fundamentally request/reply oriented" Web browser Internet

More information

Oracle Forms Services Secure Web.Show_Document() calls to Oracle Reports

Oracle Forms Services Secure Web.Show_Document() calls to Oracle Reports Oracle Forms Services Secure Web.Show_Document() calls to Oracle Reports $Q2UDFOH7HFKQLFDO:KLWHSDSHU )HEUXDU\ Secure Web.Show_Document() calls to Oracle Reports Introduction...3 Using Web.Show_Document

More information

Ruby on Rails is a Web application framework for Ruby. It was first released to the public in July2004.

Ruby on Rails is a Web application framework for Ruby. It was first released to the public in July2004. Ruby on Rails Ruby on Rails is a Web application framework for Ruby. It was first released to the public in July2004. Within months, it was a widely used development environment. Many multinational corporations

More information

Building a website. Should you build your own website?

Building a website. Should you build your own website? Building a website As discussed in the previous module, your website is the online shop window for your business and you will only get one chance to make a good first impression. It is worthwhile investing

More information

BEST WEB PROGRAMMING LANGUAGES TO LEARN ON YOUR OWN TIME

BEST WEB PROGRAMMING LANGUAGES TO LEARN ON YOUR OWN TIME BEST WEB PROGRAMMING LANGUAGES TO LEARN ON YOUR OWN TIME System Analysis and Design S.Mohammad Taheri S.Hamed Moghimi Fall 92 1 CHOOSE A PROGRAMMING LANGUAGE FOR THE PROJECT 2 CHOOSE A PROGRAMMING LANGUAGE

More information

Chapter 28: Expanding Web Studio

Chapter 28: Expanding Web Studio CHAPTER 25 - SAVING WEB SITES TO THE INTERNET Having successfully completed your Web site you are now ready to save (or post, or upload, or ftp) your Web site to the Internet. Web Studio has three ways

More information

Online shopping store

Online shopping store Online shopping store 1. Research projects: A physical shop can only serves the people locally. An online shopping store can resolve the geometrical boundary faced by the physical shop. It has other advantages,

More information

Living Requirements Document: Sniffit

Living Requirements Document: Sniffit Living Requirements Document: Sniffit RFID locator system Andrew Pang Braulio Fonseca Enrique Gutierrez Nader Khalil Sohan Shah Victor Porter Introduction Sniffit is a handy tracking application that helps

More information

AWEBDESK LIVE CHAT SOFTWARE

AWEBDESK LIVE CHAT SOFTWARE AWEBDESK LIVE CHAT SOFTWARE Version 6.1.0 AwebDesk Softwares Administrator Guide Edition 1.2 January 2014 Page 1 TABLE OF CONTENTS Introduction.......... 4 Sign In as Admin...5 Admin Dashboard Overview.

More information

PROMIS Tutorial ASCII Data Collection System

PROMIS Tutorial ASCII Data Collection System This Promis tutorial explains on a step by step base how to setup a basic data collection system capturing data from data acquisition sources outputting ASCII strings. For this tutorial we used a Ontrak

More information

Scripts. MIT s Dynamic Web Hosting Service

Scripts. MIT s Dynamic Web Hosting Service Scripts MIT s Dynamic Web Hosting Service Overview Scripts serves web apps from your home directory in AFS (/mit/your- username/web_scripts on Athena)! Autoinstaller does all the hard setting up of a web

More information

Memopol Documentation

Memopol Documentation Memopol Documentation Release 1.0.0 Laurent Peuch, Mindiell, Arnaud Fabre January 26, 2016 Contents 1 User guide 3 1.1 Authentication in the admin backend.................................. 3 1.2 Managing

More information

SQL Injection Attack Lab Using Collabtive

SQL Injection Attack Lab Using Collabtive Laboratory for Computer Security Education 1 SQL Injection Attack Lab Using Collabtive (Web Application: Collabtive) Copyright c 2006-2011 Wenliang Du, Syracuse University. The development of this document

More information

django-cron Documentation

django-cron Documentation django-cron Documentation Release 0.3.5 Tivix Inc. September 28, 2015 Contents 1 Introduction 3 2 Installation 5 3 Configuration 7 4 Sample Cron Configurations 9 4.1 Retry after failure feature........................................

More information

Welcome to Collage (Draft v0.1)

Welcome to Collage (Draft v0.1) Welcome to Collage (Draft v0.1) Table of Contents Welcome to Collage (Draft v0.1)... 1 Table of Contents... 1 Overview... 2 What is Collage?... 3 Getting started... 4 Searching for Images in Collage...

More information

Zinnia Drupal Documentation

Zinnia Drupal Documentation Zinnia Drupal Documentation Release 0.1.2 Branko Majic September 16, 2013 CONTENTS 1 Support 3 1.1 About Zinnia Drupal........................................... 3 1.2 Installation................................................

More information

Drupal 6 Web Application Development Tutorial

Drupal 6 Web Application Development Tutorial Table of Contents Welcome to the world of Drupal!!!... 2 Installation... 3 Drupal s Model of a Web Application... 8 Application Development... 11 Library System Example... 12 Going Further... 33 Document

More information

USING MYWEBSQL FIGURE 1: FIRST AUTHENTICATION LAYER (ENTER YOUR REGULAR SIMMONS USERNAME AND PASSWORD)

USING MYWEBSQL FIGURE 1: FIRST AUTHENTICATION LAYER (ENTER YOUR REGULAR SIMMONS USERNAME AND PASSWORD) USING MYWEBSQL MyWebSQL is a database web administration tool that will be used during LIS 458 & CS 333. This document will provide the basic steps for you to become familiar with the application. 1. To

More information

CIS 192: Lecture 10 Web Development with Flask

CIS 192: Lecture 10 Web Development with Flask CIS 192: Lecture 10 Web Development with Flask Lili Dworkin University of Pennsylvania Web Frameworks We ve been talking about making HTTP requests What about serving them? Flask is a microframework small

More information

Django and Pyjamas. Django and Pyjamas mariage as an alternative way to create Web Applications. Pawel Prokop. pawel.prokop@adfinem.

Django and Pyjamas. Django and Pyjamas mariage as an alternative way to create Web Applications. Pawel Prokop. pawel.prokop@adfinem. + and and mariage as an alternative way to create Web Applications pawel.prokop@adfinem.net November 24, 2011 Copyright c and + I ll tell a story about some mariage.........

More information

Drupal Automated Testing: Using Behat and Gherkin

Drupal Automated Testing: Using Behat and Gherkin PNNL-23798 Prepared for the U.S. Department of Energy under Contract DE-AC05-76RL01830 Drupal Automated Testing: Using Behat and Gherkin Thomas Williams Thom.Williams@pnnl.gov Carolyn Wolkenhauer Carolyn.Wolkenhauer@pnnl.gov

More information

Dynamic Publisher Manual of Features

Dynamic Publisher Manual of Features Dynamic Publisher Manual of Features Introduction to Dynamic Publisher Dynamic Publisher is an extension module for Dynamic Knowledgebase that enables you to take atlases developed and published in Dynamic

More information

How to build a blog with Adobe Muse and Business Catalyst Workbook.

How to build a blog with Adobe Muse and Business Catalyst Workbook. BL8842 - Adding Adobe Muse to Your Business Catalyst Toolkit How to build a blog with Adobe Muse and Business Catalyst Workbook. V1.0 Authored by Chris Kellett musegrid.com/simple Flame Site uses the Mavens

More information

Parallels Plesk Automation

Parallels Plesk Automation Parallels Plesk Automation Contents Get Started 3 Infrastructure Configuration... 4 Network Configuration... 6 Installing Parallels Plesk Automation 7 Deploying Infrastructure 9 Installing License Keys

More information

CloudVPS Backup Manual. CloudVPS Backup Manual

CloudVPS Backup Manual. CloudVPS Backup Manual 1 Index Cover Index Preface Software requirements Installation of the backupscript (easy) Installation of the backupscript (advanced) Configuration editor Uninstall the backupscript Show quota usage Quota

More information

EECS 398 Project 2: Classic Web Vulnerabilities

EECS 398 Project 2: Classic Web Vulnerabilities EECS 398 Project 2: Classic Web Vulnerabilities Revision History 3.0 (October 27, 2009) Revise CSRF attacks 1 and 2 to make them possible to complete within the constraints of the project. Clarify that

More information

Web Hosting Features. Small Office Premium. Small Office. Basic Premium. Enterprise. Basic. General

Web Hosting Features. Small Office Premium. Small Office. Basic Premium. Enterprise. Basic. General General Basic Basic Small Office Small Office Enterprise Enterprise RAID Web Storage 200 MB 1.5 MB 3 GB 6 GB 12 GB 42 GB Web Transfer Limit 36 GB 192 GB 288 GB 480 GB 960 GB 1200 GB Mail boxes 0 23 30

More information

Django FTP Deploy Documentation

Django FTP Deploy Documentation Django FTP Deploy Documentation Release 2.0 Lukasz Pakula November 12, 2014 Contents 1 User Guide 3 1.1 Installation................................................ 3 1.2 Usage...................................................

More information

Preventing SQL Injection and XSS Attacks. ACM Webmonkeys, 2011

Preventing SQL Injection and XSS Attacks. ACM Webmonkeys, 2011 Preventing SQL Injection and XSS Attacks ACM Webmonkeys, 2011 The need for security Any website you develop, whether personal or for a business, should be reasonably secured. "Reasonably", because you

More information

Google Analytics Guide

Google Analytics Guide Google Analytics Guide 1 We re excited that you re implementing Google Analytics to help you make the most of your website and convert more visitors. This deck will go through how to create and configure

More information

BDD FOR AUTOMATING WEB APPLICATION TESTING. Stephen de Vries

BDD FOR AUTOMATING WEB APPLICATION TESTING. Stephen de Vries BDD FOR AUTOMATING WEB APPLICATION TESTING Stephen de Vries www.continuumsecurity.net INTRODUCTION Security Testing of web applications, both in the form of automated scanning and manual security assessment

More information

Drupal Node Overview. Attendee Guide. Prepared for: EDT502, Fall 2007, Dr. Savenye Prepared by: Jeff Beeman. November 26, 2007 EDT502 Final Project

Drupal Node Overview. Attendee Guide. Prepared for: EDT502, Fall 2007, Dr. Savenye Prepared by: Jeff Beeman. November 26, 2007 EDT502 Final Project Drupal Node Overview Attendee Guide Prepared for: EDT502, Fall 2007, Dr. Savenye Prepared by: Jeff Beeman November 26, 2007 EDT502 Final Project Table of Contents Introduction 3 Program Content and Purpose

More information

Table of Contents. Introduction: 2. Settings: 6. Archive Email: 9. Search Email: 12. Browse Email: 16. Schedule Archiving: 18

Table of Contents. Introduction: 2. Settings: 6. Archive Email: 9. Search Email: 12. Browse Email: 16. Schedule Archiving: 18 MailSteward Manual Page 1 Table of Contents Introduction: 2 Settings: 6 Archive Email: 9 Search Email: 12 Browse Email: 16 Schedule Archiving: 18 Add, Search, & View Tags: 20 Set Rules for Tagging or Excluding:

More information

Lesson 7 - Website Administration

Lesson 7 - Website Administration Lesson 7 - Website Administration If you are hired as a web designer, your client will most likely expect you do more than just create their website. They will expect you to also know how to get their

More information

Installing and configuring Microsoft Reporting Services

Installing and configuring Microsoft Reporting Services Installing and configuring Microsoft Reporting Services Every company, big or small has to use various tools to retrieve data from their Databases. IT departments receive many different requests for data

More information

A Manual on use of ABCD central and VHL-Site modules for Developing Library Information Discovery and Information Literacy Tools

A Manual on use of ABCD central and VHL-Site modules for Developing Library Information Discovery and Information Literacy Tools A Manual on use of ABCD central and VHL-Site modules for Developing Library Information Discovery and Information Literacy Tools By Arnold M. Mwanzu From Kenya: United States International University-Africa

More information

Magento 1.3: PHP Developer's Guide

Magento 1.3: PHP Developer's Guide Magento 1.3: PHP Developer's Guide Jamie Huskisson Chapter No. 3 "Magento's Architecture" In this package, you will find: A Biography of the author of the book A preview chapter from the book, Chapter

More information

Version of this tutorial: 1.06a (this tutorial will going to evolve with versions of NWNX4)

Version of this tutorial: 1.06a (this tutorial will going to evolve with versions of NWNX4) Version of this tutorial: 1.06a (this tutorial will going to evolve with versions of NWNX4) The purpose of this document is to help a beginner to install all the elements necessary to use NWNX4. Throughout

More information

About ZPanel. About the framework. The purpose of this guide. Page 1. Author: Bobby Allen (ballen@zpanelcp.com) Version: 1.1

About ZPanel. About the framework. The purpose of this guide. Page 1. Author: Bobby Allen (ballen@zpanelcp.com) Version: 1.1 Page 1 Module developers guide for ZPanelX Author: Bobby Allen (ballen@zpanelcp.com) Version: 1.1 About ZPanel ZPanel is an open- source web hosting control panel for Microsoft Windows and POSIX based

More information

DjNRO Release 0.9 July 14, 2015

DjNRO Release 0.9 July 14, 2015 DjNRO Release 0.9 July 14, 2015 Contents 1 About 3 2 Features 5 3 Requirements 7 3.1 Required Packages............................................ 7 4 Installation 9 4.1 Installation/Configuration........................................

More information

Facebook Twitter YouTube Google Plus Website Email

Facebook Twitter YouTube Google Plus Website Email PHP MySQL COURSE WITH OOP COURSE COVERS: PHP MySQL OBJECT ORIENTED PROGRAMMING WITH PHP SYLLABUS PHP 1. Writing PHP scripts- Writing PHP scripts, learn about PHP code structure, how to write and execute

More information

Design Proposal for a Meta-Data-Driven Content Management System

Design Proposal for a Meta-Data-Driven Content Management System Design Proposal for a Meta-Data-Driven Content Management System Andreas Krennmair ak@synflood.at 15th August 2005 Contents 1 Basic Idea 1 2 Services 2 3 Programmability 2 4 Storage 3 5 Interface 4 5.1

More information

Designing and Implementing an Online Bookstore Website

Designing and Implementing an Online Bookstore Website KEMI-TORNIO UNIVERSITY OF APPLIED SCIENCES TECHNOLOGY Cha Li Designing and Implementing an Online Bookstore Website The Bachelor s Thesis Information Technology programme Kemi 2011 Cha Li BACHELOR S THESIS

More information

WHAT YOU NEED TO KNOW IN LESS THAN 500 WORDS

WHAT YOU NEED TO KNOW IN LESS THAN 500 WORDS OIT s Recommended Process for Saving Departing Employee s Electronic Files and Emails Why? Who? How? Expanded/ Updated April 13, 2016 Eric.Stout@maine.gov, 624-9981, OIT Records Officer and e-discovery

More information

Web Application Development Using UML

Web Application Development Using UML Web Application Development Using UML Dilip Kothamasu West Chester University West Chester, PA - 19382 dk603365@wcupa.edu Zhen Jiang Department of Computer Science Information Assurance Center West Chester

More information