<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: The battle for the Client-side</title>
	<atom:link href="http://9thprime.wordpress.com/2009/03/10/the-twip-client-side/feed/" rel="self" type="application/rss+xml" />
	<link>http://9thprime.wordpress.com/2009/03/10/the-twip-client-side/</link>
	<description>[ Starting up a blog ] or [ Blogging a start-up ]</description>
	<lastBuildDate>Fri, 11 Sep 2009 08:46:48 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jgabios</title>
		<link>http://9thprime.wordpress.com/2009/03/10/the-twip-client-side/#comment-47</link>
		<dc:creator>jgabios</dc:creator>
		<pubDate>Fri, 15 May 2009 12:36:51 +0000</pubDate>
		<guid isPermaLink="false">http://9thprime.wordpress.com/?p=108#comment-47</guid>
		<description>yes, js does not work directly with sockets [html5 has websocket notion, but that is the future]. but you can work well by pointing XHR web requests to your server , just make a serversocket listen on 80, and you can talk to a js app.
the communication will be done by these requests/responses and they are good enough in my opinion.
anyway, i am interested in what you are doing, maybe i will visit you for a java position - i hear you are hiring.</description>
		<content:encoded><![CDATA[<p>yes, js does not work directly with sockets [html5 has websocket notion, but that is the future]. but you can work well by pointing XHR web requests to your server , just make a serversocket listen on 80, and you can talk to a js app.<br />
the communication will be done by these requests/responses and they are good enough in my opinion.<br />
anyway, i am interested in what you are doing, maybe i will visit you for a java position &#8211; i hear you are hiring.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cristian</title>
		<link>http://9thprime.wordpress.com/2009/03/10/the-twip-client-side/#comment-46</link>
		<dc:creator>Cristian</dc:creator>
		<pubDate>Thu, 14 May 2009 23:12:42 +0000</pubDate>
		<guid isPermaLink="false">http://9thprime.wordpress.com/?p=108#comment-46</guid>
		<description>Hi jgabios,

There are indeed solutions to allow JavaScript to work with sockets. But not directly. Not by a JavaScript library. Since there are a great number of JavaScript programmers that like their way of doing things, Eclipse came with Jetty, Mozzila brought Rhino. 

Also, you can use a Flash script and integrate it with JavaScript, or you can use servlets too (since you already mentioned Jetty). 

JavaScript was first built as a validation language, to allow input controls checking. We believe that JS has still some performance hits, both regarding clientSide and serverSide. But hey, we haven&#039;t seen all of it.

We appreciate your feedback and also congrats for your JavaScript game. 


...  Just as a thought, we are looking for means to write collaborative apps in any language, although the serverSide will be completely written in Java. 
Our drawback is data model processing. For instance, we need to specify that the &#039;blur&#039; operation should be applied identical to applications written in different languages. This forces the JavaScript programmer, who wants to write a collaborative app, to write code that should be executed on the Java server (as the server stores a centralized version of the model) .</description>
		<content:encoded><![CDATA[<p>Hi jgabios,</p>
<p>There are indeed solutions to allow JavaScript to work with sockets. But not directly. Not by a JavaScript library. Since there are a great number of JavaScript programmers that like their way of doing things, Eclipse came with Jetty, Mozzila brought Rhino. </p>
<p>Also, you can use a Flash script and integrate it with JavaScript, or you can use servlets too (since you already mentioned Jetty). </p>
<p>JavaScript was first built as a validation language, to allow input controls checking. We believe that JS has still some performance hits, both regarding clientSide and serverSide. But hey, we haven&#8217;t seen all of it.</p>
<p>We appreciate your feedback and also congrats for your JavaScript game. </p>
<p>&#8230;  Just as a thought, we are looking for means to write collaborative apps in any language, although the serverSide will be completely written in Java.<br />
Our drawback is data model processing. For instance, we need to specify that the &#8216;blur&#8217; operation should be applied identical to applications written in different languages. This forces the JavaScript programmer, who wants to write a collaborative app, to write code that should be executed on the Java server (as the server stores a centralized version of the model) .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jgabios</title>
		<link>http://9thprime.wordpress.com/2009/03/10/the-twip-client-side/#comment-45</link>
		<dc:creator>jgabios</dc:creator>
		<pubDate>Thu, 14 May 2009 07:12:20 +0000</pubDate>
		<guid isPermaLink="false">http://9thprime.wordpress.com/?p=108#comment-45</guid>
		<description>Hi,
you sa here:
&quot;JavaScript can’t work with sockets. It can only work with (XML) requests.  JS can’t keep a connection open and wait for the server to send incoming messages from other users. Rather, the client must periodically send requests for updates and wait for the server to provide them.&quot;
let me tell you one thing: JS CAN keep a connection open and wait for the server to send incoming messages from other users.
check my game here: http://www.e-forum.ro:8080/dynagame/index which proves this point. the technical  explanation you will find on my blog here:
http://bash.editia.info/javascript-bomberman-javascript-multiplayer-24.php.
in short, i am using continuations from jetty, that frees my server app from having 1 thread per opened socket. and when an event on the server side appears the message is put on the response and returned to the waiting client browser, that fires a new request after getting the response.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
you sa here:<br />
&#8220;JavaScript can’t work with sockets. It can only work with (XML) requests.  JS can’t keep a connection open and wait for the server to send incoming messages from other users. Rather, the client must periodically send requests for updates and wait for the server to provide them.&#8221;<br />
let me tell you one thing: JS CAN keep a connection open and wait for the server to send incoming messages from other users.<br />
check my game here: <a href="http://www.e-forum.ro:8080/dynagame/index" rel="nofollow">http://www.e-forum.ro:8080/dynagame/index</a> which proves this point. the technical  explanation you will find on my blog here:<br />
<a href="http://bash.editia.info/javascript-bomberman-javascript-multiplayer-24.php" rel="nofollow">http://bash.editia.info/javascript-bomberman-javascript-multiplayer-24.php</a>.<br />
in short, i am using continuations from jetty, that frees my server app from having 1 thread per opened socket. and when an event on the server side appears the message is put on the response and returned to the waiting client browser, that fires a new request after getting the response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cristian - Nicanor</title>
		<link>http://9thprime.wordpress.com/2009/03/10/the-twip-client-side/#comment-41</link>
		<dc:creator>Cristian - Nicanor</dc:creator>
		<pubDate>Fri, 17 Apr 2009 11:32:52 +0000</pubDate>
		<guid isPermaLink="false">http://9thprime.wordpress.com/?p=108#comment-41</guid>
		<description>First of all I would implement the APIs for JAVA and then the ones for GWT. At last, but not least, I would implement the .net APIs.

But why would you need dot net if you have java? From my point of view, they are both cover the same goal except .net is micro$oft proprietary and java is open-source. What about a python API?

[quote]
… but there is a catch.
[/quote]
Unfortunately our (RIA developers) ideas are limited to these boxes called browsers... Or not?!
What about a new browser supporting javascript socket connections?</description>
		<content:encoded><![CDATA[<p>First of all I would implement the APIs for JAVA and then the ones for GWT. At last, but not least, I would implement the .net APIs.</p>
<p>But why would you need dot net if you have java? From my point of view, they are both cover the same goal except .net is micro$oft proprietary and java is open-source. What about a python API?</p>
<p>[quote]<br />
… but there is a catch.<br />
[/quote]<br />
Unfortunately our (RIA developers) ideas are limited to these boxes called browsers&#8230; Or not?!<br />
What about a new browser supporting javascript socket connections?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bogdan</title>
		<link>http://9thprime.wordpress.com/2009/03/10/the-twip-client-side/#comment-40</link>
		<dc:creator>Bogdan</dc:creator>
		<pubDate>Tue, 10 Mar 2009 23:10:45 +0000</pubDate>
		<guid isPermaLink="false">http://9thprime.wordpress.com/?p=108#comment-40</guid>
		<description>Don&#039;t worry, we won&#039;t just be developing a protocol and &lt;strong&gt;wait &lt;/strong&gt; for other people to develop their apps using it. We&#039;ll develop our own apps, but in designing the architecture of TWIP, we want to keep as many doors opens. The key to the success of TWIP is to view it not only as a service or product, but as a concept which could fit as many use cases as possible.

The point is to put almost no strain on third-party developers regarding the platform they should use or the serialization mechanism they prefer. Maybe some people like Dot Net more than Java, or binary more than XML. Who are we to say which one is overall better ? ;)</description>
		<content:encoded><![CDATA[<p>Don&#8217;t worry, we won&#8217;t just be developing a protocol and <strong>wait </strong> for other people to develop their apps using it. We&#8217;ll develop our own apps, but in designing the architecture of TWIP, we want to keep as many doors opens. The key to the success of TWIP is to view it not only as a service or product, but as a concept which could fit as many use cases as possible.</p>
<p>The point is to put almost no strain on third-party developers regarding the platform they should use or the serialization mechanism they prefer. Maybe some people like Dot Net more than Java, or binary more than XML. Who are we to say which one is overall better ? <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valentin</title>
		<link>http://9thprime.wordpress.com/2009/03/10/the-twip-client-side/#comment-39</link>
		<dc:creator>Valentin</dc:creator>
		<pubDate>Tue, 10 Mar 2009 18:20:23 +0000</pubDate>
		<guid isPermaLink="false">http://9thprime.wordpress.com/?p=108#comment-39</guid>
		<description>I think TWIP is getting more and more interesting as time passes by and as I read these blog posts.
Although, I think you will end up like Steve Balmer shouting for developers. :)</description>
		<content:encoded><![CDATA[<p>I think TWIP is getting more and more interesting as time passes by and as I read these blog posts.<br />
Although, I think you will end up like Steve Balmer shouting for developers. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
