<?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: Turbinado: Implementing a poor-man&#8217;s wiki</title>
	<atom:link href="http://www.alsonkemp.com/haskell/turbinado-implementing-a-poor-mans-wiki/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alsonkemp.com/haskell/turbinado-implementing-a-poor-mans-wiki/</link>
	<description>Hackfoofery</description>
	<lastBuildDate>Tue, 15 Jun 2010 21:59:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: alson</title>
		<link>http://www.alsonkemp.com/haskell/turbinado-implementing-a-poor-mans-wiki/comment-page-1/#comment-88</link>
		<dc:creator>alson</dc:creator>
		<pubDate>Mon, 05 Jan 2009 16:46:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=155#comment-88</guid>
		<description>&lt;p&gt;Adolfo,&lt;/p&gt;

&lt;p&gt;Turbinado is certainly in some flux right now, so I need to update this post with some new function names...&lt;/p&gt;

&lt;p&gt;Page: I decided to rename the function for the View to be &quot;markup&quot; rather than &quot;page&quot; when I created Components.  &quot;markup&quot; is more generic and works across Views, Layouts or Components.&lt;/p&gt;

&lt;p&gt;getViewDataValue: this function pulls a value out of the ViewData in the Environment.  Check out Turbinado/Environment/ViewData.hs.  ViewData is intended to hold bits of data produced by the Controller for consumption by the View.  getViewDataValue returns a &quot;Maybe a&quot; and getViewDataValue_u is the &lt;em&gt;unsafe&lt;/em&gt; version that returns an &quot;a&quot; (it assumes that the key exists in the ViewData map).&lt;/p&gt;

&lt;p&gt;Documentation: sorely lacking.  Been struggling with other bits and with features so need to focus on documentation soon.  Have done a bit in http://turbinado.org/Architecture/Show/architecture .&lt;/p&gt;

&lt;p&gt;insertDefaultView: this function uses the Request to figure out what the default should be an inserts it.  So /Home/Index would insert the Home/Index.hs:markup view.  There&#039;s also an insertView function that allows you to specify a view to insert.&lt;/p&gt;

&lt;p&gt;I&#039;ll try to drop by #haskell a bit later.  Thank you for the questions!&lt;/p&gt;

&lt;p&gt;A&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Adolfo,</p>

<p>Turbinado is certainly in some flux right now, so I need to update this post with some new function names&#8230;</p>

<p>Page: I decided to rename the function for the View to be &#8220;markup&#8221; rather than &#8220;page&#8221; when I created Components.  &#8220;markup&#8221; is more generic and works across Views, Layouts or Components.</p>

<p>getViewDataValue: this function pulls a value out of the ViewData in the Environment.  Check out Turbinado/Environment/ViewData.hs.  ViewData is intended to hold bits of data produced by the Controller for consumption by the View.  getViewDataValue returns a &#8220;Maybe a&#8221; and getViewDataValue_u is the <em>unsafe</em> version that returns an &#8220;a&#8221; (it assumes that the key exists in the ViewData map).</p>

<p>Documentation: sorely lacking.  Been struggling with other bits and with features so need to focus on documentation soon.  Have done a bit in <a href="http://turbinado.org/Architecture/Show/architecture" rel="nofollow">http://turbinado.org/Architecture/Show/architecture</a> .</p>

<p>insertDefaultView: this function uses the Request to figure out what the default should be an inserts it.  So /Home/Index would insert the Home/Index.hs:markup view.  There&#8217;s also an insertView function that allows you to specify a view to insert.</p>

<p>I&#8217;ll try to drop by #haskell a bit later.  Thank you for the questions!</p>

<p>A</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Adolfo</title>
		<link>http://www.alsonkemp.com/haskell/turbinado-implementing-a-poor-mans-wiki/comment-page-1/#comment-87</link>
		<dc:creator>Adolfo</dc:creator>
		<pubDate>Mon, 05 Jan 2009 14:49:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=155#comment-87</guid>
		<description>&lt;p&gt;In the third question this is the method : 
&quot;There are some methods like :&quot;insertDefaultView&quot; ...&quot;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>In the third question this is the method : 
&#8220;There are some methods like :&#8221;insertDefaultView&#8221; &#8230;&#8221;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Adolfo</title>
		<link>http://www.alsonkemp.com/haskell/turbinado-implementing-a-poor-mans-wiki/comment-page-1/#comment-86</link>
		<dc:creator>Adolfo</dc:creator>
		<pubDate>Mon, 05 Jan 2009 14:46:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=155#comment-86</guid>
		<description>&lt;p&gt;Alson,
I started to work on turbinado again just yesterday. My idea is to made a &quot;poor-man&#039;s blog&quot; , Basically the structure is be very similar to &quot;Page.hs&quot;. But I can&#039;t still manage even to save something in the database, and I got some questions .
&lt;/p&gt;

