Instructor s Notes Web Data Management The MVC Pattern. Web Data Management The MVC Pattern

Size: px
Start display at page:

Download "Instructor s Notes Web Data Management The MVC Pattern. Web Data Management The MVC Pattern"

Transcription

1 Web Data Management The MVC Pattern Quick Links & Text References Overview Pages Controller Pages Including Files Pages Case Include Files Pages Model Pages Views Pages MVC Pseudocode Pages Multiple Form Buttons Pages Additional Book Examples Overview MVC: Model-View-Controller The MVC pattern is an organizational scheme used for complex web sites, particularly if they need database access. Similar to the 3-tier model used in desktop programming MVC web site pages and libraries are divided into three components Models Contains the business logic and provide database access PHP libraries No HTML Murach creates a separate library file to support each table in the database We will implement these in Unit 5 Views The GUI components of the web site Mostly HTML with PHP code to display data Controller the index.php file (only one file) Uses an action variable to determine what data (model) is needed and which view to use to display that data Show and discuss animated MVC PowerPoint Page 1 of 13

2 When the user (via a browser) requests information from this site, the browser request is always sent to the index page. Note this is the only page visible to the browser The index page uses the action variable (a hidden form variable) to determine what data the user requested. If the page doesn t require any data (rare), the data access steps below are skipped The data request is sent to the appropriate model library (Unit 6) The model passes the data request to the database The database returns the appropriate data to the data model which in turn passes it back to the index file The index file then passes the data to the appropriate view, again based on the action variable. The view (mostly HTML) is inserted into the index page (via an include), the data is displayed in the appropriate locations (PHP) and the customized index page is returned to the browser as an HTTP response. Note that each time the user requests information from the site, the index page morphs to display the data the user requested. Page 2 of 13

3 The Controller The controller is the heart of the MVC pattern The controller contains the following main components Determination of the desired action Case statement to process the appropriate action Links to Case Include files Generally, there is a case for each view created by the web site Each case includes the following Extraction of form variables (optional) Validation of form variables (if appropriate) Often a call to a validation model function Calls to the appropriate model CRUD functions Often calls to multiple functions Include statement to import the appropriate HTML to morph the index page as appropriate The controller contains no HTML HTML is included from view files Examples on page 171 and 247 See pseudocode below Page 3 of 13

4 Including Files MVC view files are typically stored in the views folder and each view (basically a page) is stored in its own file. The cases used in the switch statement of the controller can also be stored in include files To include a file in the controller, use the PHP include statement include('views/errorpage.php'); include('views/employeecases.php'); This must be included where you want the HTML injected. Make a copy of the final Unit 2 example project and rename it Unit 3 Update the structure of the project folder to include: css images javascript model views Include files typically include PHP and HTML required to appropriately display the view (page) require( )can be used to include PHP libraries (don t include HTML) Unit 4 A third option doesn t really include another file, but tells the browser to request a different page Unit 6 A page can t include a fresh copy of itself. This technique effectively bypasses that limitation by telling the browser to load the page again, maybe with different parameters. header('location:.'); Very common usage. Tells browser to reload the default page of this site. The dot (.) represents the current folder. Since no page name is specified, the default page in that folder is loaded BIG IMPORTANT NOTE When including files from other folders, the path designated must be based on the controller. All files are included from index.php. Same thing for images. For example: header.php is stored in the views folder and probably includes an image that is stored in the images folder. When you designate the path to the image, assume you are bringing the image into the index.php page because ultimately, you will be. Page 4 of 13

