<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:iweb="http://www.apple.com/iweb" version="2.0">
  <channel>
    <title>Work Blog</title>
    <link>file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Work_Blog.html</link>
    <description>Blogging about my work ...</description>
    <generator>iWeb 3.0.2</generator>
    <image>
      <url>file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Work_Blog_files/workblog.jpg</url>
      <title>Work Blog</title>
      <link>file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Work_Blog.html</link>
    </image>
    <item>
      <title>Ranked first for another search term &quot;dojo widget already registered ie8&quot; on Google</title>
      <link>file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Entries/2011/4/9_Ranked_first_for_another_search_term_%22dojo_widget_already_registred_ie8%22_on_Google.html</link>
      <guid isPermaLink="false">b4fc829b-450e-40d7-9f6a-5ae69a55e01b</guid>
      <pubDate>Sat, 9 Apr 2011 19:48:52 -0400</pubDate>
      <description>&lt;a href=&quot;file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Entries/2011/4/9_Ranked_first_for_another_search_term_%22dojo_widget_already_registred_ie8%22_on_Google_files/Screen%20shot%202011-04-09%20at%207.50.22%20PM.jpg&quot;&gt;&lt;img src=&quot;file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Media/object003_1.jpg&quot; style=&quot;float:left; padding-right:10px; padding-bottom:10px; width:365px; height:175px;&quot;/&gt;&lt;/a&gt;One of the page on this site is ranked first on google search.  This time, the search term is &lt;a href=&quot;http://www.google.com/search?q=dojo+widget+already+registered+ie8&quot;&gt;“dojo widget already registered ie8”&lt;/a&gt; vs “Java Swing Ajax” from last time.  The content of the &lt;a href=&quot;http://www.geraldchan.ca/en/Work_Blog/Entries/2008/7/10_Dojo_Toolkits_-_Widget_already_registered.html&quot;&gt;ranked page&lt;/a&gt; mention a particular issue about upgrading from Dojo 0.9 to above Dojo 1.1.1.  I guess people start upgrading if they are using Dojo Toolkit.  Especially since Dojo Toolkit just released version 1.6 which contain a lot of enhancement related to mobile application. &lt;br/&gt;&lt;br/&gt;There is one thing about this ranking that make me wanted to take a screen capture of it.  For the same search term, 2nd and 3rd place are stackoverflow.com.  Since stackoverflow is the geek heaven for asking questions, so for programming related issue, the site usually rank very high.  I do got a feeling that it might have to do with &lt;a href=&quot;http://googlewebmastercentral.blogspot.com/2010/04/using-site-speed-in-web-search-ranking.html&quot;&gt;Google started to use site speed as one of the parameter in web search ranking&lt;/a&gt;. However, that is one year ago already.  All the blog page on this site is static, so it usually load faster then site that do database access like stackoverflow.com.  Of course, it is all just speculation.&lt;br/&gt;&lt;br/&gt;The screen capture is posted below.</description>
      <enclosure url="file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Entries/2011/4/9_Ranked_first_for_another_search_term_%22dojo_widget_already_registred_ie8%22_on_Google_files/Screen%20shot%202011-04-09%20at%207.50.22%20PM.jpg" length="74759" type="image/jpeg"/>
    </item>
    <item>
      <title>UI Specialist</title>
      <link>file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Entries/2011/2/6_UI_Specialist.html</link>
      <guid isPermaLink="false">bdb59dc0-fba4-449e-ac93-0acf929785bc</guid>
      <pubDate>Sun, 6 Feb 2011 21:25:23 -0500</pubDate>
      <description>&lt;a href=&quot;file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Entries/2011/2/6_UI_Specialist_files/UIfinal.jpg&quot;&gt;&lt;img src=&quot;file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Media/object001_1.jpg&quot; style=&quot;float:left; padding-right:10px; padding-bottom:10px; width:365px; height:191px;&quot;/&gt;&lt;/a&gt;Starting a role as a UI Specialist.  It require the knowledge of Computer Science as well as some artistic sense.  So it means that mixing programming, use of colours, visual presentation and data structure skill all together in one job.  It is kind of an odd mix but also make a very interesting job.&lt;br/&gt;&lt;br/&gt;It also means that I have to speak and communicate to the user though visual artifacts and pictures.&lt;br/&gt;&lt;br/&gt;To think of it, there are lots of people on this planet who use pictures to communicate very day.&lt;br/&gt;It is because the language in question always uses pictorial glyphs.  That language is Chinese, my first language.  Every glyphs is a picture.  For example, the following glyphs is a square box with a line go through the middle.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;So ... what would be its meaning?  Well, it is simple, the glyphs actually means “middle”&lt;br/&gt;</description>
      <enclosure url="file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Entries/2011/2/6_UI_Specialist_files/UIfinal.jpg" length="22576" type="image/jpeg"/>
    </item>
    <item>
      <title>Ranked frist for the search term &quot;Java Swing Ajax&quot; on Google</title>
      <link>file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Entries/2009/11/12_Ranked_frist_for_the_search_term_%22Java_Swing_Ajax%22_on_Google.html</link>
      <guid isPermaLink="false">fd4c6cb7-f952-465c-9b1a-475ee9d61bf5</guid>
      <pubDate>Thu, 12 Nov 2009 22:35:48 -0500</pubDate>
      <description>&lt;a href=&quot;file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Entries/2009/11/12_Ranked_frist_for_the_search_term_%22Java_Swing_Ajax%22_on_Google_files/Google_Search_Restul_1.png&quot;&gt;&lt;img src=&quot;file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Media/object000_1.jpg&quot; style=&quot;float:left; padding-right:10px; padding-bottom:10px; width:364px; height:173px;&quot;/&gt;&lt;/a&gt;Ranking first for a google search term is something that I haven’t dream of.  I have heard a lot about SEO technique and people paying big dollars trying to get to the first page of google search result.  When I create the web site, I never thought of getting to the first page, let alone ranked first.  But when I started to discover that my site is ranking higher and higher on google search, I put more effort into it.  &lt;a href=&quot;../Swing_and_Ajax.html&quot;&gt;The page in question&lt;/a&gt; was ranked forth for a long time then up into ranking second for a while.  Now it is finally first.  I took some screen captures and posted the photo here, it is something to remember.  I include the screen capture of a search where the page ranked second as well.</description>
      <enclosure url="file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Entries/2009/11/12_Ranked_frist_for_the_search_term_%22Java_Swing_Ajax%22_on_Google_files/Google_Search_Restul_1.png" length="289706" type="image/png"/>
    </item>
    <item>
      <title>Ajax with Java Swing (JSON)</title>
      <link>file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Entries/2009/6/29_Ajax_with_Java_Swing_%28JSON%29.html</link>
      <guid isPermaLink="false">a20fbbd9-2bd3-4958-b950-3632bafaf6f7</guid>
      <pubDate>Mon, 29 Jun 2009 21:38:09 -0400</pubDate>
      <description>&lt;a href=&quot;file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Entries/2009/6/29_Ajax_with_Java_Swing_%28JSON%29_files/Swing_Ajax.jpg&quot;&gt;&lt;img src=&quot;file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Media/object002_1.jpg&quot; style=&quot;float:left; padding-right:10px; padding-bottom:10px; width:365px; height:191px;&quot;/&gt;&lt;/a&gt;From some of the web statistics that are available, there seems to be glowing interest in using AJAX in Java Swing applications.  That does make sense, given that AJAX is the popular terms nowadays and Java is entrenched in the Enterprise environment.  However, AJAX stands for Asynchronous JavaScript And XML, so there is really no Java in there.  But I guess what people mean when they talk about Ajax with Java Swing is for a Java Swing Application to read data from a server that is designed for use with AJAX application that is run by a browser.&lt;br/&gt;&lt;br/&gt;Then the most important aspect of the application is the Java method that read the data from the web server.  The following is such a method that read from a web server that supply data in one AJAX application’s data format JSON.  &lt;br/&gt;&lt;br/&gt;First the list of class being used in the method.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Note the last 3 items on the list, the classes are open source JSON parsing classes that were obtained from &lt;a href=&quot;http://www.json.org/&quot;&gt;json.org&lt;/a&gt;. (For the usage of the JSON classes from json.org, please visit &lt;a href=&quot;http://www.json.org/java/&quot;&gt;json.org/java&lt;/a&gt; for documentation.)&lt;br/&gt;&lt;br/&gt;Here is the content of the method.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;When the line “JSONObject obj = new JSONObject(tokener);” is reached and executed successfully, a JSON Java object is ready to be use.  The JSON Java object would get returned to the caller.  All the work that needed to be done from then on would depends on the application and the data returned from the server.  For example, if the data contain a field called “displayName” then it can be retrieved from the Java Object “obj” and be displayed on the Java Swing Application.  Of course there are much more usage of the data, but that would depends on what the server returns. &lt;br/&gt;</description>
      <enclosure url="file://localhost/Users/gerald/iWebOut/geraldchan.ca/web/en/Work_Blog/Entries/2009/6/29_Ajax_with_Java_Swing_%28JSON%29_files/Swing_Ajax.jpg" length="18218" type="image/jpeg"/>
    </item>
  </channel>
</rss>
