Fall 2014, project. XAMPP (or other stack) Go to https://www.apachefriends.org/index.htmlhttps://www.apachefriends.org/index.html Install a MySQL, Apache,

Slides:



Advertisements
Similar presentations
Dreamweaver Forms Overview. Forms – A Little Review Most user/webpage communication is one way, like this: Most user/webpage communication is one way,
Advertisements

Results of the survey and relational dbs Fall 2011.
What is MySQL? MySQL is a relational database management system (A relational database stores data in separate tables rather than putting all the data.
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.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
INTRODUCTION The Group WEB BROWSER FOR RELATION Goals.
P2-S1 MySQL 2003 SJSU -- CmpE-- M.E. Fayad Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
1 Multi-valued Dependencies. 2 Multivalued Dependencies There are database schemas in BCNF that do not seem to be sufficiently normalized. Consider a.
Sara SartoliAkbar Siami Namin NSF-SFS workshop July 14-18, 2014.
SiS Technical Training Development Track Technical Training(s) Day 1 – Day 2.
CSC 2720 Building Web Applications Database and SQL.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Microsoft Access 2010 Chapter 7 Using SQL.
Class 4 PHP MySQL Robert Mudge Reference:
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
Introduction: Drupal is a free and open-source content management system (CMS). A content management system(CMS) is a computer program that allows publishing,
Lecture 3 – Data Storage with XML+AJAX and MySQL+socket.io
CSCI 6962: Server-side Design and Programming
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Web Application Architecture and Communication. Displaying a Web page in a Browser
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Python MySQL Database Access
Component 4/Unit 6f Topic VI: Create simple querying statements for the database The SELECT statement Clauses Functions Joins Subqueries Data manipulation.
Web Services Week 8 Aims: –Using web services as front ends to databases Objectives: –Review of relational databases –Connecting to and querying databases.
Physical Database Design & Performance. Optimizing for Query Performance For DBs with high retrieval traffic as compared to maintenance traffic, optimizing.
INFO 344 Web Tools And Development CK Wang University of Washington Spring 2014.
MySQL. MySQL is a Relational Database Management System (RDBMS) that runs as a server providing multiuser access to a number of databases. A third party.
NOSQL DATABASES Please remember to read the NOSQL Distilled book and the Seven Databases book.
MySQL Databases & PHP Integration Using PHP to write data to, and retrieve data from, a MySQL database.
NMED 3850 A Advanced Online Design January 12, 2010 V. Mahadevan.
SYST Web Technologies SYST Web Technologies Databases & MySQL.
PHP Overview By Alex and Cindy. Jan 21,2013. What is PHP? An open source server-side programming language An open source server-side programming language.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Implementing the Theory dBase Operations in MS Access.
Fall 2013, Databases, Exam 2 Questions for the second exam. Your answers are due by Dec. 18 at 4PM. (This is the final exam slot.) And please type your.
EXAM 1 NEXT TUESDAY…. EXAMPLE QUESTIONS 1.Why is the notion of a “state” important in relational database technology? What does it refer to? 2.What do.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
CS499 Project #3 XML mySQL Test Generation Members Erica Wade Kevin Hardison Sameer Patwa Yi Lu.
Fall 2013, Databases, Exam 2 Questions for the second exam…
Security Considerations Steve Perry
THE WEBMASTERS: SENG + WAVERING.  On account of construction, we will be having class in room 1248 next week.
CD Collection Hector Urtubia Fall Summary Motivation and Objective Technologies Used Project Design Database Design and Integration Demo.
SQL Report Writer.  The SQL Report Writer is included with every Appx runtime.  It is intended to be used by end users to create their own reports.
CS453: Databases and State in Web Applications (Part 2) Prof. Tom Horton.
SqlExam1Review.ppt EXAM - 1. SQL stands for -- Structured Query Language Putting a manual database on a computer ensures? Data is more current Data is.
WAMP Server Installatin Shiyun Wen. WAMP Server Installation  WAMP Server is an integrated installation of Apache, MySQL, and PHP for Windows. Following.
Windows 7 WampServer 2.1 MySQL PHP 5.3 Script Apache Server User Record or Select Media Upload to Internet Return URL Forward URL Create.
Server-Side Solutions Steve Perry
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Component 4: Introduction to Information and Computer Science Unit 6: Databases and SQL Lecture 6 This material was developed by Oregon Health & Science.
44271: Database Design & Implementation Physical Data Modelling Ian Perry Room: C49 Tel Ext.: 7287
University of South Asia Course Name: Web Application Prepared By: Md Rezaul Huda Reza
COM621: Advanced Interactive Web Development Lecture 10 PHP and MySQL.
Big Data Yuan Xue CS 292 Special topics on.
The data in the table.. Starting a query. Two criteria in an AND relationship.
sTGC production database design
2nd year Computer Science & Engineer
More SQL: Complex Queries, Triggers, Views, and Schema Modification
More SQL: Complex Queries,
Introduction to Dynamic Web Programming
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
PGT(CS) ,KV JHAGRAKHAND
Introduction to Web programming
Ben Dahlin LCSC Technology Development Coordinator
SQL: Advanced Options, Updates and Views Lecturer: Dr Pavle Mogin
Web Browser server client 3-Tier Architecture Apache web server PHP
PHP and Forms.
Normalization Normalization theory is based on the observation that relations with certain properties are more effective in inserting, updating and deleting.
User Interface Tutorial
Database.
Presentation transcript:

Fall 2014, project

XAMPP (or other stack) Go to Install a MySQL, Apache, PHP stack Go to Go to Note, you can also get stacks at: The mac app store - MAMP stack Bitnami.org – WAMP and MAMP

Project requirements Design a database Create your tables un-normalized There must be transitive FDs in each original table There must be at least one pair of MVDs in the original schema (in the same table) Create at least 10 tables with at least six fields in each table Normalize your tables into 4NF Most of your tables should be involved in PK/FK relationships

Using PHPMyAdmin Create your database Populate your tables with INSERT commands Write queries that do the following (at least one of each) A simple SELECT FROM WHERE A SELECT FROM WHERE ORDER BY A SELECT FROM WHERE ORDER BY LIMIT A SELECT FROM WHERE with an implied join A SELECT FROM WHERE GROUP BY A SELECT FROM WHERE GROUP BY HAVING

Using PHPMyAdim, continued A SELECT FROM WHERE with two implied joins, a MAX function, an AVG function, and at least two levels of parentheses embedding in the where clause (i.e., a very non- trivial where clause) A SELECT FROM WHERE with a NOT operator and an IN operator, and a nested query A SET command and a nontrivial WHERE clause An UPDATE with a nontrivial WHERE clause A CREATE USER A DROP USER A START TRANSACTION and a ROLLBACK

For ugrads & grad students You will run your queries manually for the grader All queries must compile and run properly – the grader will be there on the day of the final for demos You will send to the grader via your pre-normalized schema and your schema in 4NF, as well as show them to him on the day of the final You will also send the grader the text of all your SQL queries (including the ones making tables and doing updates/inserts).

For grad students (or extra credit for ugrads) Create a web page interface to your set of queries so that queries can be chosen from a menu and then run The interface will show the growing schema as tables are created For read only queries: The web page interface will display the result of each query, including table names, attribute names, and the tuples returned For queries that update tables: The interface will show all updated tuples