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 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
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 2E workshop – Jan 2010 RPGSecurity User managment Session control Administratio n Transport layer MenuLogi n Desig n Authorization system
WE and web applications 2E workshop – Jan 2010 RPGSecurity User managment Session control Administratio n Transport layer MenuLogi n Desig n Authorization system
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 PageGenerator Replacemen t Process Template /(WPNAME) /(WPGEND) /(WPDATE) /(WPVAL) Bonfire Male ,00 Output to browser Read template Replacement Marker 1 2 3
The Program Structure WPGHRS00 WLBHRS WEVHRS00UP WEVHRS00DL WEVHRS00IN HTML Template Administration interface WEBHORSEBP Initial load (menu item) by WebsydianExpress
The Program Structure Cont. WPGHRS02 WLBHRS WEVHRS02UP WEVHRS02CA HTML Template Initial load called by gridpage Administration interface
The Page Modeler Model and generate first cut HTML template Administration interface
Getting started Register at In the download section download WebsydianExpress for iSeries Follow the installation guide provided Check out the tutorial and try it out Send questions to Licensing based on pay as you grow 10 concurrent sessions free of charge
Questions and Answer ?