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

Welcome to IWETHEY!

New I realize...
I realize that it doesn't go as far as what you propose would be the ideal solution. I was just pointing out that there are attempts to do what you mention near the end of your previous post; put an more traditional event driven API and IDE on the back end of the "typical CGI-like "submit" approach". There are other similar frameworks for Java and mod_perl as well.

s/rot/stuff/

--
Chris Altmann
New question, and Master Image
(* There are other similar frameworks for Java and mod_perl as well. *)

Do you mean similar to .NET, or to my "ideal" solution?

The general solution, I have come to tenatively conclude, is to maintain the "master image" (MI) of the interface (widgets, forms, widget content, etc.) on the server. You don't write to the client directly, but to the MI, and then echo the MI to the client as needed. For regular CGI-like flow, you probably have to echo the entire MI to the client each time, since HTML forms were not originally designed to be incrementally altered. However, in a more GUI-friendly approach, you only echo the parts of the MI that changed back to the client.

Whether the MI is stored (on server) via XML, objects, linked lists, or tables is a secondary issue. (The advantage of tables over objects is that if you are using a load/unload paradigm, like CGI, then the table stays there between calls, but you would have to recreate the object web {including instances} if using OOP to store the MI. Perhaps Smalltalk can pull it off, but in other OOPL's it is a bit more difficult.)

Conceptually, it is a lot like the Cytrix/PC-Anywhere approach where the master image (bitmap) is on the server, except that the "primatives" are GUI widgets specs and *not* image pixels. This avoids having to send every cursor movement back and forth between the client and the server.

I have been giving these issues a lot of thot lately.
________________
oop.ismad.com
New Similar to .NET
I was thinking of Struts for Java, though it is not the exact same thing. I'm not sure what I had in mind for mod_perl.
--
Chris Altmann
     Flashback - (drewk) - (32)
         DOM is a lost cause - (tablizer) - (31)
             I disagree. - (static) - (2)
                 consistent bugs - (tablizer) - (1)
                     Haven't tried IE6. - (static)
             Perhaps you should read this: - (pwhysall) - (27)
                 event driven - (tablizer) - (26)
                     Quoting - (ChrisR) - (6)
                         WYSIWYG - (tablizer) - (5)
                             Use blockquote. - (pwhysall) - (4)
                                 still not WYSIWYG - (tablizer) - (3)
                                     Get over yourself - (pwhysall) - (2)
                                         whatever - (tablizer) - (1)
                                             Mistyped HTML... - (admin)
                     GUIs over HTTP. - (pwhysall) - (8)
                         Java applets == fat client (-nt) - (tablizer) - (7)
                             Er, no. - (pwhysall) - (6)
                                 Obese - (tablizer) - (5)
                                     Still wrong. - (pwhysall) - (1)
                                         You are missing the point. - (tablizer)
                                     I've got a better example. - (static) - (2)
                                         Exception to the rule - (tablizer) - (1)
                                             Huh? - (imric)
                     Re: event driven -> ASP.NET - (altmann) - (9)
                         Real GUI's or bust - (tablizer) - (8)
                             I realize... - (altmann) - (2)
                                 question, and Master Image - (tablizer) - (1)
                                     Similar to .NET - (altmann)
                             I find CGI approach wonderfully limiting - (tseliot) - (4)
                                 Agree for the most part... - (ChrisR)
                                 Spank-A-Matic ? - (tablizer) - (2)
                                     Sorry, I misunderstood. - (tseliot) - (1)
                                         The pudding is not even in alpha - (tablizer)

They're going to sue you.
62 ms