PowerBuilder 11: .NET Web Forms Dave Fish Engineering Evangelist - Sybase, Inc. dfish@sybase.com Sybase Analyst Event August 2003
PowerBuilder 11 Overview Web Service DataWindow http://www.sybase.com/products/development/powerbuilder/webcasts PowerBuilder 11 Overview (presented Nov. 20, 2007) Jim O’Neil Systems Consultant .NET Assemblies (presented Nov. 13, 2007) Jim O’Neil Systems Consultant .NET Windows Forms And Interoperability Dec. 4, 2007 Jim O’Neil Systems Consultant Web Service DataWindow Feb. 5, 2008 Dave Avera Staff Software Engineer PowerBuilder 11 .NET Deployment Web Casts .NET Web Forms Dec. 11, 2007 Dave Fish Engineering Evangelist .NET Web Services And Assemblies Jan. 29, 2008 Dave Fish Engineering Evangelist .NET Smart Client Jan. 15, 2008 John Strano Technology Evangelist Sybase Analyst Event August 2003
Agenda PowerBuilder roadmap Web Forms overview Deploying Web Form applications New Web Form Features in 11.1 Q & A Sybase Analyst Event August 2003
PowerBuilder Roadmap Version 11 released in June 2007 11.1 Maintenance Release in November 2007 Delivers on third-phase of PowerBuilder’s .NET initiative Sybase Analyst Event August 2003
2008 PowerBuilder 11.2 2008 PowerBuilder 11.5 2009 PowerBuilder 12 AJAX support for Web Forms Applications EAServer .NET Client Support Miscellaneous fixes 2008 PowerBuilder 11.5 Core .NET enhancements Native DataWindow updates Updated database support Miscellaneous fixes 2009 PowerBuilder 12 .NET in IDE WPF support at design and run-time Fully managed code DataWindow Powerscript Language Enhancements Language Independence Application Connectivity Multiple Platform Support Power And Performance Sybase Analyst Event August 2003
Web Forms Overview 10 Sybase Analyst Event August 2003
Web Forms applications: Web Forms applications have many advantages over traditional client-server and Windows Forms applications: Web Forms applications: do not require client-side installation are easy to upgrade have no distribution costs offer broad-based user access Any user with a Web browser and an online connection can run Web Forms applications Sybase Analyst Event August 2003
PowerBuilder .NET Web Form Application Architecture PowerBuilder application DB drivers PB App Database PowerBuilder ASP .Net 2.0 application With the PowerBuilder to .NET compiler, applications can be easily transformed into ASP.NET applications. The PowerBuilder WebForm application will run in an IIS Web Server. DB drivers Web Browser ASP.NET ASP .NET 2.0 App Database Web Server Sybase Analyst Event August 2003
PowerBuilder .NET Web Form Deployment PowerScript Source C# translation .NET Modules And Associated ASP .NET Files CSC deploy PBDs (DataWindow objects, Pipelines, Queries) Syntax errors save/build Unsupported features PB2CS PowerBuilder System Library For .NET (managed code) DataWindow Engine Database Interfaces (unmanaged code) Sybase Analyst Event August 2003
Supported Features Most PowerScript language features All data types Function invocation (dynamic, post, trigger) Event handling Embedded SQL Most visual and non-visual controls File operations: File Manager Sending e-mail (via SMTP not MAPI): Mail Manager DataWindow printing: Print Manager New Web Form Only Properties and Functions Sybase Analyst Event August 2003
Unsupported Features Some system classes such as Profile-related classes (but application tracing is available via web config) Trace-related classes (but database SQL tracing is available via web config) Some system functions such as DDE-related functions Clipboard-related functions Some controls, properties, and events such as OLEControl / OLECustomControl (partial support) InkPicture / InkEdit Drag-and-drop events EditLabels of TreeView See the Deploying Applications and Components to .NET manual for a complete list of supported and unsupported features Sybase Analyst Event August 2003
Deploying Web Form Applications 10 Sybase Analyst Event August 2003
Developing Web Form Applications New Web Form wizard quickly creates requisite project and target New application Existing application leveraging same code base Sybase Analyst Event August 2003
New Project Painter for Web Form Deployment Sybase Analyst Event August 2003
Web Form Deployment Application Deployed to IIS Directory (inetpub\wwwroot) ASP .NET Directory Application Virtual Directory Sybase Analyst Event August 2003
A PowerBuilder Application Deployed to the Web Sybase Analyst Event August 2003
Web Forms Demonstration 10 Sybase Analyst Event August 2003
New Features in 11.1 10 Sybase Analyst Event August 2003
Enhanced Web Form Controls Sybase Analyst Event August 2003
Enhanced Web Controls Improved menu, toolbar, DatePicker, and MonthCalendar controls are available in 11.1 If your application uses the TreeView Control (not TreeView DataWindow) then you must still install and configure the IE Web Controls IE Web Controls are used by default in 11.1 In 11.2 the RadControls will become the default Sybase Analyst Event August 2003
Set the PBWebControlSource property to RAD Sybase Analyst Event August 2003
Enhanced Menu and Toolbar Controls IE Web Controls RadControls Sybase Analyst Event August 2003
Enhanced DatePicker and MonthCalendar Controls IE Web Controls RadControls Sybase Analyst Event August 2003
Web service client support in Web Forms Sybase Analyst Event August 2003
Web service client support in Web Forms Worked in PowerBuilder 11.0, but was not fully QA’d You must import the pbwsclient110.pbx extension into your .pbl (you can’t add the .pbd to your library list) Other PBNI Extensions (PBDOM, EJB Client, etc.) are not supported in .NET Targets Sybase Analyst Event August 2003
Additional Resources Sybase Analyst Event August 2003
Want to Learn More? Moving to PowerBuilder 11 Education Class http://www.sybase.com/detail?id=1052601 Or http://www.sybase.com/education PowerBuilder Videos http://www.sybase.com/products/development/powerbuilder/videos http://www.sybase.com/powerbuilder Sybase Analyst Event August 2003
Q&A Sybase Analyst Event August 2003