Page 5 of 5

Re: A true webOS?

Posted: Thu Sep 20, 2012 2:49 am
by bluemoon
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...)

Re: A true webOS?

Posted: Thu Sep 20, 2012 8:13 am
by Brendan
Hi,
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...)
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... ;)


Cheers,

Brendan

Re: A true webOS?

Posted: Mon Oct 15, 2012 7:07 pm
by turdus
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? :-D

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?

Posted: Mon Oct 15, 2012 8:30 pm
by ACcurrent
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!)

Re: A true webOS?

Posted: Tue Oct 16, 2012 3:15 pm
by turdus
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!)
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.