Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, © Copyright 2010 All Rights Reserved.

Slides:



Advertisements
Similar presentations
17 HTML, Scripting, and Interactivity Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and.
Advertisements

Copyright © 2011 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are trademarks of Accenture. SQL Workshop Day 4.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, Copyright © 2010 All Rights Reserved.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, © Copyright 2010, All Rights Reserved 1.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, © Copyright 2010 All Rights Reserved.
Kirkwood Center for Continuing Education By Fred McClurg, Introduction to PHP and MySQL Copyright © 2010 All Rights Reserved.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, © Copyright 2014 All Rights Reserved.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, Copyright © 2010 All Rights Reserved. 1.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, Copyright © 2014 All Rights Reserved.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, Copyright © 2010 All Rights Reserved.
Best Practices for Website Design & Web Content Management.
Introduction to PHP and MySQL Kirkwood Center for Continuing Education By Fred McClurg, © Copyright 2010, All Rights Reserved.
Introduction to PHP and MySQL Kirkwood Center for Continuing Education By Fred McClurg, © Copyright 2014, Fred McClurg, All Rights.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, Copyright © 2010 All Rights Reserved. 1.
Web Database Programming Week 6 Using Templates & Updating Web Database.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, Copyright © 2010 All Rights Reserved.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, © Copyright 2010, All Rights Reserved 1.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, Copyright © 2010 All Rights Reserved. 1.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
Introduction To PHP 20 * Introducing the basics of programming * Discovering variables, loops, arrays and conditions * Integrating HTML and PHP Stations.
Introduction to JavaScript Kirkwood Continuing Education © Copyright 2014, Fred McClurg All Rights Reserved.
CSE3310: Web training A JumpStart for Project.
Server-side Scripting Powering the webs favourite services.
Mark Dixon Page 1 23 – Web applications: Writing data to Databases using PhP.
HTML B OOT C AMP Itinerary Kirkwood Continuing Education © Copyright 2015, Fred R. McClurg All Rights Reserved.
CSC 122 Term Project RGBYouth.com Content Management System Dane Young.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
FUNCTIONS AND STORED PROCEDURES & FUNCTIONS AND PROTECTING A DB AND PHP (Chapters 9, 15, 18)
PHP meets MySQL.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
Class 1Intro to Databases Goals of this class Understand the architecture behind web database applications Gain a basic understanding of what relational.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, Copyright © 2015, Fred McClurg, All Rights.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, Copyright © 2015, Fred McClurg, All Rights.
Creating PHPs to Insert, Update, and Delete Data CS 320.
Dr. Venton Kepuska Donald L. Troup. Dynamic Web Calendar
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Introduction to Views Stanford Drupal Camp April 6, 2013.
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 41 JavaServer Face.
CS779 Term Project Steve Shoyer Section 5 December 9, 2006 Week 6.
Microsoft FrontPage 2003 Illustrated Complete Integrating a Database with a Web Site.
Class 1Intro to Databases Goals of this class Understand the architecture behind web database applications Gain a basic understanding of what relational.
INTRODUCTION TO HTML5 New HTML5 User Interface and Attributes.
FileZilla Introduction to Web Programming Kirkwood Community College Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, © Copyright 2015 All Rights Reserved.
Kirkwood Center for Continuing Education By Fred McClurg, Introduction to PHP and MySQL Copyright © 2015, Fred McClurg, All Rights.
2008 Freshmen Java Project Produced by 2008 IDS Freshmen.
Database to HTML and Back again A programmers tale.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, © Copyright 2015, Fred McClurg, All Rights.
CSE3310: Web training A JumpStart for Project. Outline Introduction to Website development Web Development Languages How to build simple Pages in PHP.
Web based Documentation Distribution Tools: MSAccess database (DSN) DreamWeaver Ultradev Microsoft Image Composer Clicking on the document will open an.
Education And Training CTC IT DIVISION PivotLink User Training April 2010.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, Copyright © 2016, Fred McClurg, All Rights.
HTML Introduction HTML Editors HTML Basic HTML Elements HTML Attributes HTML Headings HTML Paragraphs HTML Formatting HTML Links HTML Head HTML CSS HTML.
Basics Components of Web Design & Development Basics, Components, Design and Development.
COM621: Advanced Interactive Web Development Lecture 10 PHP and MySQL.
Microsoft FrontPage 2003 Illustrated Complete Creating a Web Site.
Introduction to Dynamic Web Programming
PHP Training at GoLogica in Bangalore
PHP / MySQL Introduction
Kirkwood Center for Continuing Education
Introduction to NetDB2 IST210.
INFO/CSE 100, Spring 2006 Fluency in Information Technology
Kirkwood Center for Continuing Education
Tutorial 6 PHP & MySQL Li Xu
Database Management Systems
Dynamic SQL Konstantin Osipov, MySQL AB.
Presentation transcript:

Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, © Copyright 2010 All Rights Reserved.