&lt;p&gt;-In the views that you show here, you have defined &quot;page&quot; and then the html code, but, in the code of turbinado you have &quot;markup&quot; in the views. With &quot;page&quot; doesn&#039;t work, with &quot;markup&quot; does;, which  is the difference between this ones ? &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the view &quot;New.hs&quot; you use this in the Form&#039;s action attribute: &quot;(getViewDataValue_u &quot;save-url&quot; :: View String) method=&quot;post&quot;&quot;, How that getViewDAtaValue_u work ? After that It is supposed to go to create controller, right ? I can&#039;t understand how do you do that. ;(. 
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;-There are some methods like    that can be easy to understand while another ones not so easy (BTW.How do you call it? a helper ?) ,I saw that a big of this methods that you use are located on the folder Environment, would be cool if in each example that is produced or even in the code, a bit more of explanation of this . 
&lt;/p&gt;

&lt;p&gt;For now I don&#039;t remember more of my questions, I&#039;ll be in #haskell , maybe see you later there.&lt;/p&gt;

&lt;p&gt;Adolfo&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Alson,
I started to work on turbinado again just yesterday. My idea is to made a &#8220;poor-man&#8217;s blog&#8221; , Basically the structure is be very similar to &#8220;Page.hs&#8221;. But I can&#8217;t still manage even to save something in the database, and I got some questions .
</p>

<p>-In the views that you show here, you have defined &#8220;page&#8221; and then the html code, but, in the code of turbinado you have &#8220;markup&#8221; in the views. With &#8220;page&#8221; doesn&#8217;t work, with &#8220;markup&#8221; does;, which  is the difference between this ones ? </p>

<ul>
<li>In the view &#8220;New.hs&#8221; you use this in the Form&#8217;s action attribute: &#8220;(getViewDataValue_u &#8220;save-url&#8221; :: View String) method=&#8221;post&#8221;", How that getViewDAtaValue_u work ? After that It is supposed to go to create controller, right ? I can&#8217;t understand how do you do that. ;(. 
</li>
</ul>

<p>-There are some methods like    that can be easy to understand while another ones not so easy (BTW.How do you call it? a helper ?) ,I saw that a big of this methods that you use are located on the folder Environment, would be cool if in each example that is produced or even in the code, a bit more of explanation of this . 
</p>

<p>For now I don&#8217;t remember more of my questions, I&#8217;ll be in #haskell , maybe see you later there.</p>

<p>Adolfo</p>]]></content:encoded>
	</item>
	<item>
		<title>By: alson</title>
		<link>http://www.alsonkemp.com/haskell/turbinado-implementing-a-poor-mans-wiki/comment-page-1/#comment-77</link>
		<dc:creator>alson</dc:creator>
		<pubDate>Mon, 05 Jan 2009 01:16:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=155#comment-77</guid>
		<description>&lt;p&gt;Adolfo,&lt;/p&gt;

&lt;p&gt;BTW, I added to the turbinado repo all dependencies in tmp/dependencies.  Horrible solution, but it&#039;ll have to do until I&#039;m comfortable with cabal-install...&lt;/p&gt;

&lt;p&gt;Happy to hear  that you got Turbinado to build.  Would love to hear how it&#039;s good, how&#039;s it bad, things to improve, etc!&lt;/p&gt;

&lt;p&gt;A&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Adolfo,</p>

<p>BTW, I added to the turbinado repo all dependencies in tmp/dependencies.  Horrible solution, but it&#8217;ll have to do until I&#8217;m comfortable with cabal-install&#8230;</p>

<p>Happy to hear  that you got Turbinado to build.  Would love to hear how it&#8217;s good, how&#8217;s it bad, things to improve, etc!</p>

<p>A</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Adolfo</title>
		<link>http://www.alsonkemp.com/haskell/turbinado-implementing-a-poor-mans-wiki/comment-page-1/#comment-75</link>
		<dc:creator>Adolfo</dc:creator>
		<pubDate>Sun, 04 Jan 2009 18:59:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=155#comment-75</guid>
		<description>&lt;p&gt;BTW, once you have the correct packages, you just need to do this:
  cabal configure
  cabal install
And everything will work!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>BTW, once you have the correct packages, you just need to do this:
  cabal configure
  cabal install
And everything will work!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Adolfo</title>
		<link>http://www.alsonkemp.com/haskell/turbinado-implementing-a-poor-mans-wiki/comment-page-1/#comment-74</link>
		<dc:creator>Adolfo</dc:creator>
		<pubDate>Sun, 04 Jan 2009 18:55:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=155#comment-74</guid>
		<description>&lt;p&gt;Hi Jason, I managed to build turbinado after several hours scratching  my head, just be sure that you have the correct version of each package, check on turbinado/turbinado.cabal. As Alson said in one  post: &quot;Hackage doesn’t necessarily contain the latest and greatest versions of a library&quot;. So, if you used cabal to install your packages, you will finish with loads of broken dependencies.&lt;/p&gt;

