<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Movial Released the code to their JavaScript D-Bus Bridge</title>
	<atom:link href="http://www.j5live.com/2008/11/12/movial-released-the-code-to-their-javascript-d-bus-bridge/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.j5live.com/2008/11/12/movial-released-the-code-to-their-javascript-d-bus-bridge/</link>
	<description>Where the urethane hits the pavement</description>
	<lastBuildDate>Mon, 10 Oct 2011 13:34:18 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: J5</title>
		<link>http://www.j5live.com/2008/11/12/movial-released-the-code-to-their-javascript-d-bus-bridge/comment-page-1/#comment-19734</link>
		<dc:creator>J5</dc:creator>
		<pubDate>Tue, 18 Nov 2008 22:41:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/2008/11/12/movial-released-the-code-to-their-javascript-d-bus-bridge/#comment-19734</guid>
		<description>Remote and local in the browser can be thought of as the same thing except for security implications.  If you install an app locally you have implicitly granted it access to anything on your desktop.  You however do not want a remote app with those privileges since it is too easy to run a remote app that might be harmful but in essence they could be the same exact application (note that in order for an app to be local in a browser it has to be installed into the browser - files served up by the filesystem are still considered remote).  So by enabling D-Bus for remote apps you allow them to set up service or read certain restricted data from the machine.  This requires a well thought out security model but would also be extremely useful in melding the desktop and the web.

