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.
TRIM User Forum 2010 HP TRIM Web Client –What is it ? –Installation –Configuration –Design Goals –Browser Support –Architecture Overview –Tips and Tricks –Customization Demo –Q&A Agenda
TRIM User Forum 2010 A zero-footprint web client HP TRIM Web Client – What is it? –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 Installation HP TRIM Web Client – What is it? –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 Installation HP TRIM Web Client – What is it? (Cont.) –As a virtual Directory - Default –As a Web Site
TRIM User Forum 2010 Configuration HP TRIM Web Client – What is it? –Web.config file Located under the root Installation folder in a subfolder called Web Client –Settings TRIM PropertyConfig KeyExample Dataset IDHPTRIMDatabaseID45 Workgroup ServerHPTRIMWorkgroupServerNamelocalhost WebServerWorkPathHPTRIMWebServerWorkPathc:\HP TRIM\Server Path SiteRoot (Not a property) HPTRIMSiteRoot\HPTRIMWebClie nt
TRIM User Forum 2010 Design Goals HP TRIM Web Client – Why is it so? –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 Design Goals HP TRIM Web Client – Why is it so? (Cont.) –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 Browser Compatibility HP TRIM Web Client – IE 7.0 – IE 8.0 – Firefox 3.0+
TRIM User Forum 2010 Architecture Overview HP TRIM Web Client Controls + Web Service = Web Client Built Using ASP. Net Application Platform running under IIS 6 & 7 Session Management Authentication Logging WCF Web Service (Restful) Client Controls Client Controls ASP. Net Platform
TRIM User Forum 2010 HP TRIM Web Client - Architecture Overview(Cont.) System Architecure Diagram Build using ExtJS Framework JavaScript CSS (Cascading Style Sheets) Highly Modular Component ASP. Net Platform WCF Web Service (RESTful) AJAX Request JSON/XML Response Client Controls ExtJS Framework Java Script Cascading Style Sheets
TRIM User Forum 2010 Tips and Tricks – Replacing the Debug JavaScript file for Diagnostics HP TRIM Web Client
TRIM User Forum 2010 Tips and Tricks – Changing the Banner HP TRIM Web Client
TRIM User Forum 2010 Tips and Tricks – Server Handler HP TRIM Web Client
TRIM User Forum 2010 Demo HP TRIM Web Client – Start HP TRIM Web Client 1. Add/Remove fields 2.Add/Remove fields dynamically using the view pane
TRIM User Forum 2010 Wrap-up HP TRIM Web Client –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 mapping between the desktop and the web client Common need for web controls DOD 501 Version 3 requirement
TRIM User Forum 2010 Wrap-up HP TRIM Web Client (Cont.) –Browser Support IE 7, IE 8, FF 3.0+ –Architecture Overview Controls + WCF Web Service = Web Client Runs 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 to dynamically add/remove fields and properties of a Record Type
© Copyright 2010 Hewlett-Packard Development Company, L.P.19 For more information... IM Digital Hub: TRIM Home Page: Facebook: Twitter: Twitter HashTag:#TUF23 Blogs: Blogs: HP Software Solutions Community: TUF23 Post-event Website:Available April 2010