WSRP - Markup Chris Braun

Slides:



Advertisements
Similar presentations
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?
Advertisements

OASIS WSRP Technical Commitee Web Services for Remote Portlets (WSRP) Overview OASIS WSRP Technical Commitee September, 2003.
CSE 190: Internet E-Commerce Lecture 2. HTML Basics: HTML, URL, Frames, Forms References: L/intro.html
Cascading Style Sheets
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
Making Things Look Nice: Visual Appearance and CSS CMPT 281.
A really fairly simple guide to: mobile browser-based application development (part 1) Chris Greenhalgh G54UBI / Chris Greenhalgh
Tutorial 6 Creating a Web Form
SE-2840 Dr. Mark L. Hornick 1 HTML input elements and forms.
XHTML1 Building Document Structure. XHTML2 Objectives In this chapter, you will: Learn how to create Extensible Hypertext Markup Language (XHTML) documents.
Wesley Budziwojski Senior Architect Sun ONE Portal Server Web Services for Remote Portlets, WSRP Jun/2003.
Tutorial 9 Working with XHTML. XP Objectives Describe the history and theory of XHTML Understand the rules for creating valid XHTML documents Apply a.
Creating a Well-Formed Valid Document. 2 Objectives Introducing XHTML Creating a Well-Formed Document Creating a Valid Document Creating an XHTML Document.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
Creating a Simple Page: HTML Overview
INTRODUCTION TO DHTML. TOPICS TO BE DISCUSSED……….  Introduction Introduction  UsesUses  ComponentsComponents  Difference between HTML and DHTMLDifference.
Creating a Basic Web Page
XP Tutorial 9New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
XP The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 140 Internet Tools Instructor: Enoch E. Damson.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
Using Styles and Style Sheets for Design
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
XHTML1 Building Document Structure Chapter 2. XHTML2 Objectives In this chapter, you will: Learn how to create Extensible Hypertext Markup Language (XHTML)
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
Integrating JavaScript and HTML5 HTML5 & CSS 7 th Edition.
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.
Microsoft FrontPage 2003 Illustrated Complete Using a Dynamic Web Template.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
XML Basics A brief introduction to XML in general 1XML Basics.
How the Web Works Building a Website – Lesson 1. How People Access the Web Browsers People access websites using software called a web browser. To view.
Web Application Programming Presented by: Mehwish Shafiq.
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.
Web Technologies Lecture 4 XML and XHTML. XML Extensible Markup Language Set of rules for encoding a document in a format readable – By humans, and –
Adobe Dreamweaver CS3 Developing a Web Page. Planning the Page Layout Use White SpaceUse White Space Limit media objectsLimit media objects KISSKISS Use.
OASIS | November 16, 2003 Organization for the Advancement of Structured Information Standards OASIS OASIS | November 18, 2003 Web Services Remote Portlets.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
1 State and Session Management HTTP is a stateless protocol – it has no memory of prior connections and cannot distinguish one request from another. The.
XP Tutorial 9New Perspectives on HTML and XHTML, Comprehensive 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
Unit 3 — Advanced Internet Technologies Lesson 10 — Introduction to XHTML.
July 28, 2004WSRF Technical Committee F2F meeting1 WSRP leveraging WSRF Use case for Portlets as WS-Resources.
AJAX Use Cases for WSRP Subbu Allamaraju BEA Systems Inc WSRP F2F Meeting, May 2006.
Tutorial 9 Working with XHTML. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Describe the history and theory of XHTML.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
1 ITEC 4830 Graphics Design Chapter 1 Dreamweaver MX 2004 Basics.
Tutorial 9 Working with XHTML. XP Objectives Describe the history and theory of XHTML Understand the rules for creating valid XHTML documents Apply a.
COMP 143 Web Development with Adobe Dreamweaver CC.
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…
Organization for the Advancement of Structured Information Standards OASIS | March 04, 2003 Presentation subtitle: 20pt Arial Regular, teal R045 | G182.
National College of Science & Information Technology.
Getting Started With HTML
Cascading Style Sheets
Portals: Background, Development & Conversion
Unit 4 Representing Web Data: XML
Creating a Well-Formed Valid Document
Tutorial 9 Working with XHTML
Module: Software Engineering of Web Applications
Chapter 2 Developing a Web Page.
Key concepts of Computing
Subbu Allamaraju BEA Systems Inc
Using Cascading Style Sheets Module B: CSS Structure
Introduction to XHTML.
Website Design 3
Chapter 7 Representing Web Data: XML
Tutorial 9 Working with XHTML
Introduction to Cascading Style Sheets (CSS)
Web Design and Development
Common Page Design Elements
Client-Server Model: Requesting a Web Page
Presentation transcript:

WSRP - Markup Chris Braun

Charter Define standard mechanisms to allow common look and feel across aggregated portlets Define standard mechanisms to allow common look and feel across aggregated portlets Specify markup rules that define valid portlet markup fragments for: Specify markup rules that define valid portlet markup fragments for: HTML HTML XHTML XHTML Others (WML, cHTML, VoiceXML, …) Others (WML, cHTML, VoiceXML, …) Define standard mechanisms for URL rewriting and namespace encoding. Define standard mechanisms for URL rewriting and namespace encoding.

