PDA

View Full Version : ExtJS and HTA



harley.333
19 Mar 2009, 10:02 AM
Has anybody developed any non-browser-based apps with Ext and WSH (Windows Scripting Host)? Typically, these apps are called Hypertext Applications (HTA).

I've already done a proof of concept, but I'm hoping someone's already done the rest of the work.

Basically, I want to reuse ALL of my Ext code for my online apps and my offline apps. Here are my two stacks:

Online:
Browser
ExtJS
Server (.Net code)
ASPX (ultra-thin)
RequestProxy (thin)
Domain (business logic)
Linq (no proof of concept yet)
Data
MS-SQL

Offline:
WSH
ExtJS
Ext.ux.OfflineConnection (I wrote this and overrode Ext.lib.Ajax.createXhrObject)
(.Net code)
RequestProxy (thin)
Domain (business logic)
Linq (no proof of concept yet)
Data
XML

As you can see, I'm swapping out the ASP.Net layer with an OfflineConnection object (this works). On the back-end, I want to use Linq to switch between an XML or a SQL store.

In any case, the OfflineConnection object is not complete, and I'll need to handle file-uploads somehow. Has anybody crossed those bridges?