Intro to Web Programming Presented by Blaine Hilton.

Slides:



Advertisements
Similar presentations
The Librarian Web Page Carol Wolf CS396X. Create new controller  To create a new controller that can manage more than just books, type ruby script/generate.
Advertisements

Agenda Web Application Web Page development WAMP
1 Database Driven Web Application Clients Application Servers including web servers Database Server Traditional client-server (2-tier architecture): client:
Introduction to PHP MIS 3501, Fall 2014 Jeremy Shafer
PRACTICAL PHP AND MYSQL WALKTHROUGH USING SAMPLE CODES – MAX NG.
Supplement Creating Forms. Objectives Show how forms are used How to create the Form element HTML elements used for creating input fields.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
CIS101 Introduction to Computing
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
Uploading Files. Why? By giving a user the option to upload a file you are creating an interactive page You can enable users have a greater web experience.
INTRO TO MAKING A WEBSITE Mark Zhang.  HTML  CSS  Javascript  PHP  MySQL  …That’s a lot of stuff!
PHPPHP What is PHP? Hypertext Pre-processor (PHPs) is a server- side scripting language In early versions, PHP stand for Personal Home Page. server-side.
PHP By Dr. Syed Noman Hasany. PHP PHP was originally created by Rasmus Lerdorf in PHP stands for PHP: Hypertext Preprocessor (a recursive acronym).
1 Open Source Programming. -Introduction to PHP -PHP installation /wamp server installation for PHP environment -PHP syntax -PHP variables -PHP Strings.
Create a Website Session I Key Components Hands-on HTML.
Web Sites for amateur radio. So You want to make a Web Site? There are several things you need to know about web sites before you start to think about.
Reading Data in Web Pages tMyn1 Reading Data in Web Pages A very common application of PHP is to have an HTML form gather information from a website's.
Advanced Web 2012 Lecture 4 Sean Costain PHP Sean Costain 2012 What is PHP? PHP is a widely-used general-purpose scripting language that is especially.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Languages in WEB Presented by: Jenisha Kshatriya BCM SS09.
IDK0040 Võrgurakendused I harjutus 06: PHP: Introduction Deniss Kumlander.
INTERNET APPLICATION DEVELOPMENT For More visit:
NMED 3850 A Advanced Online Design January 26, 2010 V. Mahadevan.
Nael Alian Introduction to PHP
HTML CRASH COURSE. What is HTML?  Hyper Text Markup Language  The language used to make web pages  Written by using tags.
PHP meets MySQL.
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.
Installing and Using MySQL and phpMyAdmin. Last Time... Installing Apache server Installing PHP Running basic PHP scripts on the server Not necessary.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
NMED 3850 A Advanced Online Design January 12, 2010 V. Mahadevan.
Technology & Management Club Development Software Overview.
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
Overview: 1. Discussion of the basic architecture of a web application. 2. Discussion of the relevance of using MySQL and PHP in a web application.
HTML, PHP, and MySQL: Putting It All Together. Making a Form Input tags Types: “text” “radio” “checkboxes” “submit”
CHAPTER 7 Form & PHP. Introduction All of the following examples in this section will require two web pages. The first page retrieves information posted.
Intro to PHP IST2101. Review: HTML & Tags 2IST210.
Introduction to PHP Advanced Database System Lab no.1.
Introduction to Web Programming. Introduction to PHP What is PHP? What is a PHP File? What is MySQL? Why PHP? Where to Start?
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
Overview of Form and Javascript fundamentals. Brief matching exercise 1. This is the software that allows a user to access and view HTML documents 2.
David Lawrence 7/8/091Intro. to PHP -- David Lawrence.
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
Creating a simple database This shows you how to set up a database using PHPMyAdmin (installed with WAMP)
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
PART 2 INTRODUCTION TO DYNAMIC WEB CONTENT AND PHP.
Unit 1 – Web Concepts Instructor: Brent Presley.
Class 3Intro to Databases Class 4 Simple Example of a Database We’re going to build a simple example of a database, which will allow us to register users.
 A PHP script can be placed anywhere in the document.  A PHP script starts with  The default file extension for PHP files is ".php".  A PHP file normally.
