<?xml version="1.0" encoding="UTF-8"?>

<rss version='2.0' 
     xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
     xmlns:doap="http://usefulinc.com/ns/doap#"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

    <channel>
        <!-- This XML Feed shows details for the page Nitro 
             and everything recently tagged Nitro -->
        <creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/
          </creativeCommons:license>
        <title>Nitro on SWiK</title>
        <doap:name>Nitro</doap:name>
        <doap:description>&lt;p&gt;Nitro is a framework for developing web applications using &lt;a class="wikilink" href="http://swik.net/Ruby"&gt;Ruby&lt;/a&gt; and &lt;a class="wikilink" href="http://swik.net/Javascript"&gt;Javascript&lt;/a&gt;.&lt;/p&gt;
</doap:description>
        <description>Nitro is a framework for developing web applications using Ruby and Javascript.
</description> 
	  <!-- see doap:description for full description -->
        <link>http://swik.net/Nitro</link>
        <doap:homepage>http://www.nitroproject.org/</doap:homepage>
                <category>nitro</category>
        <category>lighttpd</category>
        <category>JavaScript</category>
        <category>Database</category>
        <category>Ruby</category>
        <category>Apache</category>
        <category>Ajax</category>
        <category>ORM</category>
        <category>Framework</category>
        <category>Web</category>

        <pubDate>Wed, 13 Jul 2005 12:06:36 -0700</pubDate>
        <lastBuildDate>Thu, 11 May 2006 07:02:42 -0700</lastBuildDate>
            
        <item>
            <title>Curl, Inc. - Richer Internet Applications</title>
            <link>http://swik.net/RIA/del.icio.us%2Ftag%2FRIA/Curl%2C+Inc.+-+Richer+Internet+Applications/ccewo</link>
            <description></description>
            
            <pubDate>Wed, 13 Aug 2008 14:05:05 -0700</pubDate>
        </item>
            
        <item>
            <title>Curl Nitro Demo Application Visualizes Facebook Social Graphs @ AJAX &amp; RIA JOURNAL</title>
            <link>http://swik.net/RIA/del.icio.us%2Ftag%2FRIA/Curl+Nitro+Demo+Application+Visualizes+Facebook+Social+Graphs+%40+AJAX+%26+RIA+JOURNAL/b76qd</link>
            <description></description>
            
            <pubDate>Tue, 24 Jun 2008 01:05:27 -0700</pubDate>
        </item>
            
        <item>
            <title>[from bushwald] Curl Nitro Demo Application Visualizes Facebook Social Graphs @ AJAX &amp; RIA JOURNAL</title>
            <link>http://swik.net/User:jeyrb/del.icio.us%2Fnetwork%2Fjey/%5Bfrom+bushwald%5D+Curl+Nitro+Demo+Application+Visualizes+Facebook+Social+Graphs+%40+AJAX+%26+RIA+JOURNAL/b76ps</link>
            <description></description>
            
            <pubDate>Tue, 24 Jun 2008 01:05:13 -0700</pubDate>
        </item>
            
        <item>
            <title>Application Development Trends - Curl Announces RIA Dev Tools Beta for Eclipse</title>
            <link>http://swik.net/RIA/del.icio.us%2Ftag%2FRIA/Application+Development+Trends+-+Curl+Announces+RIA+Dev+Tools+Beta+for+Eclipse/b7edf</link>
            <description>By combining the highest-performing enterprise RIA platform, Curl, with the best general-purpose IDE, Eclipse, we are giving programmers with an updated set of development tools,</description>
            
            <pubDate>Fri, 13 Jun 2008 12:19:40 -0700</pubDate>
        </item>
            
        <item>
            <title>Internet Evolution - Richard Monson-Haefel - The Return of Client/Server Architecture</title>
            <link>http://swik.net/RIA/del.icio.us%2Ftag%2FRIA/Internet+Evolution+-+Richard+Monson-Haefel+-+The+Return+of+Client%2FServer+Architecture/b7d5n</link>
            <description>Today, the use of rich Internet application (RIA) technologies is planting the seeds for a return to client/server architectures where large clients are installed on the desktop.</description>
            
            <pubDate>Fri, 13 Jun 2008 11:20:57 -0700</pubDate>
        </item>
            
        <item>
            <title>The Universal Desktop - The ever-changing definition of RIAs and how people are killing it</title>
            <link>http://swik.net/RIA/del.icio.us%2Ftag%2FRIA/The+Universal+Desktop+-+The+ever-changing+definition+of+RIAs+and+how+people+are+killing+it/b4g3a</link>
            <description>Ryan Stewart react to eWeek&#039;s &amp;quot;RIA War is Brewing&amp;quot; article</description>
            
            <pubDate>Mon, 21 Apr 2008 07:25:12 -0700</pubDate>
        </item>
            
        <item>
            <title>Happy Birthday Oxyliquit!</title>
            <link>http://swik.net/Nitro/Oxyliquit/Happy+Birthday+Oxyliquit%21/b3bxp</link>
            <description>&lt;p&gt;It now has been 2 years since Oxyliquit first breathed the air.&lt;/p&gt;

