FF 12 : Clients A presentation by Robin Upton (2009-10-16) ‏ Latest version at www.altruists.org/ff12 Attribution – NonCommercial - ShareAlike www.altruists.org.

Slides:



Advertisements
Similar presentations
Copyright © 2003 Pearson Education, Inc. Slide 6-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
Advertisements

Overview Environment for Internet database connectivity
Iframes & Images Using HTML.
Tutorial 6 Creating a Web Form
Tutorial 6 Working with Web Forms
AJAX & By – Anupama Sharma. Defining Ajax Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
Creating Web Page Forms
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
CSCI 323 – Web Development Chapter 1 - Setting the Scene We’re going to move through the first few chapters pretty quick since they are a review for most.
INTRODUCTION TO WEB DATABASE PROGRAMMING
DHTML. What is DHTML?  DHTML is the combination of several built-in browser features in fourth generation browsers that enable a web page to be more.
Introduction to AJAX AJAX Keywords: JavaScript and XML
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
XForms: A case study Rajiv Shivane & Pavitar Singh.
Chapter 6: Forms JavaScript - Introductory. Previewing the Product Registration Form.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
A presentation by Robin Upton ( ) ‏ Latest version at Attribution – NonCommercial - ShareAlike FF106:
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
XP New Perspectives on XML Tutorial 6 1 TUTORIAL 6 XSLT Tutorial – Carey ISBN
WORKING WITH XSLT AND XPATH
XP New Perspectives on XML, 2 nd Edition Tutorial 10 1 WORKING WITH THE DOCUMENT OBJECT MODEL TUTORIAL 10.
XHTML Introductory1 Linking and Publishing Basic Web Pages Chapter 3.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
A presentation by Dr. Robin Upton ( ). Available for download at Attribution – NonCommercial - ShareAlike.
James Holladay, Mario Sweeney, Vu Tran. Web Services Presentation Web Services Theory James Holladay Tools – Visual Studio Vu Tran Tools – Net Beans Mario.
FF 1 : Modules A presentation by Robin Upton ( ) ‏ Latest version at Attribution – NonCommercial - ShareAlike
A presentation by Robin Upton ( ) ‏ latest version at Attribution – NonCommercial - ShareAlike FF 404.
 XML is designed to describe data and to focus on what data is. HTML is designed to display data and to focus on how data looks.  XML is created to structure,
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
ECA 228 Internet/Intranet Design I XSLT Example. ECA 228 Internet/Intranet Design I 2 CSS Limitations cannot modify content cannot insert additional text.
CITA 330 Section 6 XSLT. Transforming XML Documents to XHTML Documents XSLT is an XML dialect which is declared under namespace "
A presentation by Robin Upton ( ) ‏ latest version at Attribution – NonCommercial - ShareAlike FF 4 :
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009.
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
A presentation by Robin Upton ( ) ‏ Latest version at Attribution – NonCommercial - ShareAlike FF 10.
FF 11 : Hooks A presentation by Robin Upton ( ) ‏ Latest version at Attribution – NonCommercial - ShareAlike
Unit 3 — Advanced Internet Technologies Lesson 11 — Introduction to XSL.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
FF 17 : Processes A presentation by Robin Upton ( ) ‏ Latest version at Attribution – NonCommercial - ShareAlike
A presentation by Robin Upton ( ) ‏ Latest version at Attribution – NonCommercial - ShareAlike Recommended.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
1 CSC160 Chapter 1: Introduction to JavaScript Chapter 2: Placing JavaScript in an HTML File.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
Overview Web Technologies Computing Science Thompson Rivers University.
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
Tutorial 6 Creating a Web Form
1/7/2016www.infocampus.co.in1. 1/7/2016www.infocampus.co.in2 Web Development training gives you and all-round training in both the design and the development.
Apache Cocoon – XML Publishing Framework 데이터베이스 연구실 박사 1 학기 이 세영.
1 Introducing Web Developer Tools Rapid application development tools ASP.NET-compatible web editors –Visual Studio.NET Professional Edition –Visual Studio.
Open Solutions for a Changing World™ Eddy Kleinjan Copyright 2005, Data Access WordwideNew Techniques for Building Web Applications June 6-9, 2005 Key.
XHTML. What Is XHTML? XHTML stands for EXtensible HyperText Markup Language XHTML is almost identical to HTML XHTML is stricter than HTML XHTML is HTML.
Unit 4 Representing Web Data: XML
WEB SERVICES From Chapter 19 of Distributed Systems Concepts and Design,4th Edition, By G. Coulouris, J. Dollimore and T. Kindberg Published by Addison.
Application with Cross-Platform GUI
XML in Web Technologies
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Chapter 7 Representing Web Data: XML
WEB SERVICES From Chapter 19, Distributed Systems
Presentation transcript:

