<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Spikes Of Nothingness - ajax tag</title>
  <link>http://weblog.flop.ca/tags/ajax/</link>
  <description>Florin T.PATRASCU&#039;s blog</description>
  <language>en</language>
  <copyright>Florin T.PATRASCU</copyright>
  <lastBuildDate>Sat, 12 May 2012 02:12:08 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>JPublish and reverse AJAX; new demo</title>
    <link>http://weblog.flop.ca/2007/08/23/1187927489437.html</link>
    
      
        <description>
          &lt;p&gt;  &lt;/p&gt;
For those of you interested in AJAX, especially in reverse AJAX ;) I&lt;br /&gt;
just committed to the SVN a very simple (and clean) JPublish demo&lt;br /&gt;
application demonstrating how to monitor a text file (log, news,&lt;br /&gt;
events, etc.) using reverse AJAX through the JPublishDWR module.&lt;br /&gt;
Obviously, you can easily tweak my code to monitor last n events from&lt;br /&gt;
a log file, or the newest transactions from a database, etc.&lt;br /&gt;
&lt;br /&gt;
Also, for the impatient, I archived the complete application so you&lt;br /&gt;
can run it in no time. You can download it from the Downloads page:&lt;br /&gt;
http://code.google.com/p/jpublish/downloads/list and is called:&lt;strong&gt;&lt;br /&gt;
&amp;nbsp; - &amp;nbsp; simpledwr.war.zip&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
After you download the demo just be sure that, somewhere in a path, you&lt;br /&gt;
have a text file that you can edit and update, then modify the&lt;br /&gt;
home page of the application &lt;strong&gt;(content/index.html)&lt;/strong&gt; and replace my path&lt;br /&gt;
with yours. See: &lt;font color=&#034;#333399&#034;&gt;FilePing.setFileName(&amp;quot;/Users/flop/news.txt&amp;quot;) ...&lt;/font&gt; and&lt;br /&gt;
replace &lt;strong&gt;/Users/flop/news.txt&lt;/strong&gt; with the full path to the file you want to&lt;br /&gt;
monitor in your new and shiny AJAX enabled JPublish web application :)&lt;br /&gt;
&lt;br /&gt;
Have fun!
        </description>
      
      
    
    
    
    <category>Java</category>
    
    <comments>http://weblog.flop.ca/2007/08/23/1187927489437.html#comments</comments>
    <guid isPermaLink="true">http://weblog.flop.ca/2007/08/23/1187927489437.html</guid>
    <pubDate>Fri, 24 Aug 2007 03:51:29 GMT</pubDate>
  </item>
  
  <item>
    <title>JMaki, JPublish ... what if?</title>
    <link>http://weblog.flop.ca/2007/06/05/1181091269398.html</link>
    
      
        <description>
          &lt;p&gt; These days I am trying to design an additional layer for using AJAX with JPublish. Now that &lt;a href=&#034;http://weblog.flop.ca/2007/04/28/1177793787559.html&#034;&gt;DWR works beautifully with JPublish&lt;/a&gt;, I would like to add some Ajax UI support to JPublish to be used in the Views, something like the old &lt;a href=&#034;http://ajaxtags.sourceforge.net/&#034;&gt;AjaxTags&lt;/a&gt;, not via any taglibs definitely, but a streamlined AJAX support for our Velocity or Freemarker templates. This is where Rails excels again :(&lt;br /&gt;
&lt;br /&gt;
I browsed again the web for finding some Ajax macros for Velocity or Freemarker (JPublish&#039;s favorite template managers) but nothing so far.&lt;br /&gt;
&lt;br /&gt;
And then I found something very cool: &lt;a href=&#034;https://ajax.dev.java.net/getstarted.html&#034;&gt;JMaki&lt;/a&gt;. There is a demo showing JMaki and DWR working together and I am almost convinced, but I&#039;ll have to write some more integration tests and only after that  I&#039;ll try to see how JMaki can be integrated with JPublish; I&#039;ll let you know how it goes.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re a &lt;a href=&#034;https://glassfish.dev.java.net/&#034;&gt;Glassfish&lt;/a&gt; user, then find some time to spend and play with JMaki; JMaki is very nice.&lt;/p&gt;
I&#039;ll keep you tuned.&lt;br /&gt;
-florin
        </description>
      
      
    
    
    
    <category>Java</category>
    
    <comments>http://weblog.flop.ca/2007/06/05/1181091269398.html#comments</comments>
    <guid isPermaLink="true">http://weblog.flop.ca/2007/06/05/1181091269398.html</guid>
    <pubDate>Wed, 06 Jun 2007 00:54:29 GMT</pubDate>
  </item>
  
  <item>
    <title>AJAX-DWR and TAG CLOUD code is now available in the new JPublish repository</title>
    <link>http://weblog.flop.ca/2007/05/19/1179627243661.html</link>
    
      
        <description>
          &lt;p&gt;  &lt;/p&gt;
After a couple of intense days of code cleaning, tweaking, testing and some more development (long week-end here in Canada), I committed the newest version of our &lt;a href=&#034;http://weblog.flop.ca/2007/04/28/1177793787559.html&#034;&gt;AJAX-DWR&lt;/a&gt; and the &lt;a href=&#034;http://weblog.flop.ca/2006/10/21/1161474590401.html&#034;&gt;TagCloud&lt;/a&gt; support for JPublish. You can grab the source from our &lt;a href=&#034;http://code.google.com/p/jpublish/&#034;&gt;new repository&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
I am also thinking to implement some Wiki support for our ViewRenderer, so you could for example use Wiki syntax through &lt;a href=&#034;http://www.radeox.org/space/start&#034;&gt;RADEOX&lt;/a&gt; for pages where you don&#039;t really need the template logic of Velocity or FreeMarker. My favorite Wiki syntax is Textile and Markdown, but I am only familiar with the RADEOX implementation for now. Anyway, one of these will be supported by JPublish, and should be relatively easy to implement, so stay tuned; JPublish just started to be more interesting :)&lt;br /&gt;
&lt;br /&gt;
Have a nice long week-end,&lt;br /&gt;
-florin&lt;br /&gt;
&lt;br /&gt;
PS&lt;br /&gt;
Hmm, I just found a Markdown implementation in Java, &lt;a href=&#034;http://markdownj.petebevin.com/&#034;&gt;MarkdownJ&lt;/a&gt; ... niceeeeee :)
        </description>
      
      
    
    
    
    <category>Java</category>
    
    <comments>http://weblog.flop.ca/2007/05/19/1179627243661.html#comments</comments>
    <guid isPermaLink="true">http://weblog.flop.ca/2007/05/19/1179627243661.html</guid>
    <pubDate>Sun, 20 May 2007 02:14:03 GMT</pubDate>
  </item>
  
  </channel>
</rss>

