1 / 18

new look Web Client & Web Deployment

new look Web Client & Web Deployment. In this presentation… What is the new look web client? Why web deploy? How does it work? Deployment process: Manual approach Deployment wizard HTML frames structure. Web Client – what is it?. Purpose

lucie
Download Presentation

new look Web Client & Web Deployment

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. newlook Web Client & Web Deployment • In this presentation… • What is the newlookweb client? • Why web deploy? • How does it work? • Deployment process: • Manual approach • Deployment wizard • HTML frames structure

  2. Web Client– what is it? • Purpose • To provide an integrated interface between newlook and the browser. • Components • DHTML (Javascript, CSS, HTML) • newlook ActiveX control • newlook macros

  3. Web Client – Structure Main control frame (hidden) Header any HTML Title title bar Runtime newlook ActiveX control Status status bar Links dynamic linkscustom links Footer any HTML • HTML frame structure

  4. Web Client – Structure

  5. Web Deployment – How Does it Work? • How Does it Work? • Alternative to traditional installation methods • User navigates to web page. • A check is performed to see if newlook ActiveX control exists on PC. • If already installed it will immediately start using locally cached files. • If not installed then CAB files are referenced and extracted to local PC. • Each time web page is accessed newlook automatically checks for updates prior to starting. • This option can be turned on or off

  6. Web Deployment – Why Web Deploy? • Why web deploy? • Eliminates the need for traditional client install. • Reduces deployment costs. • Extends application reach: • Remote users • Application updates are obtained seamlessly.

  7. Web Deployment – Manual Deployment • Create Custom files • SID, INI, HTML and script files. • Prepare web build files • inf, nlu and file lists. • Build CAB files • Publish • External/Internal web server or file server

  8. Web Deployment – Manual Deployment • The process • Use newlook to re-face, extend and integrate your application. • i.e. create a custom solution including SID, INI and other custom files. • Create HTML pages to house the ActiveX control. • This can include Java and VB scripts to display function keys external to ActiveX control. • newlook is shipped with Sample HTML and JavaScript pages that can be used as a template to extend upon

  9. Web Deployment –Manual Deployment • Sample HTML page • The following simple example shows the newlook ActiveX control referenced within a web page. <html> <head> <title>newlook ActiveX control</title> </head> <body> <object id="newlook" classid="CLSID:CFFE5E18-79B9-431C-8CE2-AE55A16E7C09" width="648" height="488" CODEBASE="newlook.cab#version=8,0,0,0"> <PARAM name="UpdateFile" value="http://www.looksoftware.com/cab80/nlupdate.nlu"> </object> </body> </html>

  10. Web Deployment – Manual Deployment • Create a staging folder • Create a temporary folder and sub-folders that will mimic the folder structure on the business user’s PC. • E.g. c:\ newlook web demo (Nlconfig.inf, newlook.ini) \Acme (Acme.sid) \Images (Image1.gif) Place your custom files within the folders.

  11. Web Deployment – Manual Deployment • Create the list (lst) file • The lst file is similar to the inf file but instead of specifying where to extract the files it specifies where to find the files to include within the CAB file. • The following is a sample lst file : newlook.ini Acme\Acme.sid Acme\Images\Image1.gif

  12. Web Deployment – Manual Deployment • Create the inf file • The inf file is used by newlook update to specify how and where the individual files within the CAB file will be extracted. • A separate inf file is required for each CAB file. • The inf file can be created by re-using the lst file. [Version] Signature=$CHICAGO$ AdvancedINF=2.0 [SourceDisksNames] 1="default",,1 [DestinationDirs] InstallConfigFiles=32768 ;Default newlook directory [DefaultInstall] CopyFiles=InstallConfigFiles [InstallConfigFiles] newlook.ini,,,6 Acme\Acme.sid,,,6 Acme\Images\Image1.gif,,,34 A list of all of the custom files to install 6 - always overwrite destination file. 16 - never overwrite if file already exists. 34 – overwrite only if newer.

  13. Web Deployment – Manual Deployment • Create the nlu file • The NLU file is a text file that specifies the location of the completed CAB files used to install newlook and the custom files. • The nlu file is typically placed in the same location as the CAB files with its location specified in the HTML page. • E.g. <object id="newlook" classid="CLSID:CFFE5E18-79B9-431C-8CE2-AE55A16E7C09" width="648" height="488" CODEBASE="newlook.cab#version=8,0,0,0"> <PARAM name="UpdateFile" value="http://www.looksoftware.com/cab80/nlupdate.nlu"> </object>

  14. Web Deployment – Manual Deployment • The nlu file (cont’d) • The following is a sample NLU file : [newlook] Update=nlmain.cab,nlconfig.cab newlookDir=%PROGRAMFILES%\newlook web demo [nlmain.cab] Desc=newlook Program Files Url=http://www.looksoftware.com/cab80/nlmain.cab [nlconfig.cab] Desc=newlook Configuration Files Url=http://www.acme.com/nlconfig.cab Where to install the web build on the client PC The location of the CAB file containing the newlook program files The location of the CAB file containing the custom files

  15. Web Deployment – Manual Deployment • Build CAB file(s) using CABARC utility • The CABARC utility is command line tool used to create CAB files for use with web deployment. • Place CABARC.exe, lst file and inf file within the temporary folder. • Run CABARC e.g. cabarc –p n nlconfig.cab nlconfig.inf @nlconfig.lst • Place CAB files on Web/file server • Place HTML, CAB and NLU files on the web or file server.

  16. Web Deployment – Deployment Wizard • Deployment Wizard • Available via the Tools menu in newlook • Automatically creates the files necessary for newlook web deployment. • The deployment wizard will help you create the required: • Cab files (.inf, .lst and .nlu, .cab). • Html launch page.

  17. Web Deployment – Deployment wizard • Deployment Wizard (cont’d) • Using the Deployment wizard, you can specify: • Location of source files. • Target location for cab files. • Source files to be included in the cab file/s. • Application Command line options.

  18. Workshops 8 & 9 newlook 8 Training

More Related