<?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>BytesitePHP</title>
	<atom:link href="http://www.bytesite.co.uk/category/web-development/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bytesite.co.uk</link>
	<description></description>
	<lastBuildDate>Fri, 12 Mar 2010 09:26:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Checking if an object is empty &#8211; PHP</title>
		<link>http://www.bytesite.co.uk/checking-if-an-object-is-empty-php</link>
		<comments>http://www.bytesite.co.uk/checking-if-an-object-is-empty-php#comments</comments>
		<pubDate>Mon, 15 Feb 2010 15:26:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.bytesite.co.uk/?p=289</guid>
		<description><![CDATA[As of PHP 5, objects with no properties are no longer considered empty.  Therefore is you use empty() to test if an object is empty will always return true.
The easiest way to check for an empty object is to cast it to an array:

$objAsArray = &#40;array&#41;$object;
if &#40; empty&#40; $objAsArray &#41; &#123;...&#125;

Incidently there are a [...]]]></description>
		<wfw:commentRss>http://www.bytesite.co.uk/checking-if-an-object-is-empty-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento FCKEditor Product Validation</title>
		<link>http://www.bytesite.co.uk/magento-fckeditor-product-validation</link>
		<comments>http://www.bytesite.co.uk/magento-fckeditor-product-validation#comments</comments>
		<pubDate>Tue, 24 Mar 2009 21:24:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[FCKEditor]]></category>

		<guid isPermaLink="false">http://www.bytesite.co.uk/?p=194</guid>
		<description><![CDATA[Implementing WYSIWYG editing is fairly straightforward in Magento using either TinyMCE or FCKEditor.  However, a known issue means that TinyMCE doesn&#8217;t work within the CMS section.  So FCKEditor is the only real option at the moment.
There is however one issue to sort out.  The product description field is mandatory; when you enter text into this [...]]]></description>
		<wfw:commentRss>http://www.bytesite.co.uk/magento-fckeditor-product-validation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Migration</title>
		<link>http://www.bytesite.co.uk/migrating-magento</link>
		<comments>http://www.bytesite.co.uk/migrating-magento#comments</comments>
		<pubDate>Mon, 23 Mar 2009 08:57:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.bytesite.co.uk/?p=185</guid>
		<description><![CDATA[As with most things Magento, it isn&#8217;t too straightforward moving an installation from one domain to another.
I have provided this post as an outline on how to approach migrating your Magento installation.
The Magento site does have a migration guide, but essentially it means re-installing Magento with a new version, which is impractical for a number [...]]]></description>
		<wfw:commentRss>http://www.bytesite.co.uk/migrating-magento/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Alternative Syntax for UI</title>
		<link>http://www.bytesite.co.uk/php-alternative-syntax-for-ui</link>
		<comments>http://www.bytesite.co.uk/php-alternative-syntax-for-ui#comments</comments>
		<pubDate>Thu, 12 Feb 2009 11:58:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Syntax]]></category>

		<guid isPermaLink="false">http://www.bytesite.co.uk/?p=160</guid>
		<description><![CDATA[PHP has a slightly underused alternative syntax for control structures, which generally is more effective in template files than the standard block-style code.

If

if &#40;$a == 5&#41;:
    statement
    …
elseif &#40;$a == 6&#41;:
    statement
    …
else:
    statement
    …
endif;

While

while &#40;expr&#41;:
  [...]]]></description>
		<wfw:commentRss>http://www.bytesite.co.uk/php-alternative-syntax-for-ui/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
