E-Commerce: Introduction to Web Development 1 Dr. Lawrence West, Management Dept., University of Central Florida Topics What is a Web.

Slides:



Advertisements
Similar presentations
© 2011 Delmar, Cengage Learning Chapter 1 Getting Started with Dreamweaver.
Advertisements

WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Learning the Basics – Lesson 1
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
Creating and Editing a Web Page Using Inline Styles
CPSC 203 Introduction to Computers Tutorial 59 & 64 By Jie (Jeff) Gao.
Links and Comments.
1 Chapter 12 Working With Access 2000 on the Internet.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
CIS101 Introduction to Computing HTML Project Two.
1 Computing for Todays Lecture 22 Yumei Huo Fall 2006.
Internet Publishing / Dreamweaver Luke E. Reese CARRS
FIRST COURSE Creating Web Pages with Microsoft Office 2007.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
Creating a Web Page HTML, FrontPage, Word, Composer.
Web Development 311 Fall : Fall Why web pages? Most companies have intranets, extranets, and web sites Content can be changed quickly and.
Getting Started with Dreamweaver
Introduction to.Net and ASP.Net Course Introduction Build Your Own ASP.Net Website: Chapter 1 Microsoft ASP.Net Walkthrough: Creating a Basic Web Forms.
INTRODUCTION TO DREAMWEAVER 8. What we already know…  Design basics  Contrast  Repetition  Alignment  Repetition  HTML.
Microsoft Excel 2000 Adding Visual Elements and Managing Files.
CPSC 203 Introduction to Computers Lab 21, 22 By Jie Gao.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
Basic HTML Hyper text markup Language. Re-cap  … - The tag tells the browser that this is an HTML document The html element is the outermost element.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
CIS 205—Web Design & Development Dreamweaver Chapter 1.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
CIT 256 Dreamweaver Sites and Image Maps Dr. Beryl Hoffman.
MIS 3200 – C# (C Sharp)
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
Fall 2005 Using FrontPage to Enhance Blackboard - Darek Sady1 Using FrontPage to Enhance Blackboard 1.Introduction 2.Starting FrontPage 3.Creating Documents.
HTML Hyper Text Markup Language. What is an HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. word 2010 Chapter 3 Formatting Documents.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
1 Creating the Header Page The header frame always displays on the AHS Web site The image (screagle.gif) that will go in the header is contained on the.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
Tutorial 3 Adding and Formatting Text with CSS Styles.
HTML Concepts and Techniques Fifth Edition Chapter 4 Creating Tables in a Web Site.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Creating and Editing a Web Page
1 More About HTML Images and Links. 22 Objectives You will be able to Include images in your HTML page. Create links to other pages on your HTML page.
HTML Comprehensive Concepts and Techniques Second Edition Project 2 Creating a Web Site with Links.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Microsoft FrontPage 2003 Illustrated Complete Working on the Web Site’s Hyperlinks and Appearance.
Web Site Development - Process of planning and creating a website.
Microsoft Office 2008 for Mac – Illustrated Unit D: Getting Started with Safari.
Easy Site Navigation Getting organized, staying organized Creating custom site-navigation controls Using Menu, TreeView, and SiteMenuPath controls Make.
Creating Web Pages with Links, Images, and Embedded Style Sheets
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
XP New Perspectives on Creating Web Pages With Word Tutorial 1 1 Creating Web Pages With Word Tutorial 1.
XP Creating Web Pages with Microsoft Office
MIS 3200 – C# (C Sharp)
Getting Started with Dreamweaver
With Microsoft FrontPage 2000
Learning the Basics – Lesson 1
Getting Started with Dreamweaver
Getting Started with Dreamweaver
Introduction to the ISB Intranet
Presentation transcript:

e-Commerce: Introduction to Web Development 1 Dr. Lawrence West, Management Dept., University of Central Florida Topics What is a Web Site Server Directories Web Files The HTML File Creating a New Web Site with Visual Studio.NET Creating and Saving a Web Page Organizing a Web Site Hyperlinks Miscellaneous

e-Commerce: Introduction to Web Development 2 Dr. Lawrence West, Management Dept., University of Central Florida What is a Web Site? A web site is a collection of files: –having certain properties –located is special directories –available on a web server You will develop your web site on a local hard drive running Microsoft’s Internet Information Server –PWS or IIS and a computer make a server, even if the computer isn’t connected to the Internet Later you will move your site to a real server