Why would you want to pipe D-Bus through HTTP?  Having developed the cups print backed for GTK+ I can say I am done with any protocol that uses HTTP as a transport layer.  It is mainly used to transparently punch holes through firewalls which isn&#039;t a terribly convincing argument as those firewall rules are there for a reason.</description>
		<content:encoded><![CDATA[<p>Remote and local in the browser can be thought of as the same thing except for security implications.  If you install an app locally you have implicitly granted it access to anything on your desktop.  You however do not want a remote app with those privileges since it is too easy to run a remote app that might be harmful but in essence they could be the same exact application (note that in order for an app to be local in a browser it has to be installed into the browser &#8211; files served up by the filesystem are still considered remote).  So by enabling D-Bus for remote apps you allow them to set up service or read certain restricted data from the machine.  This requires a well thought out security model but would also be extremely useful in melding the desktop and the web.</p>
<p>Why would you want to pipe D-Bus through HTTP?  Having developed the cups print backed for GTK+ I can say I am done with any protocol that uses HTTP as a transport layer.  It is mainly used to transparently punch holes through firewalls which isn&#8217;t a terribly convincing argument as those firewall rules are there for a reason.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rektide</title>
		<link>http://www.j5live.com/2008/11/12/movial-released-the-code-to-their-javascript-d-bus-bridge/comment-page-1/#comment-19733</link>
		<dc:creator>rektide</dc:creator>
		<pubDate>Tue, 18 Nov 2008 21:14:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/2008/11/12/movial-released-the-code-to-their-javascript-d-bus-bridge/#comment-19733</guid>
		<description>As per my comments on your previous post on this topic [ http://www.j5live.com/2008/09/30/apparently-gnome-mobile-has-a-d-busbrowser-bridge/ ] I&#039;m glad there&#039;s finally source.

What do you mean by &quot;the remote part&quot;?  Letting the server do something D-Bus-y?

My own work was more focused on using HTTP as a DBus transport; perhaps I will dust it off again.  Given that I was thinking of such drastically different use cases, I&#039;ll be very interested ot see what people cook up with this solution.</description>
		<content:encoded><![CDATA[<p>As per my comments on your previous post on this topic [ <a href="http://www.j5live.com/2008/09/30/apparently-gnome-mobile-has-a-d-busbrowser-bridge/" rel="nofollow">http://www.j5live.com/2008/09/30/apparently-gnome-mobile-has-a-d-busbrowser-bridge/</a> ] I&#8217;m glad there&#8217;s finally source.</p>
<p>What do you mean by &#8220;the remote part&#8221;?  Letting the server do something D-Bus-y?</p>
<p>My own work was more focused on using HTTP as a DBus transport; perhaps I will dust it off again.  Given that I was thinking of such drastically different use cases, I&#8217;ll be very interested ot see what people cook up with this solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J5</title>
		<link>http://www.j5live.com/2008/11/12/movial-released-the-code-to-their-javascript-d-bus-bridge/comment-page-1/#comment-19730</link>
		<dc:creator>J5</dc:creator>
		<pubDate>Fri, 14 Nov 2008 08:33:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/2008/11/12/movial-released-the-code-to-their-javascript-d-bus-bridge/#comment-19730</guid>
		<description>Hi Kalle,

Let me address both issues briefly:

1. by crafting API that is meant to be web accessible it would mean a traditional desktop developer could integrate a thick app more readily with online content blurring the lines between the web and the desktop.  Think of it as plugins without the plugin running in the browser.  This would have to require security profiles like we have for the system bus.  For example by giving access to the notification daemon for a certain trusted site, lets say google mail, it could send notifications that mail has been received or someone it trying to im you.  Right now if someone im&#039;s me I only see it when I go to the browser window running g-mail which I tend to keep open  but hidden all day.

2) Services pop on and off the bus all the time.  Autostarting them isn&#039;t really helpful here but if D-Bus API were available on a certain site, I might want to integrate.  It is like XMLRPC except with notification when a service is currently being browsed and using an API that a lot of desktop users are familiar with.  Look at flicker uploads in F-Spot - that is all done using web transports but what if we had D-Bus service and a standard interface for uploading to image sites?  If I were browsing an image site, an app might keep track of URL&#039;s it saw implementing that interface and automatically be able to utilize it.

Again a lot of this stuff could be done with current technologies (much like you could do the same things with Corba or DCOP on the desktop) but D-Bus lowers the bar to entry so that creating interactive rich experiences between the web and the client becomes the norm, not the exception.  Security does have to be thought about of course which is why I was originally worried about the D-Bus bridge since no one had seemed to talk about the design on the D-Bus list.  Seeing that it is a tool for creating local apps alleviates those worries but then also makes the bridge much less useful since I can do similar things with or without a browser using the GLib JavaScript bindings.  It is pretty cool though and something to make creating integrated desktop/mobile apps by traditional web programmers.  I guess I&#039;m more looking for something the other way around - how to bring traditional desktop programmers to integrating with the web.</description>
		<content:encoded><![CDATA[<p>Hi Kalle,</p>
<p>Let me address both issues briefly:</p>
<p>1. by crafting API that is meant to be web accessible it would mean a traditional desktop developer could integrate a thick app more readily with online content blurring the lines between the web and the desktop.  Think of it as plugins without the plugin running in the browser.  This would have to require security profiles like we have for the system bus.  For example by giving access to the notification daemon for a certain trusted site, lets say google mail, it could send notifications that mail has been received or someone it trying to im you.  Right now if someone im&#8217;s me I only see it when I go to the browser window running g-mail which I tend to keep open  but hidden all day.</p>
<p>2) Services pop on and off the bus all the time.  Autostarting them isn&#8217;t really helpful here but if D-Bus API were available on a certain site, I might want to integrate.  It is like XMLRPC except with notification when a service is currently being browsed and using an API that a lot of desktop users are familiar with.  Look at flicker uploads in F-Spot &#8211; that is all done using web transports but what if we had D-Bus service and a standard interface for uploading to image sites?  If I were browsing an image site, an app might keep track of URL&#8217;s it saw implementing that interface and automatically be able to utilize it.</p>
<p>Again a lot of this stuff could be done with current technologies (much like you could do the same things with Corba or DCOP on the desktop) but D-Bus lowers the bar to entry so that creating interactive rich experiences between the web and the client becomes the norm, not the exception.  Security does have to be thought about of course which is why I was originally worried about the D-Bus bridge since no one had seemed to talk about the design on the D-Bus list.  Seeing that it is a tool for creating local apps alleviates those worries but then also makes the bridge much less useful since I can do similar things with or without a browser using the GLib JavaScript bindings.  It is pretty cool though and something to make creating integrated desktop/mobile apps by traditional web programmers.  I guess I&#8217;m more looking for something the other way around &#8211; how to bring traditional desktop programmers to integrating with the web.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalle Vahlman</title>
		<link>http://www.j5live.com/2008/11/12/movial-released-the-code-to-their-javascript-d-bus-bridge/comment-page-1/#comment-19729</link>
		<dc:creator>Kalle Vahlman</dc:creator>
		<pubDate>Fri, 14 Nov 2008 07:30:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/2008/11/12/movial-released-the-code-to-their-javascript-d-bus-bridge/#comment-19729</guid>
		<description>Since you brought them up, I&#039;d like to hear if your thoughts about the following:

1. Remote site access to DBus

Given the current abundance of malicious code trying to poke through the browser as is, giving *more* opportunities to trash around doesn&#039;t seem attractive. How could you trust the other end? Sertificate-based security is not working for the general case, and authenticating the user doesn&#039;t help trusting the remote end. The vision of UI loaded from operator site is naturally in the picture, but that&#039;s more per-use-case I think...

2. Creating services through the Bridge

I&#039;m having a hard time coming up with a compelling use-case for this (that&#039;s why it&#039;s not high on the TODO list...). The lifetime of a JS context in a browser page is fickle at best, you don&#039;t really want to have a service bouncing on and off (not to mention that autostarting it would be rather interesting). Most use-cases that we have come up with can easily be done with what support there is now. But if you really want to write a service with JS, I think things like Seed and GJS are a better way to do that.</description>
		<content:encoded><![CDATA[<p>Since you brought them up, I&#8217;d like to hear if your thoughts about the following:</p>
<p>1. Remote site access to DBus</p>
<p>Given the current abundance of malicious code trying to poke through the browser as is, giving *more* opportunities to trash around doesn&#8217;t seem attractive. How could you trust the other end? Sertificate-based security is not working for the general case, and authenticating the user doesn&#8217;t help trusting the remote end. The vision of UI loaded from operator site is naturally in the picture, but that&#8217;s more per-use-case I think&#8230;</p>
<p>2. Creating services through the Bridge</p>
<p>I&#8217;m having a hard time coming up with a compelling use-case for this (that&#8217;s why it&#8217;s not high on the TODO list&#8230;). The lifetime of a JS context in a browser page is fickle at best, you don&#8217;t really want to have a service bouncing on and off (not to mention that autostarting it would be rather interesting). Most use-cases that we have come up with can easily be done with what support there is now. But if you really want to write a service with JS, I think things like Seed and GJS are a better way to do that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.j5live.com/2008/11/12/movial-released-the-code-to-their-javascript-d-bus-bridge/comment-page-1/#comment-19728</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Wed, 12 Nov 2008 21:22:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/2008/11/12/movial-released-the-code-to-their-javascript-d-bus-bridge/#comment-19728</guid>
		<description>A while ago I started a similar project. Unfortunately, I was never able to take it anywhere.

The code is available here if anyone is interested:
http://github.com/FireRabbit/mozjs-dbus/wikis</description>
		<content:encoded><![CDATA[<p>A while ago I started a similar project. Unfortunately, I was never able to take it anywhere.</p>
<p>The code is available here if anyone is interested:<br />
<a href="http://github.com/FireRabbit/mozjs-dbus/wikis" rel="nofollow">http://github.com/FireRabbit/mozjs-dbus/wikis</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

