My Own HTML
see the rss feed in CodeProject
Initially, I set off to write quite a big post about how I want my version of HTML to be, offering more simplicity and capability by having a few tags included in the already existing version. Then I realized, there is no need to write an elongated post, it is possible to succintly present what I want in HTML in a few words.
What I really want in html is making a provision for simple method of communicating between the server and the client without refreshing the page (like they do in ajax style programming). In my view, the current mechanizm of behind the scene request/update is not simple and elegant enough to make sense of the overall process with better readability. To achieve it, we would only need three simple attribute tags for an html element (such as a dropdown list box), postbehindscenetrigger, postbehindscenedata and postbehindsceneresponsehandler and this is how the three attributes can be laid out inside an html element tag:
<select id="dropdown1", onchange="onchangeDropdown1Trigger", postbehindscenetrigger="onchangeDropdown1Trigger", postbehindscenedata="getdataOnchangeDropdown1" postbehindsceneresponsehandler="handleOnchangeDropDown1Response"......>
Have I gone wrong somewhere here? Too simple a solution for the web gurus yet to implement? I don't know. I don't know also, why it took almost a decade to get a basic and necessary tag like IFrame to be integrated in (and compatable among) all browsers.
None the less, the ultimate objective of this post is the standardization of behind scene client server communication, so that when you switch from programmer to programmer, u don't have to see different codes to achieve the same purpose.. (for example, on change of a combo box, populate a field somewhere in the document) .. If you use the three functions that I mentioned, you would see a standard practice which would be easy to follow as a code reviewer.
Before coming up with negative suggestions againt this idea, I hope some thoughts would be given on favor of it.
signing off, mukit