IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New re: I got your coordinates right here

There is a fourth approach: store the view state in hidden, compressed HTML form fields to be re-loaded into RAM on the next pass. The problem with this approach is that we cannot easily "interrupt" one form or screen with another, and then come back. Therefore, I will not discuss it any further.


Too bad you dismiss this approach because up until this point you were describing the ASP.NET model almost exactly. Yes I realize your objections to having to pass viewstate back and forth, but the meat of your article was how to make the best of the web situation.

If you are worried about interrupting a form, you could open the new form in a separate window (like most traditional VB apps would), then use client side scripting to trigger a refresh in the original form if needed. Some people seem to also be storing the (hidden form field) viewstate in a (server side) session variable for later use. I suppose you could store it in a table too :)

PS. Have you ever looked at XUL from the Mozilla project? Not what you looking for either (It also uses JS+DOM, but at a higher level of GUI abstraction), but it could be a platform on which to build your ideas. You could make your own SCGUIzed Mozilla based browser.

--
Chris Altmann
New why on the client?
If you are worried about interrupting a form, you could open the new form in a separate window (like most traditional VB apps would), then use client side scripting to trigger a refresh....

If you are going to depend on client-side scripting, which is often buggy, version-sensative, and inconsistent, then you might as well go with an applet-type approach. That would be better than JavaScript+DOM imo if it was not so bloated. JavaScript+DOM is a "medium client", not fat, but medium; plus it is a sloppy addon to the HTML model instead of built for GUI's up front.

Better to just byte the bullet and store the "state" or "UI image" on the server rather than the client IMO. It makes things conceptually far simpler.

PS. Have you ever looked at XUL from the Mozilla project?

I may have. It sounds familiar, but from a while ago. I have not been playing with SCGUI much lately.

B-to-B stuff just needs better, simpler HTTP-friendly GUI protocols. Nobody seems to want to directly solve this, living with kludgey hackey approaches instead and worrying about performance instead of programmer productivity, which is usually the more important thing for B-to-B. They assume everybody is ebay.

Thanx for the feedback, -T-
________________
oop.ismad.com
     Alternatives to Visual BASIC - (orion) - (29)
         For the mobile stuff: - (tuberculosis) - (22)
             They have just released VisualWorks 7 - (Arkadiy) - (1)
                 VisualWorks 7 - (Arkadiy)
             Hey, yeah--ezboard uses it why not us? :D - (tseliot) - (8)
                 A FORTRAN programmer can write FORTRAN code in any language - (tuberculosis) - (7)
                     Damn, that's pretty deep! - (wharris2) - (4)
                         About that second line, I have a couple of suggestions... - (CRConrad)
                         Re: Damn, that's pretty deep! - (neelk) - (1)
                             Partially disagree - (ben_tilly)
                         Left out the qualification - (tuberculosis)
                     Yep - (admin) - (1)
                         Likewise. - (static)
             New dev idiom - (deSitter)
             Avoid web-based - (tablizer) - (9)
                 Re: Avoid web-based - (deSitter)
                 okay now I am totally confused - (boxley) - (3)
                     What, character Lynx? -NT - (tablizer) - (2)
                         Yes. -NT - (pwhysall) - (1)
                             Fsck Lynx. Don't hold the other 99.9% hostage -NT - (tablizer)
                 I got your coordinates right here - (altmann) - (3)
                     re: I got your coordinates right here - (tablizer) - (2)
                         re: I got your coordinates right here - (altmann) - (1)
                             why on the client? - (tablizer)
         Uhm, take a wild guess at what I'm going to say... - (CRConrad)
         Delphi? - (gdaustin) - (2)
             Take another wild guess at what it was I said... :-) -NT - (CRConrad)
             Nahw, Delphi turns one into a cussing madman ;-) -NT - (tablizer)
         did you email or contact jake123? - (boxley) - (1)
             Not only that... - (jake123)

Put *that* in your pipe and smoke it!
124 ms