ARCH-13: Multiple "Views" with WebSpeed® Chris Skeldon Principal Consultant.

Slides:



Advertisements
Similar presentations
3 Copyright © 2005, Oracle. All rights reserved. Designing J2EE Applications.
Advertisements

PHP I.
Adding Dynamic Content to your Web Site
Introduction to MVC Adding a View Page NTPCUG Tom Perkins, Ph.D.
ARCH-13 Developing WebSpeed  Applications Chris Skeldon Principal Consultant.
Ps:eScript Framework for Developing Browser-based Applications Matt Verrinder Progress Software UK Internet & Integration Technologies.
DEV-04 Building OpenEdge® Reference Architecture Applications with WebSpeed® Chris Skeldon Principal Consultant.
Copyright 2004 Monash University IMS5401 Web-based Systems Development Topic 2: Elements of the Web (g) Interactivity.
J4www/jea Week 3 Version Slide edits: nas1 Format of lecture: Assignment context: CRUD - “update details” JSP models.
DT228/3 Web Development multi page applications/ sharing data.
Progress Report 11/1/01 Matt Bridges. Overview Data collection and analysis tool for web site traffic Lets website administrators know who is on their.
Multiple Tiers in Action
Object-Oriented Analysis and Design
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
UNIT-V The MVC architecture and Struts Framework.
The Easiest Way to Write Web Applications Jordi Sastre IT Architect, PSC May 2012.
Overview of JSP Technology. The need of JSP With servlets, it is easy to – Read form data – Read HTTP request headers – Set HTTP status codes and response.
Web Development Challenges and How They are Solved in ps:eScript Matt Verrinder Progress Software UK Internet & Integration Technologies.
ARCH12: QA Considerations - OERA ARCH-12: QA considerations for applications following the OpenEdge Reference Architecture SMAT-Team Tobago Thomas Hutegger.
Computer Concepts 2014 Chapter 7 The Web and .
C8: Enterprise Integration Patterns in Sonic ™ ESB Stefano Picozzi Solutions Architect.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
MVC pattern and implementation in java
DONE-10: Adminserver Survival Tips Brian Bowman Product Manager, Data Management Group.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
Model View Controller (MVC) Rick Mercer with a wide variety of others 1.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
Chapter 8 Script-free pages. Problem with scripting in JSP When you use scripting (declaration, scriplet, expressions) in your JSP, you actually put Java.
Java CGI Lecture notes by Theodoros Anagnostopoulos.
DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge.
Lecturer: Prof. Piero Fraternali, Teaching Assistant: Alessandro Bozzon, Advanced Web Technologies: Struts–
DEV-5: Introduction to WebSpeed ® Stephen Ferguson Sr. Training Program Manager.
CITA 330 Section 6 XSLT. Transforming XML Documents to XHTML Documents XSLT is an XML dialect which is declared under namespace "
ARCH-4: The Presentation Layer in the OpenEdge® Reference Architecture Frank Beusenberg Senior Technical Consultant.
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
DEV-36: Composite MVP – Building Blocks in Presentation Layer
Microsoft ® Visual Studio.NET Presented by Joseph J. Sarna Jr., MCSD JJS Systems, LLC.
Model View Controller Architecture of Java Web Applications Dr. M V S Peri Sastry, Ph.D.[BITS-Pilani]
ARCH-07: Implementing the OpenEdge™ Reference Architecture – Part 2
ARCH-11: Building your Presentation with Classes John Sadd Fellow and OpenEdge Evangelist Sasha Kraljevic Principal TSE.
INNOV-7: Building a Richer UI for the Browser Chris Skeldon Senior Solution Consultant.
JS (Java Servlets). Internet evolution [1] The internet Internet started of as a static content dispersal and delivery mechanism, where files residing.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
1 Copyright © 2004, Oracle. All rights reserved. Oracle Application Development Framework.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
ARCH-7: Integrate this! SonicMQ® and the OpenEdge® Reference Architecture Christian Stiller Technical Architect.
Chapter 3 JSP Overview. The Problem with Servlets processing the request and generating the response are both handled by a single servlet class Java programming.
ARCH-5: Service Interfaces in Practice Christian Stiller Technical Architect.
PHP and Sessions. Session – a general definition The GENERAL definition of a session in the “COMPUTER WORLD” is: The interactions (requests and responses)
ARCH-04 Before You Begin Your Transformation Project… Phillip Magnay Architect – Applied Technology.
 An essential supporting structure of any thing  A Software Framework  Has layered structure ▪ What kind of functions and how they interrelate  Has.