5 BIG IMPORTANT NOTE Don t include blank lines at the beginning or end of include files. These can cause problems when you transfer PHP pages to an actual server. See PHP Journal Case Include Files As mentioned above, controllers include a switch statement that includes cases (multiple) for the actions of each table in the database Some of the cases actually include another switch statement (see below) with even more cases. Even with only two tables, the controller can become very cluttered by the switch statement and as you add more tables the switch statement almost becomes unmanageable. In this unit, there re only a few cases in the switch statement, but we ll be expanding that significantly in Unit 6 so we ll break out the cases right away. In order for this technique to work, we ll need a little strategy. Each action variable for a table starts with the table name E.g: employeelist, employeedetails, employeesave, triplist, tripdetails, tripsave, etc. Since they all start with the table name, we can tell the switch statement to include a separate file (of cases) for each table based on what the action variable starts with. switch (true) { case strpos($action,"employee")===0: include("model/employeecases.php"); case strpos($action,"trip")===0: include("model/tripcases.php"); //more cases for the other tables here default: echo "Unexpected action $action found.<br>"; }//end switch Page 5 of 13

6 Each case checks to see if the action variable starts with the table name for that case. Note the (triple) ===. If the action variable doesn t include the designated table name at all, strpos returns false. false is equivalent (double ==) to 0. We only want to include the cases when the action variable starts with the table name. Triple === solves the problem. Next, we need to create an include file of cases for each table (employeecases and tripcases in the example above) I refer to these as cases files (my technique, my term) Each cases file first starts out with the require statements needed for the table handled by the cases file. These require statements link in the model files described below. After the require statements comes another switch statement to handle the cases for this table. Turns out you can t enter an include statement under a switch, only case statements Since we want all the cases for one table to be together, we ll have put them in their own switch statement (which is included under one case in the controller). This case statement will need its own default case in case we receive an action that starts with the appropriate table name but isn t recognized. //Cases file for tblemployees require("model/employees.php"); //Other model files may be required as well switch($action) { case "employeedetails": //some processing here case "employeelist": //some processing here case "employeedelete": //some processing here default: echo "Unexpected action $action found.<br>"; }//end switch Page 6 of 13

7 This code would be stored in a file named employeecases.php I put the cases files in the model folder (they define how each table is handled), but you might consider creating a separate cases folder to hold the cases files Note that all the case values start with the table name Also note that the cases file also includes a default case Action may start with employee but still be unknown (won t be caught the controller switch default) The Model The business model of an MVC pattern web site is really a collection of PHP function libraries. Unit 4 and Unit 6 Murach creates a library for all the functions required to manage (CRUD) data for each table in the database. Depending on the needs of the application, there are typically separate functions to: retrieve the data in multiple ways (one function each) update a record delete a record add a record Other, non-database functions may also be included as needed by the business model Remove the weights calculations from results.php and place in model/weights.php Page 7 of 13

8 The Views The views of MVC pattern web sites are actually web pages They are not however directly accessible by the user Security benefit? Instead, they are included into the index page (controller) to define the latest appearance (morph) of that page. Most of these pages also require access to form variables and/or database result sets. The index page PHP sets up this information before the view is included. Like Visual Studio GUIs, views should not do any processing (calculations, data retrieval), they should only display the results in an appropriate format. To provide a consistent appearance of pages throughout the web site, Murach recommends defining standard headers and footers. Each is stored in a separate include file (.php file) Each is included at the beginning and end of the view file The header include file includes the following tags <!DOCTYPE html> <html lang="en"> <head></head> <title></title> <meta> <link> to css <body> <header></header> Includes a common title and/or logo, etc. The footer include file includes the following tags <footer></footer> Includes whatever you want on the bottom of all your pages </body> </html> Move the appropriate HTML from the index.php to the header.php file and store in the views folder. Note JavaScript imports do not go in header. Not all pages need them they go in the appropriate cases file Move the appropriate HTML from the index.php file to the footer.php file and store in the views folder. Page 8 of 13

9 Each of the view files (.php) includes the header file at the beginning and the footer file at the end This allows you to use different headers/footers for different views if necessary. The header is followed by another section <section id="main"> which allows formatting (css) of the non-header/footer component of the page The main section contains the HTML and PHP (snippets) required to display the page Most pages include a form tag with a hidden action variable. This variable is sent to the next iteration of the index form to designate which action it should take Note the action attribute of the form tag can simply be the empty string The form should also include a submit button to send the form variables (including action) to the next iteration of the index form. Alternatively, you can define simple links (<a> tags) that link back to the index page. These links MUST include a value for the action variable <a href="?action=showcustomers">show Customer List</a> This sample links back to the index page (note no file name is supplied) and sets the action variable appropriately Note the text after action= is not surrounded by quotes or apostrophes If you need to send more than one variable/value, separate the values with & Remove the remaining index page code and save as weightsedit.php in the view folder. Add include statements in weightsedit for the header and footer. Demo how to include a simple form to return to the data entry form. Include a link to return to the data entry form.?action=showcustomer&customerid=$avariable Page 9 of 13

10 MVC Pseudocode Controller pseudocode If $_REQUEST action is set $action = $_REQUEST action Else $action = default action Endif Code index.php 2 cases weightsedit weightsresults Select Case $action starts with employee Include employeecases.php Case $action starts with trip: Include tripcases.php (repeat above for all tables) Case else Display error End Select Page 10 of 13

11 Cases File Pseudocode Require model files needed for this table Select $action Case tablelist Generate list data Include list view Case tabledetails Get record details Get support data (combo box data) Include details view Case tablenew Details = "" Get support data (combo box data) Include details view Case tablesavenew Case tableupdate Select selected button Case btnsave Call Validation If no errors If tableupdate Call update function Else Call insert function End If Display list view Else details = REQUEST Get support data (combo box data) Include details view End If Case btncancel Display list view Case btndelete Call function to delete record Display list view End Select Case Else Display error End Select Page 11 of 13

12 View Pseudocode Include header section main Display using HTML Button or link (with action) to return to index End section Include footer Dealing With Multiple Form Buttons Some forms may include multiple buttons multiple submit buttons (see pseudocode above). Example: an edit form might include the standard submit button, but also a cancel button if the user wishes to leave the form without saving their changes Determining which button was clicked, is a piece of cake. In the controller, check the $_REQUEST array. Only one of the submit buttons can be clicked, so the $_REQUEST array will only have one button in it. Add Hidden action variable to weightsedit form to display weightsresults next Modify the action (.) MOVE results page to views. Rename weightsresults Update to include header and footer Test //See if btnsubmit was clicked if(isset($_request['btnsubmit'])) //do stuff else //if other button is set //do other stuff Note each button must be given a name in the form. Page 12 of 13

13 Additional Examples Murach includes numerous, complete MVC pattern web site examples. Most are little complicated at this stage of your MVC experience but will become more clear and more valuable in the next couple of units. Some of the code included in the model files may be foreign to you, but you should still be able to use the examples to develop your own MVC pattern sites Product Catalog: Pages Task List Manager: Pages (nice short example) Shopping Cart Application: Pages Product Manager (OOP): Pages Registration Application: Pages Guitar Shop (advanced): Pages Product Manager (advanced): Pages ecommerce Web Site (advanced): Pages Page 13 of 13

HTML 5 Form Processing

HTML 5 Form Processing HTML 5 Form Processing In this session we will explore the way that data is passed from an HTML 5 form to a form processor and back again. We are going to start by looking at the functionality of part

More information

Converting a HTML website to Wordpress

Converting a HTML website to Wordpress Converting a HTML website to Wordpress What is wordpress? And why use it? WordPress is a free and open-source content management system based on PHP and MySQL. WordPress is installed on a web server or

More information

New case calls function to generate list of combo box values. Details case calls function to get details for selected record

New case calls function to generate list of combo box values. Details case calls function to get details for selected record Web Data Management 152-155 MVC & PDO Evaluation Form Student-Selected Project Name Score / 50 Update Value Make all corrections and resubmit to earn update points Update Recommended CSS Forms.css included

More information

If you re serious about Cookie Stuffing, take a look at Cookie Stuffing Script.

If you re serious about Cookie Stuffing, take a look at Cookie Stuffing Script. Cookie Stuffing What is Cookie Stuffing? Cookie Stuffing is a very mild form of black hat marketing, because in all honesty, this one doesn t break any laws. Certainly, it goes against the terms of service

More information

How the Internet Works

How the Internet Works How the Internet Works The Internet is a network of millions of computers. Every computer on the Internet is connected to every other computer on the Internet through Internet Service Providers (ISPs).

More information

CSCU9B2 Practical 1: Introduction to HTML 5

CSCU9B2 Practical 1: Introduction to HTML 5 CSCU9B2 Practical 1: Introduction to HTML 5 Aim: To learn the basics of creating web pages with HTML5. Please register your practical attendance: Go to the GROUPS\CSCU9B2 folder in your Computer folder

More information

Section 1. How to use Brackets to develop JavaScript applications

Section 1. How to use Brackets to develop JavaScript applications Section 1 How to use Brackets to develop JavaScript applications This document is a free download from Murach books. It is especially designed for people who are using Murach s JavaScript and jquery, because

More information

Programming Lab 1 (JS Hwk 3) Due Thursday, April 28

Programming Lab 1 (JS Hwk 3) Due Thursday, April 28 Programming Lab 1 (JS Hwk 3) Due Thursday, April 28 Lab You may work with partners for these problems. Make sure you put BOTH names on the problems. Create a folder named JSLab3, and place all of the web

More information

CS637 Midterm Review

CS637 Midterm Review CS637 Midterm Review Coverage: Duckett Chapter 1-2: Basics: Can skip pp. 53-56 Chapter 3: Lists: all important Chapter 4:Links: all important Chapter 5:Images: can skip old code Chapter 6: Tables: all

More information

Getting Started with SSI Web v3 A 45-Minute Hands-On Tour

Getting Started with SSI Web v3 A 45-Minute Hands-On Tour Getting Started with SSI Web v3 A 45-Minute Hands-On Tour What is SSI Web? SSI Web is a software system for creating Web-based questionnaires. These questionnaires can include standard survey questions,

More information

BEGINNER PHP Table of Contents

BEGINNER PHP Table of Contents Table of Contents 4 5 6 7 8 9 0 Introduction Getting Setup Your first PHP webpage Working with text Talking to the user Comparison & If statements If & Else Cleaning up the game Remembering values Finishing

More information

Dreamweaver MX The Basics

Dreamweaver MX The Basics Chapter 1 Dreamweaver MX 2004 - The Basics COPYRIGHTED MATERIAL Welcome to Dreamweaver MX 2004! Dreamweaver is a powerful Web page creation program created by Macromedia. It s included in the Macromedia

More information

All About Catalog. Contents. West Virginia University Information Technology Services. ecommerce End User Advanced Guide

All About Catalog. Contents. West Virginia University Information Technology Services. ecommerce End User Advanced Guide Contents All About Catalog Browse...2 Add a Product...5 Basic Info...5 Display Options...6 Taxes & Shipping...6 Inventory Control...7 Descriptions...8 Left Side Menu...9 Product Details...9 Images and

More information

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted Announcements 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted 2. Install Komodo Edit on your computer right away. 3. Bring laptops to next class

More information

Dynamism and Detection

Dynamism and Detection 1 Dynamism and Detection c h a p t e r ch01 Page 1 Wednesday, June 23, 1999 2:52 PM IN THIS CHAPTER Project I: Generating Platform-Specific Content Project II: Printing Copyright Information and Last-Modified

More information

Web Server Setup Guide

Web Server Setup Guide SelfTaughtCoders.com Web Server Setup Guide How to set up your own computer for web development. Setting Up Your Computer for Web Development Our web server software As we discussed, our web app is comprised

More information

Forms So start a new web site

Forms So start a new web site Tutorial Forms So start a new web site Rename to index.html Create the following layout Skeleton first Style it up, one style at a time and test Produces Create a nav link pointing back to the index.html

More information

Website Design HAC

Website Design HAC Website Design and Development 2018 HAC 3.7.1 HEMERA INC. www.hemerawebdesign.com info@hemerawebdesign.com Our Risk Free Guarantee If within the first 30 days of working with Hemera, you are dissatisfied,

More information

Level 5 Digital technologies Chapter 4

Level 5 Digital technologies Chapter 4 Level 5 Digital technologies Chapter 4 Digital information database and spreadsheets Technological Practice Strand: Brief Development In this chapter you are going to develop your database and spreadsheet

More information

FORMATTING INSTRUCTIONS FOR KINDLE. You will need to download the free programs Sigil, Calibre and Amazon Previewer.

FORMATTING INSTRUCTIONS FOR KINDLE. You will need to download the free programs Sigil, Calibre and Amazon Previewer. FORMATTING INSTRUCTIONS FOR KINDLE You will need to download the free programs Sigil, Calibre and Amazon Previewer. While you can upload a Word document directly to Amazon and convert it to Mobi, you may

More information

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 1

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 1 Web Programming and Design MPT Senior Cycle Tutor: Tamara Week 1 What will we cover? HTML - Website Structure and Layout CSS - Website Style JavaScript - Makes our Website Dynamic and Interactive Plan

More information

WEB SECURITY WORKSHOP TEXSAW Presented by Solomon Boyd and Jiayang Wang

WEB SECURITY WORKSHOP TEXSAW Presented by Solomon Boyd and Jiayang Wang WEB SECURITY WORKSHOP TEXSAW 2014 Presented by Solomon Boyd and Jiayang Wang Introduction and Background Targets Web Applications Web Pages Databases Goals Steal data Gain access to system Bypass authentication

More information

Making the World a Better Place

Making the World a Better Place CS 008 Introduction to World Wide Web Design Sean Flynn Assignment: Making the World a Better Place (1.5) Making the World a Better Place Table Of Contents Time Log 2 Introduction 3 Purpose 3 Definitions,

More information

Intro. Scheme Basics. scm> 5 5. scm>

Intro. Scheme Basics. scm> 5 5. scm> Intro Let s take some time to talk about LISP. It stands for LISt Processing a way of coding using only lists! It sounds pretty radical, and it is. There are lots of cool things to know about LISP; if

More information

Adding content to your Blackboard 9.1 class

Adding content to your Blackboard 9.1 class Adding content to your Blackboard 9.1 class There are quite a few options listed when you click the Build Content button in your class, but you ll probably only use a couple of them most of the time. Note

More information

Authoring World Wide Web Pages with Dreamweaver

Authoring World Wide Web Pages with Dreamweaver Authoring World Wide Web Pages with Dreamweaver Overview: Now that you have read a little bit about HTML in the textbook, we turn our attention to creating basic web pages using HTML and a WYSIWYG Web

More information

MPT Web Design. Week 1: Introduction to HTML and Web Design

MPT Web Design. Week 1: Introduction to HTML and Web Design MPT Web Design Week 1: Introduction to HTML and Web Design What will we do in this class? Learn the basics of HTML and how to create our own template Basic website structure Learn design concepts for a

More information

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted Announcements 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted 2. Campus is closed on Monday. 3. Install Komodo Edit on your computer this weekend.

More information

A demo Wakanda solution (containing a project) is provided with each chapter. To run a demo:

A demo Wakanda solution (containing a project) is provided with each chapter. To run a demo: How Do I About these examples In the Quick Start, you discovered the basic principles of Wakanda programming: you built a typical employees/companies application by creating the datastore model with its

More information

Figure 1 Forms category in the Insert panel. You set up a form by inserting it and configuring options through the Properties panel.

Figure 1 Forms category in the Insert panel. You set up a form by inserting it and configuring options through the Properties panel. Adobe Dreamweaver CS6 Project 3 guide How to create forms You can use forms to interact with or gather information from site visitors. With forms, visitors can provide feedback, sign a guest book, take

More information

STS v4.2 with HTC v2.5.9

STS v4.2 with HTC v2.5.9 1 STS v4.2 with HTC v2.5.9 Installation Text Written By: Bill Kellum STS v4.2 with HTC v2.5.9... 1 Installation Text... 1 STS v4.2 and Header Tags Controller 2.5.9... 2 Copy Files (for new store only)...

More information

JS Lab 1: (Due Thurs, April 27)

JS Lab 1: (Due Thurs, April 27) JS Lab 1: (Due Thurs, April 27) For this lab, you may work with a partner, or you may work alone. If you choose a partner, this will be your partner for the final project. If you choose to do it with a

More information

Donation Cart. User Guide

Donation Cart. User Guide Donation Cart User Guide Rev 6/5/2009 2008 CHARGE Anywhere, LLC. All trademarks, service marks, and trade names referenced in this material are the property of their respective owners. Contents 1 PURPOSE...

More information

Hello everyone! Page 1. Your folder should look like this. To start with Run your XAMPP app and start your Apache and MySQL.

Hello everyone! Page 1. Your folder should look like this. To start with Run your XAMPP app and start your Apache and MySQL. Hello everyone! Welcome to our PHP + MySQL (Easy to learn) E.T.L. free online course Hope you have installed your XAMPP? And you have created your forms inside the studio file in the htdocs folder using

More information

When you don t want to lose your site s existing look and feel, you re

When you don t want to lose your site s existing look and feel, you re Bonus Chapter 2 Hosting Your Site In This Chapter Hosting at home (page) Giving your site a test Using tags on a page When you don t want to lose your site s existing look and feel, you re short on time,

More information

2013, Active Commerce 1

2013, Active Commerce 1 2013, Active Commerce 1 2013, Active Commerce 2 Active Commerce User Guide Terminology / Interface Login Adding Media to the Media Library Uploading an Item to the Media Library Editing the Media Meta

More information

QUICK EXCEL TUTORIAL. The Very Basics

QUICK EXCEL TUTORIAL. The Very Basics QUICK EXCEL TUTORIAL The Very Basics You Are Here. Titles & Column Headers Merging Cells Text Alignment When we work on spread sheets we often need to have a title and/or header clearly visible. Merge

More information

XML. Jonathan Geisler. April 18, 2008

XML. Jonathan Geisler. April 18, 2008 April 18, 2008 What is? IS... What is? IS... Text (portable) What is? IS... Text (portable) Markup (human readable) What is? IS... Text (portable) Markup (human readable) Extensible (valuable for future)

More information

1-Step Appraisals Personal Property Appraisal Software

1-Step Appraisals Personal Property Appraisal Software User Guide for 1-Step Appraisals Personal Property Appraisal Software Home & Business Software for Windows Page Table of Contents Getting Started... Page 3 Image Preferences... Page 4 Adding Business/Company

More information

Webshop Plus! v Pablo Software Solutions DB Technosystems

Webshop Plus! v Pablo Software Solutions DB Technosystems Webshop Plus! v.2.0 2009 Pablo Software Solutions http://www.wysiwygwebbuilder.com 2009 DB Technosystems http://www.dbtechnosystems.com Webshos Plus! V.2. is an evolution of the original webshop script

More information

Using Dreamweaver CC. 5 More Page Editing. Bulleted and Numbered Lists

Using Dreamweaver CC. 5 More Page Editing. Bulleted and Numbered Lists Using Dreamweaver CC 5 By now, you should have a functional template, with one simple page based on that template. For the remaining pages, we ll create each page based on the template and then save each

More information

How To Upload Your Newsletter

How To Upload Your Newsletter How To Upload Your Newsletter Using The WS_FTP Client Copyright 2005, DPW Enterprises All Rights Reserved Welcome, Hi, my name is Donna Warren. I m a certified Webmaster and have been teaching web design

More information

Creating and Building Websites

Creating and Building Websites Creating and Building Websites Stanford University Continuing Studies CS 21 Mark Branom branom@alumni.stanford.edu Course Web Site: http://web.stanford.edu/group/csp/cs21/ Week 1 Slide 1 of 28 Course Description

More information

How browsers talk to servers. What does this do?

How browsers talk to servers. What does this do? HTTP HEADERS How browsers talk to servers This is more of an outline than a tutorial. I wanted to give our web team a quick overview of what headers are and what they mean for client-server communication.

More information

Wakanda Architecture. Wakanda is made up of three main components: Wakanda Server Wakanda Studio Wakanda Client Framework

Wakanda Architecture. Wakanda is made up of three main components: Wakanda Server Wakanda Studio Wakanda Client Framework Wakanda Architecture Wakanda is made up of three main components: Wakanda Server Wakanda Studio Wakanda Client Framework Note: For a more general overview of Wakanda, please see What is Wakanda?) Wakanda

