<?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>Meta Bates &#187; drb</title>
	<atom:link href="http://www.metabates.com/tag/drb/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.metabates.com</link>
	<description>The technical ramblings of Mark Bates.</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:25:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>First Book Review is a 5-Star One!</title>
		<link>http://www.metabates.com/2009/11/19/first-book-review-is-a-5-star-one/</link>
		<comments>http://www.metabates.com/2009/11/19/first-book-review-is-a-5-star-one/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 21:09:56 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Press]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[distributed programmig]]></category>
		<category><![CDATA[distributed programming with ruby]]></category>
		<category><![CDATA[distributed ruby]]></category>
		<category><![CDATA[drb]]></category>
		<category><![CDATA[rinda]]></category>

		<guid isPermaLink="false">http://www.metabates.com/?p=295</guid>
		<description><![CDATA[About.com became the first, that I know about, to review my book, &#8220;Distributed Programming with Ruby&#8221;. What a great first review to have as well. They rated the book 5 out of 5 stars! The review can be found here. &#8220;Anyone working with distributed programming in Ruby will want this book.&#8221; The only downside they [...]]]></description>
			<content:encoded><![CDATA[<p>About.com became the first, that I know about, to review my book, &#8220;Distributed Programming with Ruby&#8221;. What a great first review to have as well. They rated the book 5 out of 5 stars! The review can be found <a href="http://ruby.about.com/od/bookreviews/gr/distributedprogramming.htm">here</a>.</p>
<blockquote><p>&#8220;Anyone working with distributed programming in Ruby will want this book.&#8221;</p></blockquote>
<p>The only downside they saw in the book, was that they wanted it to be longer! I have to save something for the 2nd edition, don&#8217;t I? <img src='http://www.metabates.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you haven&#8217;t purchased yours yet, I encourage you to do so. It&#8217;s on sale at <a href="http://book.markbates.com">Amazon.com</a> right now.</p>
<p>If you have reviewed the book, or know of a review of the book, please pass it along.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2009/11/19/first-book-review-is-a-5-star-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Distributed Programming with Ruby &#8211; Now Available</title>
		<link>http://www.metabates.com/2009/11/12/distributed-programming-with-ruby-now-available/</link>
		<comments>http://www.metabates.com/2009/11/12/distributed-programming-with-ruby-now-available/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 20:40:31 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[distributed programmig]]></category>
		<category><![CDATA[distributed programming with ruby]]></category>
		<category><![CDATA[distributed ruby]]></category>
		<category><![CDATA[drb]]></category>
		<category><![CDATA[rinda]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.metabates.com/?p=290</guid>
		<description><![CDATA[Well folks, it&#8217;s been a long road, nearly a year since I presented the idea for &#8220;Distributed Programming with Ruby&#8221; to Obie Fernandez in a hot tub in Florida, but finally my book is done, dusted, back from the printers and available for purchase from a variety of places, include Amazon.com! It was an absolutely [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://book.markbates.com"><img class="alignleft size-medium wp-image-231" style="margin: 10px;" title="Distributed Programming with Ruby" src="http://www.metabates.com/wp-content/uploads/2009/06/0321638360_bates_mech_page_3-261x300.jpg" alt="Distributed Programming with Ruby" width="261" height="300" /></a>Well folks, it&#8217;s been a long road, nearly a year since I presented the idea for &#8220;Distributed Programming with Ruby&#8221; to Obie Fernandez in a hot tub in Florida, but finally my book is done, dusted, back from the printers and available for purchase from a variety of places, include <a href="http://book.markbates.com">Amazon.com</a>!</p>
<p>It was an absolutely amazing experience and I can&#8217;t thank everyone involved with the project enough for all of their help, guidance, and having to put up with me over the past year.</p>
<p>I would go into detail about all the people I wish to thank, but I did that already in the book, and let&#8217;s be honest, you&#8217;re going to buy it and read it anyway, so I don&#8217;t want to ruin the surprise. <img src='http://www.metabates.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;m sure you&#8217;ve already purchased your copy, but if you haven&#8217;t might I recommend you pop over to <a href="http://book.markbates.com">Amazon</a> right now and pick yourself up a copy. They&#8217;re selling pretty well and you don&#8217;t want to miss out, do you? I didn&#8217;t think so.</p>
<p>If you are someone with a popular blog and you would like to do a review of the book, please drop me a line and I&#8217;ll see what we can do about hooking you up with a copy. Please understand, though, the publishers aren&#8217;t going to send out copies to everyone who requests them, so there will be a bit of vetting going on.</p>
<p>Also, if you have already purchased the book if you wouldn&#8217;t mind leaving a review of it on <a href="http://book.markbates.com">Amazon</a>, that would be much appreciated. It doesn&#8217;t matter where you bought the book, if you could leave a review there, it will really make a difference. Thanks.</p>
<h3><a href="http://book.markbates.com">Buy &#8220;Distributed Programming with Ruby&#8221; Today!</a></h3>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2009/11/12/distributed-programming-with-ruby-now-available/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Almost There&#8230; Book Wise.</title>
		<link>http://www.metabates.com/2009/07/27/almost-there-book-wise/</link>
		<comments>http://www.metabates.com/2009/07/27/almost-there-book-wise/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 01:54:02 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[delayed job]]></category>
		<category><![CDATA[distributed programming with ruby]]></category>
		<category><![CDATA[drb]]></category>
		<category><![CDATA[map reduce]]></category>
		<category><![CDATA[rinda]]></category>

		<guid isPermaLink="false">http://www.metabates.com/?p=260</guid>
		<description><![CDATA[I&#8217;m now entering the home stretch of writing the Distributed Programming with Ruby book. I&#8217;m just a few weeks away, well, technically I&#8217;m hours away from finishing the last chapter (Delayed Job) in the official table of contents, however, I&#8217;m going to add another chapter and a half. Why? Mostly because I&#8217;m a glutton for [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m now entering the home stretch of writing the Distributed Programming with Ruby book. I&#8217;m just a few weeks away, well, technically I&#8217;m hours away from finishing the last chapter (Delayed Job) in the official table of contents, however, I&#8217;m going to add another chapter and a half. Why? Mostly because I&#8217;m a glutton for punishment. That and I want to deliver the best book possible. The extra chapter and a half, not featured in the table of contents below, will be on MapReduce technologies. It&#8217;s a really hot topic, and I think it will fit well in the book. What do you think?</p>
<p><del datetime="2009-07-29T03:01:37+00:00">Unfortunately, the &#8220;Rough Cuts&#8221; book on O&#8217;Reilly&#8217;s Safari site hasn&#8217;t been updated in nearly 3 months! I&#8217;m not sure why. I keep asking my editor to update it, but it hasn&#8217;t happened yet. I&#8217;m sure it will soon, especially since the first draft of the entire manuscript will be done in just a few weeks!</del></p>
<p>UPDATE: Today they updated the &#8220;Rough Cuts&#8221; with nearly the latest revisions. It&#8217;s still missing the chapters on Delayed Job and BackgrounDRb, but it&#8217;s closer than it was yesterday. </p>
<p>Anyway, as a public service announcement to you, the readers, I thought I would the table of contents as it stands right now, so you have a better idea of what the book is going to be about. So here it goes:</p>
<p><script src="http://gist.github.com/156861.js"></script></p>
<p>What do you think? Does it look good? Is this something you&#8217;d buy? Let me know. This is your chance to have an influence on a book. If you think something is missing or should be laid out differently, please let me know, it might just make it into the final product.</p>
<p>Ok, enough delaying here, let me get back to writing so I can finish up the Delayed Job chapter.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2009/07/27/almost-there-book-wise/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>The Evolving Table of Contents</title>
		<link>http://www.metabates.com/2009/06/20/the-evolving-table-of-contents/</link>
		<comments>http://www.metabates.com/2009/06/20/the-evolving-table-of-contents/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 04:26:02 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[distributed programmig]]></category>
		<category><![CDATA[drb]]></category>
		<category><![CDATA[rinda]]></category>

		<guid isPermaLink="false">http://www.metabates.com/?p=241</guid>
		<description><![CDATA[For those of you who have checked out the Rough Cuts version of my book, &#8220;Distributed Programming with Ruby&#8221;, I thought you would like to get a peek into how the Table of Contents is going to change shortly. For those of you who haven&#8217;t seen the old Table of Contents, or are just plain [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you who have checked out the Rough Cuts version of my book, &#8220;Distributed Programming with Ruby&#8221;, I thought you would like to get a peek into how the Table of Contents is going to change shortly. For those of you who haven&#8217;t seen the old Table of Contents, or are just plain old interested to see what&#8217;s going to be in the book, or to see how far along with the book I am, here is the current Table of Contents as of tonight:</p>
<p><script src="http://gist.github.com/133394.js"></script></p>
<p>As you can see it has evolved quite a bit from what was posted on Rough Cuts just about a month ago. Chances are that it will probably change again, and as it does, I&#8217;ll try and keep you all posted. There is talk of adding a large chapter at the end that takes a handful of the technologies I discuss in the book and use them to build a &#8220;real world&#8221; example application, like a Twitter clone, or something like that. If anyone has any good ideas on what they would like to see for this example, please them my way, I&#8217;d love to hear them.</p>
<p>If there are no sections listed below a particular chapter that means that I have either not written it yet, or I&#8217;m still too early in that chapter&#8217;s development to have properly assigned it actual sections.</p>
<p>The first draft of the book is slated for the end of July. So there is still a lot of work to be done, but it&#8217;s still rather exciting. Well, it&#8217;s exciting for me at least. Talk to you all soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2009/06/20/the-evolving-table-of-contents/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Distributed Programming with Ruby Book Update</title>
		<link>http://www.metabates.com/2009/05/22/distributed-programming-with-ruby-book-update/</link>
		<comments>http://www.metabates.com/2009/05/22/distributed-programming-with-ruby-book-update/#comments</comments>
		<pubDate>Sat, 23 May 2009 02:01:47 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[addison-wesley]]></category>
		<category><![CDATA[distribunaut]]></category>
		<category><![CDATA[distributed programming with ruby]]></category>
		<category><![CDATA[drb]]></category>
		<category><![CDATA[github.com]]></category>
		<category><![CDATA[rinda]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/?p=221</guid>
		<description><![CDATA[Hey there folks, I know it&#8217;s been awhile, so I thought I would give you all a very quick update as to how the book is going. It&#8217;s going really well. I&#8217;m about 100 pages into it, and it&#8217;s shaping up very nicely. Addison-Wesley is preparing to put it into their &#8220;Rough Cuts&#8221; program so [...]]]></description>
			<content:encoded><![CDATA[<p>Hey there folks, I know it&#8217;s been awhile, so I thought I would give you all a very quick update as to how the book is going. It&#8217;s going really well. I&#8217;m about 100 pages into it, and it&#8217;s shaping up very nicely. Addison-Wesley is preparing to put it into their &#8220;Rough Cuts&#8221; program so you can all get your dirty little hands on what I&#8217;ve written so far as early as a few weeks from now, or so I&#8217;m told.</p>
<p>While I don&#8217;t want to give too much away about the contents, everybody loves a good surprise, let me say that part one of the book will be the most comprehensive guide to DRb and Rinda that you&#8217;ll find anywhere. Including the source code!!</p>
<p>I&#8217;m working hard on part two of the book which focuses on third party tools, frameworks, and libraries. It&#8217;s quite a fun part of the book to write as there are a great deal of choices out there, including my own Distribunaut. (PS. I released a new version of it on GitHub a week or so ago.) Writing about different libraries is quite fun as I get to really delve into the source code and see the good and bad ways people like to write code. Plus some of the libraries have really great features, or really turn things on their head.</p>
<p>When the book is available as a &#8220;Rough Cut&#8221;, I&#8217;ll certainly keep you all informed. In the mean time keep watching this space and have a great weekend!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2009/05/22/distributed-programming-with-ruby-book-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Distribunaut</title>
		<link>http://www.metabates.com/2009/04/05/distribunaut/</link>
		<comments>http://www.metabates.com/2009/04/05/distribunaut/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 03:08:34 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[distribunaut]]></category>
		<category><![CDATA[distributed objects]]></category>
		<category><![CDATA[drb]]></category>
		<category><![CDATA[mack]]></category>
		<category><![CDATA[mack-distributed]]></category>
		<category><![CDATA[rinda]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/?p=218</guid>
		<description><![CDATA[Hey there everyone, it certainly has been awhile, a month by my count. I have been diligently working on a book for Addison-Wesley called, &#8220;Distributed Programming with Ruby&#8221;, so having the time to blog went from a luxury to almost non-existent. But here&#8217;s another little post to keep your RSS feeds happy. I&#8217;ve started working [...]]]></description>
			<content:encoded><![CDATA[<p>Hey there everyone, it certainly has been awhile, a month by my count. I have been diligently working on a book for Addison-Wesley called, &#8220;Distributed Programming with Ruby&#8221;, so having the time to blog went from a luxury to almost non-existent. But here&#8217;s another little post to keep your RSS feeds happy. </p>
<p>I&#8217;ve started working on porting the mack-distributed package to the non-Mack world. This new project, and I use the term new loosely for the time being, is tentatively called Distribunaut. The project on GitHub can be found here:Â <a href="http://github.com/markbates/distribunaut/tree/master" target="_blank">http://github.com/markbates/distribunaut/tree/master</a>. It&#8217;s pretty rough right now. I&#8217;ve ported over the distributed objects section of mack-distributed, but not the views and routes.</p>
<p>You can install the gem like such:</p>
<p><code>$ gem sources -a http://gems.github.com<br />
$ sudo gem install markbates-distribunaut</code></p>
<p>To use Distribunaut we first need to start a Rinda::RingServer. Distribunaut comes with a binary to help make this easier:</p>
<p><code>$ distribunaut_ring_server start</code></p>
<p>Once we&#8217;ve done that we can create an object we would like to share:</p>
<p><script src="http://gist.github.com/90620.js"></script></p>
<p>When we run that we can access it like such:</p>
<p><script src="http://gist.github.com/90621.js"></script></p>
<p>That would result in the following being printed out by our &#8216;client&#8217; code:</p>
<p><script src="http://gist.github.com/90622.js"></script></p>
<p>On our &#8216;server&#8217; side we would see something like this:</p>
<p><script src="http://gist.github.com/90623.js"></script></p>
<p>This is, clearly, a very simple example, but it shows you how easy it is to use Distribunaut. We haven&#8217;t done any real configuration, and things just magically work!</p>
<p>Over the next couple of months I&#8217;ll be extending and rebuilding this library to make it even more powerful and easy to use. I&#8217;m going to add fault tolerance, selection algorithms, and whole lot more. The API you see in these examples will most likely remain unchanged, but I&#8217;m planning on pretty big under the cover changes.There will be a very in-depth look into all of this in the book, obviously. (Shameless plug, I know.)</p>
<p>If anybody out there wants to contribute to this project, I&#8217;d love the help. Any sort of feedback is welcome. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2009/04/05/distribunaut/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mack @ RubyConf &#8217;08</title>
		<link>http://www.metabates.com/2008/09/11/mack-rubyconf-08/</link>
		<comments>http://www.metabates.com/2008/09/11/mack-rubyconf-08/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 15:21:51 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[drb]]></category>
		<category><![CDATA[mack]]></category>
		<category><![CDATA[rinda]]></category>
		<category><![CDATA[ruby conf]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/?p=175</guid>
		<description><![CDATA[Mark your calendars, on Day One, from 1.15PM &#8211; 2.00PM, in Room 2, I&#8217;ll be delivering a presentation on building distributed applications. http://www.rubyconf.org/talks/15 Building multiple applications that all need to share data and other information between can be a&#160;daunting and challenging task. Mark will help to demystify the use of Ruby systems such as Rinda [...]]]></description>
			<content:encoded><![CDATA[<p>Mark your calendars, on Day One, from 1.15PM &#8211; 2.00PM, in Room 2, I&#8217;ll be delivering a presentation on building distributed applications.</p>
<p><a href="http://www.rubyconf.org/talks/15" target="_blank">http://www.rubyconf.org/talks/15</a></p>
<blockquote><p>Building multiple applications that all need to share data and other information between can be a&nbsp;daunting and challenging task. Mark will help to demystify the use of Ruby systems such as Rinda and&nbsp;DRb and show you how they can be used to link applications together. Through the development of the&nbsp;Mack framework and its use in building Helium.com, Mark will share the highlights and the pitfalls&nbsp;of distributed application development.</p></blockquote>
<p>Make sure and sign up for the conference today, as attendance is limited to only 500.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2008/09/11/mack-rubyconf-08/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cachetastic 1.7.0 Release</title>
		<link>http://www.metabates.com/2008/06/04/cachetastic-170-release/</link>
		<comments>http://www.metabates.com/2008/06/04/cachetastic-170-release/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 14:42:53 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[cachetastic]]></category>
		<category><![CDATA[drb]]></category>
		<category><![CDATA[memcache]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/?p=104</guid>
		<description><![CDATA[The simple, yet extremely powerful, Ruby caching framework, Cachetastic has been upgraded to 1.7.0. The big new feature of this release is the Cachetastic::Cacheable module. Including this module allows any class to become a Cache. class Person include Cachetastic::Cacheable end Person.set_into_cache(:hi, "Hello There") Person.get_from_cache(:hi) #=&#62; "Hello There" Under the covers this creates a Cachetastic::Caches::Base object [...]]]></description>
			<content:encoded><![CDATA[<p>The simple, yet extremely powerful, Ruby caching framework, Cachetastic has been upgraded to 1.7.0. The big new feature of this release is the Cachetastic::Cacheable module. Including this module allows any class to become a Cache.</p>
<pre>class Person
include Cachetastic::Cacheable
end
Person.set_into_cache(:hi, "Hello There")
Person.get_from_cache(:hi) #=&gt; "Hello There"</pre>
<p>Under the covers this creates a Cachetastic::Caches::Base object and proxies requests to it. This is a very simple example and belies the richness of the Cachetastic library.Â </p>
<p><a href="http://cachetastic-api.mackframework.com/" target="_blank">http://cachetastic-api.mackframework.com/</a></p>
<p>Features:</p>
<ul>
<li>Flexible configuration. All caches have can either have their own configurations, or they can inherit from a default configuration.</li>
<li>Easy to use Adapter API. Included adapters include, LocalMemory, Memcache, DRb, File, and more. With the Adapter API being so simple, it&#8217;s easy to build your own custom adapter.</li>
<li>Flexible logging. Each cache can have it&#8217;s own loggers, or they can use the default logger.</li>
<li>JIT caching. Through Ruby&#8217;s powerful block structure, you can pass a block to a &#8216;get&#8217; call and have it run if the results from the get are either &#8216;nil&#8217; or &#8216;empty&#8217;</li>
<li>Cachetastic::Cacheable module turns any Object into a cache. It allows for any instance of that Object to cache and uncache itself.</li>
<li>And much more!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2008/06/04/cachetastic-170-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Release 0.4.5</title>
		<link>http://www.metabates.com/2008/04/14/release-045/</link>
		<comments>http://www.metabates.com/2008/04/14/release-045/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 20:37:32 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[active record]]></category>
		<category><![CDATA[data mapper]]></category>
		<category><![CDATA[drb]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[mack]]></category>
		<category><![CDATA[migrations]]></category>
		<category><![CDATA[rake]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[rinda]]></category>
		<category><![CDATA[routes]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/?p=59</guid>
		<description><![CDATA[Well, here it is! The release you all were waiting for, the one that finally gives migration support to Mack! That&#8217;s right, now whether you use ActiveRecord or DataMapper, you can use the familiar rake task &#8216;db:migrate&#8217; to run your migrations. Yippie! The scaffold generator will also generate a migration for you, assuming you have [...]]]></description>
			<content:encoded><![CDATA[<p>Well, here it is! The release you all were waiting for, the one that finally gives migration support to Mack! That&#8217;s right, now whether you use ActiveRecord or DataMapper, you can use the familiar rake task &#8216;db:migrate&#8217; to run your migrations. Yippie! The scaffold generator will also generate a migration for you, assuming you have ORM support enabled.</p>
<p>There&#8217;s still some work to go on this, like the ability to pass in command line args to the task to build the full migration for you, but it&#8217;s a start! It&#8217;s now pretty easy to get your app going.</p>
<p>Also in this release is a rewrite of the distributed routing functionality. It&#8217;s now been rewritten to use Rinda. This is going to be the standard for all the distributed functionality that will be coming Mack over the next couple of months. As more functionality lke this is developed, the more it will be wrapped in nice, easy to use APIs.</p>
<p>There&#8217;s also been some tidying up here in there in the code tree. For example, new applications don&#8217;t get generated with a boot.rb file. Looking at it, there&#8217;s really no need for it, since everything is done with Rake tasks.</p>
<p>Overall, I&#8217;m very happy with the release, and I feel that this release definitely makes Mack a VERY useable framework because of the migration support. Enjoy!</p>
<p>Changelog:</p>
<ul>
<li>Removed boot.rb file. It was unnecessary.</li>
<li>When a new Mack application is generated the Rakefile that gets generated is stamped with the Mack gem version used to create it. This ties the project to that gem. This can, of course, be upgraded as new Mack gems come out, but it&#8217;s a good way of tying your app to a specific revision of Mack.</li>
<li>Added support for migrations for both ActiveRecord and DataMapper. DataMapper migration support requires DataMapper 0.3.0 gem. Please keep in mind, though, that DataMapper 0.3.0 has a serious bug in it, which may prevent you from using it. Please see <a href="http://www.mackframework.com/2008/04/09/horrible-bug-in-datamapper-030/">http://www.mackframework.com/2008/04/09/horrible-bug-in-datamapper-030/</a> for more information.</li>
<li>Rewrote distributed routing support to use Rinda inside of plain old DRb. This makes for an almost zero configuration usage.</li>
<li>Added: mack_ring_server binary to start a Rinda ring server for use with distributed routing.</li>
<li>Sqlite3 is now the default database for Mack applications configured with ORM support.</li>
<li>Added a test helper method, rake_task, to aid in the testing of Rake tasks.</li>
<li>Added: rake generate:migration name=&lt;migration_name&gt;</li>
<li>Added: rake db:migrate</li>
<li>Added: rake db:abort_if_pending_migrations</li>
<li>Added: rake db:rollback</li>
<li>Added: rake db:version</li>
<li>Added: rake mack:ring_server:start</li>
<li>Added: rake mack:ring_server:stop</li>
<li>Added: rake mack:ring_server:restart</li>
<li>Added: rake mack:ring_server:services:list</li>
<li>gem: application_configuration 1.2.2</li>
<li>gem: daemons 1.0.10</li>
</ul>
<ol></ol>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2008/04/14/release-045/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.512 seconds -->

