A true webOS?

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: A true webOS?

Post 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...)
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: A true webOS?

Post 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
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.
User avatar
turdus
Member
Member
Posts: 496
Joined: Tue Feb 08, 2011 1:58 pm

Re: A true webOS?

Post 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
ACcurrent
Member
Member
Posts: 125
Joined: Thu Aug 11, 2011 12:04 am
Location: Watching You

Re: A true webOS?

Post 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!)
Get back to work!
Github
User avatar
turdus
Member
Member
Posts: 496
Joined: Tue Feb 08, 2011 1:58 pm

Re: A true webOS?

Post 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.
Post Reply