Chapter Concepts

34
Multimedia for the Web: Creating Digital Excitement Markup, Scripting, and Programming for the Web

description

OVERVIEW. Chapter Concepts. Review Markup Languages Examine Scripting Languages and Scripting Environments Explore Programming Languages. INTRODUCTION. Introduction. Today, Web developers and programmers must have skills using markup, scripting, and programming languages - PowerPoint PPT Presentation

Transcript of Chapter Concepts

Page 1: Chapter Concepts

Multimedia for the Web: Creating Digital Excitement

Markup, Scripting, andProgramming for the Web

Page 2: Chapter Concepts

2Multimedia for the Web Chapter 10

Review Markup LanguagesExamine Scripting Languages and Scripting EnvironmentsExplore Programming Languages

Chapter Concepts

Page 3: Chapter Concepts

3Multimedia for the Web Chapter 10

Today, Web developers and programmers must have skills using markup, scripting, and programming languagesWeb server: The computer on which the files for Web pages are storedWeb client: The computer from which the user views the pages on a Web browser

Introduction

Page 4: Chapter Concepts

4Multimedia for the Web Chapter 10

When your Web page includes access to a script or program stored on a Web server, information must be sent from the Web client back to the Web server for processing, storage, and later retrievalScripting and programming make the task of developing and maintaining Web sites easier

Introduction

Page 5: Chapter Concepts

5Multimedia for the Web Chapter 10

Web developers design templates and then access the content dynamically through a databaseMarkup, scripting, and programming languages make a multimedia Web site more interactive and more interesting

Introduction

Page 6: Chapter Concepts

6Multimedia for the Web Chapter 10

Review Markup LanguagesMarkup language: Full set of instructions used to comprehensively describe the structural format of a piece of text or other media elementStandard Generalized Markup Language (SGML): Standard for defining the most common markup languages

Page 7: Chapter Concepts

7Multimedia for the Web Chapter 10

SGMLSGML: Consistent and precise method of applying markup tags so that electronic documents can be exchanged and revised between different computer systemsSGML itself is not a markup language; rather the standard on which the most common markup languages are based

Page 8: Chapter Concepts

8Multimedia for the Web Chapter 10

HTML/XHTMLHypertext Markup Language (HTML): Standard markup language used to create Web pages– Continues to develop and evolve based

on the controls set by the World Wide Web Consortium

Extensible (XHTML): Provides support for XML; stricter in structure and syntax than previous versions of HTML

Page 9: Chapter Concepts

9Multimedia for the Web Chapter 10

Dynamic Hypertext Markup Language (DHTML): Group of technologies used to create greater interactivity and page layout flexibility than is possible with XHTML aloneIncludes XHTML, JavaScript, Cascading Style Sheets (CSS), and the Document Object Model (DOM)

DHTML

Page 10: Chapter Concepts

10Multimedia for the Web Chapter 10

DHTML: All major Web browsers support DHTML, but differ in terms of what each considers acceptable syntax and scripting code

DHTML

Page 11: Chapter Concepts

11Multimedia for the Web Chapter 10

Virtual reality (VR) on the Web is created using the Virtual Reality Modeling Language (VRML) (pronounced “ver-mal”)VRML: Simple and accessible way to create interactive worlds using 3-D graphics on the WebQuickTime VR: One of the most popular tools for creating virtual reality

VR

Page 12: Chapter Concepts

12Multimedia for the Web Chapter 10

Synchronized Multimedia Integration Language (SMIL): Offers control over synchronized multimedia by allowing individual components (such as audio, video, and graphics) to be played in relation to one anotherSMIL’s text-based format also makes editing Web-based multimedia applications easy

SMIL

Page 13: Chapter Concepts

13Multimedia for the Web Chapter 10

Extensible Markup Language (XML) is a markup language, but it is also a metalanguage

XML defines the data’s actual content, meaning, or useBy using XHTML and XML together, formatting can be separated from the content

XML

Page 14: Chapter Concepts

14Multimedia for the Web Chapter 10

Same XML source document can be written once, then displayed in a variety of waysAllows documents to be viewed by various browsers without having to be specifically rewritten for each one

XML

Page 15: Chapter Concepts

15Multimedia for the Web Chapter 10

Because an XML file will work on any communications device, it won’t become obsolete as hardware and communications devices evolveXML provides a way for databases from different vendors to exchange information across the InternetXML is having a dramatic impact on the Web page development process

XML

Page 16: Chapter Concepts

16Multimedia for the Web Chapter 10

Wireless Markup Language (WML): Based on the Handheld Device Markup Language (HDML), which in turn is a subset of HTMLWML is the current standard for Web delivery on wireless handheld devicesWML is read and interpreted by a microbrowser that is built in to a wireless handheld device

