Technology & Management Club Development Software Overview.

Slides:



Advertisements
Similar presentations
PHP and MySQL Database. Connecting to MySQL Note: you need to make sure that you have MySQL software properly installed on your computer before you attempt.
Advertisements

Lecture Microsoft Access and Relational Database Basics.
Multiple Tiers in Action
MySQL and PHP By Trevor Adams.
PHP Scripts HTML Forms Two-tier Software Architecture PHP Tools.
INTRO TO MAKING A WEBSITE Mark Zhang.  HTML  CSS  Javascript  PHP  MySQL  …That’s a lot of stuff!
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
PHP & MySQL Mahak Arora Vivek Bangera. Outline How PHP works Basic scripting in PHP Forms in PHP(GET & POST Variables) SQL basics PHP and MySQL connection.
1 CS428 Web Engineering Lecture 23 MySQL Basics (PHP - VI)
Lecture 3 – Data Storage with XML+AJAX and MySQL+socket.io
Programming with php By: Seth Larson. A little bit about PHP  PHP stands for PHP:  Hypertext Preprocessor  PHP is a widely-used general-purpose server-side.
Application Development Description and exemplification of server-side scripting language for server connection, database selection, execution of SQL queries.
What is MySQL? MySQL is a database. The data in MySQL is stored in database objects called tables. A table is a collections of related data entries and.
PHP1-1 PHP & SQL Xingquan (Hill) Zhu
Deleting and Updating Records in MySQL using PHP Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
© Yanbu University College YANBU UNIVERSITY COLLEGE Management Science Department © Yanbu University College Module 6:WEB SERVER AND SERVER SIDE SCRPTING,
INFM 603: Information Technology and Organizational Context Jimmy Lin The iSchool University of Maryland Thursday, October 18, 2012 Session 7: PHP.
1 Insert, Update and Delete Queries. 2 Return to you Address Book database. Insert a record.
1 Chapter 8 – Working with Databases spring into PHP 5 by Steven Holzner Slides were developed by Jack Davis College of Information Science and Technology.
MySQL in PHP – Page 1 of 17CSCI 2910 – Client/Server-Side Programming CSCI 2910 Client/Server-Side Programming Topic: MySQL in PHP Reading: Williams &
CSE3310: Web training A JumpStart for Project.
Interacting With Data Week 8 Connecting to the database Creating recordsets Interacting with the database.
IDK0040 Võrgurakendused I harjutus 06: PHP: Introduction Deniss Kumlander.
INTERNET APPLICATION DEVELOPMENT PRACTICAL ON CONNECTING TO MYSQL.
 Mysql – popular open-source database management system  PHP usually works with Mysql for web- based database applications  LAMP applications—Web-based.
