<?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>flagrantdisregard &#187; database</title>
	<atom:link href="http://flagrantdisregard.com/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://flagrantdisregard.com</link>
	<description></description>
	<lastBuildDate>Sat, 24 Mar 2012 19:09:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Bibble 5, DAM for Linux, and data portability</title>
		<link>http://flagrantdisregard.com/bibble-and-linux-dam/</link>
		<comments>http://flagrantdisregard.com/bibble-and-linux-dam/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 23:45:11 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[bibble]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://flagrantdisregard.com/?p=2235</guid>
		<description><![CDATA[There is a noticeable &#8220;Lightroom gap&#8221; for Linux photographers. The open source project with the best chance of filling that gap at the moment is probably RawTherapee. But RawTherapee won&#8217;t be a serious contender for at least a few years. Which is no knock against RawTherapee&#8212;it&#8217;s just that Lightroom has a significant head start and [...]]]></description>
			<content:encoded><![CDATA[<p>There is a noticeable &#8220;Lightroom gap&#8221; for Linux photographers. The open source project with the best chance of filling that gap at the moment is probably <a href="http://www.rawtherapee.com/">RawTherapee</a>. But RawTherapee won&#8217;t be a serious contender for at least a few years. Which is no knock against RawTherapee&#8212;it&#8217;s just that Lightroom has a significant head start and arguably more development resources.</p>
<p>So I&#8217;m evaluating Bibble 5 Pro (version 5.1f). I had to process over 1,000 images this weekend and <a href="http://www.lightcrafts.com/lightzone/">LightZone</a> was <em>killing me</em>. I really like LightZone. But, damn&#8230; it is slow. It does have batch processing capabilities but they&#8217;re not particularly robust (there&#8217;s no way to apply some adjustments but not others, for example).</p>
<div id="attachment_2239" class="wp-caption alignnone" style="width: 510px"><a href="http://flagrantdisregard.com/wp-content/uploads/2010/08/bibble.jpg"><img class="size-medium wp-image-2239" title="Bibble 5 Pro" src="http://flagrantdisregard.com/wp-content/uploads/2010/08/bibble-500x367.jpg" alt="" width="500" height="367" /></a><p class="wp-caption-text">Bibble 5 Pro</p></div>
<p>Did I mention that Bibble 5 is fast? Being able to flip through a group of images as fast as I can click is awesome. Plus it has a keyboard shortcut for just about everything. Awesome. Plus, the output queues. Awesome. And it has selective editing with layers built-in. Awesome.</p>
<p>On top of all of that, Bibble 5 has built-in asset management (DAM) that supports multiple catalogs, searching, keywords, the works.</p>
<p>I&#8217;ve been trying to find a decent DAM application for Linux for a long time. I used <a href="http://f-spot.org/">F-Spot</a> for a while but stopped using it once I found out it was modifying the EXIF on my original files. They&#8217;ve fixed that recently but&#8230; once bitten. <a href="http://yorba.org/shotwell/">Shotwell</a> looks very promising so far. It is a basic DAM app. Not as featureful as F-Spot but also not as bloated. It feels much lighter and more responsive.</p>
<p>F-Spot and Shotwell and Lightroom and Bibble all use a database to make searching and browsing your catalog speedy. That means you have to import your photos. What that does is load all of the metadata about each photo and stores that in the database. Then you can add things like keywords that are also saved in the database. The database is important. I&#8217;m convinced that this is the way to go for the best combination of features and speed for any DAM app. Apps like <a href="http://live.gnome.org/gthumb">gThumb</a> don&#8217;t have a database and don&#8217;t require you to import your photos. But gThumb is also noticeably slower when searching or doing batch tagging operations.</p>
<p>The database concept is fine with one condition: I must be able to get my data out of the database. I&#8217;m creating a photo archive that I intend to use for decades. My archive already spans 14 years and over 40,000 photos. Companies die. Formats change. So, the long-term archiving strategy must be one of upgrading your data to the next format. That includes both hardware and data.</p>
<p>Which is all to say that open formats and the ability to export your data are important. Keywording all of my photos doesn&#8217;t do me any good if a few years from now the company goes bust and there is no way to get my data out of their database. What am I supposed to do then? Keep that antique computer running in the closet just so I can look at photos from the turn of the century? Or what if a better app comes along and I just want to switch?</p>
<p>Bibble and Lightroom both support an export format called <a href="http://en.wikipedia.org/wiki/Extensible_Metadata_Platform">XMP</a>. It&#8217;s basically a little XML file that contains all of a photo&#8217;s metadata. XMP isn&#8217;t exactly open (Adobe owns it). But it&#8217;s open enough. It&#8217;s XML and XML files are just text files. You can double click one and open it and read it and it&#8217;s pretty easy to write computer programs to parse and work with the data. So one way to export your data is to just export the XMP files.</p>
<p>I created a catalog in Bibble for that project I mentioned earlier. And I poked around in the database folder it created. And I was excited to find out that Bibble uses an open format for its database: <a href="http://www.sqlite.org/">SQLite</a>! SQLite is a public domain database engine. That happens to be the same database engine that Lightroom and F-Spot and Shotwell all use, too.</p>
<p>That opens up a lot of doors as far as interoperability and portability goes. For example, it would be possible, using standard non-proprietary tools and technology, to export all of your keyword data from the Bibble 5 database and import it directly into Shotwell&#8217;s database. Or create an application that synchronizes all of your keywords between Bibble and F-Spot.</p>
<p>You can browse the Bibble databases by using a SQLite client. On Ubuntu Linux you can install a command line client with: <strong>sudo apt-get install sqlite3.</strong></p>
<p>Then you can go into your Bibble catalog folder and type <strong>sqlite3 base</strong> to open the main database. The <strong>meta</strong> file contains the metadata database. So then you can do queries like, say, getting all of the keywords for a specific photo:</p>
<p style="padding-left: 30px;"><em>select mb.value from Master m join Version v on v.masterID=m.id join Container c on c.master=m.id join meta.Browse mb on mb.childID=c.childID join ContainerInfo ci on ci.id=c.id join meta.MetaData mm on mm.id=mb.id where m.id=2732 and mm.value=&#8217;Keywords&#8217;;</em></p>
<p>Awesome! That plus XMP export basically negate any fear I have of lock-in and makes it much easier for me to just go with Bibble for asset management.</p>
<p>Except&#8230;</p>
<p>If you have a modern camera, you probably shoot a video every once in a while. It annoys me a little that none of these apps handles video. I don&#8217;t expect to be able to edit them. But it would be nice if videos could be imported into the asset database and tagged and searched and then I could click and watch them. Shotwell might add video support this year. Bibble and Lightroom probably never will. (I know&#8212;they&#8217;re <em>photo</em> apps.) I think I&#8217;ll either have to ignore my videos for now and wait for a better solution or use a separate system for cataloging my video.</p>
<p>So, that&#8217;s where I&#8217;m at. Bibble allowed me to cull and process those 1,000 photos with ease. It did crash a couple of times but I never lost any work. Overall, it&#8217;s a very good product&#8230; way ahead of anything else available for Linux right now in this category. I&#8217;m going to experiment with building some catalogs and see how I like the asset management compared to doing the same thing in Shotwell. Video&#8230; I&#8217;ve still got to figure that out. Share if you&#8217;ve got a good system.</p>
<p>I&#8217;d love to hear what you think and if you have any solutions to some of the issues I&#8217;m having or if you use Bibble&#8217;s catalog features.</p>
]]></content:encoded>
			<wfw:commentRss>http://flagrantdisregard.com/bibble-and-linux-dam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free and open source database design software</title>
		<link>http://flagrantdisregard.com/free-database-modeling-software/</link>
		<comments>http://flagrantdisregard.com/free-database-modeling-software/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 10:06:39 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[erd]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://flagrantdisregard.com/index.php/2008/01/23/free-database-modeling-software/</guid>
		<description><![CDATA[DBDesigner 4 &#8220;DBDesigner 4 is a visual database design system that integrates database design, modeling, creation and maintenance into a single, seamless environment.&#8221; Looks very robust. One of the few tools that supports reverse engineering. MySQL Workbench &#8220;MySQL Workbench is a cross-platform, visual database design tool developed by MySQL. It is the highly anticipated successor [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="http://flagrantdisregard.com/wp-content/uploads/2008/01/database_model.jpg" alt="Database model" /><strong><a href="http://www.fabforce.net/dbdesigner4/">DBDesigner 4</a></strong><br />
<em>&#8220;DBDesigner 4 is a visual database design system that integrates database design, modeling, creation and maintenance into a single, seamless environment.&#8221;</em> Looks very robust. One of the few tools that supports reverse engineering.</p>
<p><strong><a href="http://dev.mysql.com/workbench/">MySQL Workbench</a></strong><br />
<em>&#8220;MySQL Workbench is a cross-platform, visual database design tool developed by MySQL. It is the highly anticipated successor application of the DBDesigner4 project. MySQL Workbench will be available as a native GUI tool on Window, Linux and OS X.&#8221;</em> Currently beta but check out the <a href="http://dev.mysql.com/workbench/?page_id=35">screenshots</a>.</p>
<p><strong><a href="http://www.phpmyadmin.net/">phpMyAdmin</a></strong><br />
<em>&#8220;phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the Web. Currently it can create and drop databases, create/drop/alter tables, delete/edit/add fields, execute any SQL statement, manage keys on fields.&#8221;</em> Web-based, very mature and stable product.</p>
<p><strong><a href="http://www.mysql.com/products/tools/query-browser/">MySQL Query Browser</a></strong><br />
<em>&#8220;MySQL Query Browser is the easiest visual tool for creating, executing, and optimizing SQL queries for your MySQL Database Server. The MySQL Query Browser gives you a complete set of drag-and-drop tools to visually build, analyze and manage your queries.&#8221;</em> Includes simple but solid tools for building and managing databases and tables.</p>
<p><strong><a href="http://www.gnu.org/software/ferret/project/what.html">Ferret</a></strong><br />
<em>&#8220;GNU Ferret (formerly known as GerWin) is the Free Entity Relationship and Reverse Engineering Tool.&#8221;</em> Development seems to have stopped which is too bad because it has potential.</p>
<p>And <a href="http://del.icio.us/fd/database%2Btools">here are links to some more database design applications</a> (some commercial) at del.icio.us.</p>
]]></content:encoded>
			<wfw:commentRss>http://flagrantdisregard.com/free-database-modeling-software/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

