Openedge Application Server: Developing Webspeed Applications

Openedge Application Server: Developing Webspeed Applications

PROGRESS® OPENEDGE ®10 OpenEdge® Application Server: Developing WebSpeed® Applications © 2008 Progress Software Corporation. All rights reserved. Progress® software products are copyrighted and all rights are reserved by Progress Software Corporation. This manual is also copyrighted and all rights are reserved. This manual may not, in whole or in part, be copied, photocopied, translated, or reduced to any electronic medium or machine-readable form without prior consent, in writing, from Progress Software Corporation. The information in this manual is subject to change without notice, and Progress Software Corporation assumes no responsibility for any errors that may appear in this document. The references in this manual to specific platforms supported are subject to change. A (and design), Actional, Actional (and design), Affinities Server, Allegrix, Allegrix (and design), Apama, Business Empowerment, ClientBuilder, ClientSoft, ClientSoft (and Design), Clientsoft.com, DataDirect (and design), DataDirect Connect, DataDirect Connect64, DataDirect Connect OLE DB, DataDirect Technologies, DataDirect XQuery, DataXtend, Dynamic Routing Architecture, EasyAsk, EdgeXtend, Empowerment Center, eXcelon, Fathom, IntelliStream, Neon, Neon New Era of Networks, O (and design), ObjectStore, OpenEdge, PDF, PeerDirect, Persistence, Persistence (and design), POSSENET, Powered by Progress, PowerTier, ProCare, Progress, Progress DataXtend, Progress Dynamics, Progress Business Empowerment, Progress Empowerment Center, Progress Empowerment Program, Progress Fast Track, Progress OpenEdge, Progress Profiles, Progress Results, Progress Software Developers Network, ProVision, PS Select, SequeLink, Shadow, ShadowDirect, Shadow Interface, Shadow Web Interface, ShadowWeb Server, Shadow TLS, SOAPStation, Sonic ESB, SonicMQ, Sonic Orchestration Server, Sonic Software (and design), SonicSynergy, SpeedScript, Stylus Studio, Technical Empowerment, Voice of Experience, WebSpeed, and Your Software, Our Technology– Experience the Connection are registered trademarks of Progress Software Corporation or one of its subsidiaries or affiliates in the U.S. and/or other countries. AccelEvent, Apama Dashboard Studio, Apama Event Manager, Apama Event Modeler, Apama Event Store, AppsAlive, AppServer, ASPen, ASP-in-a-Box, BusinessEdge, Cache-Forward, DataDirect Spy, DataDirect SupportLink, DataDirect XML Converters, Future Proof, Ghost Agents, GVAC, Looking Glass, ObjectCache, ObjectStore Inspector, ObjectStore Performance Expert, Pantero, POSSE, ProDataSet, Progress ESP Event Manager, Progress ESP Event Modeler, Progress Event Engine, Progress RFID, PSE Pro, SectorAlliance, SmartBrowser, SmartComponent, SmartDataBrowser, SmartDataObjects, SmartDataView, SmartDialog, SmartFolder, SmartFrame, SmartObjects, SmartPanel, SmartQuery, SmartViewer, SmartWindow, Sonic, Sonic Business Integration Suite, Sonic Process Manager, Sonic Collaboration Server, Sonic Continuous Availability Architecture, Sonic Database Service, Sonic Workbench, Sonic XML Server, The Brains Behind BAM, WebClient, and Who Makes Progress are trademarks or service marks of Progress Software Corporation or one of its subsidiaries or affiliates in the U.S. and other countries. Vermont Views is a registered trademark of Vermont Creative Software in the U.S. and other countries. IBM is a registered trademark of IBM Corporation. JMX and JMX-based marks and Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. Any other trademarks or service marks contained herein are the property of their respective owners. Third party acknowledgements — See the “Third party acknowledgements” section on page Preface–9. February 2008 Last updated with new content: Release 10.1A Product Code: 4496; R10.1C For the latest documentation updates see the OpenEdge Product Documentation category on PSDN (http://www.psdn.com/ library/kbcategory.jspa?categoryID=129). Contents Preface . Preface–1 1. Developing with WebSpeed. 1–1 WebSpeed and the OpenEdge platform . 1–2 The OpenEdge Reference Architecture . 1–3 WebSpeed and the OpenEdge Reference Architecture . 1–4 Web programming and WebSpeed . 1–7 2. Web Objects . 2–1 Types of Web object . 2–2 Standard or static HTML Web objects. 2–2 Embedded SpeedScript Web objects . 2–2 CGI Wrapper Web objects. 2–3 HTML Mapped Web objects . 2–3 General criteria for use . 2–3 Using Web object examples . 2–5 Web object URLs and PROPATH . 2–6 Embedded SpeedScript examples . 2–7 A simple query. 2–7 Handling form input . 2–9 A CGI Wrapper example . 2–12 HTML mapping examples . 2–14 Simple HTML mapping . 2–14 Complex HTML mapping . 2–20 Complex HTML mapping that includes a SmartDataObject . 2–26 3. SpeedScript. 3–1 SpeedScript and Progress ABL . 3–2 Similarities . 3–2 Differences . 3–2 Elements of SpeedScript syntax . 3–4 Running procedures and Web objects . 3–5 Blocks and context . 3–6 Block context and resource scope. 3–7 Compile-time versus run-time code. 3–9 Contents WebSpeed preprocessors . 3–12 WebSpeed API functions . 3–13 Message handling . 3–13 Passing information between Web requests . 3–15 General information exchange . 3–18 Managing date and time information . 3–19 Checking configuration options . 3–19 Generating Web page headers . 3–20 XML support in SpeedScript . 3–21 Overview of Embedded SpeedScript . 3–22 Authoring embedded SpeedScript files . 3–24 How to embed SpeedScript in HTML . 3–25 Statement escapes. 3–25 Expression escapes . 3–26 Building interactive Web pages with embedded SpeedScript . 3–28 Passing parameters . 3–28 Managing dynamic pages with forms. 3–28 Using <META> and <!--WSMETA --> tags . 3–34 Specifying file type options. 3–34 Specifying HTTP header information . 3–36 Generating information prior to HTTP header output. 3–37 Compiling and running embedded SpeedScript Web objects . 3–38 Compiling embedded SpeedScript Web objects . 3–38 Running embedded SpeedScript Web objects. 3–38 4. Handling DISPLAY Output . 4–1 Working with DISPLAY output . 4–2 Directing DISPLAY output . 4–2 Formatting DISPLAY output. 4–3 Changing output format defaults . 4–7 Setting {&WEBSTREAM} defaults . 4–7 Setting HTML attribute defaults . 4–7 5. Generating HTML Visualizations . 5–1 Overview . 5–2 Using the support for HTML table visualizations . 5–2 Generating HTML tables with a custom tag . 5–3 Rules for using custom tags. 5–3 Using the <!--WSTAG--> custom tag . 5–3 How tagrun.p interacts with the custom tag . 5–4 Using the table template. 5–4 Compiling the table template . 5–5 Generating HTML tables directly from SpeedScript . 5–6 Adding a template to AppBuilder . 5–7 Support for other HTML visualizations . 5–8 6. Using JavaScript with WebSpeed . 6–1 SpeedScript versus JavaScript . 6–2 Using JavaScript source files . 6–3 Some JavaScript examples . ..

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    234 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us