NMED 3850 A Advanced Online Design January 26, 2010 V. Mahadevan.
1 Accelerated Web Development Course JavaScript and Client side programming Day 2 Rich Roth On The Net
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Working with MSSQL Server Code:G0-C# Version: 1.0 Author: Pham Trung Hai CTD.
Introduction to MySQL Lab no. 10 Advance Database Management System.
PHP MySQL Introduction. MySQL is the most popular open-source database system. What is MySQL? MySQL is a database. The data in MySQL is stored in database.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
Chapter 6 PHP Interacts with Mysql Database. Introduction In PHP, there is no consolidated interface. Instead, a set of library functions are provided.
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.
© Anselm Spoerri Web Design Information Visualization Course Prof. Anselm Spoerri
PHP with MySQL 1.
CHAPTER 7 Form & PHP. Introduction All of the following examples in this section will require two web pages. The first page retrieves information posted.
Creating PHPs to Insert, Update, and Delete Data CS 320.
PHP Database connectivity Connecting with RDBMS and editing, adding, and deleting databases therein are all done through PHP functions.
Course FAQ’s I do not have any knowledge on SQL concepts or Database Testing. Will this course helps me to get through all the concepts? What kind of.
PHP and Mysql Database. PHP and Database Mysql – popular open-source database management system PHP usually works with Mysql for web-based database applications.
THE WEBMASTERS: SENG + WAVERING.  On account of construction, we will be having class in room 1248 next week.
DATABASE CONNECTIVITY TO MYSQL. Introduction =>A real life application needs to manipulate data stored in a Database. =>A database is a collection of.
NMD202 Web Scripting Week5. What we will cover today PHP & MySQL Displaying Dynamic Pages Exercises Modifying Data PHP Exercises Assignment 1.
Creating a simple database This shows you how to set up a database using PHPMyAdmin (installed with WAMP)
Web Security Lesson Summary ●Overview of Web and security vulnerabilities ●Cross Site Scripting ●Cross Site Request Forgery ●SQL Injection.
MySQL. Is a SQL (Structured Query Language) database server. Can be accessed using PHP with embedded SQL Queries Supports Large DB’s, 60,000 tables with.
PHP: MySQL. PHP Connect to MySQL PHP 5 and later can work with a MySQL database using: – MySQLi extension (the "i" stands for improved) – PDO (PHP Data.
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.
SQL pepper. Why SQL File I/O is a great deal of code Optimal file organization and indexing is critical and a great deal of code and theory implementation.
MySQL Tutorial. Databases A database is a container that groups together a series of tables within a single structure Each database can contain 1 or more.
Programming for the Web MySQL Command Line Using PHP with MySQL Dónal Mulligan BSc MA
 MySQL is a database system used on the web  MySQL is a database system that runs on a server  MySQL is ideal for both small and large applications.
PHP: MySQL Lecture 14 Kanida Sinmai
Introduction to Dynamic Web Programming
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
IS1500: Introduction to Web Development
Introduction to Web programming
BASIC PHP and MYSQL Edward S. Flores.
PHP-language, database-programming
ISC440: Web Programming 2 Server-side Scripting PHP 3
Web Systems Development (CSC-215)
Tutorial 6 PHP & MySQL Li Xu
MySQL Web Application Connecting to a MySQL database
Introduction to HTML: Forms
MySQL Database System Installation Overview SQL summary
Introduction to Web programming
Presentation transcript:

Technology & Management Club Development Software Overview

Summary PHP  Server-side scripting language for websites MySQL  SQL Database CVS  Version and collaboration management

Summary - Client Server Model Server Client Request Response

Summary - Client Server Model URL Query String (GET Method)  &name2=val2&name3=val3… Form Data (POST Method)  Consists of all data from form elements on a page, including textboxes, checkboxes, menus, etc. and hidden fields Request

Summary - Client Server Model Server has three tasks  1) Accept incoming request  2) Process PHP script  3) Output response (which is just text, usually in the form of HTML)

PHP - Examples <?php echo “hello world!”; ?> hello world!

PHP - Examples This is an example of PHP <?php echo “embedded”; ?> Inside of HTML. This is an example of PHP embedded in HTML

PHP - Examples <?php $sum = 0; for($i = 0; $i <= 5; $i++) { $sum = $sum + $i; } echo “Sum: ”.$sum; ?> Sum: 15

PHP - Examples Request: “ ?favorite_color=blue” <?php echo “My favorite color is: ”; echo $_GET[“favorite_color”]; echo “.”; ?> My favorite color is: blue.

PHP - Examples <?php function factorial($n) { if($n > 1) return $n * factorial($n - 1); } ?> The factorial of 5 is: <?php echo factorial(5); ?> The factorial of 5 is: 120

MySQL - Introduction Structured Query Language MySQL is a free, open-source implementation of a SQL database A database is a collection of tables A table is a collection of rows and columns (also called records and fields)  Think of a table as an Excel spreadsheet SQL is a language for manipulating and searching tables in databases

MySQL - An Example Data Base UserID_PKUserNamePassword 1jsulkinaaa 2jkinzerbbb BookID_PKTitleDeptID_FK 1Book12 2Book22 DeptID_PKName 1ECE 2Finance

MySQL - Examples <?php $conn = mysql_connect($server, $username, $password); mysql_select_db($dbname, $conn); $query = “SELECT * FROM table_name”; $result = mysql_query($query); while($row = mysql_fetch_array($result)) { echo $row[“colname”].” ”; } ?> book1 book2

MySQL - Basic Queries SELECT cols FROM table_name WHERE query INSERT INTO table_name (col1, col2, …) VALUES (val1, val2…) UPDATE table_name SET col1=val1, col2=val2, … DELETE FROM table_name WHERE query

CVS - Introduction Concurrent Versioning System Two purposes:  Allow different people to collaborate on a common set of documents  Allow each version of the documents to be saved and recalled

CVS - Basics > cd htdocs/ ---before you start coding--- > cvs update -Pd ---after you have verified working code > cvs update -Pd > cvs commit