44238: Dynamic Web-site Development Common Web-page Elements Ian Perry Room:C48 Extension:7287

Slides:



Advertisements
Similar presentations
HTML Basics Customizing your site using the basics of HTML.
Advertisements

ASP.NET Intro An introduction to the languages and communication of an ASP.NET system.
44238: Dynamic Web-site Development Working with a Remote Database Ian Perry Room:C48 Extension:7287
44212: Web-site Development Planning & Building a Web-site Ian Perry Room:C48 Extension:7287
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
MIS 425 Lecture 2 – HTML Navigation, Colors, tables and Styles Instructor: Martin Neuhard
Chapter 3 – Designing your web pages Dr. Stephanos Mavromoustakos.
16 HTML Tables and Frames Section 16.1 Create a basic table using HTML Define borders Merge cells Align content in tables Section 16.2 Create a frames-based.
HCI 201 Week 6 Client Side Image Maps Introduction to CSS.
Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
Using Cascading Style Sheets (CSS) Dept. of Computer Science and Computer Information CSCI N-100.
 Using Microsoft Expression Web you can: › Create Web pages and Web sites › Set what you site will look like as you design it › Add text, images, multimedia.
Lecturer: Ghadah Aldehim
Cascading Style Sheet. What is CSS? CSS stands for Cascading Style Sheets. CSS are a series of instruction that specify how markup elements should appear.
CIT 256 Organizing Large Websites: Divs, DW Templates Dr. Beryl Hoffman.
 ult.htm ult.htm  This website illustrates the use of CCS (style sheets)
Server-side Scripting Powering the webs favourite services.
WDV 331 Dreamweaver Applications Snippets and Libraries Items Dreamweaver CS6 Chapter 18.
NetTech Solutions Working with Web Elements Lesson 6.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
INTERMEDIATE WEB DESIGN INTRODUCTORY CSS, JAVASCRIPT AND PHP.
44238: Dynamic Web-site Development Introduction to Module & xHTML Ian Perry Room: C48 Extension: 7287
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
1 What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements  Styles are normally stored in Style Sheets  Styles.
Css. Definition Cascading style sheet (CSS) Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
Internet Web Publishing III. Intro to Cascading Style Sheets Patricia Roberts.
How the Web Works Digital Histories Workshop Adam Crymble.
IS1825: Developing Multimedia Applications for Business Lecture 1: Introduction to CSS Rob Gleasure
Lesson 7 – World Wide Web. What is the World Wide Web?  The content of the worldwide web is held on individual web pages gathered together to form websites.
Css. Definition Cascading style sheet (CSS)  It is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
HTML Basics BCIS 3680 Enterprise Programming. Web Client/Server Architecture 2  Your browser (the client) requests a Web page from a remote computer.
Porting methodology Porting of an WEB Site using PTK To insert your company logo on this slide From the Insert Menu Select “Picture” Locate your logo file.
44238: Dynamic Web-site Development Client Side Programming Ian Perry Room:C48 Extension:7287
CSW131 Steven Battilana 1 CSW 131 Project Requirements Summer 2013.
INTRODUCTION TO CSS. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features of CSS Features of CSS  Creating Style Sheet Creating Style Sheet.
HTML GUIDE Press F5 and then Click on the links on the left to get to the section you want Section 1: Getting Started Section 2: Moving Banner Section.
Creating a Web Site Review of Concepts. Templates Templates are special HTML files that are used to quickly create pages on a web site. They contain the.
Cascading Style Sheets CSS. Source W3Schools
DYNAMIC HTML What is Dynamic HTML: HTML code that allow you to change/ specify the style of your web pages. Example: specify style sheet, object model.
Introduction to CSS. Why CSS? CSS Provides Efficiency in Design and Updates CSS relatively easy to use Can give you more flexibility and control Faster.
HTML & CSS BasicsHTMLCSSQuizAnswers  The logo In this website(made of html and css Codes), you will learn some basics of How to use HTML and CSS codes.
A Simple Website using Cascading Style Sheets (CSS) IST2101.
Today’s Lesson….. 1.Formative Assessment Given Back – Go through Answers. 2.Webpage Design.
Style Sheets. Coding Style Sheets  Style sheets use RULES to create the style  A selector (a tag or user-defined style name)  and then declarations.
Today’s Lesson….. 1.Formative Assessment Given Back – Go through Answers. 2.Webpage Design.
CSU Extension Webpage Template Session 4 February 2010.
NASRULLAHIBA.  It is time to take your web designing skills to the next level with Cascading Style Sheets (CSS). They are a way to control the look and.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
CSE3310: Web training A JumpStart for Project. Outline Introduction to Website development Web Development Languages How to build simple Pages in PHP.
Multimedia Web site development Plan your site Steps for creating web pages.
What is CSS? A set of style rules that tell the web browser how to present a web page or document. – In earlier versions of HTML, style characteristics,
1 Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size, font color etc…
A Simple Website using Cascading Style Sheets (CSS) IST2101.
44212: Web-site Development Planning to Build a Web-site Ian Perry Room:C49 Extension:7287
G046 – Lecture 2A Recognising Web-Technologies Mr C Johnston ICT Teacher
Cascading Style Sheets for layout
Web Basics: HTML/CSS/JavaScript What are they?
>> Introduction to CSS
Introduction to HTML.
Cascading Style Sheets (CSS)
Cascading Style Sheets for layout
Lesson 4 – Introduction to CSS
Cascading Style Sheets™ (CSS)
Unit 4 Test CSS Test.
Server Side Includes Server Side Includes (SSI) are simply this:
Web Development 101 Workshop
Client-Server Model: Requesting a Web Page
Web Programming and Design
Presentation transcript:

