Garo Garabedyan- a private blog

Everything here is written and belongs to me except otherwise noted.

Posts Tagged ‘Web 2.0

New O.S. based on Mashups

with one comment

Mashups, a small applications which communicate between each other, are very powerful. XHTML is so standard and this enables mashups to communicate in a very high level of data integrity. Web is going to be a new Operating system which operates extremely powerful with abstract data.

WWW like an Operating System. SOA in the presentation level
On this post, I have expressed an idea of using JavaScript Script Tag Hack (as Douglas Crockford calls it here: http://javascript.crockford.com/script.html) as a transport pack of data. I have added some additional thoughts about applying SameOrigin Policy to SRC attributes of SCRIPT tags and proving a document space to them which is the only XHTML content they can read/write. (one XHTML content can be read/write by scripts, but this JSs can’t access space beyond their defined).

Now I have worked on this idea, and I upgraded it.

I will explain it by an example:
domain SomeDomain adds to its DOM tree:
<dynamicJavaScript src=”different domain main JS applicaiton file” onError=”SomeDomain JS function to handle the problem HTMLspace=”document.App1.Space” jsInterfaceToCommunicate=”SomeDomain JS class which tells serves some wishes loading app needs like accessing general JS functions (alert, confirm and so on), SomeDomain communication between apps on the platform and so on” id=”app1“>

dynamicJavaScript tag can has additional events like: onLoad, onExit

The JS code loaded in document.App1.Space will not be able to access different DOM space, neither reading something different, nor writing somewhere else.
Stopping execution of this kind of JS codes can be able so: app1.stop();

JS code loaded in dynamicJavaScript tag is free to execute XMLHttpRequest-s to its domain. It is free to use its HTML space (which is granted in the dynamicJavaScript tag parameter) as he wants to without any interruption. It is actually an HTML page running like in IFrame, but with the ability to connect with the rest system and this way exchange data, call functions and so through a secure line and when it is expressed it will happen only with the permission of the both sides of JS apps.

If any of this attributes is not set, it is treated as a sign of enabling open access. Behaving like nowadays mashups.

Written by garabedyan

March 31, 2008 at 11:11

Web 2.0 Looking Like an Operating System, Some Things that Ought to be Done

without comments

YouTube video naming cuttings( Case Study on YouTube’s Interface )

One of the things I like in Graphical Operating Systems is that they try to understand what are the user needs. If we look at this video list (on the left), I really can’t understand what are they about. Making Web 2.0 looking more powerful and a first competitor of the Operating Systems, it (Web 2.0) needs to present to the user with as much information as needed in an easy way. Imagine you mouse over the video link and see its all name, not the short version anymore. Isn’t it a great web interface-user interaction.

|

|

|


Scroll BarYou can see on the left a custom designed scroll bar for viewing video lists. (which control can be used for presenting even every big list)

While you explore a list of videos the page presents you the ability to click on “See all ** videos” link which opens you a new page containing the all videos from the viewed category, author or whatever.

The idea of this User Interface Control is to let user get as much items as he wants from the huge amount of items that exists on the server (or wherever). Of course at some moment you will get interested in the videos and viewing them this way in a small list will not satisfy you, so it is good to have down to the list a link which will drive you to a page which contains in general the video list (like now YouTube does) of course not from the begging but on place where you stopped using the list box.

The control doesn’t present the user with the ability to undo some adding or remove the last items from the loaded list.

Horizontal Scroll While watching a very long video (i.e. 52 min long) you will realize that the scroll bar of the video will get practically unusable. This custom scroll bar enables setting a step which helps you navigate around.

These two scroll bars are able to be combined in one universal scroll bar.

The controls are able to be implemented by JavaScript and Ajax.

It would be cool to comment a concrete scene from movie, not the all one. In such a way to search around long time movies.

I believe that the trend of Web 2.0 have to be making users keep everything about one topic in one page. There is no need of many tabs to do just one thing. People want to place everything about some their work on one page. In web developers’ prospective this will help them to understand a lot of things about the user and how he is using theirs page and about what. Just help him and/ or give him an ad.

Written by garabedyan

January 24, 2008 at 21:15

Posted in Uncategorized

Tagged with , , ,