<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/wordpress-mu-1.2.5" -->
<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/"
	>

<channel>
	<title>Molten Networks</title>
	<link>http://blogs.tech-recipes.com/abanks</link>
	<description>Alloying legacy services into modern data infrastructure.</description>
	<pubDate>Sun, 22 Jun 2008 21:13:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=wordpress-mu-1.2.5</generator>
	<language>en</language>
			<item>
		<title>Amateur Radio, Part II</title>
		<link>http://blogs.tech-recipes.com/abanks/2008/06/22/amateur-radio-part-ii/</link>
		<comments>http://blogs.tech-recipes.com/abanks/2008/06/22/amateur-radio-part-ii/#comments</comments>
		<pubDate>Sun, 22 Jun 2008 21:13:53 +0000</pubDate>
		<dc:creator>abanks</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.tech-recipes.com/abanks/2008/06/22/amateur-radio-part-ii/</guid>
		<description><![CDATA[Well, I couldn&#8217;t stand it.  After getting the technician license, I started studying for the general and extra exams.  These aren&#8217;t too bad, a bit more math, more obscure radio trivia, but nothing insurmountable.  Insurmountable enough I took both exams on the same night, passed both.  I don&#8217;t recall how many [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I couldn&#8217;t stand it.  After getting the technician license, I started studying for the general and extra exams.  These aren&#8217;t too bad, a bit more math, more obscure radio trivia, but nothing insurmountable.  Insurmountable enough I took both exams on the same night, passed both.  I don&#8217;t recall how many I missed on General, but I missed 3 on the Extra test, good enough to become an Amateur Extra and get a new callsign!  KE5TZB is now history, and I&#8217;m now AE5HJ.  </p>
<p>I&#8217;ve gotten a <a href="http://www.gigaparts.com/store.php?action=profile&amp;sku=ZCM-M-24S">Comet M-24s</a> antenna for the <a href="http://yaesu.com/indexVS.cfm?cmd=DisplayProducts&amp;ProdCatID=111&amp;encProdID=8D3254BFC69FB172D78647DC56EFB0E9&amp;DivisionID=65&amp;isArchived=0">Yaesu VX-7R</a> HT.  Much improved operation in the car!  I also got a handheld speaker/mic for it.  I wasn&#8217;t sure I would like operating a handheld device like that, but it is really nice in the car.  I just wish it had frequency up/down controls.</p>
<p>The <a href="http://www.gigaparts.com">Gigaparts</a> guys are great!  Shipped my order the same day, no problems at all.  If you&#8217;re in Huntsville, AL, run by their store.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.tech-recipes.com/abanks/2008/06/22/amateur-radio-part-ii/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Amateur Radio</title>
		<link>http://blogs.tech-recipes.com/abanks/2008/04/12/amateur-radio/</link>
		<comments>http://blogs.tech-recipes.com/abanks/2008/04/12/amateur-radio/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 01:53:14 +0000</pubDate>
		<dc:creator>abanks</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.tech-recipes.com/abanks/2008/04/12/amateur-radio/</guid>
		<description><![CDATA[I&#8217;ve been saying I should become a licensed amateur radio operator for longer than I care to admit.  Hurricane Katrina reinforced the need, and last week we had an extended power outage thanks to a tornado in the area. 
I finally did it.  I took and passed the technician exam, and I&#8217;m currently [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been saying I should become a licensed amateur radio operator for longer than I care to admit.  Hurricane Katrina reinforced the need, and last week we had an extended power outage thanks to a tornado in the area. </p>
<p>I finally did it.  I took and passed the technician exam, and I&#8217;m currently reviewing for the general class exam.  </p>
<p>You don&#8217;t need to be an electrical engineer or rocket scientist to pass these tests, the electrical calculations are not that difficult or plentiful.</p>
<p>Some good manuals can be found at <a href="http://kb6nu.com/tech-manual/">kb6nu.com</a>, good practice tests can be found at <a href="http://www.qrz.com/testing.html">qrz.com</a>.  Test times and locations can be found on the <a href="http://www.arrl.org">ARRL</a> website.</p>
<p>The whole point of this stuff is the ability to operate a radio on various 2m and 70cm bands, most areas have emergency nets operating on amateur frequencies.  Amateur operators have a long history of providing communication assistance during disasters.  <a href="http://www.arrl.org/news/stories/2005/08/30/1/?nc=1">Here</a> is one example.</p>
<p>Off to study some more, and shop for an HT.  Currently looking at the <a href="http://www.yaesu.com/indexVS.cfm?cmd=DisplayProducts&amp;ProdCatID=111&amp;encProdID=6EC43B29CEF0EC2B4E19BB7371688B7F&amp;DivisionID=65&amp;isArchived=0">Yaesu FT-60R</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.tech-recipes.com/abanks/2008/04/12/amateur-radio/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Day 5 - First Symfony application</title>
		<link>http://blogs.tech-recipes.com/abanks/2008/02/26/day-5-first-symfony-application/</link>
		<comments>http://blogs.tech-recipes.com/abanks/2008/02/26/day-5-first-symfony-application/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 02:59:47 +0000</pubDate>
		<dc:creator>abanks</dc:creator>
		
		<category><![CDATA[(mt)]]></category>

		<category><![CDATA[WebDev]]></category>

		<category><![CDATA[symfony]]></category>

		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blogs.tech-recipes.com/abanks/2008/02/26/day-5-first-symfony-application/</guid>
		<description><![CDATA[This may be more like day 4.5, really.
It works! It works!
had a bit of a prob in my databases.yml - gotta put the the dbname at the end of the dsn.  Yeah.  Leave that off, and it gets very&#8230;.confused.
So, now if I go to domain.com/frontend_dev.php/id/list, I get a symfony-looking page that lets me [...]]]></description>
			<content:encoded><![CDATA[<p>This may be more like day 4.5, really.</p>
<p>It works! It works!</p>
<p>had a bit of a prob in my databases.yml - gotta put the the dbname at the end of the dsn.  Yeah.  Leave that off, and it gets very&#8230;.confused.</p>
<p>So, now if I go to domain.com/frontend_dev.php/id/list, I get a symfony-looking page that lets me put stuff in.</p>
<p>Bad news, it didn&#8217;t build the pull-down for type.  Rats!  Back to docs&#8230;  </p>
<p>First try, pulled the type off of the link field - Have a pull down! (Yes, I left off the <code>symfony clear-cache</code> and <code>symfony propel-generate-crud frontend type Type</code>  Too bad, I&#8217;m just seeing the primary key values in the pull down.  More searching&#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.tech-recipes.com/abanks/2008/02/26/day-5-first-symfony-application/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Day 4 - First Symfony application</title>
		<link>http://blogs.tech-recipes.com/abanks/2008/02/25/day-4-first-symfony-application/</link>
		<comments>http://blogs.tech-recipes.com/abanks/2008/02/25/day-4-first-symfony-application/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 04:14:21 +0000</pubDate>
		<dc:creator>abanks</dc:creator>
		
		<category><![CDATA[(mt)]]></category>

		<category><![CDATA[WebDev]]></category>

		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://blogs.tech-recipes.com/abanks/2008/02/25/day-4-first-symfony-application/</guid>
		<description><![CDATA[&#8230;eeeee&#8217;s back!
So, I&#8217;m hanging out tonight, got Food Network in the background, and working on this db problem.
As you may recall from the last episode (more than a day ago, but work with me here), I was having issues getting the symfony config to connect to the database.  After a few moments of exhaustive [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230;eeeee&#8217;s back!</p>
<p>So, I&#8217;m hanging out tonight, got <a href="http://www.foodtv.com">Food Network</a> in the background, and working on this db problem.</p>
<p>As you may recall from the last episode (more than a day ago, but work with me here), I was having issues getting the symfony config to connect to the database.  After a few moments of exhaustive research, it looks like my problem was the user password.  I&#8230;.I&#8230;I&#8230; Naaah, that can&#8217;t be!  Changed the password anyway, and my error message changed.  </p>
<p>Now, the error looks like:<br />
<code><br />
[propel-sql-exec] Failed to execute:</p>
<p> CREATE TABLE `dvd`<br />
 (<br />
 `type` VARCHAR,<br />
 `id` INTEGER  NOT NULL AUTO_INCREMENT,<br />
 `starring` VARCHAR,<br />
 `id_starring` VARCHAR,<br />
 PRIMARY KEY (`id`)<br />
 )Type=InnoDB<br />
[propel-sql-exec] Could not execute update [Native Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<br />
 `id` INTEGER  NOT NULL AUTO_INCREMENT,<br />
 `starring` VARCHAR,<br />
 `id_starring` VAR' at line 3] [User Info:</p>
<p> CREATE TABLE `dvd`<br />
 (<br />
 `type` VARCHAR,<br />
 `id` INTEGER  NOT NULL AUTO_INCREMENT,<br />
 `starring` VARCHAR,<br />
 `id_starring` VARCHAR,<br />
 PRIMARY KEY (`id`)<br />
 )Type=InnoDB]<br />
[propel-sql-exec] 3 of 4 SQL statements executed successfully<br />
</code></p>
<p>So, I&#8217;m thinking there&#8217;s an error somewhere.  Likely suspect is the schema.yml file.  Since nothing appeared in the db, I&#8217;m thinking the unsuccessful statement was the one that actually *does* something.  Ugh!</p>
<p>To the schema.yml, Batman!</p>
<p>Ooh!  <a href="http://www.altonbrown.com/">Alton&#8217;s on!</a> (anybody who wants to donate a Shun Santoku, leave a message, I&#8217;ll send my address&#8230;&#8230;)</p>
<p>I did note an extraneous tilde (&#8221;~&#8221;) in the schema.yml, but, alas, it didn&#8217;t change the output much.  Hmm&#8230;we&#8217;re trying to create the same table twice - that doesn&#8217;t look right.</p>
<p>Talked with Quinn (always helpful to make sure my head&#8217;s in the right place).  He put me on to a great resource - <a href="http://andreiabohner.files.wordpress.com/2007/09/sfmodelsecondpartrefcard.pdf">The cheatsheet</a></p>
<p>So, the schema.xml has changed, again&#8230;<br />
<code><br />
propel:<br />
&nbsp;&nbsp;  type:<br />
&nbsp;&nbsp;&nbsp;&nbsp;    id:<br />
&nbsp;&nbsp;&nbsp;&nbsp;    type_name:  varchar(15)<br />
&nbsp;&nbsp;  id:<br />
&nbsp;&nbsp;&nbsp;&nbsp;    id:<br />
&nbsp;&nbsp;&nbsp;&nbsp;    dvdname:       varchar(128)<br />
&nbsp;&nbsp;&nbsp;&nbsp;    type:          varchar(10)<br />
&nbsp;&nbsp;  starring:<br />
&nbsp;&nbsp;&nbsp;&nbsp;    id:<br />
&nbsp;&nbsp;&nbsp;&nbsp;    actor:         longvarchar<br />
&nbsp;&nbsp;  id_starring:<br />
&nbsp;&nbsp;&nbsp;&nbsp;    id:<br />
&nbsp;&nbsp;&nbsp;&nbsp;    id_id:<br />
&nbsp;&nbsp;&nbsp;&nbsp;    starring_id:<br />
</code></p>
<p>Did the <code>symfony cc</code> and <code>symfony propel-build-all</code>, no errors!  Looked in the dbAdmin side, and there are tables!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.tech-recipes.com/abanks/2008/02/25/day-4-first-symfony-application/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Back for a moment&#8230;</title>
		<link>http://blogs.tech-recipes.com/abanks/2008/02/24/back-for-a-moment/</link>
		<comments>http://blogs.tech-recipes.com/abanks/2008/02/24/back-for-a-moment/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 15:44:19 +0000</pubDate>
		<dc:creator>abanks</dc:creator>
		
		<category><![CDATA[Graphics]]></category>

		<category><![CDATA[Life]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://blogs.tech-recipes.com/abanks/2008/02/24/back-for-a-moment/</guid>
		<description><![CDATA[Well, it&#8217;s been nuts around this household lately.   For the whole story, peek at the other blog.
I&#8217;ve been looking at graphics tables for a long time, but just haven&#8217;t bitten the bullet.  I hate to spend that kind of money on something I&#8217;ll just use from time to time.  Wacom has [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s been nuts around this household lately.   For the whole story, peek at the <a href="http://blog.banksfam.net">other blog</a>.</p>
<p>I&#8217;ve been looking at graphics tables for a long time, but just haven&#8217;t bitten the bullet.  I hate to spend that kind of money on something I&#8217;ll just use from time to time.  <a href="http://www.wacom.com/index2.cfm">Wacom</a> has released a new entry tablet though - the Bamboo Fun line.  (where do they come up with these names?)  My Amazon linkage:  <a href="http://www.amazon.com/gp/product/B000V9RL6G?ie=UTF8&amp;tag=blogbanksfamn-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000V9RL6G">Bamboo Fun (Medium) Black Tablet with Pen, Mouse &amp; Graphics Software</a><img src="http://www.assoc-amazon.com/e/ir?t=blogbanksfamn-20&amp;l=as2&amp;o=1&amp;a=B000V9RL6G" width="1" height="1" border="0" alt="" />  This one isn&#8217;t quite so heavy on the price tag, so I&#8217;m thinking I&#8217;ll grab one.  </p>
<p>I&#8217;ve also recently stumbled into <a href="http://www.inkscape.org/">Inkscape</a>.  Inkscape is an open source Illustrator clone, used for creating <a href="http://www.w3.org/Graphics/SVG/">SVG</a> images and whatnot.</p>
<p>UPDATE:  I ordered the tablet.  Should be here 2/28 - 3/4 timeframe.  Looking forward to seeing  how that helps with Gimp and Inkscape work, since I have a couple of projects going in those areas.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.tech-recipes.com/abanks/2008/02/24/back-for-a-moment/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Busted days.</title>
		<link>http://blogs.tech-recipes.com/abanks/2008/02/14/busted-days/</link>
		<comments>http://blogs.tech-recipes.com/abanks/2008/02/14/busted-days/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 04:06:18 +0000</pubDate>
		<dc:creator>abanks</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://blogs.tech-recipes.com/abanks/2008/02/14/busted-days/</guid>
		<description><![CDATA[As a parent, I&#8217;m involved in my kid&#8217;s education.  Somebody&#8217;s got to make sure homework is done, and that school material is being understood.  
Yesterday and today have been&#8230;busy.  
Sorry for the break from the Symfony App Days of learning, but, life does that.  I&#8217;ll do what I can to crank [...]]]></description>
			<content:encoded><![CDATA[<p>As a parent, I&#8217;m involved in my kid&#8217;s education.  Somebody&#8217;s got to make sure homework is done, and that school material is being understood.  </p>
<p>Yesterday and today have been&#8230;busy.  </p>
<p>Sorry for the break from the Symfony App Days of learning, but, life does that.  I&#8217;ll do what I can to crank out another suspense-filled episode tomorrow night.  (Her scrapbooking habit may be good for something after all!)</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.tech-recipes.com/abanks/2008/02/14/busted-days/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Day 3 - First Symfony Application</title>
		<link>http://blogs.tech-recipes.com/abanks/2008/02/12/day-3-first-symfony-application/</link>
		<comments>http://blogs.tech-recipes.com/abanks/2008/02/12/day-3-first-symfony-application/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 15:05:52 +0000</pubDate>
		<dc:creator>abanks</dc:creator>
		
		<category><![CDATA[(mt)]]></category>

		<category><![CDATA[WebDev]]></category>

		<category><![CDATA[Soapbox]]></category>

		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blogs.tech-recipes.com/abanks/2008/02/12/day-3-first-symfony-application/</guid>
		<description><![CDATA[Greetings!  (Back for more?  There&#8217;s medication for that, you know..)
At the end of day 2, I had built a DB schema in YAML, and symfony seemed to be reasonably comfortable with it, at least symfony propel-build-model didn&#8217;t toss up any errors.
But, symfony propel-build-all started griping about a mysql connection, so I&#8217;m thinking something [...]]]></description>
			<content:encoded><![CDATA[<p>Greetings!  (Back for more?  There&#8217;s medication for that, you know..)</p>
<p>At the end of day 2, I had built a DB schema in YAML, and symfony seemed to be reasonably comfortable with it, at least <code>symfony propel-build-model</code> didn&#8217;t toss up any errors.</p>
<p>But, <code>symfony propel-build-all</code> started griping about a mysql connection, so I&#8217;m thinking something isn&#8217;t right in my symfony config files.</p>
<p><strong>Warning:  Soapbox</strong>A personal note, I&#8217;m writing this from the Druid City Hospital&#8217;s Cath Lab waiting room.  Evidently, DCH doesn&#8217;t allow SSH connections out.  Grr^3.  C&#8217;mon, folks, realize that of the few visitors with data devices, there is likely to be an admin who would really appreciate SSH or other access.  Either provide Internet access or don&#8217;t.  It&#8217;s not like SSH is bandwidth-intensive.  Assuming a good security policy, it&#8217;s not a risk to devices inside the hospital.  All blocking SSH does is annoy people like me who are actually trying to DO something while doing the &#8220;be there for a loved one&#8221; routine.<strong>End Soapbox.</strong></p>
<p>Reading through (mt)&#8217;s docs, it looks like you&#8217;ve got to use internal-db.s###.gridserver.com (#&#8217;s replaced by your server number) for db connections.  I&#8217;ve modified the ~/domains/domain.com/symfony/config for this name.  Now to find some way to test &#8230;grr..no..SSH</p>
<p>Well, it looks like I&#8217;m out of luck.  No SSH from the Hospital.  Cell phone has got net access, but SSH doesn&#8217;t work on it for some reason.  So, by reason of limited net access, today is going to be cut short.  On the other hand, I&#8217;m going to play some Nintendo DS!</p>
<p>More evidence I&#8217;m a geek.  Just couldn&#8217;t stop fiddling with SSH on the phone, now it&#8217;s working.</p>
<p>Gave it a <code>symfony propel-build-all</code>, no luck - properties file doesn&#8217;t exist. What?  </p>
<p><code>symfony clear-cache</code>, tried again..better - at least a different error message.  Now, it&#8217;s saying &#8220;wrapped:  No driver has been registered to handle connection type:&#8221;  Google, wherefore art thou?  Possibility - <a href="http://www.symfony-project.org/forum/index.php/m/21105/">here</a> talks about this - adding a <code>datasource: symfony</code> in the database.yml file is reported to fix this.</p>
<p>Changed that line in database.yml, removed the insert in the schema.yml, and changed the propel.ini, but..nothing yet.  Same error.</p>
<p><a href="http://kb.mediatemple.net/article.php?id=004">This may help, if I&#8217;ll read the whole thing. Yes, I&#8217;m impatient.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.tech-recipes.com/abanks/2008/02/12/day-3-first-symfony-application/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Day 2 - First Symfony App</title>
		<link>http://blogs.tech-recipes.com/abanks/2008/02/10/day-2-first-symfony-app/</link>
		<comments>http://blogs.tech-recipes.com/abanks/2008/02/10/day-2-first-symfony-app/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 05:04:27 +0000</pubDate>
		<dc:creator>abanks</dc:creator>
		
		<category><![CDATA[(mt)]]></category>

		<category><![CDATA[WebDev]]></category>

		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://blogs.tech-recipes.com/abanks/2008/02/10/day-2-first-symfony-app/</guid>
		<description><![CDATA[ Well, from yesterday, we have web hosting, PEAR, and symfony installed.  
Since data is the whole point of any application, I want to start this project with the Model part of MVC.    Symfony uses YAML to define what the data will look like.  One of the neat points of [...]]]></description>
			<content:encoded><![CDATA[<p> Well, from <a href="http://blogs.tech-recipes.com/abanks/2008/02/09/day-1-first-symfony-app/">yesterday</a>, we have web hosting, PEAR, and symfony installed.  </p>
<p>Since data is the whole point of any application, I want to start this project with the Model part of MVC.    Symfony uses <a href="http://www.yaml.org/">YAML</a> to define what the data will look like.  One of the neat points of this framework is symfony&#8217;s ability to build the database from this YAML &#8220;sketch&#8221;.</p>
<p>For this DVD database, I would like to store the DVD type, title, and the leading actors/actresses.  (Yes, I&#8217;m being a bit overly optimistic about HD disks making their way into the library anytime soon!)  So, in my head, I&#8217;m going to need a table for type, another for titles, and another for actors.</p>
<p>In the type table, I want a primary key (just a serial number) and a bit of text describing the type.  In SQL-eese, I would do this like this:</p>
<p><code>create database dvddatabase;<br />
create table type (type_id integer primary key, type varchar(15));<br />
insert into type values ("1", "DVD");<br />
insert into type values ("2", "HD-DVD");<br />
insert into type values ("3", "Blue-Ray");<br />
</code></p>
<p>But, alas, I&#8217;m not - this needs to be implemented in YAML.  So, off to YAML land&#8230;</p>
<p><code><br />
dvd:<br />
&nbsp;&nbsp;type:<br />
&nbsp;&nbsp;&nbsp;&nbsp;type_id:  ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;type:  varchar(15)<br />
</code></p>
<p>The tilde (&#8221;~&#8221;) is used to tell symfony to &#8220;figure it out&#8221;.  (so, does that mean I could make them all ~?  (laugh.)</p>
<p>Need a a table for DVD Titles:<br />
<code><br />
&nbsp;&nbsp;&nbsp;&nbsp;id:            ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dvdname:       varchar(128)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type:          ~<br />
</code></p>
<p>One for who starred in the film:<br />
<code><br />
&nbsp;&nbsp;&nbsp;&nbsp;starring:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;starring_id:   ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;actor:         varchar(50)<br />
</code></p>
<p>Finally, one to link the id and the starring tables together:<br />
<code><br />
&nbsp;&nbsp;&nbsp;&nbsp;id_starring:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id_starring_id:  ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id_id:    ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;starring_id:    ~</code></p>
<p>So, the completed YAML file looks like this:<br />
<code>propel:<br />
&nbsp;&nbsp;dvd:<br />
&nbsp;&nbsp;&nbsp;&nbsp;type:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type_id:       ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type_name:     varchar(15)<br />
&nbsp;&nbsp;&nbsp;&nbsp;id:            ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id_id:   ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dvdname:       varchar(128)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type:          ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;created_date:  ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;starring:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;starring_id:   ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;actor:         varchar(50)<br />
&nbsp;&nbsp;&nbsp;&nbsp;id_starring:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id_starring_id:  ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id_id:    ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;starring_id:    ~<br />
</code></p>
<p>This setup is quite odd to me.  I tend to think of data in terms of one-to-many relationships (like the table above), it seems to me that some sort of declaration is needed.</p>
<p>Just for fun, since the type table will be rather short, I think I&#8217;ll try directly inputting the starting data:<br />
<code><br />
propel:<br />
&nbsp;&nbsp;dvd:<br />
&nbsp;&nbsp;&nbsp;&nbsp;type:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type_id:       ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type_name:     varchar(15)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- DVD<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- HD-DVD<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- Blu-Ray<br />
&nbsp;&nbsp;&nbsp;&nbsp;id:            ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id_id:   ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dvdname:       varchar(128)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type:          ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;created_date:  ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;starring:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;starring_id:   ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;actor:         varchar(50)<br />
&nbsp;&nbsp;&nbsp;&nbsp;id_starring:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id_starring_id:  ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id_id:    ~<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;starring_id:    ~</code></p>
<p>So, save all that to config/schema.yml, then (from the project directory) <code>symfony propel-build-model</code>, and experience our first problem.  Symfony says schema.yml can contain only one DB entry.  I&#8217;m assuming it&#8217;s referring to the 3 rows I was trying to add in one table.  Ok, I can play this game, and remove the HD entries, then rerun the propel-build-model.  </p>
<p><a href="http://en.wikipedia.org/wiki/Klingon_language">Qapla!</a></p>
<p>We now have a DB schema, which symfony recognizes and thinks it knows how to handle.  </p>
<p>Boldly going&#8230; to <code>symfony propel-build-all</code>, looks good, right until the end.  Looks like there is a problem connecting to mysql through a socket.  It&#8217;s late, I&#8217;ve got traveling to do tomorrow, so I&#8217;m going to sign off for now.</p>
<hr />
<p>Quick index:<br />
<a href="http://blogs.tech-recipes.com/abanks/2008/02/09/day-1-first-symfony-app/">Day 1</a><br />
<a href="">Day 2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.tech-recipes.com/abanks/2008/02/10/day-2-first-symfony-app/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Day 1 - First symfony app</title>
		<link>http://blogs.tech-recipes.com/abanks/2008/02/09/day-1-first-symfony-app/</link>
		<comments>http://blogs.tech-recipes.com/abanks/2008/02/09/day-1-first-symfony-app/#comments</comments>
		<pubDate>Sun, 10 Feb 2008 02:36:46 +0000</pubDate>
		<dc:creator>abanks</dc:creator>
		
		<category><![CDATA[(mt)]]></category>

		<category><![CDATA[WebDev]]></category>

		<category><![CDATA[symfony]]></category>

		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blogs.tech-recipes.com/abanks/2008/02/09/day-1-first-symfony-app/</guid>
		<description><![CDATA[Quinn has gotten me interested in web development with Symfony.  For those who don&#8217;t know, Symfony is a PHP framework which implements the Model-View-Controller (MVC) architecture.  This system allows breaking development down into a model (data), view (web stuff), and controller (how to get and what to do with data once we get [...]]]></description>
			<content:encoded><![CDATA[<p>Quinn has gotten me interested in web development with <a href="http://www.symfony-project.org/">Symfony</a>.  For those who don&#8217;t know, Symfony is a PHP framework which implements the Model-View-Controller (<a href="http://en.wikipedia.org/wiki/Model-view-controller">MVC</a>) architecture.  This system allows breaking development down into a model (data), view (web stuff), and controller (how to get and what to do with data once we get it).</p>
<p>For my first app, I&#8217;m going to develop an app that keeps track of DVDs.  We have a decent collection, and have gotten to the point where we frequently ask the question &#8220;do we have this one?&#8221; when shopping.  Since we both have PDA Phones, I think this will be a big help to us.  (Truthfully, it&#8217;ll be a small, quick app for me to learn on, too)</p>
<p>I&#8217;ve gotten hosting through <a href="http://www.mediatemple.net">(mt) MediaTemple</a>.  Specifically, their (gs) Grid Service (hey, I&#8217;m not running anything as big as Tech-Recipes!)</p>
<p>For starters, in this service, <a href="http://pear.php.net/">PEAR</a> needs to be set up.  (mt)&#8217;s <a href="http://kb.mediatemple.net/article.php?id=149">knowledge base</a> tells you how to do this for their service, others may need different procedures.  PEAR&#8217;s own instructions are <a href="http://pear.php.net/manual/en/installation.php">here</a>.</p>
<p>With PEAR up and running, it&#8217;s time to see what we can do with symfony.  (mt)&#8217;s <a href="http://kb.mediatemple.net/article.php?id=237">KB</a> takes you through installing symfony into a directory, then linking (mt)&#8217;s default ~/domains/yourdomain.com/html to the symfony/web directory.</p>
<p>Once all of this is done, you should be able to point your web browser to http://yourdomain.com and get the wonderful &#8220;Symfony project created&#8221; welcome page.  In my case, I got the page, but didn&#8217;t get the graphics.  I needed to link the ~/domains/yourdomain.com/symfony/sf to the sf directory on the main installation point of symfony.  In (mt) (gs), this is /home/users/.home/pear/data/symfony/web/sf</p>
<p>Enough for day 1!  Stay tuned for day 2&#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.tech-recipes.com/abanks/2008/02/09/day-1-first-symfony-app/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ted Dekker - Black</title>
		<link>http://blogs.tech-recipes.com/abanks/2008/02/06/ted-dekker-black/</link>
		<comments>http://blogs.tech-recipes.com/abanks/2008/02/06/ted-dekker-black/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 04:27:01 +0000</pubDate>
		<dc:creator>abanks</dc:creator>
		
		<category><![CDATA[Books]]></category>

		<guid isPermaLink="false">http://blogs.tech-recipes.com/abanks/2008/02/06/ted-dekker-black/</guid>
		<description><![CDATA[<a href="http://blog.banksfam.net/?p=11">Here</a> is my quickie post about the first book in Ted Dekker's Circle Trilogy, <em>Black</em>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.banksfam.net/?p=11">Here</a> is my quickie post about the first book in Ted Dekker&#8217;s Circle Trilogy, <em>Black</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.tech-recipes.com/abanks/2008/02/06/ted-dekker-black/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