Web programming Part 1: environment 由 NordriDesign 提供
PHP Syntax You cannot view the PHP source code by selecting "View source" in the browser - you will only see the output from the PHP file, which is plain.
1 PHP Intro PHP Introduction After this lecture, you should be able to: Know the fundamental concepts of Web Scripting Languages in general, PHP in particular.
PHP Form Processing * referenced from
Creating a database - I clicked on blank database and am saving it as books10.mdb. For more information see the practice example under week #1. I am going.
This is the software we will use to load our html page up to the server. You can download a copy for home if you want to.
IST 210: PHP Basics IST 210: Organization of Data IST2101.
HTML Introduction HTML Editors HTML Basic HTML Elements HTML Attributes HTML Headings HTML Paragraphs HTML Formatting HTML Links HTML Head HTML CSS HTML.
Installing a Moodle Test Site The painless and easy way.
COM621: Advanced Interactive Web Development Lecture 10 PHP and MySQL.
CSE 103 Day 20 Jo is out today; I’m Carl
BASIC PHP and MYSQL Edward S. Flores.
Website Development Basics with PHP MySQL
LAB: WEB-301 Building a Website from a Template
Web Systems Development (CSC-215)
PHPMyAdmin.
MySQL Backup, Transfer and Restore
PHP By Prof. B.A.Khivsara Note: The material to prepare this presentation has been taken from internet and are generated only for students reference and.
XAMPP.
Presentation transcript:

Intro to Web Programming Presented by Blaine Hilton

Agenda  Hand out Packets  Rules, Expectations, and other Required Stuff  Introductions – Why are you here?  Introduction to LAMP  Software Introduction

Rules and such  Come to class  Be here on time  Turn any noise maker off  Pay for the class, if you haven’t already  Don’t cheat  Ask questions

Ask Questions  We only have 8 sessions  Each session is 3 hours  I’m going to make a very wide array of information  If you don’t understand something, its going to get worst, not better  If I’m not asked anything I’m going to assume I should move through the material faster

The book  PHP and MySQL Web Development  ISBN:  946 pages  Equals 135 pages to read per week  Get it, its worth it, you will use it after the class

LAMP Application Stack  Linux  Apache  MySQL  PHP  WAMP Comparison

Development Workflow  Edit files locally  Publish to server  Setup database  Test  Debug

File Transfer Methods  FTP  SFTP  SCP  Subversion

Introduction to the Lab  Our software is installed in the middle row  Anything you save on the lab computer will be erased at the end of class.  All files must be saved to your flash drive, it is highly recommended to backup your flash drive to another drive and/or your home computer often

Software Introduction  PuTTY  Subversion  Tortoise SVN  Programmers Notepad  WinSCP  phpMyAdmin

Our Web Server    firstinitiallastname.web-design-class.com

Hello World    Hello World!  Hello World!    Hello World  Hello World  

Save and upload  Make a folder on your flash drive  Save as “index.php”  Subversion upload  WinSCP Transfer

HTML Tags to Know    -  -    Text  Text  

Table Example   # # Name Name   1 1 Blaine Blaine   2 2 Rick Rick  

Form Elements  Text Box  Text Area  Select  Select Multiple  Radio  Checkbox  Submit  Hidden

Form Elements in HTML    <select name=“name”  Display  Display    Display  Display  

Form Elements in HTML  

HTML Notes  To be well formed HTML needs to follow some rules: All tags are always lower case All tags are always lower case All tags must be closed All tags must be closed

Form Example  Start with Hello World

Database Introduction  Key Terms Database Database Table Table Fields/Columns Fields/Columns Relationships Relationships Keys Keys

Field Types  INT  FLOAT  VARCHAR TEXT  TINYINT

Database Keys  Primary Key  Unique Key  FullText

Database Communication - SQL  INSERT  SELECT  UPDATE

PHP Introduction    Note: Opening Opening Closing Closing Semi Colon Semi Colon

Variables  <?php  $university= ‘Purdue’ ;  echo “$university” ;  ?>  Note: Variable name starts with $ Variable name starts with $ Colon ends each line Colon ends each line Multiple lines can be within one opening/closing block Multiple lines can be within one opening/closing block

Combining Strings  <?php  $fname= ‘Blaine’ ;  $lname= ‘Hilton’ ;  $university= ‘Purdue’ ;  echo ‘My name is ‘.”$fname”.’ and I attend ‘.”$university”’.’ ;  ?>  Note: Again, anytime you open/start you must close/end Again, anytime you open/start you must close/end Single quotes are for non-changing information Single quotes are for non-changing information Double quotes are for information that can change (variabiles, ect…) Double quotes are for information that can change (variabiles, ect…) You can usually always use double quotes, but it makes the page load longer (more to think about) You can usually always use double quotes, but it makes the page load longer (more to think about)

First Application  Goal: Have students register their likes and dislikes. Have students register their likes and dislikes.  What we need: First Name First Name Last Name Last Name Favorite Color Favorite Color  What else?