&lt;p&gt;Oxyliquit has been the idea of a community platform, however - the diminishing positive response in large attributable to the withering of Nitro and Og support in general leaves me with one laughing and one crying eye.&lt;/p&gt;

&lt;p&gt;As this is a completely community driven application, it lives and dies with its community.&lt;/p&gt;

&lt;p&gt;That said, I still think Oxyliquit is a good source for Nitro, so it will stay as long as there are still interested people browsing through it, it might however reopen in a slightly different form.&lt;/p&gt;

&lt;p&gt;I thank everyone who has ever contributed to Oxyliquit in any way.  Thank you.&lt;/p&gt;</description>
            
            <pubDate>Wed, 27 Feb 2008 12:46:37 -0800</pubDate>
        </item>
            
        <item>
            <title>Nitro and Og</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/Nitro+and+Og/bzldn</link>
            <description></description>
            
            <pubDate>Fri, 04 Jan 2008 07:16:48 -0800</pubDate>
        </item>
            
        <item>
            <title>RSCDS</title>
            <link>http://swik.net/Nitro/Oxyliquit/RSCDS/bvjdi</link>
            <description>&lt;p&gt;I&#039;m terribly sorry for showing this RSCDS page the whole week.  I do not plan to discontinue serving the Nitro Q&amp;amp;A system anytime soon.&lt;/p&gt;

&lt;p&gt;I apologize again for the inconvenience.&lt;/p&gt;

&lt;p&gt;Jonathan Buch&lt;/p&gt;</description>
            
            <pubDate>Fri, 30 Nov 2007 10:21:34 -0800</pubDate>
        </item>
            
        <item>
            <title>Element content</title>
            <link>http://swik.net/Nitro/Oxyliquit/Element+content/bvjdh</link>
            <description>&lt;p&gt;The Nitro concept of elements is terribly flexible. Whatever you put inside the elements tag is available through the content method. You could for instance parse this as YAML and take it as configuration for how the element should render. &lt;/p&gt;