44238: Dynamic Web-site Development Common Web-page Elements Ian Perry Room:C48 Extension:7287

Ian Perry 44238: Dynamic Web-site Development: Common Web-page Elements Slide 2 Remember?  You must: stop thinking about the development of individual Web-pages, that are then bolted together to form a Web-site. start designing Web-sites that are composed of a number of re-usable, easily changeable, Web-page components that have the potential to be combined in a variety of ways.  In other words: start thinking about your Web-sites in much the same way as a Database, where you store things once, and use them many times.

Ian Perry 44238: Dynamic Web-site Development: Common Web-page Elements Slide 3 Where are we up to?  Over the past two weeks, we have had a look at: Cascading Style Sheets (CSS) Which can be used to apply a ‘Common Look- and-Feel’ to multiple Web-pages.  This week, and next, we will turn our attention to: Server Side Includes (SSI) Which allow you to include ‘Common Web-page Elements’ within multiple Web-pages.

Ian Perry 44238: Dynamic Web-site Development: Common Web-page Elements Slide 4 What is the ‘Problem’?  Web-site Developers often have to make quite large changes in the structure & presentation of a Web-site, e.g.: Adding/Removing items from a Web-site’s main navigation system.  If the Web-site they are currently working on is composed of many Web-pages: This may prove to be a very time consuming, and error-prone, task.

Ian Perry 44238: Dynamic Web-site Development: Common Web-page Elements Slide 5 What is the ‘Solution’?  Server Side Includes (SSI) which can be used to develop common structural elements, that can be ‘included’ in multiple Web-pages.  For Example: a common page header. a set of navigation links. a common page footer.

Ian Perry 44238: Dynamic Web-site Development: Common Web-page Elements Slide 6 What is the ‘Solution’?  Server Side Includes (SSI), i.e.; to deliver the relatively static elements of Web- pages.  Pre-built SSI elements can be used, and re-used; to make the task of constructing Web-sites a much easier/faster process.  With SSI, ‘mistakes’ in overall structure and presentation of a Web-site can easily be rectified without having to re-edit multiple Web-pages. All the Web-site Developer needs to do is to change the content of ONE SSI file, in order for this change to be apparent in ALL of the Web-pages that ‘include’ this SSI file.