Visual Themes Mechanism by which portlets can follow common look and feel. Mechanism by which portlets can follow common look and feel. Use CSS for HTML and XHTML Use CSS for HTML and XHTML Predefined well known classes prefixed “wsia” Predefined well known classes prefixed “wsia” Defined in an appendix of the WSRP specification. Defined in an appendix of the WSRP specification. Other Markups? Other Markups?

WSIA CSS Classes Fonts, Messages, Sections, Forms, Menus, Portlet, Colors Fonts, Messages, Sections, Forms, Menus, Portlet, Colors Merged from list provided by various vendors (IBM, WSUI, SilverStream, Plumtree, and Oracle) Merged from list provided by various vendors (IBM, WSUI, SilverStream, Plumtree, and Oracle) Examples: Examples:.wsia-font.wsia-font.wsia-msg-error.wsia-msg-error.wsia-section-header.wsia-section-header.wsia-form-button.wsia-form-button

CSS Outstanding Issues Some proposed classes with no home. Find a home or eliminate them. Some proposed classes with no home. Find a home or eliminate them. Should background and text styles be separate classes? Example: Should background and text styles be separate classes? Example: wsia-section-background is not needed because wsia-section can be used to define background styles. wsia-section-background is not needed because wsia-section can be used to define background styles.

Discussion

Markup Fragment Rules Concentrate on HTML/XHTML Concentrate on HTML/XHTML Some tags can not be part of the portlet markup. Such as. Disallowed. Some tags can not be part of the portlet markup. Such as. Disallowed. Some tags may be supported by browsers but are denied by the HTML spec. Such as. Discouraged Some tags may be supported by browsers but are denied by the HTML spec. Such as. Discouraged We will not require that the container validate portlet markup. We will not require that the container validate portlet markup.

Problem Tags DisallowedDiscouraged base link body meta frame style frameset head html title

Discussion

Markup Fragment Decomposition We will not specify a mechanism for which portlets can modify the containing pages tag. We will not specify a mechanism for which portlets can modify the containing pages tag. So how do portlets use… So how do portlets use…,,,, Consider added extensibility mechanism so that container vendors can allow the portlet to modify other areas of the containing page. Consider added extensibility mechanism so that container vendors can allow the portlet to modify other areas of the containing page.

URL Rewriting Need a way for container to intercept portlet actions and proxy resource requests. Need a way for container to intercept portlet actions and proxy resource requests. A proxy resource is a resource that is served by the consumer, but has originated from another location. A proxy resource is a resource that is served by the consumer, but has originated from another location.

Rewriting Scenarios 1. Using a prefix sent by the consumer The consumer sends a prefix with the request that the producer will use to do the URL boundary demarcation. The consumer then parses the markup looking for the prefix it provided. 2. Using a predefined prefix All portlets use a predefined prefix, which is part of the specification, to do the URL boundary demarcation. The consumer then parses the markup looking for the well known prefix.

Rewriting Scenarios (cont) 3. At the consumer side The consumer automatically parses markup and heuristically determines URL boundaries and does the necessary rewriting automatically. 4. At the producer side The consumer sends the URL prefix to use to the remote portlet, allowing it to do the rewriting itself on all the necessary URLs. The markup sent back to the consumer is then ready for immediate inclusion in the page, with no parsing necessary.

URL Types Fully Qualified (no rewriting) Fully Qualified (no rewriting) Relative Relative Portlet Action Portlet Action Proxy Proxy Action to Other Portlet Action to Other Portlet

Action URLs (Scenario 4) A. Consumer sets a entity property: ActionURL = IA_actionName={actionName}{params} IA_actionName IA_actionName B. Entity's URL: =7,WSIA_actionName=DoTransaction,par m1=foo C. Consumer passes URL as is:

Action URLs (Scenario 4) D. End-User browser sees: A_actionName=DoTransaction,parm1=foo A_actionName=DoTransaction,parm1=foo A_actionName=DoTransaction,parm1=foo E. Post to Consumer: Consumer does a lookup of the entity and calls Producer F. SOAP invocation to Producer: performAction(entityHandle,..., DoTransaction,...)

Action URLs (Scenario 2) A. Entity's URL: {StartToken}{urlType = action}{actionName}{EndToken} B. Consumer rewrites URL: Stores Entity's URL, and generates the final URL to reference the action C. End-User browser sees:

Action URLs (Scenario 2) D. Post to Consumer: Consumer does a lookup and calls Producer E. SOAP invocation to Producer: performAction(entityHandle,..., actionName,...)

URL Rewriting Outstanding Issues Scenarios 2 vs. 4 Scenarios 2 vs. 4 Well defined semantics Well defined semantics Local vs. WSRP Rewriting Local vs. WSRP Rewriting Actions across Portlets Actions across Portlets

Discussion

Name-spacing Aggregation of multiple portlet markup from different Portlet entities can potentially result in naming conflicts Aggregation of multiple portlet markup from different Portlet entities can potentially result in naming conflicts Named tags (forms, fields, buttons, etc) Named tags (forms, fields, buttons, etc) JavaScript functions and variables JavaScript functions and variables This problem is similar to URL Rewriting. We should consider using similar mechanisms to solve both situations. This problem is similar to URL Rewriting. We should consider using similar mechanisms to solve both situations.

That’s It