&lt;p&gt;&lt;code&gt;
  
    variant: big
    background: #3f7
    no-footer: true
  
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
  class SomeElement
    def render
      opt = YAML::load(content)
      if opt[&#039;variant&#039;] == &#039;big&#039;
        ...
    end
  end
&lt;/code&gt;&lt;/p&gt;</description>
            
            <pubDate>Fri, 30 Nov 2007 10:21:34 -0800</pubDate>
        </item>
            
        <item>
            <title>$KCODE=&quot;UTF8&quot;</title>
            <link>http://swik.net/Nitro/Oxyliquit/%24KCODE%3D%22UTF8%22/bvjdg</link>
            <description>&lt;p&gt;If you&#039;re using any characters beside those uses in 7-bit ASCII you&#039;ll have to think about character encodings. The easiest thing nowadays is usually to make every subsystem use UTF-8. To make Ruby use UT8 add $KCODE=&quot;UTF8&quot; to app.rb. Make sure to add it all the way at the top, before loading Nitro. Then &quot;charset=utf-8&quot; will be added to the headers of a html response. If you set $KCODE after requiring Nitro this does not work!&lt;/p&gt;</description>
            
            <pubDate>Fri, 30 Nov 2007 10:21:34 -0800</pubDate>
        </item>
            
        <item>
            <title>Sinatra - Lightweight Ruby web framework</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/Sinatra+-+Lightweight+Ruby+web+framework/buehf</link>
            <description></description>
            
            <pubDate>Sat, 17 Nov 2007 16:29:53 -0800</pubDate>
        </item>
            
        <item>
            <title>Running Nitro with FastCGI and Lighttpd</title>
            <link>http://swik.net/Nitro/Oxyliquit/Running+Nitro+with+FastCGI+and+Lighttpd/bqv1d</link>
            <description>&lt;p&gt;I&#039;m assuming you&#039;ve installed Lighttpd with the package manager of your distribution of choice. Next you need to enable the fastcgi module.&lt;/p&gt;

&lt;p&gt;If you&#039;re using Debian or a variant (like Ubuntu) you can use the lighty-enable-mod script:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
  lighty-enable-mod fastcgi
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This will create a symlink from /etc/lighttpd/conf-available/10-fastcgi.conf to /etc/lighttpd/conf-enabled/10-fastcgi.conf. Open this file in your editor. If this doesn&#039;t work for you simply edit the main configuration file /etc/lighttpd/lighttpd.conf.&lt;/p&gt;

&lt;p&gt;To enable the module you need this line:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
  server.modules  = ( &quot;mod_fastcgi&quot; )
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If you find any fastcgi.server portions in the configuration comment them out, we won&#039;t be needing them. Now add a fresh portion:
&lt;code&gt;
fastcgi.server = (&quot;&quot; =&gt;
                   ((
                     &quot;bin-path&quot; =&gt; &quot;/path/to/app.rb&quot;,
                     &quot;socket&quot; =&gt; &quot;/tmp/nitro.socket&quot;,
                     &quot;check-local&quot; =&gt; &quot;disable&quot;,
                     &quot;max-procs&quot; =&gt; 1,
                     &quot;bin-environment&quot; =&gt; (&quot;RUBYOPT&quot; =&gt; &quot;-rubygems -I/path/nitro_repo/script -rlib/glycerin&quot;)
                   ))
                 )
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Issue&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
  sudo /etc/init.d/lighttpd force-reload
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;and you should be all set. Keep an eye on /var/log/lighttpd/error.log in case stuff doesn&#039;t work right.&lt;/p&gt;

&lt;p&gt;Adapt bin-environment to whatever is necessary on your site to get nitro running. I&#039;m assuming you&#039;re using the repo version. Otherwise a simply &quot;-rubygems&quot; might suffice.&lt;/p&gt;</description>
            
            <pubDate>Fri, 19 Oct 2007 09:14:20 -0700</pubDate>
        </item>
            
        <item>
            <title>Installing Nitro on Windows in 11 steps</title>
            <link>http://swik.net/Nitro/Oxyliquit/Installing+Nitro+on+Windows+in+11+steps/bo9ob</link>
            <description>&lt;p&gt;&lt;i&gt;Assuming that you&#039;ve already installed Ruby and MySQL on your system&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;1) Download Darcs from www.darcs.net and decompress it in any directory&lt;br&gt;&lt;br&gt;
2*) Add the darcs root folder in the PATH environmental variable (i.e. C:\Darcs;)&lt;br&gt;&lt;br&gt;
3) Download the latest Nitro version from the repository through darcs by: 
      going to the directory you want to store nitro and
      typing in command line: &lt;b&gt;darcs get --partial http://repo.nitroproject.org nitro&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;

&lt;p&gt;4) Find the RUBYOPTS environmental variable (it should already contain &lt;code&gt;-rubygems&lt;/code&gt; in it and after it add the following: &lt;/p&gt;

&lt;p&gt;&lt;b&gt;-I(NITRO)\nitro\lib -I(NITRO)\nitro\vendor -I(NITRO)\og\lib -I(NITRO)\glue\lib -I(NITRO)\raw\lib&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;replace (NITRO) with the path to your nitro folder (example: C:\nitro). Note that -I is Capital i, and not lowercase L.&lt;br&gt;&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;5) Add the same directories in the PATH environmental variable as well
(ex. &lt;b&gt;C:\nitro\nitro\lib;C:\nitro\nitro\vendor;C:\nitro\og\lib;C:\nitro\glue\lib;C:\nitro\raw\lib&lt;/b&gt;)&lt;br&gt;&lt;br&gt;&lt;/p&gt;

