1 / 81

Sybase Tools Technology Preview

Sybase Tools Technology Preview. John Strano – Technology Evangelist May 2006. Sybase Confidential Propriety. . PowerBuilder 10.5 Overview . Microsoft’s Modified Release Schedule. PowerBuilder’s .NET Compiler Takes advantage of ASP .NET 2.0 features

annabel
Télécharger la présentation

Sybase Tools Technology Preview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Sybase ToolsTechnology Preview John Strano – Technology Evangelist May 2006 Sybase Confidential Propriety.

  2. PowerBuilder 10.5Overview

  3. Microsoft’s Modified Release Schedule • PowerBuilder’s .NET Compiler • Takes advantage of ASP .NET 2.0 features • Originally slated for PowerBuilder 11 release Q4 2005 • Visual Studio .NET 2005 (ASP .NET 2.0) • Release date moved by Microsoft from Summer 2005 to Q4 2005

  4. PowerBuilder 10.5 Enhancements • Decimal data type upgrade • Provide support for 30 digits versus current 18 • Position for support of .NET which handles 28 digits • DataWindow expression support • Currently all numerics converted to double before calculations • Add Decimal() DataWindow function for conversion • Implementation will replace current 3rd party implementation but should be completely transparent to user • Byte data type

  5. PowerBuilder 10.5 Enhancements • DateTime Picker • Wrapper for Microsoft Common Control • New control and/or enhancement to EditMask • New DataWindow edit mask style

  6. PowerBuilder 10.5 Enhancements • Menu Enhancements • Styles • Traditional • Contemporary • Style attributes • Shadow • Bitmaps (16x16 and 32x32) • Titles • Main background color • Bitmap background color • Highlight color • Relies on GDI+ (GDIPLUS.DLL)

  7. PowerBuilder 10.5 Enhancements • Toolbar Enhancements • Styles • Traditional • Contemporary • Style attributes • Titles • Main background color • Bitmap background color • Highlight color • Text color • Allow toolbars to be attached to top-level non-MDI Windows • Relies on GDI+ (GDIPLUS.DLL)

  8. PowerBuilder 10.5 Enhancements • New Rich Text Edit control • PB10 investigation of Microsoft control found it lacking in features necessary to support DataWindow • TX Text Control • http://www.textcontrol.com/ • Minimal (if any) loss of current functionality • New functionality including saving as Microsoft Word DOC format

  9. PowerBuilder 10.5 Enhancements • Updated bitmaps and icons • Provide updated look to IDE • Allow use in application • Potential sources • 3rd party • Reuse from Sybase Workspace

  10. PowerBuilder 10.5 Enhancements • Autosize Height for All DataWindow Bands • All Bands Supported (not just detail band) • Band will resize for Nested DataWindows

  11. PowerBuilder 10.5 Enhancements • Treeview Presentation Style • Designed similar to group DataWindow • Property support • Node lines • Icons • Grid style • Indention size • Event support • Expanding / Expanded • Collapsing / Collapsed • Function support • Expand (multiple variations) • Collapse (multiple variations)

  12. PowerBuilder 10.5 Enhancements – TreeView Presentation Style Properties • CollapsedTreeNodeIconName • DefaultExpandToLevel • ExpandedTreeNodeIconName • Indent • ShowConnectLines • ShowLeafNodeConnectLines • ShowTreeNodeIcon • StateIconAlignMode • TreeNodeIconName

  13. PowerBuilder 10.5 Enhancements – TreeView Presentation Style Functions • Expand • Collapse • ExpandAll • CollapseAll • ExpandAllChildren • CollapseAllChildren • ExpandLevel • CollapseLevel • IsExpanded

  14. PowerBuilder 10.5 Enhancements • Infrastructure refactoring (continuing past PB 11) • DataWindow “rewrite” to support growth • Development of generic Data Source Interface (DSI) • Abstract layer above current DBI layer • Designed to support access of non-SQL based data • .NET DataSet • EJB • Web Services

  15. PowerBuilder 10.5 Enhancements – Database Enhancements • ASE 15.0 native driver support • ADO.NET for ASE support • ADO.NET for Oracle support • DBI refactoring (not a visible enhancement)

  16. PowerBuilder 10.5 Enhancements – Web Services Enhancements • Adding .NET’s Web Services SDK • Better data type support • Security and Authentication • EasySOAP Implementation • Will be left intact, but not enhanced

  17. Demonstration • PowerBuilder 10.5 in action.

  18. PowerBuilder 10.5 Q & A

  19. Sybase WorkSpace – Web Application Development & The JSF Web DataWindow

  20. AGENDA • Introduction to JavaServer Faces • What is JavaServer Faces? • Architecture Overview • Key Concepts • Why JavaServer Faces? • Sybase WorkSpace - Web Application Development Tooling • Objectives • Architecture Overview • Features • Integration with DataWindow • DataWindow Designer • JavaDatastore • Demonstration

  21. JavaServer Faces: • In General

  22. BACKGROUND • Building high-quality web application user interfaces is hard • HTTP request/response model • HTML dialect(s) and browser capabilities • Need to support multiple client devices types

  23. WHAT IS JAVA SERVER FACES? • JavaServer Faces (JSF) is a component userinterface(UI) framework for Java web applications. • It is designed to significantly ease the burden of writing and maintaining applications that run on a application server and render their User Interfaces back to a target client.

  24. WHY JSF? • MVC (Model-View-Controller) for Web applications • Clean separation of roles • Easy to use • Extensible component and rendering architecture • Support for client device independence • Offers finer-grained separation of behavior and presentation • Component and web-tier concepts without limiting you to a particular scripting technology or markup language

  25. COMPONENT MODEL • Maintaining a reference to model objects • Driving the event-handling • Rendering is separate from the component • JSF implementation provides a set of UI component classes • Standard Component classes, for example • Commandbutton, Form, Graphic, Input • Output, Panel, Parameter • SelectBoolean, SelectMany, SelectOne

  26. RENDERING MODEL • Renderers – Adapt components to a specific markup language • Encoding – Create markup to represent value • Decoding – Retrieve request parameters and create new value • RenderKits – Library of Renders • Extensible at runtime • For JSP pages, represented as a custom tag library • Basic HTML RenderKit part of the standard

  27. NAVIGATION MODEL

  28. Sybase WorkSpace • Web Application Development

  29. OBJECTIVE • Provide a life-cycle support including design, develop, debug/test, and deploy a web application utilizing JavaServer Faces technology. • Visual Development Environment • Allows building Web pages in a manner very similar to : • PowerBuilder • Visual Basic • A flavor of 4GL experience.

  30. OBJECTIVE • Provides a component model • Allows users to think about components, events and scripting instead of the detail of HTTP request / response • Leverages standards JavaServerFaces runtime • Uses Java DataStore to make data access easy • Reuse existing Datawindows in your Web applications • Make service and EJB invocation in the Web application easy

  31. ARCHITECTURE Web Application Development Tool Integration DataWindow Painter Java Datastore Graphical Editing Framework (GEF) Eclipse Modeling Framework (EMF) Web Tool Platform (WTP) WorkSpace Service Framework Eclipse

  32. COMPONENTS of the WAD IDE • Web Application Development Perspective • Creation wizards (application, page and resources) • Web Page Designer (graphical editor) • Tab-based Properties View • Databinding View • Resource Bundle Editor (tabular-based editor) • Faces-config Editor (graphical editor…navigation rules) • Web.xml Editor (form-based editor… • Deployment to runtime container • DataWindow Designer • DataWindow Library Importer

  33. WEB APPLICATION DEVELOPMENT PERSPECTIVE • WorkSpace Navigation View • Tree view of components in the application • Editors view • All editors will be displayed in this view • Properties view • Properties and attributes of each widget • Databinding view • Data and managed beans used by the page • Service Explorer, Enterprise Explorer • Service Explorer displays a tree view of available services • Enterprise Explorer displays server connection profiles available

  34. FEATURE SET :In the Interest of Time…Just One Sample • Databinding View • Resource Bundle Binding: use key to bind to UI component; • Service Binding: generate managed bean to wrap service invocation; • Java Class Binding: generate managed bean with getter/setter • EJB Binding: generate bean to lookup ejbs and create bean instances • Database Binding: support JSF DataWindow, or hibernate

  35. Building JSF Web App Demo

  36. JSF DataWindow

  37. DATAWINDOW AND THE JSF TECHNOLOGY • Java DataStore. • A pure java package which provides the DataWindow functionality to the Java world. • JSF DataWindow Component. • A custom UI component written to fit the JSF model. • DataWindow Java Bean. • A Java Bean non-UI component written to fit the JSF model. • JSF DataWindow tag library • A tld file containing the attributes of the DataWindow for a JSP page.

  38. DATAWINDOW AND THE JSF TECHNOLOGY DataWindow JSF tag library DataWindow JSF Component Java Datastore JSF Web Application DataWindow Bean Faces-Config.xml

  39. JAVA DATASTORE INTERFACE • Pure Java package. • Distributed as jdatastore.jar. • Non-visual Java Wrapper for DataWindow Server. • Can be used by the Java programmer for non-UI DataWindow functionality. • A JNI based interop layer to the DataWindow Server. • The DataWindow Server. Java Datastore JNI Interop Layer DataWindow Server + Database Interface Layer + XML Support + PDF Support Marshalling and Event Handling Management

  40. JAVA DATASTORE Sample Code

  41. JSF DATAWINDOW IN DESIGN TIME • The DataWindow object and DataWindow painter. • Exposed as plugins in Eclipse environment. • Maintained in pbl files. Imported as an Eclipse resource.

  42. JSF DATAWINDOW IN DESIGN TIME • JSF DataWindow designed using Sybase Web Application Development page designer. • Drag and Drop from pallete.

  43. JSF DATAWINDOW IN DESIGN TIME • Drag and Drop DataWindow object from the navigator. • JSF DataWindow design time properties.

  44. JSF DATAWINDOW IN DESIGN TIME • JSF DataWindow design time properties. • dataWindowObject • displayOnly • enableDataCaching • jndiDataSource • libraryList • objectLink • onLoadHandler • rendered • rowsperPage

  45. JSF DATAWINDOW IN DESIGN TIME • Creating relationship between multiple JSF DataWindows in a MasterDetail type scenario. • Add Text

  46. JSF DATAWINDOW PROPERTIES,METHODS AND EVENTS • The Rich DataWindow API is accesible through the JSF DataWindow. • More than 100 methods are available. • Categorized as • Dynamic DataWindow creation function. • Retrieve functions • Search functions • Get / Set functions • Import / Export Functions

  47. JSF DATAWINDOW PROPERTIES,METHODS AND EVENTS • Access and Modify DataWindow object metadata at runtime. • Use the describe and modify methods.

  48. JSF DATAWINDOW PROPERTIES,METHODS AND EVENTS • JSF DataWindow generated server events. • RetrieveEvents (BeginRetrieve,EndRetrieve,RowRetrieved) • UpdateEvents (BeginUpdate, EndUpdate) • SqlPreview Events (SQLPreviewEvent) • Print Events (BeginPrint,EndPrint,PrintPage) • DWLoadedEvent • JSF DataWindow server event listeners • RetrieveListener • UpdateListener • SqlPreviewListener • PrintListener • DataWindowOnLoadListener

  49. JSF DATAWINDOW PROPERTIES,METHODS AND EVENTS

  50. JSF DATAWINDOW PROPERTIES,METHODS AND EVENTS • JSF DataWindow client events.

More Related