&lt;p&gt;Adolfo&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Jason, I managed to build turbinado after several hours scratching  my head, just be sure that you have the correct version of each package, check on turbinado/turbinado.cabal. As Alson said in one  post: &#8220;Hackage doesn’t necessarily contain the latest and greatest versions of a library&#8221;. So, if you used cabal to install your packages, you will finish with loads of broken dependencies.</p>

<p>Adolfo</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Dew</title>
		<link>http://www.alsonkemp.com/haskell/turbinado-implementing-a-poor-mans-wiki/comment-page-1/#comment-66</link>
		<dc:creator>Jason Dew</dc:creator>
		<pubDate>Sun, 04 Jan 2009 01:40:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=155#comment-66</guid>
		<description>&lt;p&gt;Thanks a bunch Alson, looking forward to trying Turbinado out :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks a bunch Alson, looking forward to trying Turbinado out <img src='http://www.alsonkemp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: alson</title>
		<link>http://www.alsonkemp.com/haskell/turbinado-implementing-a-poor-mans-wiki/comment-page-1/#comment-65</link>
		<dc:creator>alson</dc:creator>
		<pubDate>Sun, 04 Jan 2009 01:36:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=155#comment-65</guid>
		<description>&lt;p&gt;Jason,&lt;/p&gt;

&lt;p&gt;And apologies for the hassle.  I should be more explicit in my building instructions.  I&#039;ll fix that.&lt;/p&gt;

&lt;p&gt;A&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jason,</p>

<p>And apologies for the hassle.  I should be more explicit in my building instructions.  I&#8217;ll fix that.</p>

<p>A</p>]]></content:encoded>
	</item>
	<item>
		<title>By: alson</title>
		<link>http://www.alsonkemp.com/haskell/turbinado-implementing-a-poor-mans-wiki/comment-page-1/#comment-64</link>
		<dc:creator>alson</dc:creator>
		<pubDate>Sun, 04 Jan 2009 01:35:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=155#comment-64</guid>
		<description>&lt;p&gt;Jason,&lt;/p&gt;

&lt;p&gt;Yeah.  I&#039;m going to update Turbinado to 0.4 tonight and include all required dependencies.  You&#039;ve got some problems there because that version of haskell-src-exts require GHC 6.10, but you&#039;re using 6.8...&lt;/p&gt;

&lt;p&gt;Check the repo tomorrow and all deps will be included in turbinado/tmp/dependencies.&lt;/p&gt;

&lt;p&gt;Really, the build should be done with &quot;cabal install&quot;, but I don&#039;t have enough experience to recommend that right now.&lt;/p&gt;

&lt;p&gt;A&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jason,</p>

<p>Yeah.  I&#8217;m going to update Turbinado to 0.4 tonight and include all required dependencies.  You&#8217;ve got some problems there because that version of haskell-src-exts require GHC 6.10, but you&#8217;re using 6.8&#8230;</p>

<p>Check the repo tomorrow and all deps will be included in turbinado/tmp/dependencies.</p>

<p>Really, the build should be done with &#8220;cabal install&#8221;, but I don&#8217;t have enough experience to recommend that right now.</p>

<p>A</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Dew</title>
		<link>http://www.alsonkemp.com/haskell/turbinado-implementing-a-poor-mans-wiki/comment-page-1/#comment-63</link>
		<dc:creator>Jason Dew</dc:creator>
		<pubDate>Sun, 04 Jan 2009 01:16:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.alsonkemp.com/?p=155#comment-63</guid>
		<description>&lt;p&gt;This pretty much sums up where I&#039;m at (dependency hell)...&lt;/p&gt;

&lt;p&gt;phoenix hsx # runhaskell Setup.hs configure
Configuring hsx-0.4.6...
Setup.hs: At least the following dependencies are missing:
haskell-src-exts ==0.4.* &amp;&amp; ==0.4.*, utf8-string -any &amp;&amp; -any
phoenix hsx # cd ../haskell-src-exts/
phoenix haskell-src-exts # runhaskell Setup.hs configure
Configuring haskell-src-exts-0.4.6...
Setup.hs: At least the following dependencies are missing:
base &gt;=4, cpphs &gt;=1.3
phoenix haskell-src-exts # cabal install cpphs
Resolving dependencies...
cabal: There is no installed version of ghc-prim&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This pretty much sums up where I&#8217;m at (dependency hell)&#8230;</p>

<p>phoenix hsx # runhaskell Setup.hs configure
Configuring hsx-0.4.6&#8230;
Setup.hs: At least the following dependencies are missing:
haskell-src-exts ==0.4.* &amp;&amp; ==0.4.*, utf8-string -any &amp;&amp; -any
phoenix hsx # cd ../haskell-src-exts/
phoenix haskell-src-exts # runhaskell Setup.hs configure
Configuring haskell-src-exts-0.4.6&#8230;
Setup.hs: At least the following dependencies are missing:
base &gt;=4, cpphs &gt;=1.3
phoenix haskell-src-exts # cabal install cpphs
Resolving dependencies&#8230;
cabal: There is no installed version of ghc-prim</p>]]></content:encoded>
	</item>
</channel>
</rss>