&lt;p&gt;6) Go to the Nitro root directory and type: &lt;b&gt;darcs pull&lt;/b&gt; and select &quot;yes&quot; to all patch prompts&lt;br&gt;&lt;br&gt;&lt;/p&gt;

&lt;p&gt;7) Install the &quot;facets&quot; gem (gem install facets)&lt;br&gt;&lt;br&gt;
8) Install the &quot;redcloth&quot; gem (gem install redcloth)&lt;br&gt;&lt;br&gt;
9) Install the &quot;xmlSimple&quot; gem (gem install xml-simple)&lt;br&gt;&lt;br&gt;
10) Install the &quot;mysql&quot; gem (gem install mysql) [Select option 1]&lt;br&gt;&lt;br&gt;
11) Install the &quot;uuidtools&quot; gem (gem install uuidtools)&lt;br&gt;&lt;br&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In order to get to your system&#039;s environmental variables, right click on your &quot;My Computer&quot; icon and select &lt;code&gt;Properties&lt;/code&gt;. Select the &lt;code&gt;Advanced&lt;/code&gt; Tab and on the bottom click on the &lt;code&gt;Environmental Variables&lt;/code&gt; button.&lt;/li&gt;
&lt;/ul&gt;</description>
            
            <pubDate>Fri, 05 Oct 2007 15:06:23 -0700</pubDate>
        </item>
            
        <item>
            <title>Apache 2.0/2.2 Reverse Proxy</title>
            <link>http://swik.net/Nitro/Oxyliquit/Apache+2.0%2F2.2+Reverse+Proxy/bov7u</link>
            <description>&lt;p&gt;h2. Configuration&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
#
# Using Apache 2.0 and 2.2 as a reverse proxy
# for a Nitro application.
#
# Note that Apache 2.2 offers a load balancing
# proxy.  Oxyliquit tutorial forthcoming...
#
# This scheme is based on Apache&#039;s NameVirtualHost
# feature.  The following line should appear
# in your httpd.conf file:
#
#     NameVirtualHost *:80
#
# Next, add the following.
#
# You *could* put this directly in httpd.conf.
#
# But with large numbers of virtual hosts,
# it makes sense to have an include directory
# under your_apache_install/conf and add this
# to httpd.conf:
#
#    Include conf/vhosts/*
#
# or
#
#   Include conf/vhosts/foo.com
#   Include conf/vhosts/bar.com
#


 ServerName myhost.com
 ServerAlias www.myhost.com
 ServerAlias myalias.net
 ServerAlias www.myalias.net
 RewriteEngine On
 ProxyRequests off
 ProxyPass / http://127.0.0.1:9001/
 ProxyPassReverse / http://127.0.0.1:9001/
 ProxyPreserveHost on

# If your application exposes administrative URLs that
# you want to protect, then you can redirect to an ssl
# port on the server.

 RewriteRule ^/admin(.*) https://admin.myhost.com/admin$1 [L,R]
 RewriteRule ^/(.*) http://127.0.0.1:9001/$1 [L,P]




#
#  If you want an SSL port for secure URLs for your app,
#  create an additional vhost
#
# Again, remember to add this somewhere before it:
#
#  NameVirtualHost *:443
#


  ServerName admin.myhost.com
  ServerAlias topsecret.myhost.com
  ProxyRequests off
  ProxyPass / http://127.0.0.1:9001/
  ProxyPassReverse / http://127.0.0.1:9001/
  ProxyPreserveHost on

  
     AuthName &quot;Restricted Access&quot;
     AuthType Basic
     Require user YoursTruly
     AuthUserFile /top/secret/path/htpasswd
  

  
     AuthName &quot;Restricted Access&quot;
     AuthType Basic
     Require group SiteEditors
     AuthUserFile /top/secret/path/htpasswd
  

  SSLEngine on
  SSLCipherSuite ALL:!ADH:!EXPORT56:RC4 RSA: HIGH: MEDIUM: LOW: SSLv2: EXP: eNULL
  SSLCertificateFile /path-to-cert-files/ssl.crt/self_signed.cert
  SSLCertificateKeyFile /path-to-cert-files/ssl.key/self_signed.key
  SSLOptions  FakeBasicAuth  ExportCertData  CompatEnvVars  StrictRequire

