CD Collection Hector Urtubia Fall 2002. Summary Motivation and Objective Technologies Used Project Design Database Design and Integration Demo.

Slides:



Advertisements
Similar presentations
PHP SQL. Connection code:- mysql_connect("server", "username", "password"); Connect to the Database Server with the authorised user and password. Eg $connect.
Advertisements

Exploring PHP and MySQL Using an Online Travel Agency as a Case Study Charles R. Moen, M.S. Morris M. Liaw, Ph.D. October 9, 2004 ACET 2004.
PHP Hypertext Preprocessor Information Systems 337 Prof. Harry Plantinga.
What is it? –Large Web sites that support commercial use cannot be written by hand What you’re going to learn –How a Web server and a database can be used.
Learning Web development. 3(+1) Tier architecture PHP script Remote services Web Server (Apache, IIS) Browser (IE, FireFox, Opera) Desktop (PC or MAC)
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Multiple Tiers in Action
1 Foundations of Software Design Lecture 27: Java Database Programming Marti Hearst Fall 2002.
Website Generator for SoftLab By Yohann SABBAH & Mikael V.H Cohen -Under the supervision of Viktor Kulikov- Final Presentation 7/20/2015.
Lecture 3 – Data Storage with XML+AJAX and MySQL+socket.io
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)

Session 5: Working with MySQL iNET Academy Open Source Web Development.
True or False? Programming languages can be used to update databases and communicate with other systems. True.
Lecture 14 – Web Security SFDV3011 – Advanced Web Development 1.
1 PHP and MySQL. 2 Topics  Querying Data with PHP  User-Driven Querying  Writing Data with PHP and MySQL PHP and MySQL.
Multifarious Project Team Members Alberto Dominguez Nirmit Gang Jimmy Garcia Javier Handal.
Fundamentals of Database Chapter 7 Database Technologies.
M1G Introduction to Database Development 6. Building Applications.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
PHP and MySQL by Example COMP YL Professor Mattos.
Web Platform Performance Analysis Prototype Acceptance Review Team. 4.
Class 1Intro to Databases Goals of this class Understand the architecture behind web database applications Gain a basic understanding of what relational.
SQL Queries Relational database and SQL MySQL LAMP SQL queries A MySQL Tutorial and applications Database Building Assignment.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
MySQL Databases & PHP Integration Using PHP to write data to, and retrieve data from, a MySQL database.
Technology & Management Club Development Software Overview.
Looking for simple php script Language: PHP Must be php>>>>> I can not use an other language Budget: $30.0 If more than $30.0 Please do not bid Login page.
Project Overview Graduate Selection Process Project Goal Automate the Selection Process.
Introduction to CS520/CS596_026 Lecture Two Gordon Tian Fall 2015.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Case Study Dynamic Website - Three Tier Architecture
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
Web Database Programming Week 7 Session Management & Authentication.
Michele Caselle INFN - BariITS Meeting 4 Jun 2002 LabVIEW&Windows – MySQL interface  SPD database general architecture  LabVIEW – MySQL interface. 
1 CSC 301 Web Programming Charles Frank. PHP – Stands for:  Personal Home Page (originally),  PHP: Hypertext Preprocessor (now; follows GNU’s recursive.
CS779 Term Project Steve Shoyer Section 5 December 9, 2006 Week 6.
Tallahassee, Florida, 2015 COP4710 Database Systems Project Overview Fall 2015.
Class 1Intro to Databases Goals of this class Understand the architecture behind web database applications Gain a basic understanding of what relational.
WEB SERVER SOFTWARE FEATURE SETS
Database Connectivity and Server-Side Scripting Chapter 12.
The basics of knowing the difference CLIENT VS. SERVER.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
CP476 Internet Computing Perl CGI and MySql 1 Relational Databases –A database is a collection of data organized to allow relatively easy access for retrievals,
How Web Database Architectures Work CPS181s April 8, 2003.
Display Page (HTML/CSS)
Basics Components of Web Design & Development Basics, Components, Design and Development.
Class02 Introduction to web development concepts MIS 3501, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 1/14/2016.
PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient alternative.
Introduction to Dynamic Web Programming
CSC 301 Web Programming Charles Frank.
Introduction to web development concepts
Introduction and Principles
SQL Queries Relational database and SQL MySQL LAMP SQL queries
Lecture 11. Web Standards Continued
Advanced Web Automation Using Selenium
PHP / MySQL Introduction
Database Driven Websites
Login & administration page
Web Systems Development (CSC-215)
CS1222 Using Relational Databases and SQL
Web Systems Development (CSC-215)
Content of Presentation
Tutorial 6 PHP & MySQL Li Xu
CS4433 Database Systems Project.
MySQL Web Application Connecting to a MySQL database
PHP Forms and Databases.
Hypertext Preprocessor
Web Application Development Using PHP
Presentation transcript:

CD Collection Hector Urtubia Fall 2002

Summary Motivation and Objective Technologies Used Project Design Database Design and Integration Demo

Motivation and Objective Hands-on project Gain experience on database design Project design and database integration To have a final product that is (somewhat) useful To learn more about SQL

Technologies used Programming Language: – PHP Database Package – MySQL

PHP PHP Hypertext Processor Very popular web scripting language – Embedded into HTML – Fast development cycle Open Source Fairly complete API Extensive database support

MySQL Fast Relational Database Management System Uses SQL as its query language Open Source Multi-platform Interfaces to many languages: PHP, Perl, Java, C, Python

Project Design In short: A database of CD’s. Special features: – CD’s classified by artist and country – Efficient search mechanism – User based User privileges – Ratings system – Interesting Reports based on collected data

Database Design: Main Tables cd_idartist_idnameYeardescripti on date cds artists artists_idnamecountry_iddescription country country_idname

Database Design: User Tables users user_idusernamepassword session_id user_privileges user_id privilege

Database Design: Additional Tables cd_views cd_iduser_iddate cd_ratings cd_iduser_idtextratingdate

User Authentication Client sends username, password pair Server sees if username,password pair match the database. – No: do nothing – Yes: server sets cookie on client with user_id and a randomly chosen session_id. Server also stores the session_id on the DB.

Seeing if a user is logged in Server sees if cookies with the user_id and the session_id are stored on the client If the user_id and session_id cookies match the ones on the DB, then the user is authentic To log out a user, we must only set the session_id to NULL

Future Work Extend the design to make it able to be a CD Shopping Store. Reorganize some of the code and make more object oriented Extend the design so it can not only have CD’s but arbitrary items

DEMO