More information

Beginning Web Site Design

Beginning Web Site Design Beginning Web Site Design Stanford University Continuing Studies CS 03 (Summer CS 21) Mark Branom branom@alumni.stanford.edu http://web.stanford.edu/people/markb/ Course Web Site: http://web.stanford.edu/group/csp/cs03/

More information

HTML4 TUTORIAL PART 2

HTML4 TUTORIAL PART 2 HTML4 TUTORIAL PART 2 STEP 1 - CREATING A WEB DESIGN FOLDER ON YOUR H DRIVE It will be necessary to create a folder in your H Drive to keep all of your web page items for this tutorial. Follow these steps:

More information

Installing VS Code. Instructions for the Window OS.

Installing VS Code. Instructions for the Window OS. Installing VS Code Instructions for the Window OS. VS Code is a free text editor created by Microsoft. It is a lightweight version of their commercial product, Visual Studio. It runs on Microsoft Windows,

More information

How to create a prototype

How to create a prototype Adobe Fireworks Guide How to create a prototype In this guide, you learn how to use Fireworks to combine a design comp and a wireframe to create an interactive prototype for a widget. A prototype is a

More information

CREATING WEBSITES. What you need to build a website Part One The Basics. Chas Large. Welcome one and all

CREATING WEBSITES. What you need to build a website Part One The Basics. Chas Large. Welcome one and all Slide 1 CREATING WEBSITES What you need to build a website Part One The Basics Chas Large Welcome one and all Short intro about Chas large TV engineer, computer geek, self taught, became IT manager in

