N
Next
Hi folks,
Years ago, it occurred to me that a lot of the trouble
of writing web browsers is caused by the upside-down
arrangement of things: Javascript code exists inside
a document, when really it should be the other way around.
And yet, although this seems fairly obvious to me,
having tried myself to write a web browser and given up,
I don't see a lot of movement by major web browser
projects in a direction that might TRULY fix the problem.
I do see a few slow-moving projects: HTML5 and Web Applications.
These are not hobby projects however, and it does seem
that "industry" always has and always will have a
preference for messy, bloated applications and poorly
conceived standards because these things keep people
buying new computers and justify companies' existences.
We as consumers and/or hobbyists however should seek
a better solution, and create it ourselves if necessary!
I would suggest to fix the original problem. Here is my GUIML idea:
GUIML would encode essentially the basic features of a
modern GUI widget system, with enhancements to support
fancier features like animated sprites that you see in some web pages.
But basically it would reverse the fundamental problem with browsers,
namely bad design caused by the code-in-document flaw
that has led to enormous bloat and which has effectively
made many perfectly usable computers obsolete,
because web browsing is a vital app.
I would welcome any support or criticism of this
idea but first take a look below at a sample GUIML web design.
My initial idea is to simply take a familiar GUI like Motif or Java's
GUI
and use that as inspiration.
And, to set things right I would completely remove from HTML
any ability to run Javascript. HTML itself need not even be
supported but could be replaced with any number of
document formats such as RTF or something SGML based.
Imagine the following webpage:
<GUIML>
<head>
<title> Test </title>
</head>
<code>
<!-- insert here javascript code for initialization, callbacks etc
-->
</code>
<design>
<MainWindow> <!-- widget that takes a menu, frame, and scrollbar(s)
-->
<PulldownMenu location=top preferredPointer="hand">
<Menu title=About code="javascript_about()">
</Menu>
<Menu title=Products>
<MenuItem code="javascript_callback1()"> First
</MenuItem>
</Menu>
</PulldownMenu>
<Frame name=main >
<Table width=100% height=100% rows=1 columns=3>
<tr>
<td><PushButton code="js_button_callback()" /> </td>
<td><Image code="js_img_callback()" /> </td>
<td><Document url="foo.html" /> </td>
</tr>
</Table>
</Frame>
<ScrollBar location=right type=vertical callback="js_callback2()" />
</MainWindow>
</design>
</GUIML>
Comments?
(e-mail address removed)
Years ago, it occurred to me that a lot of the trouble
of writing web browsers is caused by the upside-down
arrangement of things: Javascript code exists inside
a document, when really it should be the other way around.
And yet, although this seems fairly obvious to me,
having tried myself to write a web browser and given up,
I don't see a lot of movement by major web browser
projects in a direction that might TRULY fix the problem.
I do see a few slow-moving projects: HTML5 and Web Applications.
These are not hobby projects however, and it does seem
that "industry" always has and always will have a
preference for messy, bloated applications and poorly
conceived standards because these things keep people
buying new computers and justify companies' existences.
We as consumers and/or hobbyists however should seek
a better solution, and create it ourselves if necessary!
I would suggest to fix the original problem. Here is my GUIML idea:
GUIML would encode essentially the basic features of a
modern GUI widget system, with enhancements to support
fancier features like animated sprites that you see in some web pages.
But basically it would reverse the fundamental problem with browsers,
namely bad design caused by the code-in-document flaw
that has led to enormous bloat and which has effectively
made many perfectly usable computers obsolete,
because web browsing is a vital app.
I would welcome any support or criticism of this
idea but first take a look below at a sample GUIML web design.
My initial idea is to simply take a familiar GUI like Motif or Java's
GUI
and use that as inspiration.
And, to set things right I would completely remove from HTML
any ability to run Javascript. HTML itself need not even be
supported but could be replaced with any number of
document formats such as RTF or something SGML based.
Imagine the following webpage:
<GUIML>
<head>
<title> Test </title>
</head>
<code>
<!-- insert here javascript code for initialization, callbacks etc
-->
</code>
<design>
<MainWindow> <!-- widget that takes a menu, frame, and scrollbar(s)
-->
<PulldownMenu location=top preferredPointer="hand">
<Menu title=About code="javascript_about()">
</Menu>
<Menu title=Products>
<MenuItem code="javascript_callback1()"> First
</MenuItem>
</Menu>
</PulldownMenu>
<Frame name=main >
<Table width=100% height=100% rows=1 columns=3>
<tr>
<td><PushButton code="js_button_callback()" /> </td>
<td><Image code="js_img_callback()" /> </td>
<td><Document url="foo.html" /> </td>
</tr>
</Table>
</Frame>
<ScrollBar location=right type=vertical callback="js_callback2()" />
</MainWindow>
</design>
</GUIML>
Comments?
(e-mail address removed)