Post #26,873
2/1/02 1:07:12 PM
|

Is it possible to build a good Dynamic HTML application...
...or am I just wasting my time?
My idea is to rewrite our PowerBuilder client/server application as a web application with a Dynamic HTML interface and a Java application server.
I know all about the application server stuff, but how about the dynamic html client? It looks like it's possible to build a high quality client using html and JavaScript. But my manager is looking for an interface that will look a like current Windows interfaces, with trees, buttons, grids, etc and I just don't seem to be finding much for examples or pre-made widgets (especially grid controls and decent edit mask controls).
Has anyone out there built applications entirely in html/javascript that resemble Windows GUIs?
Thanks, John
|
Post #26,947
2/2/02 12:30:58 AM
|

You can get about 80% there.
We're doing it right now where I work. It's tough, real tough. So far, we're targetting IE5.5 (which we can do because we write Intranet applications) and my colleague has managed to build a quite good tabbed dialog box effect, but DOM support isn't quite advanced enough for NS6 or Opera to display it right. Sorry, I don't have a web site to point you to.
Wade.
"All around me are nothing but fakes Come with me on the biggest fake of all!"
|
Post #27,151
2/4/02 8:51:05 AM
|

Re: You can get about 80% there.
We're doing it right now where I work. It's tough, real tough. So far, we're targetting IE5.5 (which we can do because we write Intranet applications) and my colleague has managed to build a quite good tabbed dialog box effect, but DOM support isn't quite advanced enough for NS6 or Opera to display it right. Sorry, I don't have a web site to point you to.
Would it be better to use applets or ActiveX controls, or would you just recommend sticking with client/server for now?
Thanks, John
|
Post #27,157
2/4/02 9:12:39 AM
|

Depends on your browser targets...
Personally I would always choose applets over ActiveX.
Regards,
-scott anderson
"Welcome to Rivendell, Mr. Anderson..."
|
Post #27,308
2/4/02 9:37:53 PM
|

I don't know about better...
Our server spits out HTML and JavaScript. Generally, JavaScript is powerful enough to do what we want, and if it's not, then we either don't do it that way, or we submit the page to a PHP script to do it. Development time is actually quite quick - more so if you have a framework building things like navigation bars (we wrote our own).
I wouldn't even consider ActiveX. We considered a Java applet for new email notification, but that A Ways Off.
Wade.
"All around me are nothing but fakes Come with me on the biggest fake of all!"
|
Post #27,152
2/4/02 8:51:13 AM
|

Re: You can get about 80% there.
We're doing it right now where I work. It's tough, real tough. So far, we're targetting IE5.5 (which we can do because we write Intranet applications) and my colleague has managed to build a quite good tabbed dialog box effect, but DOM support isn't quite advanced enough for NS6 or Opera to display it right. Sorry, I don't have a web site to point you to.
Would it be better to use applets or ActiveX controls, or would you just recommend sticking with client/server for now?
Thanks, John
|
Post #27,153
2/4/02 8:51:13 AM
|

Re: You can get about 80% there.
We're doing it right now where I work. It's tough, real tough. So far, we're targetting IE5.5 (which we can do because we write Intranet applications) and my colleague has managed to build a quite good tabbed dialog box effect, but DOM support isn't quite advanced enough for NS6 or Opera to display it right. Sorry, I don't have a web site to point you to.
Would it be better to use applets or ActiveX controls, or would you just recommend sticking with client/server for now?
Thanks, John
|
Post #27,154
2/4/02 8:52:40 AM
|

Re: You can get about 80% there.
Careful how you hit that save button, it can be dangerous...
|
Post #26,968
2/2/02 10:40:06 AM
|

If you decide to try...
Start by looking at [link|http://dynapi.sourceforge.net/dynapi/|DynAPI].
(I try to avoid this stuff, and pointing people there usually delays them long enough for me to make my escape...)
Cheers, Ben
|
Post #27,155
2/4/02 8:53:53 AM
|

Re: If you decide to try...
Start by looking at DynAPI.
(I try to avoid this stuff, and pointing people there usually delays them long enough for me to make my escape...)
Yes I took a look at that; thanks for the link. There's not much in it for the stuff I'm looking to do though.
Thanks, John
|
Post #27,281
2/4/02 6:38:14 PM
|

Yes, but it requires a rethink
If you're sold on the HTML .. uh ... "platform", then you need to rethink process flow for your users first and foremost. For example, I've got a general ledger app custom-built for my company. As you have no doubt found out, asking the HTML renderer to rewrite a large grid of data for each new data point is cumbersome; equally cumbersome is the "too many blank rows" problem. So the first step might be to enter data a row at a time and return a new blank row on submit.
Unfortunately, this cuts into users' perceived workflow time. So you have to redesign your apps to help the user out. For example, my GL app uses multiple frames to give the user something to do in one window while the other is being submitted/redrawn. I also ended up doing a lot of predictive javascript, so the values that they are likely to type in are either already there in the textbox when they (re)load the page, or are a click away. It really takes a lot of process and workflow analysis to get it right. But the payoff is worth it.
Keep in mind this is just a couple examples. If you have specific questions about it as you starting prototyping/spot-testing, I'd be happy to discuss them further with you.
--------------------------------- A stupid despot may constrain his slaves with iron chains; but a true politician binds them even more strongly by the chain of their own ideas;...despair and time eat away the bonds of iron and steel, but they are powerless against the habitual union of ideas, they can only tighten it still more; and on the soft fibres of the brain is founded the unshakable base of the soundest of Empires."
Jacques Servan, 1767
|
Post #27,310
2/4/02 9:43:01 PM
|

I had another idea.
You might want to rattle around in [link|http://www.webbedenvironments.com/aux/index.html|this] web site. The guy wrote a book I bought recently about CSS, DHTML and JavaScript.
Wade.
"All around me are nothing but fakes Come with me on the biggest fake of all!"
|
Post #27,406
2/5/02 1:23:37 PM
|

Looks like it's worth a try
Found an interesting library at [link|http://www.domapi.com/|http://www.domapi.com/]. I has a table-like widget. I think I will work on a prototype and see how it works. (might take a while since I only have a hour or so a day to work on it) It just seems like everything needed to build a good GUI interface that would meet most of a business application's needs is there in the latest browsers; so its worth a shot.
If I make any progress, I'll put up a link to it and you all can let me know what you think.
Thanks again, John
|