To push the hack even further, they introduced websocket, which is a hack over HTTP (they call it protocol upgrade).
(But the negative side is that manipulate binary data with java scripts is very painful...)
A true webOS?
Re: A true webOS?
Hi,
Cheers,
Brendan
Don't worry - I'm sure they'll add an "execute Java byte-code inside Javascript" hack to fix the problems with the previous hack (Javascript), that tried to fix problems with the hacks before it (server side scripting), that were introduced to work-around previous problems (hard to do dynamic pages); which existed because HTML was never designed for "web apps" in the first place...bluemoon wrote:To push the hack even further, they introduced websocket, which is a hack over HTTP (they call it protocol upgrade).
(But the negative side is that manipulate binary data with java scripts is very painful...)
Cheers,
Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
Re: A true webOS?
Hi guys, I think I've managed to create a true Web OS, that is
- pure 100% web tech (PHP on server side, Js+AJAX on client side)
- reproduces classic OS in it's structure
- has it's own file hierarchy standard
- has SysV init like module management with dependency checks
- abstracts it's internals in a common way (similar to common device driver interface)
- pushes KISS principle as far as possible, yet in it's simplicity and small size it's as powerful as any well-known framework
Is it something you would call a Web OS?
To start, you'll only need a single index.php (bootloader and the "kernel", or the "core" I like to call it, no more than 32k, very obfuscated to fit in). You can install "userspace" applications (that is, simply extract additional tgz files, JsTetris for example). If interested, here's the homepage with download links, and a step-by-step installation howto. (Excuse me, the site is very-very simple, and the documentation is far from being complete, but I hope it's enough).
Cheers
- pure 100% web tech (PHP on server side, Js+AJAX on client side)
- reproduces classic OS in it's structure
- has it's own file hierarchy standard
- has SysV init like module management with dependency checks
- abstracts it's internals in a common way (similar to common device driver interface)
- pushes KISS principle as far as possible, yet in it's simplicity and small size it's as powerful as any well-known framework
Is it something you would call a Web OS?
To start, you'll only need a single index.php (bootloader and the "kernel", or the "core" I like to call it, no more than 32k, very obfuscated to fit in). You can install "userspace" applications (that is, simply extract additional tgz files, JsTetris for example). If interested, here's the homepage with download links, and a step-by-step installation howto. (Excuse me, the site is very-very simple, and the documentation is far from being complete, but I hope it's enough).
Cheers
Re: A true webOS?
With today's Javascript infrastructure you probably would not need php. All we need is a small javascript engine (they exist here and there) atop a small unix kernel (JamesM's kernel might even do!)
Get back to work!
Github
Github
Re: A true webOS?
Think it again. How would js go to clients? You also need a webserver at a minimum. Surely you can serve static files with it, but that's quite boring and limited. If you want something useful, you'll also need some kind of server side logic that answers to js requests dynamically. Php is not a must for that, but you'll need something.ACcurrent wrote:With today's Javascript infrastructure you probably would not need php. All we need is a small javascript engine (they exist here and there) atop a small unix kernel (JamesM's kernel might even do!)