e-Commerce: Introduction to Web Development 3 Dr. Lawrence West, Management Dept., University of Central Florida Web Server Architecture Web Servers Application Servers Database Servers Internal Users

e-Commerce: Introduction to Web Development 4 Dr. Lawrence West, Management Dept., University of Central Florida Server Directories When you install any web server you designate a physical directory on the server to be the root directory of your web sites By default, PWS creates c:\inetpub\wwwroot as the root directory for your web sites –You may override this location at installation time –Only recommended if you need to use a different physical drive Web ‘sites’ are created directly under this host directory in the physical directory structure Web servers operate using similar principles

e-Commerce: Introduction to Web Development 5 Dr. Lawrence West, Management Dept., University of Central Florida Server Directories (cont.) All web servers have a base URL such as, – is also a valid path for IIS on your local computerhttp://localhost The physical location of your server directories and files work with your URL The file c:\inetpub\wwwroot\mysite\default.htm has the URL or

e-Commerce: Introduction to Web Development 6 Dr. Lawrence West, Management Dept., University of Central Florida Server Folders in Visual Studio Development Environment The Visual Studio development environment does not require that you host your project in a server directory (including virtual directories) Your project may go anywhere in the computer’s file system When you deploy the project to a server you will need to deploy to a valid directory Be careful of program resources that are outside the project folder (such as images) as they may be disconnected when the project is deployed

e-Commerce: Introduction to Web Development 7 Dr. Lawrence West, Management Dept., University of Central Florida Web Files Web files are files located in server directories and ‘have certain properties’ –Files with.html or.htm extensions are automatically recognized as web pages to be served up –Files with.asp or.aspx extensions are recognized as files containing web content and script to be executed –.jpg and.gif files are recognized as images to be included in.htm or.asp pages (or served up separately) –Other file extensions may be served up by the site but browser must be configured to handle them

e-Commerce: Introduction to Web Development 8 Dr. Lawrence West, Management Dept., University of Central Florida Structure of an HTML/HTM File New Page 1 This is a simple web page with no formatting applied HTML tag begins content used by the browser Head section contains data about the document (optional) Body contains content displayed by the browser All of this content (except text above) was created automatically by the FrontPage editor

e-Commerce: Introduction to Web Development 9 Dr. Lawrence West, Management Dept., University of Central Florida Creating a New Web Project w/ VS.Net Start Visual Studio Select the File | New | Web Site… menu Select ASP.NET Web Site Rename default application name (very tough to do later!!) Click OK

e-Commerce: Introduction to Web Development 10 Dr. Lawrence West, Management Dept., University of Central Florida Creating a New Web Project w/ VS.Net (cont.) New project is created First blank page is displayed (default.aspx) Tools may be exposed or docked depending on VS settings –Toolbox –Server Explorer –Solution Explorer –Help

e-Commerce: Introduction to Web Development 11 Dr. Lawrence West, Management Dept., University of Central Florida Creating a New Web Project w/ VS.Net (cont.) Solution Explorer contains initial project elements –Solution (name matches web name when new solution was selected) –Web site with same name –Several pages used by the site (more later) –Initial page (Default.aspx) You build your application by adding more elements and giving them properties and capabilities

e-Commerce: Introduction to Web Development 12 Dr. Lawrence West, Management Dept., University of Central Florida Creating a Web Page Add new web pages (as well as other items—later) by –Right click the web app –Select Add New Item… –Select item (Usually Web Form) –Name the form in the dialog –Keep.aspx extension for forms New form appears in Solution Explorer

e-Commerce: Introduction to Web Development 13 Dr. Lawrence West, Management Dept., University of Central Florida Set Key Page Properties bgColor: Background color Background: Image Text: Color of text on page Link & VLink: Colors of unvisited and visited links on page Don’t be goofy with colors Set most colors in Master Pages (later) Title

e-Commerce: Introduction to Web Development 14 Dr. Lawrence West, Management Dept., University of Central Florida Demonstration—Adding Content to Web Pages Text Controls Viewing page in design and HTML views Topics for later –Tables –Images –Hyperlinks

e-Commerce: Introduction to Web Development 15 Dr. Lawrence West, Management Dept., University of Central Florida Organizing the Web Site Use Folders to organize your web site –Keep similar items together Make maintenance easier Find folders easier Keep folders uncluttered –Put home page in the web site’s root Home page must be called default.htm or default.aspx If only a folder is specified by the browser with no file then default.htm, default.html, or default.aspx will be displayed if they exist in that folder

