Download presentation
Presentation is loading. Please wait.
Published byReynold Bell Modified over 8 years ago
1
Web Development Resources for Project 1 Tyler Moore University of Tulsa CS 7403: Secure Electronic Commerce Spring 2016 1
2
Environment Overview LAMP Stack – Linux – Apache – MySQL – PHP Python Download VirtualBox https://www.virtualbox.org/wiki/Downloads https://www.virtualbox.org/wiki/Downloads – I have configured a customized LAMP stack in a VM, housed on flash drives
3
Project Teams 1.Nicole and Duc 2.Marie and JT 3.Matt and Alison 4.Megan, Stephen and Victoria
4
Website Demo
5
Python http://tylermoore.ens.utulsa.edu/courses/qtw /lectures/python.html http://tylermoore.ens.utulsa.edu/courses/qtw /lectures/python.html Cookie library: https://docs.python.org/2/library/cookie.html https://docs.python.org/2/library/cookie.html Urllib2 library (for opening HTTP connections): https://docs.python.org/2/library/urllib2.html https://docs.python.org/2/library/urllib2.html
6
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 https://docs.python.org/2/library/cgi.html
7
HTML Forms http://www.w3schools.com/html/html_forms. asp http://www.w3schools.com/html/html_forms. asp Python CGI library has a method called cgi.FieldStorage() that includes a dictionary mapping form tag names to the values selected by users
8
MySQL http://www.w3schools.com/sql/default.asp Several Python interfaces available – Pymysql used in the website code: https://github.com/PyMySQL/PyMySQL https://github.com/PyMySQL/PyMySQL
9
Parsing HTML with BeautifulSoup http://tylermoore.ens.utulsa.edu/courses/qtw /lectures/webcrawl.html#section_2 http://tylermoore.ens.utulsa.edu/courses/qtw /lectures/webcrawl.html#section_2 http://www.crummy.com/software/BeautifulS oup/
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.