FF 12 : Clients A presentation by Robin Upton ( ) ‏ Latest version at Attribution – NonCommercial - ShareAlike V Recommended Pre-requisite: FF11: Hooks

What is an F2F Client? An F2F client is a piece of software designed as an interface for an F2F server. This presentation details the default F2F client (coded in JS), to help developers of the other clients maintain compatibility. HTTP(S)‏ If they communicate over the internet, HTTPS should be used. F2F Server F2F Server F2F Client F2F Client

F2F Server F2F Server Communication Clients are connected to only one server at a time. The client uses AJAX to exchange the XML messages detailed in /FF8. Messages in either direction are wrapped in a :

DOM Sections F2F Clients keep data in separate sections: The client has 4 other, less important, sections: clipboard, drag-drop, event-log, traffic-log Clientsid e Serversid e semantic (XML)‏ display (XHTML)‏ Calculation Data (Invisible)‏ User Interaction (Visible)‏ Other F2F Soft- Systems hooks/render` User input

F2F Processing Overview semantic (XML)‏display (XHTML)‏server (XML)‏ Sent to server XSLT, datastores & communications XSL by namespace XSL by namespace XSLT by namespace JS DOM manipulation JS DOM manipulation Sent to client no processing JS operations & XSL transforms no processing SVG images no processing Request: Clientside Serversid e replaced by chunk of XML

All requests send to the client are s. The JS client supports: thread-add, thread-edit, thread-delete Managing Windows: Miscellaneous: Since they are hardcoded, each client has a fixed set. alert, clipboard-clear, data-input, js-value-set, packet, param-set, receive, send (This list is not yet fixed)‏

Clients process an by requesting this resource by URI from their F2F soft-system: Client Soft- system uri src The server returns a Scalable Vector Graphic (SVG) image, which is scaled as requested and included in the displayDOM.

Clients process a by requesting this resource by URI from their F2F soft-system:...optional XML... Client Soft- system uri src The server returns an XSL stylesheet, which is applied to the item.

Clients process a by requesting a list of handlers for this resource from their F2F soft-system: The client picks (s) according to the namespace of the data...XML element(s) required... <ha <h<h Client Soft- system hook uri src handler-list Client Soft- system handler uri src XSL handler Handlers are XSL transforms, which are applied to the contained data.

Clients process a by requesting the corresponding XML script from their F2F soft-system: Client Soft-system uri src This XMLreplaces the. Some XML

Clients send a for processing at their F2F soft-system. Soft- system... If marked this-return=“0”, the servicereq is then discarded, otherwise, it is kept as a placeholder for the returning data. (XML results)‏

Clientside processing When clients have sent a to their F2F soft-system......if marked this-return=“0”, the servicereq is discarded;...else if marked this-render=“suspend”, no rendering is carried out until a response is received;...else rendering continues as usual. The render hook creates a visual display of the servicereq:

F2F Client Address Hierarchy F2F client addresses locate the soft system they are connected to: The particular service request is indicated by request: server = ” system = ”default” request = ”23” The thread attribute holds the security context and window id thread = ”4.1” The node attribute defines the DOM section {semantic,display}: node = ”semantic” The context differentiates them from the server (and one another): context= ”client-123”

Receiving Incoming Messages To motivate descriptive terms for messages, we use a metaphor:- Assume the highest point of a communication is always its source. Downstream messages arrive unsolicited: (type= “down”, “send”, “send2”)‏ Upstream messages are replies to earlier downstream messages: (type= “term”, “return”)‏ The s of a are processed separately, currently in order, though this policy may later be dropped.

Receiving Upstream Messages (Replies) ‏ Messages of type “term” or “return” are replies (upstream), and need node, thread & sreq attributes to specify the originating call. If these correspond to a waiting, the incoming data is added below (“return”) or used to replace (“term”) it, causing the affected thread to be re-rendered. Otherwise, the message is ignored. (Possibly a warning should be issued).

Receiving Downstream Messages Messages of type “down” are new requests from the server. Therefore, they need no thread, node or request attributes. These messages may only have children, which are processed in serial order by the client. Other content is ignored (probably with a warning).

Summary Recommended Follow-up: FF13: Modules F2F clients are graphical interfaces to F2F servers. F2F Server F2F Server F2F Client F2F Client The Semantic (XML) & Display (HTML) sections are separate. The client understands a range of request items. servicereq displayreq imagereq hookreq scriptreq clientreq