Creating PHP Pages Chapter 5 PHP Structure and Syntax.
1 Java Server Pages A Java Server Page is a file consisting of HTML or XML markup into which special tags and code blocks are inserted When the page is.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Christian Stiller Technical Account Manager SOA-23: Enterprise Integration Patterns in Sonic ™ ESB.
1111 Creating HTML Programatically Objectives You will be able to Invoke C# code on the server from an ASP.NET page. Write C# code to create HTML.
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
INNOV-2: Build a Better Web Interface Using AJAX Chris Morgan Pandora Software Systems
APACHE STRUTS ASHISH SINGH TOMAR ast2124. OUTLINE Introduction The Model-View-Controller Design Pattern Struts’ implementation of the MVC Pattern Additional.
Securing Web Applications Lesson 4B / Slide 1 of 34 J2EE Web Components Pre-assessment Questions 1. Identify the correct return type returned by the doStartTag()
Navigation Framework using CF Architecture for a Client-Server Application using the open standards of the Web presented by Kedar Desai Differential Technologies,
ASP Mr. Baha & Dr.Husam Osta  What is ASP?  Internet Information Services  How Does ASP Differ from HTML?  What can ASP do for you?  ASP Basic.
ArcGIS for Server Security: Advanced
Introduction to .NET Florin Olariu
ARCH-13 Developing WebSpeed Applications
ARCH-1: Application Architecture made Simple
API DOCUMENTATION Swetha Mohandas Microsoft Connect 2016
An Introduction to JavaScript
ARCH-14: Power Your Organisation with OpenEdge
Presentation transcript:

ARCH-13: Multiple "Views" with WebSpeed® Chris Skeldon Principal Consultant

© 2006 Progress Software Corporation2 ARCH-13: Multiple "Views" with WebSpeed Agenda  Browser based applications  OpenEdge ® RA & WebSpeed™  eScript WebObject  Demonstration

© 2006 Progress Software Corporation3 ARCH-13: Multiple "Views" with WebSpeed Developing For The Browser  Uses multiple skill sets: design & create: XHTML/CSS/JavaScript programming: database/4GL  User-interface subject to design changes throughout development and beyond  Support for multiple browser versions often specified  Ability to alter pages by site, language, etc. often required

© 2006 Progress Software Corporation4 ARCH-13: Multiple "Views" with WebSpeed OpenEdge Reference Architecture Presentation Business Services Data Access Data Sources Common Infrastructure Enterprise Services

© 2006 Progress Software Corporation5 ARCH-13: Multiple "Views" with WebSpeed change state query Model-View-Controller (MVC) Model View Controller user-interactions data & business logic show contents of model receive interaction, invoke model action

© 2006 Progress Software Corporation6 ARCH-13: Multiple "Views" with WebSpeed MVC on the Web Model View Controller HTTP GET/POST Interacts with model Selects view Generates view

© 2006 Progress Software Corporation7 ARCH-13: Multiple "Views" with WebSpeed MVC for WebSpeed Data Business logic eScript WebObject Interface specific code modelcontroller view

