<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mango Framework &#187; Catalyst Integration</title>
	<atom:link href="http://mangoframework.com/blog/category/catalyst-integration/feed/" rel="self" type="application/rss+xml" />
	<link>http://mangoframework.com/blog</link>
	<description>An ecommerce solution built on Perl, Catalyst, Handel and DBIx::Class.</description>
	<lastBuildDate>Sun, 14 Sep 2008 21:53:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>New Year. New Progress.</title>
		<link>http://mangoframework.com/blog/catalyst-integration/new-year-new-progress/</link>
		<comments>http://mangoframework.com/blog/catalyst-integration/new-year-new-progress/#comments</comments>
		<pubDate>Wed, 02 Jan 2008 18:39:20 +0000</pubDate>
		<dc:creator>claco</dc:creator>
				<category><![CDATA[Catalyst Integration]]></category>

		<guid isPermaLink="false">http://mangoframework.com/blog/?p=22</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>Time to get rolling again. I started writing &#8216;live&#8217; (Test::WWW::Mechanize::Catalyst) tests for force myself to focus on the web side of things and get my nose out of the base class details. I was bogging myself down with all of the things to remember and the possibilities of re factoring. Spent some time patching Catalyst::Action::REST to deal with some issues that were biting me in the ass.</p>
<p>My goal this week is to get an _07 out the door by the end of the weekend that at least has a working quickstart, cart, wishlists and the admin stuff tested. Still way behind. <img src='http://mangoframework.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://mangoframework.com/blog/catalyst-integration/new-year-new-progress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mango 0.01000_06 Released</title>
		<link>http://mangoframework.com/blog/releases/mango-001000-06-released/</link>
		<comments>http://mangoframework.com/blog/releases/mango-001000-06-released/#comments</comments>
		<pubDate>Mon, 10 Sep 2007 03:15:44 +0000</pubDate>
		<dc:creator>claco</dc:creator>
				<category><![CDATA[Catalyst Integration]]></category>
		<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://mangoframework.com/blog/?p=21</guid>
		<description><![CDATA[Back on the wagon again. Fixed Template->share when Mango has never been installed Stripped action from yml forms, now get path_prefix on the fly Base Controllers have form_directory set to cope with subclass rename Cart Controller works with add/update/clear/save/delete Added Forms plugin companion to Forms controller Cart forms is not build from sub-forms Form->render now [...]]]></description>
			<content:encoded><![CDATA[<p>Back on the wagon again.</p>
<ul>
<li>Fixed Template->share when Mango has never been installed</li>
<li>Stripped action from yml forms, now get path_prefix on the fly</li>
<li>Base Controllers have form_directory set to cope with subclass rename</li>
<li>Cart Controller works with add/update/clear/save/delete</li>
<li>Added Forms plugin companion to Forms controller</li>
<li>Cart forms is not build from sub-forms</li>
</ul>
<ul>
<li>Form->render now localizes field labels/submit</li>
<li>Views now fall back to auto/Mango/templates</li>
<li>Added Form/FormFile attributes to Form controller</li>
</ul>
<p>In general, I think I finally have things the way I want them in terms of forms, base controllers and the various plugins and custom authentication. Next step is wishlist view/restore support and merging the various plugins into on [thing to load] Mango::Catalyst::Plugin::Application.</p>
]]></content:encoded>
			<wfw:commentRss>http://mangoframework.com/blog/releases/mango-001000-06-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Catalyst Integration: Day 99</title>
		<link>http://mangoframework.com/blog/catalyst-integration/catalyst-integration-day-99/</link>
		<comments>http://mangoframework.com/blog/catalyst-integration/catalyst-integration-day-99/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 04:55:04 +0000</pubDate>
		<dc:creator>claco</dc:creator>
				<category><![CDATA[Catalyst Integration]]></category>

		<guid isPermaLink="false">http://mangoframework.com/blog/?p=19</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>Day 99? Yeah, I&#8217;m a damn slacker. What can I say. But, I&#8217;m back to making progress again it seems. I&#8217;ve been spending most of the time lately on the admin controllers and such, which means I had to get the generic stuff somewhat solid. That mostly consisted of:</p>
