Web Development Resources for Project 1 Tyler Moore University of Tulsa CS 7403: Secure Electronic Commerce Spring
Environment Overview LAMP Stack – Linux – Apache – MySQL – PHP Python Download VirtualBox – I have configured a customized LAMP stack in a VM, housed on flash drives
Project Teams 1.Nicole and Duc 2.Marie and JT 3.Matt and Alison 4.Megan, Stephen and Victoria
Website Demo
Python /lectures/python.html /lectures/python.html Cookie library: Urllib2 library (for opening HTTP connections):
CGI Programming in Python To develop a modern website using Python, best to use a framework such as Django For a simple application where components are built from scratch, can use CGI Basic Idea: load a Python script in a URI, which executes and outputs HTML
HTML Forms asp asp Python CGI library has a method called cgi.FieldStorage() that includes a dictionary mapping form tag names to the values selected by users
MySQL Several Python interfaces available – Pymysql used in the website code:
Parsing HTML with BeautifulSoup /lectures/webcrawl.html#section_2 /lectures/webcrawl.html#section_2 oup/