e-Commerce: Introduction to Web Development 16 Dr. Lawrence West, Management Dept., University of Central Florida Organizing the Web Site (cont.) Add new folders like you would a new page Files may be moved between folders by dragging and dropping –Unlike working in FrontPage, relative hyperlinks are not automatically updated when dragging and dropping between folders –Hyperlinks created in code are also not updated automatically –Plan folder structure early to avoid extensive rewriting

e-Commerce: Introduction to Web Development 17 Dr. Lawrence West, Management Dept., University of Central Florida Organizing the Web Site (cont.) Files and folders may be moved within the web site by dragging to new locations in the folder view Images –Images used throughout the web (or that could be used in multiple locations) should go in the Images directory –Images that are distinctly tied only to individual pages should be kept with that page –You may create images directories within other subfolders (nothing magical about them) –More on images later

e-Commerce: Introduction to Web Development 18 Dr. Lawrence West, Management Dept., University of Central Florida Hyperlinks The essence of web-based information is the ability to create hyperlinks from one document to another Hyperlinks are created in VS using a dialog Before attempting to create a hyperlink to a page in the application, ensure that the target page already exists and is saved There are three types of hyperlinks –Jumps Internal – within the same web site External – to a document on another site (or server) –In-line hyperlinks (most often used for images)

e-Commerce: Introduction to Web Development 19 Dr. Lawrence West, Management Dept., University of Central Florida Hyperlinks (Creating Internal Jumps) Creating Internal Jumps –Edit the page on which the link will reside –Type in the text you want displayed in the link or add an image –Select text or image –Activate the hyperlink dialog Type Ctrl-L Use the Format | Convert to Hyperlink menu –Select Browse… button

e-Commerce: Introduction to Web Development 20 Dr. Lawrence West, Management Dept., University of Central Florida Hyperlinks (Creating Internal Jumps) Select folder and file to be target of hyperlink Select URL type –Change to “Document Relative” for relative hyperlink Select OK Select OK again There is also a hyperlink control that can have properties set in code at run time as well as at design time

e-Commerce: Introduction to Web Development 21 Dr. Lawrence West, Management Dept., University of Central Florida Hyperlinks (cont.) 1.The hyperlink HTML consists of an anchor tag with the target 2.The text or image that will be displayed and respond to the click 3.The closing tag Hyperlink Text 123

e-Commerce: Introduction to Web Development 22 Dr. Lawrence West, Management Dept., University of Central Florida Hyperlinks (cont.) Hyperlinks can be Relative, Root Relative, or Absolute –A relative or root relative hyperlink is only good for links to pages in the same web site Shows the path starting from the current location or the web site root –Absolute hyperlinks can be to internal or external pages Show entire path to the page, including the header, machine address, folder, and page name –Always use relative hyperlinks for links to the same site Allows site to be moved in total from one machine to another without rewriting

e-Commerce: Introduction to Web Development 23 Dr. Lawrence West, Management Dept., University of Central Florida Hyperlinks (Relative Hyperlinks) Target located in the same directory Target located down one directory Target located up one directory Target located up one directory and then down two

e-Commerce: Introduction to Web Development 24 Dr. Lawrence West, Management Dept., University of Central Florida Hyperlinks (External Jumps) Create external jumps by entering the complete URL in the hyperlink dialog –Type in from memory –Navigate using your browser and copy the URL to the clipboard and paste

e-Commerce: Introduction to Web Development 25 Dr. Lawrence West, Management Dept., University of Central Florida Hyperlinks (cont.) We will return to hyperlinks later –In-line hyperlinks will be covered with images –We will also cover bookmarks to hyperlink to a specific point in a document (including within the same document as the link) –We will also see how to use images as a hyperlink instead of text –Use of hyperlink controls to enable dynamically setting hyperlink properties in code –Use of hyperlinks in grid or repeater controls

e-Commerce: Introduction to Web Development 26 Dr. Lawrence West, Management Dept., University of Central Florida Misc You can test your website by hitting F5 or clicking the Run button –Always starts default application page (Note:) You can test individual pages by entering –You don't need to close the page you are editing in order to test it. Just save it –You will probably need to use the Refresh button on your browser to see the updated page Close your web site by saving any files being edited and closing VS