Mark Dixon, SoCCE SOFT 131Page 1 08 – Web applications: HTML and ActiveX controls.

Slides:



Advertisements
Similar presentations
HTML. The World Wide Web Protocols Addresses HTML.
Advertisements

Web Forms and ASP.NET Programming Right from the Start with Visual Basic.NET 1/e 12.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. How to Create Web Pages Using HTML Introduction.
What is the Internet? Internet: The Internet, in simplest terms, is the large group of millions of computers around the world that are all connected to.
Mark Dixon Page 1 SOFT – Module Introduction.
Mark Dixon, SoCCE SOFT 131Page 1 SOFT – Module Introduction.
Mark Dixon, SoCCE SOFT 131Page 1 20 – Web applications: HTML and Client-side code.
CIS101 Introduction to Computing Week 05. Agenda Your questions Exam next week - Excel Introduction to the Internet & HTML Online HTML Resources Using.
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
Master’s course Bioinformatics Data Analysis and Tools Lecture 6: Internet Basics Centre for Integrative Bioinformatics.
Mark Dixon, SoCCE SOFT 131Page 1 16 – Web applications: HTML and Client-side code.
CIS101 Introduction to Computing
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Mark Dixon, SoCCE SOFT 131Page 1 SOFT – Module Introduction.
1 Software Testing and Quality Assurance Lecture 32 – SWE 205 Course Objective: Basics of Programming Languages & Software Construction Techniques.
Mark Dixon Page 1 15 – Web applications: Server-side code (ASP)
Mark Dixon, SoCCE SOFT 131Page 1 19 – Web applications: Server-side code (ASP)
THE BASICS OF THE WEB Davison Web Design. Introduction to the Web Main Ideas The Internet is a worldwide network of hardware. The World Wide Web is part.
CIS101 Introduction to Computing Week 06. Agenda Your questions Excel Exam during second hour Our status after the snow day Introduction to the Internet.
COMPUTERS AND INFORMATION SYSTEMS HTML. How the Web Works To access a web site  Enter its address (URL) in the address box of your browser 
8/17/2015CS346 PHP1 Module 1 Introduction to PHP.
Linux Operations and Administration
1 Introduction to Web Development. Web Basics The Web consists of computers on the Internet connected to each other in a specific way Used in all levels.
Mark Dixon Page 1 Tech – HTML. Mark Dixon Page 2 Admin Attendance Register: –log in to your profile.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
M Dixon 1 Web-Application Development Workshop. M Dixon 2 Session Aims & Objectives Aims –to introduce the main concepts involved in creating web-applications.
Introducing Dreamweaver MX 2004
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
Internet Fundamentals Total Advantage MS Excel 97, Hutchinson, Coulthard, 1998 McGraw Introduction to HTML Chapter 7.
M Dixon 1 Soft – Module Introduction and HTML.
Mark Dixon Page 1 3 – Web applications: Server-side code (JSP)
What is the Internet? Internet: The Internet, in simplest terms, is the large group of millions of computers around the world that are all connected to.
10/5/2015CS346 PHP1 Module 1 Introduction to PHP.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
Computer Information Technology – Section 3-4. HTML – The Language of the Internet Objectives: The Student will: 1. Look at HTML 2. Understand the basic.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 1 1 Browser Basics Introduction to the Web and Web Browser Software Tutorial.
HTML ~ Web Design.
Mark Dixon Page 1 18 – Web applications: Server-side code (PhP)
Introduction to web development and HTML MGMT 230 LAB.
CA Professional Web Site Development Class 2: Anatomy of a Web Site and Web Page & Intro to HTML.
1 After completing this lesson, you will be able to: Transfer your files to the Internet. Choose a method for posting your Web pages. Use Microsoft’s My.
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
Mark Dixon Page 1 Soft – Module Introduction and HTML.
Mark Dixon Page 1 Web-Application Development Workshop.
M Dixon 1 Web-Application Development Workshop. M Dixon 2 Session Aims & Objectives Aims –to introduce the main concepts involved in creating web-applications.
CPSC 203 Introduction to Computers Lab 66 By Jie Gao.
Web Design. How do web pages work? Webpages are written in a code called HTML. Programs like Internet Explorer read the code, and then show it as a web.
M Dixon 1 Tech HTML. M Dixon 2 Admin Attendance Register: –log in to your profile.
Mark Dixon Page 1 Soft – HTML. Mark Dixon Page 2 Admin Attendance Register: –log in to your profile.
Mark Dixon Page 1 Tech – HTML. Mark Dixon Page 2 Admin Attendance Register: –log in to your profile.
HTML HyperText Markup Language. Text Files An array of bytes stored on disk Each element of the array is a text character A text editor is a user program.
Mark Dixon Page 1 15 – Web applications: Server-side code (ASP)
Web Authoring with Dreamweaver. Unit Objectives  Be able to define keywords: HTML, HTTP (protocol), browser, web server, client/server, tag, attribute,
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
JavaScript and Ajax (Internet Background) Week 1 Web site:
(ITI310) By Eng. BASSEM ALSAID SESSIONS 10: Internet Information Services (IIS)
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
1 2/16/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Intro to HTML and Basic Web Page Design.
The Internet, Fourth Edition-- Illustrated 1 The Internet – Illustrated Introductory, Fourth Edition Unit B Understanding Browser Basics.
Web Design – Week 2 Introduction to website basics Website basics: How the Web Works Client / server architecture Packet switching URL components.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
The Internet Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
Introduction to HTML 4.0 Getting Started – Basic Terminology Teacher: Mr. Ho.
9 – Web applications: Server-side code (ASP)
21 – Web applications: Server-side code (ASP)
Web page a hypertext document connected to the World Wide Web.
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
Internet Technologies I - Lect.01 - Waleed Ibrahim Osman
Presentation transcript:

