3 ms·
The entire browser's set of controls is written in C or C++ and is provided by underlying OS the browser runs on. On Windows it's RichEdit control. On Linux it'
by tx 19y ago
The entire browser's set of controls is written in C or C++ and is provided by underlying OS the browser runs on. On Windows it's RichEdit control. On Linux it's something else. There is no API in existence that lets you do anything outside of browser limitations.
JavaScript is only used to manipulate API of those controls, but not to implement controls themselves. This means that "Office" part of Google Docs is implemented by FireFox/IE/Safari, where google only provides storage for their output.
I blogged about this "web apps nonsense" a few days ago:
http://kontsevoy.blogspot.com/2008/02/web-vs-desktop-nonsense.html http://kontsevoy.blogspot.com/2008/02/web-vs-desktop-nonsens...
- cstejerean 19y agoEverything in the browser eventually comes down to C/C++. But as far as I can tell controls like the Yahoo UI Rich Text Editor are implemented in pure Javascript. And by this I mean it modifies the DOM in Javascript (and the browser handles rendering the updated DOM) as opposed to using browser magic (like an ActiveX control in IE). If I'm wrong, could someone please point me to documentation explaining exactly how these RTE's are implemented?