Running CF on the deskop via Apollo
Posted At : March 26, 2007 12:15 PM
| Posted By : Dave
Related Categories:
Apollo / Coldfusion
So, you have heard of Apollo (the product Adobe not the Greek God). I was thinking of ways I could use it. I wanted to be able to see if I could run a cf app on the desktop without installing CF. Well with no more than an hour of work, after setting it up, I had what I wanted. I was able to take a section of a project I am working on and make it work 100% inside Apollo. This included login, data lookup, retrieval and detail drill down. It was written 100% in HTML with no fancy coding at all.
<application xmlns="http://ns.adobe.com/apollo/application/1.0.M3" appId="com.adobe.apollo.test.html" version="1.0">
<properties>
<name>Test App</name>
<publisher>Test</publisher>
<description>Test HTML App</description>
<copyright>2007</copyright>
</properties>
<rootContent systemChrome="standard" transparent="false" visible="true" width="600" height="550">default.html</rootContent>
<icon>
<image16x16>icons/ApolloApp_16.png</image16x16>
<image32x32>icons/ApolloApp_32.png</image32x32>
<image48x48>icons/ApolloApp_48.png</image48x48>
<image128x128>icons/ApolloApp_128.png</image128x128>
</icon>
</application>
The default.html doc only contains 2 lines of code.
This allows us to load the Apollo interface with content from a server. The "killsession" var was to fix an issue I found that if a user did not logout and closed Apollo they would stay logged in till the session timed out. This var allowed me to wipe the session on start up.
There is so much more that is possible with this as I have only scratched the surface. I will try to post more as I get more involved with it.
--Dave

There are no comments for this entry.
[Add Comment]