150 likes | 230 Views
WebsydianExpress ™. for RPG Developers. Presenter. Niels P. Sorensen Product Manager, Websydian Lead Architect Developer for many years in languages like RPG, Cobol, C/C++, Java, Plex and Pascal. Introduction. It’s all about web development on IBM i
E N D
WebsydianExpress™ for RPG Developers
Presenter Niels P. Sorensen Product Manager, Websydian Lead ArchitectDeveloper for many years in languages like RPG, Cobol, C/C++, Java, Plex and Pascal
Introduction It’s all about web development on IBM i Web development in the most natural language for IBM i developers - RPG Web development without the need to know everything about web servers, CGI, Session management, user management etc. It’s about the WebsydianExpress platform and framework for IBM i
What is provided for the RPG developer A similar approach as developing for 5250 Separation of RPG code and web page layout No web technology hassle Session management Security Allow the developer to focus on one part of the web application (Business Process) An extensive set of APIs Not a screen-scraper
What is provided by WebsydianExpress™ Easy installation Web site out-of-the-box Execution environment for your web application User and role based authorization system Presentation layer (role based layout, language support) Web based administration interface Extendable infrastructure
A web application Design Login Menu Security RPG Transport layer Authorization system Usermanagment Session control Administration 2E workshop – Jan 2010
WE and web applications Design Login Menu Security RPG Transport layer Authorization system Usermanagment Session control Administration 2E workshop – Jan 2010
What does the RPG developer need to know Seven basic API’s HTML templates Externally described layout (very much like a DDS but layout can vary a lot) Replacement markers represents values from programs Page Modeler generates first cut for developer Values send and recieved are string based, conversion is required (API’s provided) Validate all input fields for improved stability and security
An example and a look at the code Maintain Horse Grid page (just like a subfile page) Update page Insert page Delete page Live demo Application in action
Templates <table class="detail"> <tr> <td colspan="3"> Bonfire <img src="/express30_windows/res/Bonfire.jpg“> </td> </tr> <tr> <td>Male</td> <td>2001-12-15</td> <td>5000,00</td> </tr> </table> 3 Output to browser PageGenerator ReplacementMarker Replacement Process <table class="detail"> <tr> <td colspan="3"> /(WPNAME) <img src="/(WSRESURL)/(WPNAME).jpg“> </td> </tr> <tr> <td>/(WPGEND)</td> <td>/(WPDATE)</td> <td>/(WPVAL)</td> </tr> </table> 2 Read template Template 1
The Program Structure Administration interface Initial load (menu item)by WebsydianExpress WEBHORSEBP WEVHRS00UP WPGHRS00WLBHRS WEVHRS00DL WEVHRS00IN HTMLTemplate
The Program Structure Cont. Administration interface Initial loadcalled by gridpage WPGHRS02WLBHRS WEVHRS02UP WEVHRS02CA HTMLTemplate
The Page Modeler Model and generate first cut HTML template Administration interface
Getting started Register at http://www.websydian.com In the download section download WebsydianExpress for iSeries Follow the installation guide provided Check out the tutorial and try it out http://www.websydian.com/websydiandoc/v61 Send questions to support@websydian.com Licensing based on pay as you grow 10 concurrent sessions free of charge