Ian Perry 44238: Dynamic Web-site Development: Common Web-page Elements Slide 7 How does SSI Work?  To use SSI effectively you need to be able to separate: the static, re-useable, common elements that you wish to appear on all of your Web-pages.  From: the content of individual Web-pages.

Ian Perry 44238: Dynamic Web-site Development: Common Web-page Elements Slide 8 How does SSI Work?  SSI files tend to be quite simple HTML documents, however, they DO NOT usually include any; …, or … tags.  SSI only ‘works’ from a Web-sever! You CAN NOT see the effect of SSI by looking at your Web-pages locally.

Ian Perry 44238: Dynamic Web-site Development: Common Web-page Elements Slide 9 Where might we use SSI?  Suppose we wanted to construct a series of Web- pages that had this general structure? These elements will be common to all Web-pages. Each Web-page will, however, have some unique Web- page Content. Organisation Name & Logo Web-page Content Navigation System Web-site Author

Ian Perry 44238: Dynamic Web-site Development: Common Web-page Elements Slide 10 SSI is REALLY simple!  All you need to do is: Build the simple text/HTML files that are to be ‘included’, e.g.: top.txt, nav.txt & bot.txt Build each Web-page: with the unique Web-page Content only Insert the following code where you wish one of these common SSI elements to appear, e.g.:

Ian Perry 44238: Dynamic Web-site Development: Common Web-page Elements Slide 11 Common Web-page Elements  top.txt Organisation Name & Logo  nav.txt Page One | Page Two | Page Three  bot.txt Web-site Author

Ian Perry 44238: Dynamic Web-site Development: Common Web-page Elements Slide 12 one.asp SSI - Page One Page One  You CAN NOT see the effect of SSI by looking at your Web-pages locally.  as SSI only ‘works’ from a Web-sever! So, to test that one.asp looks OK, you must copy all of the files, i.e.:  one.asp, top.txt, nav.txt & bot.txt. to a remote Web-server, then load one.asp from that remote location.

Ian Perry 44238: Dynamic Web-site Development: Common Web-page Elements Slide 13 And this is what you should see!

Ian Perry 44238: Dynamic Web-site Development: Common Web-page Elements Slide 14 SSI - Page Three Page Three SSI - Page Two Page Two Repeat the process for two.asp & three.asp

Ian Perry 44238: Dynamic Web-site Development: Common Web-page Elements Slide 15 I use SSI a lot!  See if you can spot where SSI has been used for these Web-sites: itsy.co.uk Kimberworth Insurance Bureau Ltd. Leek Educational Sun Organics

Ian Perry 44238: Dynamic Web-site Development: Common Web-page Elements Slide 16 You MUST use SSI for Ass 1  The ‘PQR Travel’ Web-site has several opportunities where SSI would provide an ideal solution. Some of these ‘opportunities’ are more obvious than others.  Look carefully for these opportunities; and use SSI in order to include as many common Web-page Elements as you can.

Ian Perry 44238: Dynamic Web-site Development: Common Web-page Elements Slide 17 Next Week’s Workshop  Task 1 Download a number of files (both Images and Web-pages) for use in later Tasks.  Task 2 Build some ‘common’ Web-page elements, that will be used to deliver the Page Header, Navigation System, & Signature Block for a small Web-site (see Task 3), and to convert the Web-pages dowloaded during Task 1 in to Active Server Pages (ASP).  Task 3 Modify the Active Server Pages from Task 2, so that they include (using Server Side Include statements) the common Web-page elements that you also created during Task 2.  Task 4 Re-work the Web-site created during Task 3 so that it employs CSS (for a common look-and-feel), as well as SSI (in order to include common Web-page elements).