More information

SOA Gateway BusinessDataViews

SOA Gateway BusinessDataViews SOA Gateway enables physical assets (tables, files, etc.) to be exposed as "atomic" WebServices, which is useful when direct access to these resources is required. However, it is often the case that a

More information

CUSTOMER PORTAL. Custom HTML splashpage Guide

CUSTOMER PORTAL. Custom HTML splashpage Guide CUSTOMER PORTAL Custom HTML splashpage Guide 1 CUSTOM HTML Custom HTML splash page templates are intended for users who have a good knowledge of HTML, CSS and JavaScript and want to create a splash page

More information

Tutorial 4. Activities. Code o Editor: Expression Web o Focus : Base Layout, navigation with folders, external stylesheets, Open up Expression Web

Tutorial 4. Activities. Code o Editor: Expression Web o Focus : Base Layout, navigation with folders, external stylesheets, Open up Expression Web Tutorial 4 Activities Code o Editor: Expression Web o Focus : Base Layout, navigation with folders, external stylesheets, Open up Expression Web Ensure that the editor is in code mode, down the bottom

More information

Tabs within Divi Theme Options include: Table of Contents. Divi Theme Options... 1 General Tab... 2 Navigation Tab... 6

Tabs within Divi Theme Options include: Table of Contents. Divi Theme Options... 1 General Tab... 2 Navigation Tab... 6 Divi Theme Options To get to Divi Theme Options select Divi from the side bar navigation from within your WordPress dashboard. Tabs within Divi Theme Options include: General, Navigation, Layout, Ads,

