<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to databases</title><link>https://sourceforge.net/p/bixchange/wiki/databases/</link><description>Recent changes to databases</description><atom:link href="https://sourceforge.net/p/bixchange/wiki/databases/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 04 Feb 2014 20:18:00 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/bixchange/wiki/databases/feed" rel="self" type="application/rss+xml"/><item><title>databases modified by Joel Limardo</title><link>https://sourceforge.net/p/bixchange/wiki/databases/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1 +1,42 @@
 ## Databases
+
+The core BixChange system doesn't use a relational database. This, too, is on purpose. If you want to connect to PostgreSQL or MySQL you can simply install and use the popular Class::DBI module and add double quote blocks around anything you want evaluated in a resource (INI) file like this:
+
+&lt;/pre&gt;&lt;pre&gt;
+ &lt;code&gt;
+      FOO=&amp;lt;&amp;lt;EOF
+          %%
+              use Class::DBI;
+              ...
+              # the following I borrowed from the Class::DBI pod
+ package Music::DBI;
+         use base 'Class::DBI';
+         Music::DBI−&gt;connection('dbi:mysql:dbname', 'username', 'password');
+
+         package Music::Artist;
+         use base 'Music::DBI';
+         Music::Artist−&gt;table('artist');
+         Music::Artist−&gt;columns(All =&gt; qw/artistid name/);
+         Music::Artist−&gt;has_many(cds =&gt; 'Music::CD');
+         ...
+
+          %%
+      EOF
+ &lt;/code&gt;
+&lt;/pre&gt;
+
+If our output is a simple string then just make it a stand alone statement like this:
+
+&lt;pre&gt;
+  &lt;code&gt;
+      FOO=&amp;lt;&amp;lt;EOF
+           %%
+                my $n = q|a nice string|;
+                $n;
+           %%
+      EOF
+  &lt;/code&gt;
+&lt;/pre&gt;
+
+Strictly speaking you don't need the last statement but it is highly recommended to avoid confusion later on.  If you want to return a bunch of data you can simply use the BixChange::_bankdeposit() method. See /data/m/ma/main11.ini for an example that uses an XObject.
+

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joel Limardo</dc:creator><pubDate>Tue, 04 Feb 2014 20:18:00 -0000</pubDate><guid>https://sourceforge.netb942553501af2c97f0d5ad2b2deae08000299814</guid></item><item><title>databases modified by Joel Limardo</title><link>https://sourceforge.net/p/bixchange/wiki/databases/</link><description>&lt;div class="markdown_content"&gt;&lt;h2 id="databases"&gt;Databases&lt;/h2&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joel Limardo</dc:creator><pubDate>Tue, 04 Feb 2014 20:15:25 -0000</pubDate><guid>https://sourceforge.netef67777b59a359b5c2a9c6bb75cf44ff057ef6ca</guid></item></channel></rss>