TUF23: TRIM User Forum 2010 Changing the Economics of IM Ravinesh Lal HP TRIM Web Client Project Lead Software Engineer (Thanks to Helen Barnes) TRIM User Forum 2010 HP TRIM Web Client Under the Hood Note: This is a technical presentation and will cover paradigms such as: • JSON and • RESTful Web Services. HP TRIM Web Client Agenda – What is it ? – Installation – Configuration – Design Goals – Browser Support – Architecture Overview – Tips and Tricks – Customization Demo – Q&A TRIM User Forum 2010 HP TRIM Web Client – What is it? A zero-footprint web client – No installation for clients • Browser based • Rich user interface – Ease of deployment • Install it on a web server • Central place for updates TRIM User Forum 2010 HP TRIM Web Client – What is it? Installation – TRIM Workgroup needs to be installed and configured – Runs on web sever • IIS 6 – (largest market) • IIS 7 – (Easy to configure, performance better) • IIS 7.5 – (Latest) TRIM User Forum 2010 HP TRIM Web Client – What is it? (Cont.) Installation – As a virtual Directory - Default – As a Web Site TRIM User Forum 2010 HP TRIM Web Client – What is it? Configuration – Web.config file • Located under the root Installation folder in a subfolder called Web Client – Settings TRIM Property Config Key Example Dataset ID HPTRIMDatabaseID 45 Workgroup Server HPTRIMWorkgroupServerName localhost WebServerWorkPath HPTRIMWebServerWorkPath c:\HP TRIM\Server Path SiteRoot (Not a property) HPTRIMSiteRoot \HPTRIMWebClie nt TRIM User Forum 2010 HP TRIM Web Client – Why is it so? Design Goals – Common look and feel to the desktop client • User Preference when customizing columns and view pane – Seamless Integration with the desktop client • Adding record properties at runtime (no need to generate templates) • Customize records at runtime (adding/removing fields) – Localisation – Language Support • Implemented as a language.js HTTP Handler (System.Web.IHttpHandler) − English (International) − English (United States) − Dutch − French − German − Spanish − Italian TRIM User Forum 2010 HP TRIM Web Client – Why is it so? (Cont.) Design Goals – DOD 501 Version 3 Certification • Proven web server (IIS) – (largest Market penetration) • Security • Performance • Logging (W3C) – SharePoint Web UI Controls • A set of consistent web controls TRIM User Forum 2010 HP TRIM Web Client Browser Compatibility – IE 7.0 – IE 8.0 – Firefox 3.0+ TRIM User Forum 2010 HP TRIM Web Client Architecture Overview • Controls + Web Service = Web Client • Built Using ASP. Net Application • Platform running under IIS 6 & 7 • Session Management • Authentication • Logging ASP. Net Platform Client Controls WCF Web Service (Restful) TRIM User Forum 2010 HP TRIM Web Client - Architecture Overview(Cont.) System Architecure Diagram • Build using ExtJS Framework AJAX Request • JavaScript WCF Web Client Controls ExtJS Framework Service • CSS(RESTful) (Cascading Style Sheets) JSON/XML Java Script Response • Highly Modular Component Cascading Style Sheets ASP. Net Platform TRIM User Forum 2010 HP TRIM Web Client Tips and Tricks – Replacing the Debug JavaScript file for Diagnostics TRIM User Forum 2010 HP TRIM Web Client Tips and Tricks – Changing the Banner TRIM User Forum 2010 HP TRIM Web Client Tips and Tricks – Server Handler TRIM User Forum 2010 HP TRIM Web Client Demo – Start HP TRIM Web Client 1. Add/Remove fields 2. Add/Remove fields dynamically using the view pane TRIM User Forum 2010 HP TRIM Web Client Wrap-up – What is it ? • Zero-foot print web client – Installation • Installs using a standalone MSI – Configuration • Make changes to the web.config file – Design Goals • One-to-one • Common • DOD mapping between the desktop and the web client need for web controls 501 Version 3 requirement TRIM User Forum 2010 HP TRIM Web Client (Cont.) Wrap-up – Browser Support • IE 7, IE 8, FF 3.0+ – Architecture Overview • Controls • Runs + WCF Web Service = Web Client on the ASP.Net Platform – Tips and Tricks • Change the production javascript file with the debug • Change the banner • Server Handler to see detailed information about the server – Customization Demo • How Type to dynamically add/remove fields and properties of a Record TRIM User Forum 2010 For more information... IM Digital Hub: TRIM Home Page: Facebook: www.hp.com/go/imhub www.hp.com/go/hptrim http://tinyurl.com/HPTRIM-7-Facebook Twitter: www.twitter.com/HPInfoGov www.twitter.com/thattrimguy #TUF23 www.hp.com/blogs/information-faster Twitter HashTag: Blogs: HP Software Solutions Community: www.hp.com/go/swcommunity TUF23 Post-event Website: 19 © Copyright 2010 Hewlett-Packard Development Company, L.P. Available April 2010