More information

Microsoft How-To Guide. For Real Estate Professionals

Microsoft How-To Guide. For Real Estate Professionals Microsoft How-To Guide For Real Estate Professionals Your role as a real-estate professional is simple: Turn your client s dreams into a reality. Of course, accomplishing that task is a whole lot more

More information

Making the World a Better Place Version <1.4>

Making the World a Better Place Version <1.4> CS 008 Introduction to World Wide Web Design Sean Flynn Assignment: Making the World a Better Place (1.4) Making the World a Better Place Version Table Of Contents Time Log 3 Introduction 4 Purpose

More information

PART 7. Formatting Pages

PART 7. Formatting Pages PART 7 Formatting Pages In the preceding part, you learned how to format characters and paragraphs. In this part, you learn how to apply formatting that affects entire pages. You ll start with changing

More information

HTML5 & CSS 8 th Edition. Chapter 2 Building a Webpage Template with HTML5

HTML5 & CSS 8 th Edition. Chapter 2 Building a Webpage Template with HTML5 HTML5 & CSS 8 th Edition Chapter 2 Building a Webpage Template with HTML5 Objectives 1. Explain how to manage website files 2. Describe and use HTML5 semantic elements 3. Determine the elements to use

More information

Website Development Komodo Editor and HTML Intro