Mark Dixon, SoCCE SOFT 131Page 1 08 – Web applications: HTML and ActiveX controls

Mark Dixon, SoCCE SOFT 131Page 2 Session Aims & Objectives Aims –To introduce two fundamental ideas involved in web applications Objectives, by end of this week’s sessions, you should be able to: –create a static web page, using HTML –create an ActiveX control VB application, –embed this ActiveX control in a web page –install IIS on server –deploy your ActiveX control to your web-site

Mark Dixon, SoCCE SOFT 131Page 3 Example: Multiplication Test SPECIFICATION User Requirements –allow children to practice multiplication Software Requirements –Functional: software should –pick two numbers between 0 and 12 randomly –ask user what the result of multiplying them is –allow user to enter answer –check whether answer is correct –tell user –Non-functional should be interesting and colourful, and available on-line

Mark Dixon, SoCCE SOFT 131Page 4 Example: MulTest - Design User interface design: Functional design: Trigger (when)Actions (what) User clicks Ask buttonselect 2 random numbers, & ask user what result of multiplying them is User types in Text boxonly allow digits 0 to 9 User clicks Check buttoncompare user's answer with correct answer, & display appropriate message

Mark Dixon, SoCCE SOFT 131Page 5 Example: MulTest - Test

Mark Dixon, SoCCE SOFT 131Page 6 network connection Web Hardware and Software Client Server Browser Application (MS Explorer, Netscape) Web-server Application (MS IIS, Apache)

Mark Dixon, SoCCE SOFT 131Page 7 Request-Response Cycle Browser Application (MS Explorer, Netscape) Web-server Application (MS IIS, Apache) Request Mark Dixon's web site Mark Dixon's web site Welcombe to my web server. Please select from the following list: Soft131: Introduction to programming for Multimedia and Internet applications. Response

Mark Dixon, SoCCE SOFT 131Page 8 Hyper-Text Markup Language text files –edited with notepad with tags, e.g. –bold: This will be in bold –italic: This will be in italic work like brackets –start/open –end/close reference: HTML

Mark Dixon, SoCCE SOFT 131Page 9 HTML page - Structure Test This is a test page. head (info) body (content)

Mark Dixon, SoCCE SOFT 131Page 10 Example: Intro page Mark Dixon's web site Mark Dixon's web site Welcombe to my web server. Please select from the following list: Soft131: Introduction to programming for Multimedia and Internet applications.

Mark Dixon, SoCCE SOFT 131Page 11 HTML - Limitations static –cannot change –no real interaction (only links)

Mark Dixon, SoCCE SOFT 131Page 12 ActiveX controls VB can create –stand alone.exe files –ActiveX controls (.ocx files)

Mark Dixon, SoCCE SOFT 131Page 13 ActiveX Controls & HTML Use tag: Multiplication Test Multiplication Test This page contains an ActiveX control (written in VB) that tests your multiplication skills. <OBJECT ID="ctlMulTest" CLASSID="CLSID:0F8291D9-81A5-4E59-AF18-26F7515D3F82" CODEBASE="MulTestX.CAB#version=1,0,0,0"> Good luck!

Mark Dixon, SoCCE SOFT 131Page 14 Obtaining CLID Run ActiveX control in browser from VB (F5) View Source Copy HTML tag to new html file

Mark Dixon, SoCCE SOFT 131Page 15 Internet Information Services (IIS) IIS / personal web server on Windows CD Start, Settings, Control Panel, Add/Remove Programs Add/Remove Windows Components IIS

Mark Dixon, SoCCE SOFT 131Page 16 Enabling/Disabling IIS Start, Settings, Control Panel, Administrative Tools, Internet Services Manager Stop Start

Mark Dixon, SoCCE SOFT 131Page 17 Making pages available on-line For others to see your pages: –copy/move them to C:\INetPub\wwwroot folder (on server) –enable IIS (on server) –create installation package –deploy to server –give people address of your server, either: Dynamic IP address: not practical as it changes on server re-boot Static IP address fixed by ISP (e.g ) register a domain name (e.g. mdixon.soc.plymouth.ac.uk)

Mark Dixon, SoCCE SOFT 131Page 18 Testing you Web-server (IIS) Use localhost in browser:

Mark Dixon, SoCCE SOFT 131Page 19 Package & Deployment Create installation program –Setup.Exe: standalone installation –cab files: installation via internet Start menu, … –Visual Studio Tools menu Package and Deployment item

Mark Dixon, SoCCE SOFT 131Page 20 Creating Internet Package

Mark Dixon, SoCCE SOFT 131Page 21 Deployment to Web-server Deploy to C:\INetPub\wwwroot folder on server: