<?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: Fybit Riatrax4Js: Program YUI in Java</title>
	<atom:link href="http://www.yuiblog.com/blog/index.php/2010/02/02/fybit-riatrax4js/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yuiblog.com/blog/2010/02/02/fybit-riatrax4js/</link>
	<description>The official blog of the YUI Project.</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:46:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: YUI Theater — Adam Granicz: “Robust and Rapid Web Development with WebSharper” (57 min.) &#124; Sachin Handiekar</title>
		<link>http://www.yuiblog.com/blog/2010/02/02/fybit-riatrax4js/comment-page-1/#comment-594315</link>
		<dc:creator>YUI Theater — Adam Granicz: “Robust and Rapid Web Development with WebSharper” (57 min.) &#124; Sachin Handiekar</dc:creator>
		<pubDate>Wed, 15 Sep 2010 16:26:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.yuiblog.com/blog/?p=1145#comment-594315</guid>
		<description>[...] typed, fast, tightly integrated development experience with deployment to rich web applications. As Fybit&#8217;s Riatrax4JS and yui4java do for Java developers, WebSharper brings the power of YUI 2 to F# developers, making [...]</description>
		<content:encoded><![CDATA[<p>[...] typed, fast, tightly integrated development experience with deployment to rich web applications. As Fybit&#8217;s Riatrax4JS and yui4java do for Java developers, WebSharper brings the power of YUI 2 to F# developers, making [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erol</title>
		<link>http://www.yuiblog.com/blog/2010/02/02/fybit-riatrax4js/comment-page-1/#comment-590915</link>
		<dc:creator>Erol</dc:creator>
		<pubDate>Sun, 25 Apr 2010 16:34:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.yuiblog.com/blog/?p=1145#comment-590915</guid>
		<description>Thanks Gurin for the post. We did have a look at your project and we think  it is indeed very interesting. In fact, we also had a look at the  
java2script compiler when starting with our product and then decided on a different design because of the points listed below.

Fybit is using a custom Bytecode-to-JavaScript analyzer/compiler. Here are some of the differences to java2script:

- Fybit apps can use one source base for both client and server parts. The compiler transparently inserts remoting code between browser and web server. This is really useful for browsing in the IDE, automated refactoring etc.

- Fybit focuses on overall performance of the generated JavaScript application: For example, all required code (including native libraries) are merged into a single, minified JavaScript file.

- Fybit does a static analysis to eliminate most of the overhead of the Java runtime (class loading, initialization etc). For that to be effective, we impose limits on what you can do with reflection.

- Fybit translates bytecode. This means: (1) You can use libraries where you don&#039;t have the source code or where you don&#039;t want to integrate the  
source code into the build process. (2) You can use whatever toolchain you desire and then run the final package through the compiler (3) The analysis and compilation is relatively fast because bytecode is a binary format.

- We were able to easily add debug mode.

Regards,
Erol</description>
		<content:encoded><![CDATA[<p>Thanks Gurin for the post. We did have a look at your project and we think  it is indeed very interesting. In fact, we also had a look at the<br />
java2script compiler when starting with our product and then decided on a different design because of the points listed below.</p>
<p>Fybit is using a custom Bytecode-to-JavaScript analyzer/compiler. Here are some of the differences to java2script:</p>
<p>- Fybit apps can use one source base for both client and server parts. The compiler transparently inserts remoting code between browser and web server. This is really useful for browsing in the IDE, automated refactoring etc.</p>
<p>- Fybit focuses on overall performance of the generated JavaScript application: For example, all required code (including native libraries) are merged into a single, minified JavaScript file.</p>
<p>- Fybit does a static analysis to eliminate most of the overhead of the Java runtime (class loading, initialization etc). For that to be effective, we impose limits on what you can do with reflection.</p>
<p>- Fybit translates bytecode. This means: (1) You can use libraries where you don&#8217;t have the source code or where you don&#8217;t want to integrate the<br />
source code into the build process. (2) You can use whatever toolchain you desire and then run the final package through the compiler (3) The analysis and compilation is relatively fast because bytecode is a binary format.</p>
<p>- We were able to easily add debug mode.</p>
<p>Regards,<br />
Erol</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastián Gurin</title>
		<link>http://www.yuiblog.com/blog/2010/02/02/fybit-riatrax4js/comment-page-1/#comment-590886</link>
		<dc:creator>Sebastián Gurin</dc:creator>
		<pubDate>Sat, 24 Apr 2010 23:05:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.yuiblog.com/blog/?p=1145#comment-590886</guid>
		<description>Hi. This project is very similar to my project yui4java.sourceforge.net that contains a YUI 2 java api for the java2script.sourceforge.net java to javascript compiler (an eclipse plugin), a project in which i&#039;m also involved. I think both projects share similar characteristics, I wonder, which java to javascript compiler riatrax4js use?

for a yui demo in 100% writen in java with many examples and java source code available, check http://yui4java.sourceforge.net/yui/org.sgx.j2s.yui.test.yuidemo.Main.html</description>
		<content:encoded><![CDATA[<p>Hi. This project is very similar to my project yui4java.sourceforge.net that contains a YUI 2 java api for the java2script.sourceforge.net java to javascript compiler (an eclipse plugin), a project in which i&#8217;m also involved. I think both projects share similar characteristics, I wonder, which java to javascript compiler riatrax4js use?</p>
<p>for a yui demo in 100% writen in java with many examples and java source code available, check <a href="http://yui4java.sourceforge.net/yui/org.sgx.j2s.yui.test.yuidemo.Main.html" rel="nofollow">http://yui4java.sourceforge.net/yui/org.sgx.j2s.yui.test.yuidemo.Main.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: YUI Theater &#8212; Adam Granicz: &#8220;Robust and Rapid Web Development with WebSharper&#8221; (57 min.) &#187; Yahoo! User Interface Blog (YUIBlog)</title>
		<link>http://www.yuiblog.com/blog/2010/02/02/fybit-riatrax4js/comment-page-1/#comment-590856</link>
		<dc:creator>YUI Theater &#8212; Adam Granicz: &#8220;Robust and Rapid Web Development with WebSharper&#8221; (57 min.) &#187; Yahoo! User Interface Blog (YUIBlog)</dc:creator>
		<pubDate>Sat, 24 Apr 2010 04:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.yuiblog.com/blog/?p=1145#comment-590856</guid>
		<description>[...] typed, fast, tightly integrated development experience with deployment to rich web applications. As Fybit&#8217;s Riatrax4JS and yui4java do for Java developers, WebSharper brings the power of YUI 2 to F# developers, making [...]</description>
		<content:encoded><![CDATA[<p>[...] typed, fast, tightly integrated development experience with deployment to rich web applications. As Fybit&#8217;s Riatrax4JS and yui4java do for Java developers, WebSharper brings the power of YUI 2 to F# developers, making [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yui4java: A New Java-to-JavaScript Translator Using YUI 2 &#187; Yahoo! User Interface Blog (YUIBlog)</title>
		<link>http://www.yuiblog.com/blog/2010/02/02/fybit-riatrax4js/comment-page-1/#comment-590500</link>
		<dc:creator>yui4java: A New Java-to-JavaScript Translator Using YUI 2 &#187; Yahoo! User Interface Blog (YUIBlog)</dc:creator>
		<pubDate>Tue, 13 Apr 2010 20:28:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.yuiblog.com/blog/?p=1145#comment-590500</guid>
		<description>[...] inviting the community to take a look at his new yui4java project. The project, somewhat like Fybit&#8217;s Riatrax4JS, allows you to write web applications in Java with JavaScript (leveraging YUI 2&#8217;s component [...]</description>
		<content:encoded><![CDATA[<p>[...] inviting the community to take a look at his new yui4java project. The project, somewhat like Fybit&#8217;s Riatrax4JS, allows you to write web applications in Java with JavaScript (leveraging YUI 2&#8217;s component [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erol</title>
		<link>http://www.yuiblog.com/blog/2010/02/02/fybit-riatrax4js/comment-page-1/#comment-588023</link>
		<dc:creator>Erol</dc:creator>
		<pubDate>Wed, 03 Feb 2010 19:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.yuiblog.com/blog/?p=1145#comment-588023</guid>
		<description>Good point! It is always difficult to answer questions regarding speed or performance since it depends on your system (hardware, OS, processes running, etc). But to give you an idea: the publication manager we implemented compiles 200 Java classes to 10’000 lines of JavaScript (62’000 if you count the lines from YUI) in 4 seconds on my 3 year old laptop. I think that is quite fast. Don’t forget that you will never have to compile all your code to JavaScript, but only the part you need in the browser.

Regarding your second question: Yes, you have to know Java (obviously) and to some extent YUI. For example YUI’s principle of passing configuration arguments to a widget during creation. However, YUI is extremely well documented – and the documentation is &lt;a href=&quot;http://www.fybit.com/products/riatrax4js/documentation/&quot; title=&quot;Riatrax4Js Javadoc&quot; rel=&quot;nofollow&quot;&gt;available as Javadoc&lt;/a&gt; for the YUI Java classes we provide. Moreover, there are many YUI examples that you can learn from quickly.

I recommend looking at the &lt;a href=&quot;http://www.fybit.com/demo/&quot; title=&quot;Fybit Showcase&quot; rel=&quot;nofollow&quot;&gt;Fybit Showcase&lt;/a&gt; where you can view the code directly in the demo. It’s also a good idea to use the example project as a starting point when you begin to program.</description>
		<content:encoded><![CDATA[<p>Good point! It is always difficult to answer questions regarding speed or performance since it depends on your system (hardware, OS, processes running, etc). But to give you an idea: the publication manager we implemented compiles 200 Java classes to 10’000 lines of JavaScript (62’000 if you count the lines from YUI) in 4 seconds on my 3 year old laptop. I think that is quite fast. Don’t forget that you will never have to compile all your code to JavaScript, but only the part you need in the browser.</p>
<p>Regarding your second question: Yes, you have to know Java (obviously) and to some extent YUI. For example YUI’s principle of passing configuration arguments to a widget during creation. However, YUI is extremely well documented – and the documentation is <a href="http://www.fybit.com/products/riatrax4js/documentation/" title="Riatrax4Js Javadoc" rel="nofollow">available as Javadoc</a> for the YUI Java classes we provide. Moreover, there are many YUI examples that you can learn from quickly.</p>
<p>I recommend looking at the <a href="http://www.fybit.com/demo/" title="Fybit Showcase" rel="nofollow">Fybit Showcase</a> where you can view the code directly in the demo. It’s also a good idea to use the example project as a starting point when you begin to program.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: janwen</title>
		<link>http://www.yuiblog.com/blog/2010/02/02/fybit-riatrax4js/comment-page-1/#comment-588016</link>
		<dc:creator>janwen</dc:creator>
		<pubDate>Wed, 03 Feb 2010 09:13:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.yuiblog.com/blog/?p=1145#comment-588016</guid>
		<description>how about Riatrax4Js&#039;s speed?
in my option,translate the java code into the js file,it my cost a lot both the cpu or time!especially in a larger project!
and i think when using Riatrax4Js,the developer need to be familiar with java and YUI because if a developer do not know the yui widget or utilities,who can not understand what happened in the application such as if you know the Ajax and you can not know how write the server side code between the back and front!
anyway,i&#039;ll try it to sure my assumption!</description>
		<content:encoded><![CDATA[<p>how about Riatrax4Js&#8217;s speed?<br />
in my option,translate the java code into the js file,it my cost a lot both the cpu or time!especially in a larger project!<br />
and i think when using Riatrax4Js,the developer need to be familiar with java and YUI because if a developer do not know the yui widget or utilities,who can not understand what happened in the application such as if you know the Ajax and you can not know how write the server side code between the back and front!<br />
anyway,i&#8217;ll try it to sure my assumption!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