<ul>
<li>Base Controller for Mango::Form loading/mapping/validating</li>
<li>Models wrapping Providers</li>
<li>Plugin for I18N merging Mango+MyApp Lexicons</li>
<li>Plugin for Authorization+user carts/profiles using new Auth API</li>
<li>Views for XHTML/HTML/Text/Atom/RSS</li>
<li>File::ShareDir directory with base forms/templates</li>
<li>Template views use share first, then fallback to MyApp local templates</li>
</ul>
<p>Now that most of the busy work is done, I&#8217;m back to converting what I&#8217;d hacked together for Handel back into Mango. It looks ugly as hell, but the admin user/roles/profiles/products/attribute CRUD works and the cart load/update works using the custom auth user objects. I&#8217;ll probably finish fixing the cart tomorrow and move on to the wishlists.</p>
]]></content:encoded>
			<wfw:commentRss>http://mangoframework.com/blog/catalyst-integration/catalyst-integration-day-99/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Catalyst Integration: Day 26</title>
		<link>http://mangoframework.com/blog/catalyst-integration/catalyst-integration-day-26/</link>
		<comments>http://mangoframework.com/blog/catalyst-integration/catalyst-integration-day-26/#comments</comments>
		<pubDate>Mon, 21 May 2007 03:37:06 +0000</pubDate>
		<dc:creator>claco</dc:creator>
				<category><![CDATA[Catalyst Integration]]></category>

		<guid isPermaLink="false">http://mangoframework.com/blog/?p=17</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>Yeah, day 26. Long time no post, but at least I have been working on Mango.</p>
<p>At some point, I had enough untested, undocumented Catalyst code floating around Mango that it was time get that under control. With a little help from <a href="http://www.catalystframework.org/calendar/2006/17">Chuck Norris Controller Testing</a> and some ideas from <a href="http://search.cpan.org/dist/Angerwhale/lib/Angerwhale/Test/Application.pm">Angerwhale</a>, I managed to throw together some test context classes and whip up some <a href="http://svn.mangoframework.com/CPAN/Mango/trunk/t/catalyst/">model/view/plugin</a> tests.</p>
<p>Now that those are done, time to move on to the base controller code. After that, the last big piece left will be the &#8216;<kbd>mango MyApp</kbd>&#8216; Module::Starter parts, and of course some &#8220;live&#8221; catalyst Mech tests.</p>
<p>I may be slow. I maybe be late. But when it&#8217;s finished, it will certainly be very well tested.</p>
]]></content:encoded>
			<wfw:commentRss>http://mangoframework.com/blog/catalyst-integration/catalyst-integration-day-26/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Catalyst Integration: Day 4</title>
		<link>http://mangoframework.com/blog/catalyst-integration/catalyst-integration-day-4/</link>
		<comments>http://mangoframework.com/blog/catalyst-integration/catalyst-integration-day-4/#comments</comments>
		<pubDate>Sun, 29 Apr 2007 02:20:44 +0000</pubDate>
		<dc:creator>claco</dc:creator>
				<category><![CDATA[Catalyst Integration]]></category>

		<guid isPermaLink="false">http://mangoframework.com/blog/?p=16</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>After a lot of cursing, tinkering, fixing, breaking, fixing, breaking and fixing, I&#8217;ve finally got most of the Auth/User bits converted to the new Catalyst Authentication API. when it&#8217;s working, it means that people can reference common user elements for both authenticated and anonymous users in the same way:
</p>
<pre><code>## current users cart pre/post authenticate()
$c->user->cart;

## 'anonymous' before authenticate()
$c->user->username;

## 'Anonymous' before authenticate()
$c->user->profile->first_name;

## 'claco' after authenticate()
$c->authenticate(...);
$c->user->username;

## 'Christopher' after authenticate()
$c->user->profile->first_name;
</code></pre>
<p>
In addition to a common way to reference user information, the Mango store also takes care of caching that user information, including roles, in session after authentication so we&#8217;re no hitting the database every time we check roles, display profile information, etc.
</p>
<p>
The one thing I seem to be constantly fighting is that either Catalyst, or Authentication bits just eat errors in certain situations. Things like misnamed classes, classes not loading due to syntax errors, errors down in DBI just go into the ether. I&#8217;d say it&#8217;s some SIG{DIE}/Error/Exception stuff somewhere just being too greedy. I don&#8217;t think <a href="http://use.perl.org/~kaare/journal/33107">I&#8217;m alone</a> either.</p>
]]></content:encoded>
			<wfw:commentRss>http://mangoframework.com/blog/catalyst-integration/catalyst-integration-day-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Catalyst Integration: Day 1</title>
		<link>http://mangoframework.com/blog/catalyst-integration/catalyst-integration-day-1/</link>
		<comments>http://mangoframework.com/blog/catalyst-integration/catalyst-integration-day-1/#comments</comments>
		<pubDate>Thu, 26 Apr 2007 05:46:14 +0000</pubDate>
		<dc:creator>claco</dc:creator>
				<category><![CDATA[Catalyst Integration]]></category>

		<guid isPermaLink="false">http://mangoframework.com/blog/?p=15</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>Now that the core api is &#8220;done&#8221;, time to start working on the Catalyst bits. I&#8217;ve re added <a href="http://svn.mangoframework.com/CPAN/Mango/trunk/lib/Mango/Catalyst/">what I started with</a> to trunk and I&#8217;ve started converting it to a name namespace and to the as yet released updated Catalyst::Plugin::Authorization.</p>
<p>Hopefully I can get everything back to a working state with pod by the end of the weekend.</p>
]]></content:encoded>
			<wfw:commentRss>http://mangoframework.com/blog/catalyst-integration/catalyst-integration-day-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

