OmniWeb 2.0 comments.
Michael Gersten
michael at stb.info.com
Tue Jun 13 12:04:00 PDT 1995
>Objects. Real Objects.
Please, make it distributed objects.
And how about being able to dynamically code code for unknown tags.
You mentioned the API might be hard. Well, how about a quickie -- something like
At unknown tag, call the handler.
Input:
The window being displayed into (or the OWText, or whatever)
The current position
Indicator if this is while loading, or after loading
Return can either be "Call back after finished loading (for downloading pictures, example)"
Or "Ok, I'm done"
You also want some way to return the future position to continue displaying at.
You'd also want some way to handle re-display. So if drawSelf:: were called, you'd want to have a
drawSelf:: in the loaded bundle as well.
Aha!. Include a tag # in the initial setup call. Have a drawExtra:tag:r1:r2 call (the r1 and r2 come
from drawSelf::).
Then, the drawExtra::: can do something to advance the display at pointer.
And, if the initial call returns "Ok", you can immediately call drawExtra::: to display it.
Finally, you'd want a call for tag end -- when the </newtag> is seen.
Now, just figure out a way to deal with anchor tags with unknown protocols, and unknown modifies
to known protocols. (The really hard stuff :-)
(so what would you do with distributed obejcts? I dunno. Someone else can figure that out.)
Michael
--
Michael Gersten michael at stb.info.com Without Prejudice, UCC 1-207
NeXT Registered Developer (NeRD) # 3860 -- Hire me! (Ready _NOW_)
*** Wanted: People who are willing to work on passing an initiative in
California to allow independent yes-or-no voting on each candidate for
president, seperately; to replace the current vote-yes-on-one, and-no-
on-all-the-others scheme. Lets end the two party system.
More information about the OmniWeb-l
mailing list