<?xml version="1.0" encoding="iso-8859-1"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>MedWorm Tags: ajax</title>
        <description>MedWorm provides a medical RSS filtering service. Over 6000 RSS medical sources are combined and output via different filters. This feed contains the latest medical blog items that have been tagged with 'ajax'.</description>
        <link><![CDATA[http://www.medworm.com/rss/search.php?qu=%22ajax%22&t=%22ajax%22&r=Exact&o=d&f=tag]]></link>
        <lastBuildDate>Sat, 03 Sep 2011 02:58:41 +0100</lastBuildDate>
        <item>
            <title>PubMed searching: experiments in Javascript</title>
            <link>http://www.medworm.com/index.php?rid=4013415&amp;cid=t_128480_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2010%2F09%2F29%2Fpubmed-searching-experiments-in-javascript%2F</link>
            <description>Andrew asks:

&amp;#8230;anyone know of a tool that will take a pubmed query and plot the number of articles by year?

I figured that this was a good excuse to improve my lowly Javascript skills by building a toy web application.

First, video proof that I did get something to work, up to a point:




Next, some code. I created a Sinatra application, with the directory structure shown. It&amp;#8217;s fairly simple: one main file, app.rb, a &amp;#8220;spinner&amp;#8221; graphic to indicate loading operations, the jQuery and Highcharts Javascript libraries and one view, wrapped in a layout.


Sinatra pubmed application file tree



Next, the code in app.rb. It&amp;#8217;s about as simple as it gets:

require &amp;quot;rubygems&amp;quot;
require &amp;quot;sinatra&amp;quot;
require &amp;quot;haml&amp;quot;

get &amp;quot;/&amp;quot; do
 haml :i...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=4013415</comments>
            <pubDate>Wed, 29 Sep 2010 03:32:43 +0100</pubDate>
            <guid isPermaLink="false">4013415</guid>        </item>
        <item>
            <title>Fun with PHP &amp; Ajax</title>
            <link>http://www.medworm.com/index.php?rid=1312402&amp;cid=t_128480_134_f&amp;fid=35201&amp;url=http%3A%2F%2Fdesertwolfdesigns.com%2F2008%2F03%2F18%2Ffun-with-php-ajax%2F</link>
            <description>Well I have spent the last week working on a form for my works website, I decided to do it in PHP, but it has been a couple years since I had done any work in it, so spent a day getting back up to speed. I am savig the form info into a mySQL  database, then each month we will download it and import it into our intranet database. One problem with the form is that there can be a large number of entries depending on who is inputting their info. I did not want to hardcode a bunch of rows that would not be used, or not have enough rows. SO I dug around and found some Ajax libs that would let me do what I wanted&amp;#8230;except the first one would not let me do any validation against the created row. So I dug some more and found a great forms lib wForms and spent a couple days playing with it. Thi...</description>
            <author>Tao of DesertWolf</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1312402</comments>
            <pubDate>Wed, 19 Mar 2008 04:34:46 +0100</pubDate>
            <guid isPermaLink="false">1312402</guid>        </item>
        <item>
            <title>Web trends in science: javascript</title>
            <link>http://www.medworm.com/index.php?rid=1165295&amp;cid=t_128480_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2008%2F01%2F21%2Fweb-trends-in-science-javascript%2F</link>
            <description>When I first started out writing simple web pages circa 1995, JavaScript was frowned upon. It was a security risk, browser support was poor, people tended to switch it off, there were different versions and we were instructed that web page code should be compact, since most people had dialup connections.
Jump forward 10 years and a WWW without JavaScript is almost unthinkable, since it&amp;#8217;s a major component of AJAX, which powers all the Web 2.0 applications that we know and love. It&amp;#8217;s also used in Greasemonkey scripts, which have proved extremely useful to bioinformaticians and even merit academic publication.
Why am I musing on this topic? I&amp;#8217;m sitting here with Zoho Writer in one Firefox tab and my CiteULike references in another. I&amp;#8217;m thinking: surely with a little J...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1165295</comments>
            <pubDate>Mon, 21 Jan 2008 01:35:50 +0100</pubDate>
            <guid isPermaLink="false">1165295</guid>        </item>
        <item>
            <title>The Brain Maps API</title>
            <link>http://www.medworm.com/index.php?rid=726246&amp;cid=t_128480_122_f&amp;fid=34757&amp;url=http%3A%2F%2Fbraintechsci.blogspot.com%2F2007%2F07%2Fbrain-maps-api.html</link>
            <description>BrainMaps.org has recently implemented a new AJAX-enabled multiresolution image viewer.  Though a bit skimpy on functionality compared to the heavy-weight Flash viewers, it is snappy fast, uses very little memory, and in principle, allows for better integration with other HTML entities through DOM. An example is at http://brainmaps.org/ajax-viewer.php?datid=95&amp;sname=123What's more, the multiresolution viewer has been released as the Brain Maps API. The following is from the Brain Maps API page at http://brainmaps.org/index.php?p=brain-maps-api:&quot;The Brain Maps API lets you embed Brain Maps in your own web pages with JavaScript. Future versions will enable you to add overlays to brain maps (including markers and polylines) and display shadowed &quot;info windows&quot;. The Brain Maps API is a free ser...</description>
            <author>BrainTechSci</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=726246</comments>
            <pubDate>Wed, 11 Jul 2007 05:01:00 +0100</pubDate>
            <guid isPermaLink="false">726246</guid>        </item>
    </channel>
</rss>