&lt;/code&gt;&lt;/p&gt;</description>
            
            <pubDate>Wed, 03 Oct 2007 06:59:08 -0700</pubDate>
        </item>
            
        <item>
            <title>Stop HTML markup from being stripped from Og text fields</title>
            <link>http://swik.net/Nitro/Oxyliquit/Stop+HTML+markup+from+being+stripped+from+Og+text+fields/bolj9</link>
            <description>&lt;p&gt;Is there a simple way to get the Og admin part to stop stripping HTML markup from submitted text fields?&lt;/p&gt;</description>
            
            <pubDate>Mon, 01 Oct 2007 14:10:21 -0700</pubDate>
        </item>
            
        <item>
            <title>Nitro and Og</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/Nitro+and+Og/boip4</link>
            <description></description>
            
            <pubDate>Fri, 28 Sep 2007 14:03:08 -0700</pubDate>
        </item>
            
        <item>
            <title>How to switch session stores?</title>
            <link>http://swik.net/Nitro/Oxyliquit/How+to+switch+session+stores%3F/bmoza</link>
            <description>&lt;p&gt;By default cookie session store is used in Nitro pre-0.50&lt;/p&gt;

&lt;p&gt;The line in application.rb that does this is&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;@session_store ||= Raw::CookieSessionStore.new
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;In my app setup I tried this:&lt;/p&gt;

&lt;p&gt;require &#039;raw/context/session/memory&#039;&lt;/p&gt;

&lt;p&gt;app.session_store = Raw::MemorySessionStore.new&lt;/p&gt;

&lt;p&gt;The problem with that is the &#039;require&#039; looks like it digs a little deeper into the Raw framework than it should. Shouldn&#039;t there be a simpler way to do this?&lt;/p&gt;

&lt;p&gt;thx.&lt;/p&gt;</description>
            
            <pubDate>Mon, 10 Sep 2007 19:13:15 -0700</pubDate>
        </item>
            
        <item>
            <title>Testing Nitro</title>
            <link>http://swik.net/Nitro/Oxyliquit/Testing+Nitro/blcyc</link>
            <description>&lt;p&gt;For external tests using &lt;strong&gt;WWW::Mechanize&lt;/strong&gt; might be just what you need.  It&#039;s really good at &#039;emulating&#039; a browser.  Testing like that makes you work on your actual HTML output to produce good easy html, so it can be easily screen-scraped.&lt;/p&gt;

&lt;p&gt;I really liked it, it doesn&#039;t take too much work to recreate a &#039;browser visit&#039;.  Another benefit is, it makes sure your app also works with &#039;web 1.0&#039; type browsers, not having Javascript.&lt;/p&gt;

&lt;p&gt;If you have big tests though, take into account that Mechanize is very ressource hungry and eats your RAM alive.&lt;/p&gt;</description>
            
            <pubDate>Sat, 01 Sep 2007 02:26:55 -0700</pubDate>
        </item>
            
        <item>
            <title>News! (alive!)</title>
            <link>http://swik.net/Nitro/Oxyliquit/News%21+%28alive%21%29/bhlki</link>
            <description>&lt;p&gt;The head of this side is going for a vacation for a week, and I use the brief time before that to make a little more news:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Nitro 0.49 (beta release before 0.50) will be coming out after Facets 2.0&lt;/li&gt;
&lt;li&gt;That release will have many Nitro improvements as well as a much better testing structure due to RSpec.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I thank the many visitors of this page, which despite the site not having recieved much content in the last few decades keep coming back.  I bow before the community, thanks to you I&#039;m alive.&lt;/p&gt;

&lt;p&gt;So, if you are one of those coming back often (you know who you are) looking for content:  if you have an idea what that content should be, why don&#039;t you just ask for it?  :)  (me don&#039;t bite. promis. will work for food!)&lt;/p&gt;

