<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: *importing* creole into ZenMagick</title>
	<atom:link href="http://www.radebatz.net/mano/2008/03/31/importing-creole-into-zenmagick/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.radebatz.net/mano/2008/03/31/importing-creole-into-zenmagick/</link>
	<description>mano's blog</description>
	<pubDate>Thu, 28 Aug 2008 02:26:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: DerManoMann</title>
		<link>http://www.radebatz.net/mano/2008/03/31/importing-creole-into-zenmagick/#comment-758</link>
		<dc:creator>DerManoMann</dc:creator>
		<pubDate>Mon, 07 Apr 2008 00:30:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.radebatz.net/mano/2008/03/31/importing-creole-into-zenmagick/#comment-758</guid>
		<description>Hey, that makes sense! Thanks to both of you.

In fact, I have suffered from those whitespace issues a few times and they are really a big pain.

Thankfully, it was relatively easy to apply a *fix* for this problem during my import. That means if you want to you can have Creole automatically compressed and merged into a single file :)

One other thing that actually came out only after I posted this article is that due to the fact that I change the directory structure, Creoles 'dot-notation' does not work any more. So right now the setup code to obtain a zen-cart database connection looks like this:

Creole::registerDriver('mysql', 'MySQLConnection');
$dsn = array('phptype' =&#62; 'mysql',
             'hostspec' =&#62; DB_SERVER,
             'username' =&#62; DB_SERVER_USERNAME,
             'password' =&#62; DB_SERVER_PASSWORD,
             'database' =&#62; DB_DATABASE);
$this-&#62;conn_ = Creole::getConnection($dsn);</description>
		<content:encoded><![CDATA[<p>Hey, that makes sense! Thanks to both of you.</p>
<p>In fact, I have suffered from those whitespace issues a few times and they are really a big pain.</p>
<p>Thankfully, it was relatively easy to apply a *fix* for this problem during my import. That means if you want to you can have Creole automatically compressed and merged into a single file <img src='http://www.radebatz.net/mano/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>One other thing that actually came out only after I posted this article is that due to the fact that I change the directory structure, Creoles &#8216;dot-notation&#8217; does not work any more. So right now the setup code to obtain a zen-cart database connection looks like this:</p>
<p>Creole::registerDriver(&#8217;mysql&#8217;, &#8216;MySQLConnection&#8217;);<br />
$dsn = array(&#8217;phptype&#8217; =&gt; &#8216;mysql&#8217;,<br />
             &#8216;hostspec&#8217; =&gt; DB_SERVER,<br />
             &#8216;username&#8217; =&gt; DB_SERVER_USERNAME,<br />
             &#8216;password&#8217; =&gt; DB_SERVER_PASSWORD,<br />
             &#8216;database&#8217; =&gt; DB_DATABASE);<br />
$this-&gt;conn_ = Creole::getConnection($dsn);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: instance</title>
		<link>http://www.radebatz.net/mano/2008/03/31/importing-creole-into-zenmagick/#comment-757</link>
		<dc:creator>instance</dc:creator>
		<pubDate>Sun, 06 Apr 2008 22:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.radebatz.net/mano/2008/03/31/importing-creole-into-zenmagick/#comment-757</guid>
		<description>The missing trailing PHP tags are by design. Spurious whitespace after the closing tag can wind up becoming part of the page output, making it harder to do things like issue headers.

It's a fairly common practice to leave them off in frameworks and in multi-developer projects where different editors are being used by different developers. Tracking down some file with whitespace after the closing tag is a lot harder than having PHP assume the close at EOF.</description>
		<content:encoded><![CDATA[<p>The missing trailing PHP tags are by design. Spurious whitespace after the closing tag can wind up becoming part of the page output, making it harder to do things like issue headers.</p>
<p>It&#8217;s a fairly common practice to leave them off in frameworks and in multi-developer projects where different editors are being used by different developers. Tracking down some file with whitespace after the closing tag is a lot harder than having PHP assume the close at EOF.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lankeeyankee</title>
		<link>http://www.radebatz.net/mano/2008/03/31/importing-creole-into-zenmagick/#comment-756</link>
		<dc:creator>lankeeyankee</dc:creator>
		<pubDate>Thu, 03 Apr 2008 00:10:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.radebatz.net/mano/2008/03/31/importing-creole-into-zenmagick/#comment-756</guid>
		<description>#2 I seem to recall just reading somewhere that if the end closing tag is left out it will be assumed and automatically closed.

The rest I have no idea about! :-) I'm in around PHP 202 and MySQL 101 right now, learning-wise. I'm reading Larry Ullman's PHP and MySQL For Websites, plus about 8 other programming books. I went nuts at Amazon and bought a shed load of programming books instead of paying a ton of money on tuition somewhere! :-) I am very impressed by what you have accomplished and I am determined that in the next couple of years I will be able to work similar wonders with code! :-)

Keep up the great work!

Matt</description>
		<content:encoded><![CDATA[<p>#2 I seem to recall just reading somewhere that if the end closing tag is left out it will be assumed and automatically closed.</p>
<p>The rest I have no idea about! <img src='http://www.radebatz.net/mano/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> I&#8217;m in around PHP 202 and MySQL 101 right now, learning-wise. I&#8217;m reading Larry Ullman&#8217;s PHP and MySQL For Websites, plus about 8 other programming books. I went nuts at Amazon and bought a shed load of programming books instead of paying a ton of money on tuition somewhere! <img src='http://www.radebatz.net/mano/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> I am very impressed by what you have accomplished and I am determined that in the next couple of years I will be able to work similar wonders with code! <img src='http://www.radebatz.net/mano/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Keep up the great work!</p>
<p>Matt</p>
]]></content:encoded>
	</item>
</channel>
</rss>
