220 likes | 592 Views
Building Windows Apps with HTML and CFML By Steve Nelson SecretAgents.com Overview Sash Overview SashScript Overview Building a Sash Application Browser vs. Windows Browsers = Universal Windows = Flexibility & Control Sash Weblications Integrate with the Windows Desktop
E N D
Building Windows Appswith HTML and CFML By Steve Nelson SecretAgents.com
Overview • Sash Overview • SashScript Overview • Building a Sash Application
Browser vs. Windows • Browsers = Universal • Windows = Flexibility & Control
Sash Weblications • Integrate with the Windows Desktop • Use HTML for the user interface • Use SashScript to make them dynamic
Standard Windows Application Screen Saver Desktop Toolbar Desktop Bands Windows Explorer Bars Windows Find Internet Explorer Applications Shell Namespace Control Panel Components Property Sheets Sash “Locations”
Build SDI or MDI Applications Easily control menus Use HTML for display Standard Windows Application
Create interactive screen savers Connect your screen saver to a ColdFusion server! Screen Saver
Just like the Start Menu Can be docked in different areas Desktop Toolbar
Useful for applications that do not require a lot of screen real estate Desktop Bands
Interact with the Windows Explorer or IE Can be made visible or hidden Similar to the “Favorites” bar Windows Explorer Bars
Use the “Search” button in the Start menu to open a Sash application Windows Find
Sash Weblication Manager • Allows for easy install/unistall • Automatic updates • Adjust security settings for each Weblication
Sash WDE • Sash Development Environment • Project Based • Manages both development and publishing
Setting up a Sash Project • Sash is Project Based • Similar to a project in CF Studio • Manages Actions and Files
Sash Actions • Implement the behavior of a Weblication • Weblications have one or more Actions • Each Action is assigned a “Location”
Sash Location • Where the Weblication runs • Determines what code is available • Examples: Desktop Toolbar, Explorer Extension, Screen Saver
Introduction to SashScript • Superset of Javascript • Hundreds of additional methods, properties and events • Called with the <script> Tag
<script language="sashscript"> var categorylist=new Sash.Core.Net.URLConnection(); categorylist.Url="http://www.secretagents.com/index.cfm”; categorylist.Execute(); </script> Connecting Sash to a CF server is fairly simple. Connecting to a CF Server
Displaying the Output • Display the output in HTML Or…. • Download a WDDX packet and work with the data in Sash!
The Disconnected App • Sash allows you to build sophisticated applications, disconnected from the internet • See what you can build!
Other Resources • http://sash.alphaworks.ibm.com/ • http://Learn.SecretAgents.com/
Questions? • Steve Nelson m@secretagents.com