Class Project Recipe DB Application Part One: Search & Delete urg/courses/php/slides/recipe01.ppt

Description: The first step of any project is to define the requirements. 1. Provide a web interface to the notecard database. 2. Make sure that the user can perform CRUD operations on the data. 3.Function is more important than esthetics. For this project, we pick “fast” and “cheap”. Requirements Definition Good Fast Cheap

Review: An understanding of the database schema is important. 1.To rapidly create database and test data, import “cookbookDB.sql” or create the following database from scratch. Database Requirements

Description: It is pretty hard to beat pencil and paper for rapidly laying out ideas. The original sketch can be refined using “visio”, “dia”, “xfig”, or “OpenOffice Draw”. The form controls can also be captured as images to be pasted and arranged in any graphics application. (see “webParts.html”) Interface Design

TitleRecipeCategoryDelete? JelloMix...Dessert PuddingMix...Dessert KoolaidMix...Beverage... Sketch of interface that handles the “R” and “D” of CRUD: Interface Design Search Delete Selected

TitleRecipeCategoryDelete JelloMix...Dessert PuddingMix...Dessert KoolaidMix...Beverage... Alternate sketch of GUI interface that handles the “R” and “D” of CRUD: Interface Design Search Delete

Sketch of GUI interface that handles the “C” and “U” of CRUD: Interface Design Mix Cocoa packet with water. Heat. Stir. Hot Cocoa Create Modify Beverage

Discussion: The following procedure represents the tasks we will follow to complete the “search.php” application. 0.Convert from HTML to PHP. 1.Perform the following tasks: a.Initialize variables (Step 0) b.Connect to database (Step 1) c.Use a database (Step 2) d.Close the database connection (Steps 6). General Tasks

Discussion: The following procedure represents the tasks we will follow to complete the “search.php” application. 2.Perform the following tasks : a.Build the SQL “SELECT” statement (Step 3). b.Execute the SQL statement (Step 4). 3.Build a SQL debug statement. 4.Build a HTML table with database data: b.Obtain results from “SELECT” statement (Step 5) c.Display data in dynamic HTML table. General Tasks

5.Remove the static HTML table. 6.Make form changes: a.Make form self-referential (action flexibility). b.Make text field “sticky” (remember previous state). 7.Populate drop-down list with DB values. General Tasks (cont. 2)

8.Add search capabilities for title. 9.Add search capabilities for category. 10.Add search capabilities for content. 11.Make checkboxes “sticky”. 12.Separate CSS into a separate file. 13.Separate JavaScript into separate file. General Tasks (cont. 3)

Discussion: The items below are the tasks and the procedure we will follow to complete the “delete.php” application. 14.Perform the following tasks: a.Connect and use the database (Steps 1 & 2). b.Build the SQL “DELETE” statement (Step 3). c.Execute the SQL statement (Step 4). d.Obtain results from “DELETE” statement (Step 5). General Tasks (cont. 4)

to be continued... urg/courses/php/slides/recipe02.ppt