<?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>brew manager development blog &#187; development</title>
	<atom:link href="http://blog.brewmanager.com/tag/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.brewmanager.com</link>
	<description>Follwing the development of brewmanager.com</description>
	<lastBuildDate>Sat, 07 Feb 2009 13:44:19 +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>About that last post</title>
		<link>http://blog.brewmanager.com/2008/10/20/about-that-last-post/</link>
		<comments>http://blog.brewmanager.com/2008/10/20/about-that-last-post/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 02:50:30 +0000</pubDate>
		<dc:creator>krujos</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[excuses]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[why I don't work on brewmanager]]></category>

		<guid isPermaLink="false">http://blog.brewmanager.com/?p=40</guid>
		<description><![CDATA[Total bullshit. I&#8217;ve have not even checked if brew manager runs on my development system after getting rails happy. I&#8217;m planning on taking a week off in December (several actually, but only one related to brew manager) and devote it to working full time on brew manager. Hopefully the ability to focus will be good [...]]]></description>
			<content:encoded><![CDATA[<p>Total bullshit. I&#8217;ve have not even checked if brew manager runs on my development system after getting rails happy. I&#8217;m planning on taking a week off in December (several actually, but only one related to brew manager) and devote it to working full time on brew manager. Hopefully the ability to focus will be good for it and me. My wife will be working and the kid will be in day care. So I should have at least a week, possibly more to devote full time to brew manager.</p>
<p>I&#8217;ve started to poke around with iPhone development as well. One of the things I&#8217;ve realized is that we use iPhones a lot when we are brewing to lookup recipies, update / read <a title="Symbeer" href="http://symbeer.com">our wiki</a> etc. This will not be my main focus, especially considering the site doesn&#8217;t really work for anyone besides me yet. But I do think it will be a fun and interesting thing to work on in the future.</p>
<p>I&#8217;m headed out to Zurich on Saturday for our European Sales Engineering (I think that&#8217;s what SE means) rotation. I&#8217;ll be talking to them about the thing I do for my day job. So&#8230;. at least one more week brew manager will be on hiatus. But I&#8217;m at least at the point where I want to do it. Hopefully soon want will turn to need and time will allow.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brewmanager.com/2008/10/20/about-that-last-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working again</title>
		<link>http://blog.brewmanager.com/2008/10/01/working-again/</link>
		<comments>http://blog.brewmanager.com/2008/10/01/working-again/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 02:19:13 +0000</pubDate>
		<dc:creator>krujos</dc:creator>
				<category><![CDATA[crap I'd rather not deal with]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[where I've been]]></category>

		<guid isPermaLink="false">http://blog.brewmanager.com/?p=38</guid>
		<description><![CDATA[I&#8217;ve been out of town again, and when I&#8217;m in town I&#8217;ve been distracted with a few things that have pushed brewmanager to the back burner again. Tonight I&#8217;m back in force and ready to get started on it again. The layout is still pretty ugly, but its serviceable to make sure I&#8217;ve got the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been out of town again, and when I&#8217;m in town I&#8217;ve been distracted with a few things that have pushed brewmanager to the back burner again. Tonight I&#8217;m back in force and ready to get started on it again. The layout is still pretty ugly, but its serviceable to make sure I&#8217;ve got the back end working the way its supposed to. My current plan is to look into why things fail when we are running at dreamhost but they work when I&#8217;m running them on my laptop.</p>
<p>So&#8230; off to it then.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brewmanager.com/2008/10/01/working-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tabbed navigation is starting to happen</title>
		<link>http://blog.brewmanager.com/2008/08/29/tabbed-navigation-is-starting-to-happen/</link>
		<comments>http://blog.brewmanager.com/2008/08/29/tabbed-navigation-is-starting-to-happen/#comments</comments>
		<pubDate>Sat, 30 Aug 2008 02:24:53 +0000</pubDate>
		<dc:creator>krujos</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[tabnav]]></category>

		<guid isPermaLink="false">http://blog.brewmanager.com/?p=36</guid>
		<description><![CDATA[I got some time to work on things again tonight. I&#8217;ve been busy adding the navigation tabs and figuring out how that all works. I decided to use Tabnav because it seemed like the path of least resistance. So far I think that was a good choice. It took me about 20 min to get [...]]]></description>
			<content:encoded><![CDATA[<p>I got some time to work on things again tonight. I&#8217;ve been busy adding the navigation tabs and figuring out how that all works. I decided to use <a href="http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app">Tabnav</a> because it seemed like the path of least resistance. So far I think that was a good choice. It took me about 20 min to get oriented and then I was off and running. Once again I&#8217;m impressed how easy it is to get a basic skeleton going for things in rails.</p>
<p>So far I&#8217;ve got the recipe page with tabs to a users inventory. After writing this I&#8217;ll work on getting the tabs fleshed out more, I&#8217;m still not sure what elements it makes sense to navigate to. I keep having this internal debate that tabs should take you to content and not actions. For instance it should take you to your recipes but we should not have a tab to start a new recipe. I think I might add tabs for recipes, inventory and brews, and possibly the BJCP guidelines (If I choose to reproduce them here, still up in the air on that too). Each of those tabs will have the list you would expect, as well as action links for deleting, editing and adding / starting a new whatever.</p>
<p>Its funny how little time this took, about an hour but how productive it feels because it changed the way the site looks. In my day job I don&#8217;t ever see a user interface change for the work I do&#8230;. instant gratification is nice.</p>
<p>One gotcha I don&#8217;t particularly understand about Tabnav. Whenever I update what a tab links to, or the text in the tab I have to restart mongrel&#8230; what the heck? Not a huge deal but I wasted about 15 min figuring out why my changes wouldn&#8217;t take effect.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brewmanager.com/2008/08/29/tabbed-navigation-is-starting-to-happen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting to work on CSS</title>
		<link>http://blog.brewmanager.com/2008/08/15/starting-to-work-on-css/</link>
		<comments>http://blog.brewmanager.com/2008/08/15/starting-to-work-on-css/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 02:01:17 +0000</pubDate>
		<dc:creator>krujos</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://blog.brewmanager.com/?p=32</guid>
		<description><![CDATA[Tonight I started playing with CSS to get the color scheme that Chris came up with onto a web page. No tabs or navigation or anything yet, but I&#8217;ve splashed the colors on the page. Kinda like that guy that used to paint on MTV. You can take a peek at what we have started [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight I started playing with CSS to get the color scheme that Chris came up with onto a web page. No tabs or navigation or anything yet, but I&#8217;ve splashed the colors on the page. Kinda like that guy that used to paint on MTV. You can take a peek at what we have started to play with <a href="http://prealpha.brewmanager.com/recipes">here</a>. I&#8217;ve embellished the original scheme slightly and we will see if Chris beats me up for it. It&#8217;s easy enough to change back I suppose.</p>
<p>Be warned that that page is in no way functional. Anything posted under the pre alpha site is really just for Chris to take a peak and what I&#8217;m doing and is never guaranteed to work (I update things haphazardly and make no effort to ensure that it reflects a consistent image) and it isn&#8217;t really for public consumption. I probably should not have named it pre alpha&#8230;.</p>
<p>Anyway I&#8217;ve learned that I don&#8217;t know much about CSS. This is not a terribley huge suprise. I am muddling my way through and making decent progress. If anyone&#8217;s got a good web page or book on CSS to recommend I&#8217;d appreciate it. I&#8217;ve read some stuff online and haven&#8217;t found any good comprehensive thing I&#8217;m supper happy with. I plan to go pickup a book this weekend maybe. Surley O&#8217;Reilly has something that can help me out.</p>
<p>Anyway, thats my quick update and now I&#8217;m back to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brewmanager.com/2008/08/15/starting-to-work-on-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Too hot to work</title>
		<link>http://blog.brewmanager.com/2008/07/07/too-hot-to-work/</link>
		<comments>http://blog.brewmanager.com/2008/07/07/too-hot-to-work/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 02:59:07 +0000</pubDate>
		<dc:creator>krujos</dc:creator>
				<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://blog.brewmanager.com/?p=22</guid>
		<description><![CDATA[Not really, but it seems that way. Lately I&#8217;ve been researching the best way to get tabbed navigation in a rails app. I&#8217;m debating between a plug in and rolling my own sliding doors type solution&#8230;. and /or something more AJAXey.. Once I see what Chris has cooked up I&#8217;ll make my decision based on [...]]]></description>
			<content:encoded><![CDATA[<p>Not really, but it seems that way. Lately I&#8217;ve been researching the best way to get tabbed navigation in a rails app. I&#8217;m debating between a plug in and rolling my own sliding doors type solution&#8230;. and /or something more AJAXey.. Once I see what Chris has cooked up I&#8217;ll make my decision based on what fits that. Other than that I&#8217;m starting to think about getting the inventory management stuff going&#8230;</p>
<p>Going camping again this weekend and work has picked up so things are on hiatus until next week or so.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brewmanager.com/2008/07/07/too-hot-to-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Looking at unit tests</title>
		<link>http://blog.brewmanager.com/2008/06/23/looking-at-unit-tests/</link>
		<comments>http://blog.brewmanager.com/2008/06/23/looking-at-unit-tests/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 02:16:49 +0000</pubDate>
		<dc:creator>krujos</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[unit test]]></category>

		<guid isPermaLink="false">http://blog.brewmanager.com/?p=16</guid>
		<description><![CDATA[I neglected to read the ruby / rails unit test documentation because it seemed cumbersome at first glance. I rolled my own thing for models and assumed controllers would do what they were supposed to do. That worked well enough to get me up and going but tonight I decided I needed something more reliable [...]]]></description>
			<content:encoded><![CDATA[<p>I neglected to read the ruby / rails unit test documentation because it seemed cumbersome at first glance. I rolled my own thing for models and assumed controllers would do what they were supposed to do. That worked well enough to get me up and going but tonight I decided I needed something more reliable and rather than reinvent the wheel&#8230;..</p>
<p>So I did some <a title="unit testing. " href="http://manuals.rubyonrails.com/read/chapter/20">reading</a>. The unit tests aren&#8217;t as decoupled as I would like them to be (yes <a title="Michael Feathers" href="http://www.michaelfeathers.com/">Michael Feathers, you have made an impact in my life</a> (his <a title="Working Effectivly with Legacy Code" href="http://www.amazon.com/Working-Effectively-Legacy-Robert-Martin/dp/0131177052/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1214273567&amp;sr=8-1">legacy code book</a> is pretty good. I suggest it). I firmly believe that a unit test should not use a database or network. I think you can do that with the model well enough (by avoiding fixtures), but it looks next to impossible for controllers. From what I&#8217;ve read testing a controller makes http requests to the web server. I&#8217;m not a purist or anything, but its a bummer it has to do that. And I don&#8217;t think I can setup an in memory model object for a controller to work with (I&#8217;m probably wrong about that, I&#8217;d guess there&#8217;s some magic) I&#8217;d imagine for a full tests suite it would slow things down considerably. The other thing I&#8217;m not immediately seeing is a way to sense through a fixture. While not strictly necessary (and may in fact be more trouble than its worth) it sounds like a neat idea. All that said, it looks like the functional testing you can do with the unit test framework is pretty slick. I&#8217;m kicking around the idea of setting up some sort of nightly check out / test run just for kicks.</p>
<p>There has been a vanilla crisis in my house ( I think I get cookies!) I&#8217;m out.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brewmanager.com/2008/06/23/looking-at-unit-tests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s alive</title>
		<link>http://blog.brewmanager.com/2008/06/19/its-alive/</link>
		<comments>http://blog.brewmanager.com/2008/06/19/its-alive/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 05:50:53 +0000</pubDate>
		<dc:creator>krujos</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.brewmanager.com/?p=14</guid>
		<description><![CDATA[In a clunky Frankensteins sort of way. Recipes can be created and attached to a user. Ingredients can be added to said recipe. At the moment all recipe ingredients are shared between all users&#8230; I&#8217;m not sure how I feel about that. A recipe ingredient is a more specific ingredient. It adds Manufacture, Quantity and [...]]]></description>
			<content:encoded><![CDATA[<p>In a clunky Frankensteins sort of way. Recipes can be created and attached to a user. Ingredients can be added to said recipe. At the moment all recipe ingredients are shared between all users&#8230; I&#8217;m not sure how I feel about that. A recipe ingredient is a more specific ingredient. It adds Manufacture, Quantity and Unit of Measurement&#8230; the more I think about it those last two may belong somewhere else. Anyway. An ingredient would be something like DME, while a Recipe Ingredient would be something like 2 cups of Briess DME.</p>
<p>The nav is still incredibly clunky. Hopefully Chris has had some time to think about what navigation should look like. Next tasks is to figure out if the measurement stuff should move out of the recipe class itself and into a helper of some sort. I&#8217;ll also make it so recipe ingredients aren&#8217;t shared between users (may hap we will have some common pool of them and then you make them your own).</p>
<p>The other task I&#8217;ll tackle is the ability to add steps to a recipe. This should get recipe creation all done and I&#8217;ll have produced something capable of storing recipes per user that can be searchd by everyone.</p>
<p>One thing I&#8217;ve done, that I&#8217;m not sure what to do about is allow recipes to be created by an unregistered user. This is cool, and they can create it and add ingredients and all that. The thing is they can&#8217;t come back and edit it later. Once they click &#8216;save&#8217; that&#8217;s the ball game. I&#8217;m officially soliciting suggestions. One thing I was thinking bout is using <a title="Gravatar" href="http://en.gravatar.com/">gravatar&#8217;s</a>. They have the ability to bind a session to an IP which is kinda cool, and it just looks like it would be a neat thing to integrate. I don&#8217;t think they provide anything I couldn&#8217;t get with a session cookie or the like&#8230;. but eh&#8230; why not. Other ideas appreciated. Should I just restrict recipe creation to registered users (not wild about that).</p>
<p>Also, wordpress has this autosave feature that turns spell check off (when using the wyswig editor)&#8230; anyone know how to disable that?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brewmanager.com/2008/06/19/its-alive/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Things getting done, even if they are in the wrong order</title>
		<link>http://blog.brewmanager.com/2008/06/17/things-getting-done-even-if-they-are-in-the-wrong-order/</link>
		<comments>http://blog.brewmanager.com/2008/06/17/things-getting-done-even-if-they-are-in-the-wrong-order/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 02:45:34 +0000</pubDate>
		<dc:creator>krujos</dc:creator>
				<category><![CDATA[brewing]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[beer]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.brewmanager.com/?p=13</guid>
		<description><![CDATA[Tonight users got inventory&#8217;s. I&#8217;m not sure why I started working on this. I added it in the account controller the other for some reason. That struck me as ugly so I moved the creation of the inventory down into the user model. I also learned what magic (err not so much magic as you [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight users got inventory&#8217;s. I&#8217;m not sure why I started working on this. I added it in the account controller the other for some reason. That struck me as ugly so I moved the creation of the inventory down into the user model. I also learned what magic (err not so much magic as you know&#8230; passing a parameter) I needed to overload ActiveRecords constructor. Seems harder than it should have been, but I probably wasn&#8217;t looking in the right place (google didn&#8217;t turn up anything too revealing, should have put <a title="Punt a Koala" href="http://www.puntakoala.org/mt/">Buck</a> on it, mad google skills that one.). If anyone is ever looking for it you want to do:</p>
<pre>def initialize(params = {}) #Not def initialize()
    super(params)
    ....
end</pre>
<p>So anyway, users now compose inventories. Life is good for them. Still can&#8217;t enter recipies, because you know I got side tracked. But eh that&#8217;s how it goes.</p>
<p>I&#8217;ve got beer to rack &amp; bottle (<a title="Aleisha's Heff" href="http://symbeer.wikidot.com/recipes:aleishas-heff">heff</a> into bottles and racking a <a title="Nut Brown " href="http://symbeer.wikidot.com/recipes:brown-ale">brown</a> to secondaries) tomorrow night so I won&#8217;t get to work on the site for a day or two. When I get back to it I&#8217;ll finish up the recipe stuff and get it out there.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brewmanager.com/2008/06/17/things-getting-done-even-if-they-are-in-the-wrong-order/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Todays progress</title>
		<link>http://blog.brewmanager.com/2008/06/13/todays-progress/</link>
		<comments>http://blog.brewmanager.com/2008/06/13/todays-progress/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 21:40:34 +0000</pubDate>
		<dc:creator>krujos</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://blog.brewmanager.com/?p=11</guid>
		<description><![CDATA[I took this afternoon off work because its slow. Thats a nice change fwiw. I got a chance to get much of the stuff needed setup on dreamhost. I&#8217;m using Google Apps for email, that was super easy to setup. Good for those guys. Once again Google pretty much proves they are the bees knees [...]]]></description>
			<content:encoded><![CDATA[<p>I took this afternoon off work because its slow. Thats a nice change fwiw. I got a chance to get much of the stuff needed setup on dreamhost. I&#8217;m using <a title="Google Apps" href="http://www.google.com/a/help/intl/en/var_1c.html">Google Apps</a> for email, that was super easy to setup. Good for those guys. Once again Google pretty much proves they are the bees knees when it comes to these things.</p>
<p>I got the boiler plate webpage up that says &#8220;hey I&#8217;m going to build something&#8221;. I hope to have recipe creation up by the end of the weekend. I&#8217;m going with the release early and often approach I think.</p>
<p>In more exciting news, for me at least. I got subversion up and running on a host outside my house. So now it runs on dreamhost. Hopefully I&#8217;ll get bugzilla installed and I can stop making notes to my self via google docs.</p>
<p>So far I&#8217;m liking dream host a lot. I&#8217;ll put up some intelligent and organized thoughts about why I switched over from godaddy hosting later.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brewmanager.com/2008/06/13/todays-progress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Object Model</title>
		<link>http://blog.brewmanager.com/2008/06/12/object-model/</link>
		<comments>http://blog.brewmanager.com/2008/06/12/object-model/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 02:56:26 +0000</pubDate>
		<dc:creator>krujos</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[modeling]]></category>
		<category><![CDATA[uml]]></category>

		<guid isPermaLink="false">http://brewsessions.com/blog/?p=5</guid>
		<description><![CDATA[Tonight I started to lay out the object model I&#8217;ve had kicking around in my head. I generated a lot (if not all) of the scaffolding (models, views and controllers for the non rails crowd). I should probably lay down a real model so I have a design to code to, instead of relying on [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight I started to lay out the object model I&#8217;ve had kicking around in my head. I generated a lot (if not all) of the scaffolding (models, views and controllers for the non rails crowd). I should probably lay down a real model so I have a design to code to, instead of relying on myself remembering it all. Anyone have any good suggestions for a UML modeling tool? At work we use <a title="Borland Together" href="http://www.borland.com/us/products/together/index.html">Borland&#8217;s Together Architect</a> but thats a more coin than I&#8217;m willing to shell out.</p>
<p>I&#8217;ve connected the user and the inventory object&#8230; I think for now I&#8217;ll leave it at that until I can get a model drawn up somewhere. Paper and pen maybe&#8230; lofi.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brewmanager.com/2008/06/12/object-model/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