© 2006 Progress Software Corporation8 ARCH-13: Multiple "Views" with WebSpeed eScript Approach Design goals:  No restrictions  Split XHTML/JavaScript from 4GL code Allows XHTML/JavaScript and 4GL to be changed independently XHTML/JavaScript can be changed without recompilation of 4GL code  Business logic agnostic Once upon a time …

© 2006 Progress Software Corporation9 ARCH-13: Multiple "Views" with WebSpeed Implementation  eScript WebObject template  super-procedure  escript.i  Few supporting files Available on PSDN see downloads

© 2006 Progress Software Corporation10 ARCH-13: Multiple "Views" with WebSpeed eScript WebObject How It Works… Business Logic Application Database eScript Processor.html files processMarkup ( customer.html ) Read customer.html Process customer.html loop fetch data branch include discard getData ( Customer.Name ) Request Response model controller

© 2006 Progress Software Corporation11 ARCH-13: Multiple "Views" with WebSpeed Building a page 1. Create eScript WebObject processMarkup(“myPage.html”) 2. Add support functions to WebObject 3. Create myPage.html 4. Add custom tags to myPage.html …

© 2006 Progress Software Corporation12 ARCH-13: Multiple "Views" with WebSpeed eScript Tags  Function call  While  Data request  If  Include  Discard

© 2006 Progress Software Corporation13 ARCH-13: Multiple "Views" with WebSpeed eScript Tags – Function Call  Used to pass information from the XHTML to the 4GL program  Does not directly change outgoing page

© 2006 Progress Software Corporation14 ARCH-13: Multiple "Views" with WebSpeed eScript Tags - While  Enables a section of XHTML to be output between 0 and n times  Function returns TRUE if HTML is to be output  After output function called again  Result can be reversed with ! or not …

© 2006 Progress Software Corporation15 ARCH-13: Multiple "Views" with WebSpeed eScript Tags – Data Request  Enabled 4GL program to return data to be included in the page

© 2006 Progress Software Corporation16 ARCH-13: Multiple "Views" with WebSpeed eScript Tags – If … Else …  Enables XHTML to be conditionally output  Function returns TRUE if XHTML is to be output  Result can be reversed with ! or not … …

© 2006 Progress Software Corporation17 ARCH-13: Multiple "Views" with WebSpeed eScript Tags – Include  Loads text from file into page  Used to modularise site  Text processed after loading  Accepts arguments

© 2006 Progress Software Corporation18 ARCH-13: Multiple "Views" with WebSpeed eScript Tags - Discard  XHTML not processed or sent to client  Useful for removing example data …

© 2006 Progress Software Corporation19 ARCH-13: Multiple "Views" with WebSpeed Developing With eScript  Create eScript WebObject processMarkup(“myPage.html”)  Add support functions to WebObject  Create myPage.html  Add custom tags to myPage.html Conditional sections Repeating sections Data  Test

© 2006 Progress Software Corporation20 ARCH-13: Multiple "Views" with WebSpeed Demo eScript

© 2006 Progress Software Corporation21 ARCH-13: Multiple "Views" with WebSpeed Creating a New WebObject

© 2006 Progress Software Corporation22 ARCH-13: Multiple "Views" with WebSpeed Demo eScript WebObject

© 2006 Progress Software Corporation23 ARCH-13: Multiple "Views" with WebSpeed Demo

© 2006 Progress Software Corporation24 ARCH-13: Multiple "Views" with WebSpeed ps:eScript Framework

© 2006 Progress Software Corporation25 ARCH-13: Multiple "Views" with WebSpeed In Summary  Separate XHTML & 4GL  Look at eScript WebObject  Consider ps:eScript Available on PSDN see downloads

© 2006 Progress Software Corporation26 ARCH-13: Multiple "Views" with WebSpeed Questions?

© 2006 Progress Software Corporation27 ARCH-13: Multiple "Views" with WebSpeed Thank you for your time

© 2006 Progress Software Corporation28 ARCH-13: Multiple "Views" with WebSpeed