&lt;p&gt;Your neighbourhood Oxywtf admin.&lt;/p&gt;</description>
            
            <pubDate>Sat, 04 Aug 2007 18:54:21 -0700</pubDate>
        </item>
            
        <item>
            <title>Legacy Databases / Schema</title>
            <link>http://swik.net/Nitro/Oxyliquit/Legacy+Databases+%2F+Schema/78gh</link>
            <description>&lt;p&gt;What do i need to do to tell Og to be careful with pre-existing (&#039;legacy&#039;) databases, 
so that:
  1) the schema does not get changed
  2) no columns / rows / tables get dropped&lt;/p&gt;

&lt;p&gt;Can Og determine the schema of a given MySQL Database, and automatically create a skeleton 
of matching Class definitions?  (without relations ..)&lt;/p&gt;

&lt;p&gt;Such a reverse engineered mode would be good for people who want to use a legacy 
database with Og&lt;/p&gt;

&lt;p&gt;T.&lt;/p&gt;</description>
            
            <pubDate>Mon, 21 May 2007 09:06:03 -0700</pubDate>
        </item>
            
        <item>
            <title>Using id instead of oid / ActiveRecord backwards-compatiblity</title>
            <link>http://swik.net/Nitro/Oxyliquit/Using+id+instead+of+oid+%2F+ActiveRecord+backwards-compatiblity/74p8</link>
            <description>&lt;p&gt;I need to stay backwards-compatible to ActiveRecord.. &lt;/p&gt;

&lt;p&gt;How can I use &#039;id&#039; instead of &#039;oid&#039; in MySQL Tables created by Og?   &lt;/p&gt;

&lt;p&gt;What other gotcha&#039;s do I need to be aware of? &lt;/p&gt;

&lt;p&gt;thanks&lt;/p&gt;

&lt;p&gt;T.&lt;/p&gt;</description>
            
            <pubDate>Sun, 20 May 2007 14:05:26 -0700</pubDate>
        </item>
            
        <item>
            <title>how are multi-threads handled in Og</title>
            <link>http://swik.net/Nitro/Oxyliquit/how+are+multi-threads+handled+in+Og/7e4p</link>
            <description>&lt;p&gt;Is Og using connection-pool to database or single connection ?&lt;/p&gt;</description>
            
            <pubDate>Tue, 15 May 2007 07:01:18 -0700</pubDate>
        </item>
            
        <item>
            <title>Validators for Og</title>
            <link>http://swik.net/Nitro/Oxyliquit/Validators+for+Og/7ad7</link>
            <description>&lt;p&gt;I was wondering if there are validators for Og, similar to activerecords validation.&lt;/p&gt;</description>
            
            <pubDate>Mon, 14 May 2007 09:01:56 -0700</pubDate>
        </item>
            
        <item>
            <title>Nitro and Og</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/Nitro+and+Og/61gx</link>
            <description></description>
            
            <pubDate>Sat, 12 May 2007 06:54:38 -0700</pubDate>
        </item>
            
        <item>
            <title>How use Annotation?</title>
            <link>http://swik.net/Nitro/Oxyliquit/How+use+Annotation%3F/t635</link>
            <description>&lt;p&gt;Hi, I have seen this into the &quot;nitro real example&quot;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
def index
   #...
end
ann :index, :title =&gt; &#039;All categories&#039;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;but I don&#039;t understand how use it.
Is it correlated with the helper :sitemap?
Where I find a small example?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</description>
            
            <pubDate>Mon, 15 Jan 2007 11:05:37 -0800</pubDate>
        </item>
            
        <item>
            <title>LoxAuth</title>
            <link>http://swik.net/Nitro/Oxyliquit/LoxAuth/tdu4</link>
            <description>&lt;h2&gt;LoxAuth&lt;/h2&gt;

&lt;p&gt;LoxAuth is a dropin solution for basic authentication for Nitro 
apps. Can be used to login your users as well as registering them. It&#039;s 
customizable by settings if you need registering for example, since this is 
deactivated by default.&lt;/p&gt;

&lt;p&gt;Copyright (c) 2006 Fabian Buch under MIT license. 
See LICENSE file for details.&lt;/p&gt;

&lt;h2&gt;Requirements&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Nitro 0.40.0&lt;/li&gt;
&lt;li&gt;Og 0.40.0&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;May work with other versions with small adjustments&lt;/p&gt;