WML

Page 17: Chapter Concepts

17Multimedia for the Web Chapter 10

Scripts extend the capabilities of XHTMLScripting languages are not as powerful as programming languagesIt is important to test Web pages that contain scripts to ensure that they function as intended

Scripting Languages

Page 18: Chapter Concepts

18Multimedia for the Web Chapter 10

JavaScript: Object-oriented scripting language developed by Netscape to extend the capabilities of HTMLObject-oriented scripting language: Programmers describe data and procedures in terms of objects, methods, and properties

JavaScript

Page 19: Chapter Concepts

19Multimedia for the Web Chapter 10

JavaScript and Java are very different in their capabilities and executionJavaScript adds interactivity and dynamic content to Web pagesCookies store data on the Web clientJavaScript has been updated and extended to support newer browser capabilities

JavaScript

Page 20: Chapter Concepts

20Multimedia for the Web Chapter 10

JavaScript can do the following:– Add scrolling messages– Open a new pop-up window– Verify data input from forms– Create animation and dynamic images– Insert mouse rollovers– Create and read cookies– Display the current date and time

JavaScript

Page 21: Chapter Concepts

21Multimedia for the Web Chapter 10

Microsoft VBScript is a script version of Microsoft Visual Basic (VB) programming languageVBScript is not cross platform; its popularity on the client-side of the Web is limitedVBScript: Primary scripting language used for Active Server Pages (ASP)

Visual Basic

Page 22: Chapter Concepts

22Multimedia for the Web Chapter 10

Java Server Pages (JSP): Similar to ASP, is the Java-based technology for generating dynamic Web pages with cross-platform and cross-Web-server supportThe JSP environment is not a scripting language and therefore it is not the same as JavaScript

Java Server Pages

Page 23: Chapter Concepts

23Multimedia for the Web Chapter 10

PHP (officially PHP: Hypertext Preprocessor) is a server-side scripting language for creating dynamic Web page componentsPHP is open source and runs on multiple platformsUse PHP to set cookies, manage authentication, and redirect users

PHP

Page 24: Chapter Concepts

24Multimedia for the Web Chapter 10

Programming for Web page development is used to write programs that are accessed or called from an XHTML fileThey extend the capabilities of a Web page beyond what is possible with markup and scripting languages

Explore ProgrammingLanguages

Page 25: Chapter Concepts

25Multimedia for the Web Chapter 10

If you need to store information in a server database or provide customized Web pages, server-side scripts or programs are usually the better solutionOften a combination of both client-side scripts and server-side scripts/programs are needed

Explore ProgrammingLanguages

Page 26: Chapter Concepts

26Multimedia for the Web Chapter 10

Practical Extraction and Report Language (Perl) is a powerful and flexible programming languageMany server-side programs are created in PerlPowerful for manipulating textHandles encrypted Web data, including e-commerce transactions

PERL

Page 27: Chapter Concepts

27Multimedia for the Web Chapter 10

Java: Sun Microsystems’s full-fledged, object-oriented programming languageApplets: Small programs designed to be executed within another application or from a Web page

Java

Page 28: Chapter Concepts

28Multimedia for the Web Chapter 10

Before Java code can be run, it has to be processed by a special program to create an executable file or a Java appletWeb browser loads the applet or the executable file; has special built-in engine that can execute this file and display the output on the page

Java

Page 29: Chapter Concepts

29Multimedia for the Web Chapter 10

Visual Basic: Considered a high-level programming language, which means that almost all of the commands are English derivativesVisual Basic includes many features specifically designed for database development and integration as well as the creation of server-side application

Visual Basic

Page 30: Chapter Concepts

30Multimedia for the Web Chapter 10

C# (pronounced “C sharp”): Modern, object-oriented language that enables programmers to quickly build a wide range of applications for the Microsoft .Net platformIncorporates the best of C, Visual Basic, C++, and JavaOffers the optimum productivity that Web developers need

C#

Page 31: Chapter Concepts

31Multimedia for the Web Chapter 10

ActiveX: Extension of object linking and embedding (OLE); create objects with one application and then link or embed them in anotherWorks best in a Windows environmentFine for intranets, where the platform is likely to be more consistent or at least more controllable

ActiveX

Page 32: Chapter Concepts

32Multimedia for the Web Chapter 10

Review Markup LanguagesSGMLHTML/XHTMLDHTMLVRSMILXML

Summary

Page 33: Chapter Concepts

33Multimedia for the Web Chapter 10

WMLScripting LanguagesJavaScriptVisual BasicJava Server PagesPHP

Summary

Page 34: Chapter Concepts

34Multimedia for the Web Chapter 10

Explore ProgrammingLanguagesPERLJavaVisual BasicC#ActiveX

Summary