Website Development Komodo Editor and HTML Intro Website Development Komodo Editor and HTML Intro Introduction In this Lecture and Tour we will cover: o Use of the editor that will be used for the Website Development and Javascript Programming sections

More information

Code review guide. Notice: Read about the language that you will test its code, if you don t have an idea about the language this will be difficult.

Code review guide. Notice: Read about the language that you will test its code, if you don t have an idea about the language this will be difficult. Code review guide Author: Jameel Nabbo Website: www.jameelnabbo.com Table of contents Introduction Code review Checklist Steps to perform on code review task Tips for code review Starting the Code review

More information

**Method 3** By attaching a style sheet to your web page, and then placing all your styles in that new style sheet.

**Method 3** By attaching a style sheet to your web page, and then placing all your styles in that new style sheet. CSS Tutorial Part 1: Introduction: CSS adds style to tags in your html page. With HTML you told the browser what things were (e.g., this is a paragraph). Now you are telling the browser how things look

More information

Building a Simple Theme Framework

Building a Simple Theme Framework Building a Simple Theme Framework by: Joe Casabona Who am I? Native of NYS Yankee Fan WordPress Developer Computer Nerd Star Wars Nerd Author of Building WordPress Themes from Scratch Software Reuse Some

More information

Real Web Development. yeah, for real.

Real Web Development. yeah, for real. Real Web Development yeah, for real. 1 who am i? i m still cyle i m a systems developer and architect every day i m developin i like this kind of stuff 2 real? kind of ranty, sorry web development is more

More information

Kurant StoreSense Quick Start Guide

Kurant StoreSense Quick Start Guide Kurant StoreSense Quick Start Guide Version 5.7.0 2004 Kurant Corporation. Kurant, StoreSense, and the Kurant logo are trademarks of Kurant. All other products mentioned are trademarks of their respective

More information

Web Design and Usability. What is usability? CSE 190 M (Web Programming) Spring 2007 University of Washington

Web Design and Usability. What is usability? CSE 190 M (Web Programming) Spring 2007 University of Washington Page 1 Web Design and Usability CSE 190 M (Web Programming) Spring 2007 University of Washington References: J. Nielsen's Designing Web Usability (2) What is usability? usability: the effectiveness with

More information

CHAPTER 3. Entering Text and Moving Around

CHAPTER 3. Entering Text and Moving Around CHAPTER 3 Entering Text and Moving Around Typing text is what word processing is all about. You can, in fact, create a perfectly respectable document by typing alone. Everything else all of the formatting

More information

SSJS Server-Side JavaScript WAF Wakanda Ajax Framework

SSJS Server-Side JavaScript WAF Wakanda Ajax Framework 1 28/06/2012 13:45 What You Will Find in those Examples In the Quick Start, you discovered the basic principles of Wakanda programming: you built a typical employees/companies application by creating the

More information

Startup Notes for Standard CMD 2015.x Setup

Startup Notes for Standard CMD 2015.x Setup Startup Notes for Standard CMD 2015.x Setup The standard CMD program setup refers to the 2015 version of The Church Membership Directory software, which includes the two phone apps (one for staff use and

More information

As part of our commitment to continuously updating and enhancing our fundraising system, we are thrilled to announce our latest enhancements.

As part of our commitment to continuously updating and enhancing our fundraising system, we are thrilled to announce our latest enhancements. As part of our commitment to continuously updating and enhancing our fundraising system, we are thrilled to announce our latest enhancements. Purchase Items during Registration Administrators can now enable

More information

Creating Effective School and PTA Websites. Sam Farnsworth Utah PTA Technology Specialist

Creating Effective School and PTA Websites. Sam Farnsworth Utah PTA Technology Specialist Creating Effective School and PTA Websites Sam Farnsworth Utah PTA Technology Specialist sam@utahpta.org Creating Effective School and PTA Websites Prerequisites: (as listed in class description) HTML

More information

Table Basics. The structure of an table

Table Basics. The structure of an table TABLE -FRAMESET Table Basics A table is a grid of rows and columns that intersect to form cells. Two different types of cells exist: Table cell that contains data, is created with the A cell that

More information

Exercise 1 Using Boolean variables, incorporating JavaScript code into your HTML webpage and using the document object

Exercise 1 Using Boolean variables, incorporating JavaScript code into your HTML webpage and using the document object CS1046 Lab 5 Timing: This lab should take you approximately 2 hours. Objectives: By the end of this lab you should be able to: Recognize a Boolean variable and identify the two values it can take Calculate

More information

CONVERSION TRACKING PIXEL GUIDE

CONVERSION TRACKING PIXEL GUIDE Conversion Tracking Pixel Guide A Step By Step Guide to Installing a conversion tracking pixel for your next Facebook ad. Go beyond clicks, and know who s converting. PRESENTED BY JULIE LOWE OF SOCIALLY

More information

Wix. Using Pages Properly and Effectively

Wix. Using Pages Properly and Effectively Wix Using Pages Properly and Effectively Right when you begin using Wix, you are first handed a variety of templets to choose form. What you ll notice about every single templet is that they all have a

More information

Website Design and Development CSCI 311

Website Design and Development CSCI 311 Website Design and Development CSCI 311 Learning Objectives Understand good practices in designing and developing web sites Learn some of the challenges web design Activity In pairs: describe how you d

More information

Web development using PHP & MySQL with HTML5, CSS, JavaScript

Web development using PHP & MySQL with HTML5, CSS, JavaScript Web development using PHP & MySQL with HTML5, CSS, JavaScript Static Webpage Development Introduction to web Browser Website Webpage Content of webpage Static vs dynamic webpage Technologies to create

More information

Taskbar: Working with Several Windows at Once

Taskbar: Working with Several Windows at Once Taskbar: Working with Several Windows at Once Your Best Friend at the Bottom of the Screen How to Make the Most of Your Taskbar The taskbar is the wide bar that stretches across the bottom of your screen,

More information

Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5

Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5 Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5 NOTE: It is my policy to give a failing grade in the course to any student who either gives or receives

More information

Frontend guide. Everything you need to know about HTML, CSS, JavaScript and DOM. Dejan V Čančarević

Frontend guide. Everything you need to know about HTML, CSS, JavaScript and DOM. Dejan V Čančarević Frontend guide Everything you need to know about HTML, CSS, JavaScript and DOM Dejan V Čančarević Today frontend is treated as a separate part of Web development and therefore frontend developer jobs are

More information

Managing your content with the Adobe Experience Manager Template Editor. Gabriel Walt Product Manager twitter.com/gabrielwalt

Managing your content with the Adobe Experience Manager Template Editor. Gabriel Walt Product Manager twitter.com/gabrielwalt Managing your content with the Adobe Experience Manager Template Editor Gabriel Walt Product Manager twitter.com/gabrielwalt Table of Contents 1. Introduction 3 1.1 Overview 3 1.2 Prerequisites 3 2. Getting

More information

Remodeling Your Office A New Look for the SAS Add-In for Microsoft Office

Remodeling Your Office A New Look for the SAS Add-In for Microsoft Office Paper SAS1864-2018 Remodeling Your Office A New Look for the SAS Add-In for Microsoft Office ABSTRACT Tim Beese, SAS Institute Inc., Cary, NC Millions of people spend their weekdays in an office. Occasionally

More information

Creating HTML files using Notepad

Creating HTML files using Notepad Reference Materials 3.1 Creating HTML files using Notepad Inside notepad, select the file menu, and then Save As. This will allow you to set the file name, as well as the type of file. Next, select the

More information

c122jan2714.notebook January 27, 2014

c122jan2714.notebook January 27, 2014 Internet Developer 1 Start here! 2 3 Right click on screen and select View page source if you are in Firefox tells the browser you are using html. Next we have the tag and at the

More information

GCSE Computer Science

GCSE Computer Science GCSE Computer Science 4512/1 Practical Programming Report on the Examination 4512 Summer 2015 Version: 1.0 Further copies of this Report are available from aqa.org.uk Copyright 2015 AQA and its licensors.

More information

Beginning HTML. The Nuts and Bolts of building Web pages.

Beginning HTML. The Nuts and Bolts of building Web pages. Beginning HTML The Nuts and Bolts of building Web pages. Overview Today we will cover: 1. what is HTML and what is it not? Building a simple webpage Getting that online. What is HTML? The language of the

More information

The following pages within this guide will explain to you stepby-step how to set up your sites.

The following pages within this guide will explain to you stepby-step how to set up your sites. Thank you for purchasing VORTEX 47. VORTEX 47 websites are loaded with some of the Highest Gravity, Most Popular items listed on Clickbank. These sites are optimized for Google Adsense Ads as well as Amazon

More information

09/07: Project Plan. The Capstone Experience. Dr. Wayne Dyksen Department of Computer Science and Engineering Michigan State University Fall 2016

09/07: Project Plan. The Capstone Experience. Dr. Wayne Dyksen Department of Computer Science and Engineering Michigan State University Fall 2016 09/07: Project Plan The Capstone Experience Dr. Wayne Dyksen Department of Computer Science and Engineering Michigan State University Fall 2016 From Students to Professionals Project Plan Functional Specifications

More information

We aren t getting enough orders on our Web site, storms the CEO.

We aren t getting enough orders on our Web site, storms the CEO. In This Chapter Introducing how Ajax works Chapter 1 Ajax 101 Seeing Ajax at work in live searches, chat, shopping carts, and more We aren t getting enough orders on our Web site, storms the CEO. People

More information

How To Manually Edit Wordpress Theme Name And Author

How To Manually Edit Wordpress Theme Name And Author How To Manually Edit Wordpress Theme Name And Author Theme Tweaker lets you modify the colors in your theme with no CSS/PHP editing. Theme Tweaker displays the existing colors from your current theme,

More information

FIREFOX MENU REFERENCE This menu reference is available in a prettier format at

FIREFOX MENU REFERENCE This menu reference is available in a prettier format at FIREFOX MENU REFERENCE This menu reference is available in a prettier format at http://support.mozilla.com/en-us/kb/menu+reference FILE New Window New Tab Open Location Open File Close (Window) Close Tab

More information

Title: Tech Training Certificate: Ace of Initiative Program. Presented By Rajmahendran P Business analyst & IT Manger

Title: Tech Training Certificate: Ace of Initiative Program. Presented By Rajmahendran P Business analyst & IT Manger Title: Tech Training Certificate: Ace of Initiative Program Presented By Rajmahendran P Business analyst & IT Manger Why PHP important? Within 4 to 6 year Every Business will have Website Every Shop Will

More information

Creating an HTML file (Mac)

Creating an HTML file (Mac) writing html on a macintosh Creating an HTML file (Mac) All HTML files are text files. To create a text file you need an application that allows you to create plain text without throwing in a lot of fancy

More information

CNIT 129S: Securing Web Applications. Ch 12: Attacking Users: Cross-Site Scripting (XSS) Part 2

CNIT 129S: Securing Web Applications. Ch 12: Attacking Users: Cross-Site Scripting (XSS) Part 2 CNIT 129S: Securing Web Applications Ch 12: Attacking Users: Cross-Site Scripting (XSS) Part 2 Finding and Exploiting XSS Vunerabilities Basic Approach Inject this string into every parameter on every

More information

ITNP43 HTML Practical 2 Links, Lists and Tables in HTML

ITNP43 HTML Practical 2 Links, Lists and Tables in HTML ITNP43 HTML Practical 2 Links, Lists and Tables in HTML LEARNING OUTCOMES By the end of this practical students should be able to create lists and tables in HTML. They will be able to link separate pages

More information

M275 - Web Development using PHP and MySQL

M275 - Web Development using PHP and MySQL Arab Open University Faculty of computer Studies M275 - Web Development using PHP and MySQL Chapter 6 Flow Control Functions in PHP Summary This is a supporting material to chapter 6. This summary will

More information

How To Get Your Word Document. Ready For Your Editor

How To Get Your Word Document. Ready For Your Editor How To Get Your Word Document Ready For Your Editor When your document is ready to send to your editor you ll want to have it set out to look as professional as possible. This isn t just to make it look

More information

OSCommerce Basic Modification Guide. By Michael Sasek OSCdox

OSCommerce Basic Modification Guide. By Michael Sasek OSCdox OSCommerce Basic Modification Guide By Michael Sasek OSCdox Mod Guide Chapter 1 General Concepts The way oscommerce is constructed looks a bit complicated at first, but once you learn its conventions,

More information

Creating Web Pages Using HTML

Creating Web Pages Using HTML Creating Web Pages Using HTML HTML Commands Commands are called tags Each tag is surrounded by Some tags need ending tags containing / Tags are not case sensitive, but for future compatibility, use

More information

Website instructions. 1. Creating a Post

Website instructions. 1. Creating a Post Website instructions Using the Wordpress site is a fairly simple process. To access the control panel in order to add content, simply go to Link > Staff Only > Site Login and enter your username and password.

More information

ORB Education Quality Teaching Resources

ORB Education Quality Teaching Resources These basic resources aim to keep things simple and avoid HTML and CSS completely, whilst helping familiarise students with what can be a daunting interface. The final websites will not demonstrate best

More information