&lt;h2&gt;USAGE:&lt;/h2&gt;

&lt;p&gt;in your run.rb:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
require &#039;part/auth&#039;
Nitro::Server.map[&#039;/auth&#039;] = AuthController
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;before your controllers and models!&lt;/p&gt;

&lt;p&gt;in your Controller&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
class MainController  [:edit, :add]
  
  # This action is now protected.  When someone tries to
  # go to /edit while not being logged in, he will be
  # redirected to a login screen and after having logged
  # in he will be redirected to `edit` again.
  # The same happens with `add` and any other protected
  # action.
  def edit(id)
    # do something
  end
end
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Part Auth has its own User model, if it&#039;s not sufficient for you, just extend 
it by monkey patching. Currently the &lt;code&gt;User&lt;/code&gt; has the properties &lt;code&gt;:name&lt;/code&gt;, &lt;code&gt;:email&lt;/code&gt; and 
&lt;code&gt;:password&lt;/code&gt;, so if you need it to have an additional age do the 
following in your own &lt;code&gt;User&lt;/code&gt; model:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
class User
  property :age, Integer
end
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Same goes for relations:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
class User
  has_many :articles, Article
end
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If your application defines a Page skin class (Element) it&#039;ll integrate nicely 
into your Page design.&lt;/p&gt;

&lt;h3&gt;Configuration&lt;/h3&gt;

&lt;p&gt;To enable Registering:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
LoxAuthPart.register_enabled = true
LoxAuthPart.register_welcome_msg = &quot;Successfully registered. You&#039;re logged in now!&quot;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;To disable Roles:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
LoxAuthPart.roles_enabled = false
&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;Adapting LoxAuth&lt;/h2&gt;

&lt;p&gt;Apart from adding additional properties to &lt;code&gt;User&lt;/code&gt; or &lt;code&gt;Role&lt;/code&gt; you can also modify how it looks.&lt;/p&gt;

&lt;p&gt;Copy the &lt;code&gt;xhtml&lt;/code&gt; templates from the LoxAuth &lt;code&gt;template&lt;/code&gt; folder to &lt;code&gt;auth/&lt;/code&gt; (subfolder of your &lt;code&gt;template&lt;/code&gt; folder, standard is &lt;code&gt;template&lt;/code&gt;, modifyable by the setting &lt;code&gt;Nitro::Template.root = &#039;template&#039;&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;Having the &lt;code&gt;.xhtml&lt;/code&gt; now in yout &lt;code&gt;template/auth&lt;/code&gt; folder, you can modify them just like all your other templates.&lt;/p&gt;

&lt;h2&gt;Contributors&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Fabian Buch (fabian@fabian-buch.de)&lt;/li&gt;
&lt;li&gt;Jonathan Buch (john@oxyliquit.de)&lt;/li&gt;
&lt;/ul&gt;</description>
            
            <pubDate>Sat, 06 Jan 2007 15:57:18 -0800</pubDate>
        </item>
            
        <item>
            <title>Samples/Examples for 0.41.0</title>
            <link>http://swik.net/Nitro/Oxyliquit/Samples%2FExamples+for+0.41.0/tdu3</link>
            <description>&lt;p&gt;Which versions of flare/spark are supposed to work with the latest nitro release (0.41.0)? And where is examples-0.41.0?&lt;/p&gt;</description>
            
            <pubDate>Sat, 06 Jan 2007 15:57:18 -0800</pubDate>
        </item>
            
        <item>
            <title>Part Guideline</title>
            <link>http://swik.net/Nitro/Oxyliquit/Part+Guideline/qkz2</link>
            <description>&lt;p&gt;In other systems you&#039;d maybe call them Plug-ins, but in Nitro they are called &quot;parts&quot;. These parts can be dropped into your Nitro Web-Application and extend your Application with fully functional app parts. You could for example add a Blog to your current Application by adding a Blog Part.&lt;/p&gt;

&lt;p&gt;This guideline will show you how to make a Nitro Part at a kinda general example. It uses &quot;partname&quot; or PartName as the name of your Part, so you&#039;d typically replace that with the actual name of your Part.&lt;/p&gt;

&lt;h2&gt;Directory Layout&lt;/h2&gt;

&lt;p&gt;The directory layout of a typical Nitro Part looks as follows.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
part/partname.rb
part/partname/
part/partname/controller/
part/partname/helper/
part/partname/model/
part/partname/public/
part/partname/template/
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Helper, model and public directory are optional of course, if your Part doesn&#039;t need them.&lt;/p&gt;

&lt;p&gt;It&#039;s recommended to use this layout for all parts, even if Nitro&#039;s layouts can be done in any way the developer chooses, it&#039;ll be easier to integrate your part in other applications, especially utilizing &quot;gen part&quot;.&lt;/p&gt;

&lt;h2&gt;partname.rb&lt;/h2&gt;

&lt;p&gt;This is the main file of your part, kinda the equivalent of the run.rb of typical Nitro apps. Parts usually don&#039;t have a run.rb.&lt;/p&gt;

&lt;p&gt;Require everything your part needs in here. Try to avoid requireing in other files (like your models and controllers). Take into account that a part will be required as follows in a random app:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
require &#039;part/partname&#039;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;So requireing controllers, models of your part in your partname.rb:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
require &#039;part/partname/helper/something&#039;
require &#039;part/partname/model/user&#039;
require &#039;part/partname/model/article&#039;
require &#039;part/partname/controller/main&#039;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Additionally this file is for a standard Nitro::Server.map, even though this will probably be overridden by a Nitro app.&lt;/p&gt;

&lt;h2&gt;PartnamePart class&lt;/h2&gt;

&lt;p&gt;Usually directly in partname.rb too, there can be a PartnamePart class, which you can use for various settings you can use later on in your Part. Thistime my example is of a BlogPart:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
class PartnamePart
  setting :title, :default =&gt; &quot;Lox Blog&quot;
  setting :subtitle, :default =&gt; &quot;My life with Lox&quot;
  setting :entries_per_page, :default =&gt; 10
  setting :trackback, :default =&gt; false # Trackback can lead to lots of spam
  setting :tags, :default =&gt; true
  setting :categories, :default =&gt; true
  
  setting :version, :default =&gt; &#039;0.9.0&#039;
  setting :public_root, :default =&gt; &#039;/part/partname&#039;
  setting :charset, :default =&gt; &#039;utf-8&#039;
end
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;All these settings are &lt;strong&gt;optional&lt;/strong&gt; of course. But if you incorporate stylesheets or pictures in your Part, using the public/ directory, you should probably set &quot;setting :public&lt;em&gt;root&quot; to &#039;/part/partname&#039;, since that&#039;s the directory &quot;gen part&quot; is creating for you in a random Nitro app, so you can use &quot;PartnamePart.public&lt;/em&gt;root&quot; for links and such in your Part.&lt;/p&gt;

&lt;h2&gt;Controller&lt;/h2&gt;

&lt;p&gt;Every controller of a Part should have the following method, so that the right templates are found:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
def self.setup_template_root(path)
  super
  @template_root &lt;/p&gt;

&lt;h2&gt;Share&lt;/h2&gt;

&lt;p&gt;After you created a nice Part, think about sharing it with others on &lt;a href=&quot;http://loxparts.de/&quot;&gt;LoxParts&lt;/a&gt;.&lt;/p&gt;</description>
            
            <pubDate>Mon, 04 Dec 2006 12:44:30 -0800</pubDate>
        </item>
            
        <item>
            <title>nitro form</title>
            <link>http://swik.net/Nitro/Oxyliquit/nitro+form/qkz1</link>
            <description>&lt;p&gt;I was trying out tutotial from nitroproject.org with Nitro 0.4. In that tutorial, there is one form, to search for Users. User has three properties: name,description and age. In my xhtml page, to display current users, i wanted to add one form to search for users. so I added this line: #{form&lt;strong&gt;for User.find&lt;/strong&gt;by&lt;em&gt;_name(@name)} and in controller I added helper :form, but it didnot work. The page doesnt display the form. It says undefined method &#039;form&lt;/em&gt;for&#039;. How can I solve this in Nitro 0.4?
Thanks&lt;/p&gt;</description>
            
            <pubDate>Mon, 04 Dec 2006 12:44:30 -0800</pubDate>
        </item>
                </channel>
</rss>
