<?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>Fabrizio Balliano &#187; PHP</title>
	<atom:link href="http://fabrizioballiano.net/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://fabrizioballiano.net</link>
	<description></description>
	<lastBuildDate>Fri, 02 Dec 2011 08:30:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Magento Professional customer&#8217;s password hashing</title>
		<link>http://fabrizioballiano.net/2011/11/30/magento-professional-customers-password-hashing/</link>
		<comments>http://fabrizioballiano.net/2011/11/30/magento-professional-customers-password-hashing/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 13:50:48 +0000</pubDate>
		<dc:creator>Fabrizio Balliano</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://fabrizioballiano.net/2011/11/30/magento-professional-customers-password-hashing/</guid>
		<description><![CDATA[So you want to import customer accounts but you&#8217;ve to generate the password hash? here you&#8217;ve the algorithm used by Magento Professional (which is different from Magento Community, but you can easily find that one in the net):]]></description>
			<content:encoded><![CDATA[<p>So you want to import customer accounts but you&#8217;ve to generate the password hash? here you&#8217;ve the algorithm used by Magento Professional (which is different from Magento Community, but you can easily find that one in the net):</p>
<blockquote><p><?php<br />
$passhash = hash("sha256", $salt . $password) . ":$salt";
</p></blockquote>
<p>By the way, for the community it&#8217;s</p>
<blockquote><p><?php<br />
$passhash = md5($salt . $password) . ":$salt";
</p></blockquote>

<div class="sociable">
<div class="sociable_tagline">
Share/bookmark: 
</div>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F30%2Fmagento-professional-customers-password-hashing%2F&amp;title=Magento%20Professional%20customer%27s%20password%20hashing" title="Digg"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F30%2Fmagento-professional-customers-password-hashing%2F&amp;title=Magento%20Professional%20customer%27s%20password%20hashing" title="StumbleUpon"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F30%2Fmagento-professional-customers-password-hashing%2F&amp;t=Magento%20Professional%20customer%27s%20password%20hashing" title="Facebook"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F30%2Fmagento-professional-customers-password-hashing%2F&amp;title=Magento%20Professional%20customer%27s%20password%20hashing" title="Reddit"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F30%2Fmagento-professional-customers-password-hashing%2F&amp;title=Magento%20Professional%20customer%27s%20password%20hashing" title="Mixx"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://del.icio.us/post?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F30%2Fmagento-professional-customers-password-hashing%2F&amp;title=Magento%20Professional%20customer%27s%20password%20hashing" title="del.icio.us"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F30%2Fmagento-professional-customers-password-hashing%2F&amp;title=Magento%20Professional%20customer%27s%20password%20hashing" title="Google"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F30%2Fmagento-professional-customers-password-hashing%2F&amp;title=Magento%20Professional%20customer%27s%20password%20hashing" title="Live"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F30%2Fmagento-professional-customers-password-hashing%2F&amp;h=Magento%20Professional%20customer%27s%20password%20hashing" title="NewsVine"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a> 

</div>
]]></content:encoded>
			<wfw:commentRss>http://fabrizioballiano.net/2011/11/30/magento-professional-customers-password-hashing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a custom order attribute in Magento</title>
		<link>http://fabrizioballiano.net/2011/11/15/create-a-custom-order-attribute-in-magento/</link>
		<comments>http://fabrizioballiano.net/2011/11/15/create-a-custom-order-attribute-in-magento/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 09:54:25 +0000</pubDate>
		<dc:creator>Fabrizio Balliano</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://fabrizioballiano.net/?p=735</guid>
		<description><![CDATA[I&#8217;ve run into a few posts about this thing but none of them was working out of the box so I took all the info and glued them together so&#8230; if you&#8217;ve to create a custom attribute for a Magento order but you don&#8217;t have a module (and its installer script) simply create a php [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve run into a few posts about this thing but none of them was working out of the box so I took all the info and glued them together so&#8230;</p>
<p>if you&#8217;ve to create a custom attribute for a Magento order but you don&#8217;t have a module (and its installer script) simply create a php file in the project&#8217;s root with this code:</p>
<blockquote><p>require_once(&#8216;app/Mage.php&#8217;);<br />
Mage::app()->setCurrentStore(Mage::getModel(&#8216;core/store&#8217;)->load(Mage_Core_Model_App::ADMIN_STORE_ID));<br />
$installer = newMage_Sales_Model_Mysql4_Setup;<br />
$attribute  = array(<br />
        &#8216;type&#8217;          => &#8216;text&#8217;,<br />
        &#8216;backend_type&#8217;  => &#8216;text&#8217;,<br />
        &#8216;frontend_input&#8217; => &#8216;text&#8217;,<br />
        &#8216;is_user_defined&#8217; => true,<br />
        &#8216;label&#8217;         => &#8216;Your attribute label&#8217;,<br />
        &#8216;visible&#8217;       => true,<br />
        &#8216;required&#8217;      => false,<br />
        &#8216;user_defined&#8217;  => false,<br />
        &#8216;searchable&#8217;    => false,<br />
        &#8216;filterable&#8217;    => false,<br />
        &#8216;comparable&#8217;    => false,<br />
        &#8216;default&#8217;       => &#8221;<br />
);<br />
$installer->addAttribute(&#8216;order&#8217;, &#8216;your_attribute_code&#8217;, $attribute);<br />
$installer->endSetup();</p></blockquote>
<p>This attribute is a &#8220;text&#8221; and it&#8217;s made not to be visible but just to use it as a container for some data you may need in your custom development, more info may come in comments if you need.</p>

<div class="sociable">
<div class="sociable_tagline">
Share/bookmark: 
</div>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F15%2Fcreate-a-custom-order-attribute-in-magento%2F&amp;title=Create%20a%20custom%20order%20attribute%20in%20Magento" title="Digg"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F15%2Fcreate-a-custom-order-attribute-in-magento%2F&amp;title=Create%20a%20custom%20order%20attribute%20in%20Magento" title="StumbleUpon"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F15%2Fcreate-a-custom-order-attribute-in-magento%2F&amp;t=Create%20a%20custom%20order%20attribute%20in%20Magento" title="Facebook"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F15%2Fcreate-a-custom-order-attribute-in-magento%2F&amp;title=Create%20a%20custom%20order%20attribute%20in%20Magento" title="Reddit"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F15%2Fcreate-a-custom-order-attribute-in-magento%2F&amp;title=Create%20a%20custom%20order%20attribute%20in%20Magento" title="Mixx"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://del.icio.us/post?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F15%2Fcreate-a-custom-order-attribute-in-magento%2F&amp;title=Create%20a%20custom%20order%20attribute%20in%20Magento" title="del.icio.us"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F15%2Fcreate-a-custom-order-attribute-in-magento%2F&amp;title=Create%20a%20custom%20order%20attribute%20in%20Magento" title="Google"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F15%2Fcreate-a-custom-order-attribute-in-magento%2F&amp;title=Create%20a%20custom%20order%20attribute%20in%20Magento" title="Live"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F11%2F15%2Fcreate-a-custom-order-attribute-in-magento%2F&amp;h=Create%20a%20custom%20order%20attribute%20in%20Magento" title="NewsVine"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a> 

</div>
]]></content:encoded>
			<wfw:commentRss>http://fabrizioballiano.net/2011/11/15/create-a-custom-order-attribute-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>P4A 3.8.4 is out!</title>
		<link>http://fabrizioballiano.net/2011/08/11/p4a-3-8-4/</link>
		<comments>http://fabrizioballiano.net/2011/08/11/p4a-3-8-4/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 11:58:59 +0000</pubDate>
		<dc:creator>Fabrizio Balliano</dc:creator>
				<category><![CDATA[P4A]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Things I do]]></category>

		<guid isPermaLink="false">http://fabrizioballiano.net/2011/08/11/p4a-3-8-3-is-out-2/</guid>
		<description><![CDATA[Another maintenance release for our beloved project, here you&#8217;ve the changelog: - &#8220;meta viewport&#8221; tag was added to mask&#8217;s HTML for a better mobile rendering - P4A::getMetaViewport() and setMetaViewport() methods were added - p4a_center_elements() javascript funcion now removes marginLeft/paddingLeft from the first visible column of the first P4A_Frame widget - a bug with P4A_Frame and [...]]]></description>
			<content:encoded><![CDATA[<p>Another maintenance release for our beloved project, here you&#8217;ve the changelog:</p>
<blockquote><p>- &#8220;meta viewport&#8221; tag was added to mask&#8217;s HTML for a better mobile rendering<br />
- P4A::getMetaViewport() and setMetaViewport() methods were added<br />
- p4a_center_elements() javascript funcion now removes marginLeft/paddingLeft<br />
  from the first visible column of the first P4A_Frame widget<br />
- a bug with P4A_Frame and multiple CSS classes was solved<br />
- P4A_Table&#8217;s arrow symbols were because the past ones weren&#8217;t shown on mobile<br />
  devices<br />
- an ob_clean() call was added to P4A_Thumbnail_Generator::outputThumbnail()<br />
  method<br />
- Zend Framework was updated to 1.11.10<br />
- P4A_Table&#8217;s image cols do not throw exception anymore if the image<br />
  does not exist<br />
- P4A_Field_loadSelectByArray helper now supports a second parameter to specify<br />
  the array&#8217;s primary key field name</p></blockquote>
<p><a href="http://sourceforge.net/projects/p4a/files/p4a/3.8.4">Download P4A 3.8.4</a></p>

<div class="sociable">
<div class="sociable_tagline">
Share/bookmark: 
</div>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F08%2F11%2Fp4a-3-8-4%2F&amp;title=P4A%203.8.4%20is%20out%21" title="Digg"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F08%2F11%2Fp4a-3-8-4%2F&amp;title=P4A%203.8.4%20is%20out%21" title="StumbleUpon"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F08%2F11%2Fp4a-3-8-4%2F&amp;t=P4A%203.8.4%20is%20out%21" title="Facebook"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F08%2F11%2Fp4a-3-8-4%2F&amp;title=P4A%203.8.4%20is%20out%21" title="Reddit"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F08%2F11%2Fp4a-3-8-4%2F&amp;title=P4A%203.8.4%20is%20out%21" title="Mixx"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://del.icio.us/post?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F08%2F11%2Fp4a-3-8-4%2F&amp;title=P4A%203.8.4%20is%20out%21" title="del.icio.us"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F08%2F11%2Fp4a-3-8-4%2F&amp;title=P4A%203.8.4%20is%20out%21" title="Google"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F08%2F11%2Fp4a-3-8-4%2F&amp;title=P4A%203.8.4%20is%20out%21" title="Live"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F08%2F11%2Fp4a-3-8-4%2F&amp;h=P4A%203.8.4%20is%20out%21" title="NewsVine"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a> 

</div>
]]></content:encoded>
			<wfw:commentRss>http://fabrizioballiano.net/2011/08/11/p4a-3-8-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>P4A 3.8.3 is out!</title>
		<link>http://fabrizioballiano.net/2011/06/15/p4a-3-8-3-is-out/</link>
		<comments>http://fabrizioballiano.net/2011/06/15/p4a-3-8-3-is-out/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 08:04:30 +0000</pubDate>
		<dc:creator>Fabrizio Balliano</dc:creator>
				<category><![CDATA[P4A]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Things I do]]></category>

		<guid isPermaLink="false">http://fabrizioballiano.net/2011/06/15/p4a-3-8-3-is-out/</guid>
		<description><![CDATA[A few improvements on different areas, here you&#8217;ve the changelog: - P4A_DB_Navigator now supports query defined sources - a bug with P4A_Data_Source::saveUploads() was solved - a bug with P4A_Table&#8217;s image cols (without GD installed) was solved - P4A_DB_Navigator now triggers a beforeclick event - all p4a_load_js calls were migrated to require.js - a bug with [...]]]></description>
			<content:encoded><![CDATA[<p>A few improvements on different areas, here you&#8217;ve the changelog:</p>
<blockquote><p>- P4A_DB_Navigator now supports query defined sources<br />
- a bug with P4A_Data_Source::saveUploads() was solved<br />
- a bug with P4A_Table&#8217;s image cols (without GD installed) was solved<br />
- P4A_DB_Navigator now triggers a beforeclick event<br />
- all p4a_load_js calls were migrated to require.js<br />
- a bug with P4A_DB_Source::deleteRow() called when in newRow state was solved<br />
- p4a_ajax_enable javascript function was added<br />
- a bug with P4A_GD constant default definition was solved<br />
- P4A_Mask::restart() method was added<br />
- Zend Framework was updated to 1.11.7<br />
- translations were updated<br />
- P4A_DB_Source::load() method now checks for duplicate calls and throws an error</p></blockquote>
<p><a href="http://sourceforge.net/projects/p4a/files/p4a/3.8.3">Download P4A 3.8.3</a></p>

<div class="sociable">
<div class="sociable_tagline">
Share/bookmark: 
</div>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F06%2F15%2Fp4a-3-8-3-is-out%2F&amp;title=P4A%203.8.3%20is%20out%21" title="Digg"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F06%2F15%2Fp4a-3-8-3-is-out%2F&amp;title=P4A%203.8.3%20is%20out%21" title="StumbleUpon"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F06%2F15%2Fp4a-3-8-3-is-out%2F&amp;t=P4A%203.8.3%20is%20out%21" title="Facebook"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F06%2F15%2Fp4a-3-8-3-is-out%2F&amp;title=P4A%203.8.3%20is%20out%21" title="Reddit"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F06%2F15%2Fp4a-3-8-3-is-out%2F&amp;title=P4A%203.8.3%20is%20out%21" title="Mixx"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://del.icio.us/post?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F06%2F15%2Fp4a-3-8-3-is-out%2F&amp;title=P4A%203.8.3%20is%20out%21" title="del.icio.us"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F06%2F15%2Fp4a-3-8-3-is-out%2F&amp;title=P4A%203.8.3%20is%20out%21" title="Google"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F06%2F15%2Fp4a-3-8-3-is-out%2F&amp;title=P4A%203.8.3%20is%20out%21" title="Live"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F06%2F15%2Fp4a-3-8-3-is-out%2F&amp;h=P4A%203.8.3%20is%20out%21" title="NewsVine"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a> 

</div>
]]></content:encoded>
			<wfw:commentRss>http://fabrizioballiano.net/2011/06/15/p4a-3-8-3-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>P4A 3.8.2 is out!</title>
		<link>http://fabrizioballiano.net/2011/05/22/p4a-3-8-2-is-out/</link>
		<comments>http://fabrizioballiano.net/2011/05/22/p4a-3-8-2-is-out/#comments</comments>
		<pubDate>Sun, 22 May 2011 12:53:43 +0000</pubDate>
		<dc:creator>Fabrizio Balliano</dc:creator>
				<category><![CDATA[P4A]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Things I do]]></category>

		<guid isPermaLink="false">http://fabrizioballiano.net/2011/05/22/p4a-3-8-2-is-out/</guid>
		<description><![CDATA[This is a minor release but it contains really a lot of great upgrades and fixes, here you&#8217;ve the changelog: - Zend Framework was updated to 1.11.6 - CKEditor was updated to 3.6.0 - jQuery UI was updated to 1.8.11 - requirejs was added - P4A_Dir_Source automatically sorts files - P4A_Dir_Source::setPageLimit() calling was disabled - [...]]]></description>
			<content:encoded><![CDATA[<p>This is a minor release but it contains really a lot of great upgrades and fixes, here you&#8217;ve the changelog:</p>
<blockquote><p>- Zend Framework was updated to 1.11.6<br />
- CKEditor was updated to 3.6.0<br />
- jQuery UI was updated to 1.8.11<br />
- requirejs was added<br />
- P4A_Dir_Source automatically sorts files<br />
- P4A_Dir_Source::setPageLimit() calling was disabled<br />
- P4A_Dir_Source&#8217;s page limit is now set to 0 (disabled)<br />
- autocomplete values are now sorted and unique<br />
- P4A_Field::getSource() method was added<br />
- p4a_load_js now uses requirejs<br />
- P4A_Field and P4A_Data_Fields now support the &#8220;datetime&#8221; type<br />
- P4A_Field and P4A_Data_Fields now support the &#8220;time&#8221; type<br />
- P4A_Object::dropImplement() now turns the action to lowercase<br />
- deprecated method P4A_Object::dropMethod() was removed<br />
- a javascript bug with P4A_DB_Navigator&#8217;s drag&#038;drop functionalities was solved<br />
- P4A_DB_Navigator now correctly supports source with non-default DSN
</p></blockquote>
<p><a href="http://sourceforge.net/projects/p4a/files/p4a/3.8.2">Download P4A 3.8.2</a></p>

<div class="sociable">
<div class="sociable_tagline">
Share/bookmark: 
</div>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fp4a-3-8-2-is-out%2F&amp;title=P4A%203.8.2%20is%20out%21" title="Digg"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fp4a-3-8-2-is-out%2F&amp;title=P4A%203.8.2%20is%20out%21" title="StumbleUpon"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fp4a-3-8-2-is-out%2F&amp;t=P4A%203.8.2%20is%20out%21" title="Facebook"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fp4a-3-8-2-is-out%2F&amp;title=P4A%203.8.2%20is%20out%21" title="Reddit"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fp4a-3-8-2-is-out%2F&amp;title=P4A%203.8.2%20is%20out%21" title="Mixx"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://del.icio.us/post?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fp4a-3-8-2-is-out%2F&amp;title=P4A%203.8.2%20is%20out%21" title="del.icio.us"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fp4a-3-8-2-is-out%2F&amp;title=P4A%203.8.2%20is%20out%21" title="Google"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fp4a-3-8-2-is-out%2F&amp;title=P4A%203.8.2%20is%20out%21" title="Live"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fp4a-3-8-2-is-out%2F&amp;h=P4A%203.8.2%20is%20out%21" title="NewsVine"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a> 

</div>
]]></content:encoded>
			<wfw:commentRss>http://fabrizioballiano.net/2011/05/22/p4a-3-8-2-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Probably the best WordPress LinkedIn profile plugin :-)</title>
		<link>http://fabrizioballiano.net/2011/05/22/probably-the-best-wordpress-linkedin-profile-plugin/</link>
		<comments>http://fabrizioballiano.net/2011/05/22/probably-the-best-wordpress-linkedin-profile-plugin/#comments</comments>
		<pubDate>Sun, 22 May 2011 12:26:38 +0000</pubDate>
		<dc:creator>Fabrizio Balliano</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Things I do]]></category>
		<category><![CDATA[FB LinkedIn Resume]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://fabrizioballiano.net/?p=694</guid>
		<description><![CDATA[A few weeks ago I was working on my Italian professional website and I wanted to use my LinkedIn profile as the website&#8217;s home page, I tried some of the existing WordPress LinkedIn plugins but none of them was working (they use a bunch of complex regex that are really easy to break, if LinkedIn [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I was working on my Italian professional website and I wanted to use my LinkedIn profile as the website&#8217;s home page, I tried some of the existing WordPress LinkedIn plugins but none of them was working (they use a bunch of complex regex that are really easy to break, if LinkedIn changes its pages a little bit all of them won&#8217;t work, and that was the case) so I started to write my own <a href="http://fabrizioballiano.net/fb-linkedin-resume/">LinkedIn resume plugin</a>.</p>
<p>I used a different approach using DOM parsing and I think that will be absolutely bulletproof :)<br />
It also outputs raw parts of LinkedIn HTML so it&#8217;s much easier to style and we&#8217;re sure that it will include every future feature LinkedIn may add (also without my intervention), I think that&#8217;s a great plus.</p>
<p>Release 1.3 it&#8217;s available right now and the plugin (available under GPL license) is right there for you to download and use for free.<br />
<a href="http://fabrizioballiano.net/fb-linkedin-resume/">Check it out</a>!</p>

<div class="sociable">
<div class="sociable_tagline">
Share/bookmark: 
</div>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fprobably-the-best-wordpress-linkedin-profile-plugin%2F&amp;title=Probably%20the%20best%20WordPress%20LinkedIn%20profile%20plugin%20%3A-%29" title="Digg"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fprobably-the-best-wordpress-linkedin-profile-plugin%2F&amp;title=Probably%20the%20best%20WordPress%20LinkedIn%20profile%20plugin%20%3A-%29" title="StumbleUpon"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fprobably-the-best-wordpress-linkedin-profile-plugin%2F&amp;t=Probably%20the%20best%20WordPress%20LinkedIn%20profile%20plugin%20%3A-%29" title="Facebook"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fprobably-the-best-wordpress-linkedin-profile-plugin%2F&amp;title=Probably%20the%20best%20WordPress%20LinkedIn%20profile%20plugin%20%3A-%29" title="Reddit"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fprobably-the-best-wordpress-linkedin-profile-plugin%2F&amp;title=Probably%20the%20best%20WordPress%20LinkedIn%20profile%20plugin%20%3A-%29" title="Mixx"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://del.icio.us/post?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fprobably-the-best-wordpress-linkedin-profile-plugin%2F&amp;title=Probably%20the%20best%20WordPress%20LinkedIn%20profile%20plugin%20%3A-%29" title="del.icio.us"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fprobably-the-best-wordpress-linkedin-profile-plugin%2F&amp;title=Probably%20the%20best%20WordPress%20LinkedIn%20profile%20plugin%20%3A-%29" title="Google"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fprobably-the-best-wordpress-linkedin-profile-plugin%2F&amp;title=Probably%20the%20best%20WordPress%20LinkedIn%20profile%20plugin%20%3A-%29" title="Live"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F05%2F22%2Fprobably-the-best-wordpress-linkedin-profile-plugin%2F&amp;h=Probably%20the%20best%20WordPress%20LinkedIn%20profile%20plugin%20%3A-%29" title="NewsVine"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a> 

</div>
]]></content:encoded>
			<wfw:commentRss>http://fabrizioballiano.net/2011/05/22/probably-the-best-wordpress-linkedin-profile-plugin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Magmi, the best Magento importer</title>
		<link>http://fabrizioballiano.net/2011/04/19/magmi-the-best-magento-importer/</link>
		<comments>http://fabrizioballiano.net/2011/04/19/magmi-the-best-magento-importer/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 12:43:01 +0000</pubDate>
		<dc:creator>Fabrizio Balliano</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Magmi]]></category>

		<guid isPermaLink="false">http://fabrizioballiano.net/?p=670</guid>
		<description><![CDATA[I found out Magmi while writing my Esprinet importer for Magento. I think that using Magento API is the cleanest way to do every import operation but importing something like 70.000 products was absolutely TOO SLOW so I had to look for something else&#8230; Magmi (which is released under the MIT license) does everything using [...]]]></description>
			<content:encoded><![CDATA[<p>I found out <a href="http://magmi.sf.net/">Magmi</a> while writing my <a href="http://fabrizioballiano.net/2011/04/19/esprinet-importer-for-magento/">Esprinet importer for Magento</a>.</p>
<p>I think that using Magento API is the cleanest way to do every import operation but importing something like 70.000 products was absolutely TOO SLOW so I had to look for something else&#8230;</p>
<p>Magmi (which is released under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT license</a>) does everything using SQL queries and it&#8217;s blazing fast! It also features a few really useful plugins, the one I like the most are:</p>
<ul>
<li>Category importer: you can type category names in CSV instead of category ids, really nice. It also creates parent categories if you use the &#8220;parent/child&#8221; syntax.</li>
<li>Optimizer: runs some MySQL tables optimization before importing.</li>
<li>Magento reindexer: updates all (or just some) Magento indexes, couldn&#8217;t live without it!</li>
</ul>
<p>What I didn&#8217;t like?</p>
<ul>
<li>Using &#8220;/&#8221; for the category importer separator, I&#8217;ve a lot of categories with the &#8220;/&#8221; char in the name, so I hat to patch the plugin to use &#8220;-&gt;&#8221; instead of &#8220;/&#8221;. I think it could be better in any case but for the maximum flexibility it should be a part of the configuration options</li>
<li>I couldn&#8217;t find any documentation about the CLI usage</li>
<li>Using Magmi CLI it seems to me that the import progress file isn&#8217;t updated the right way</li>
</ul>
<p>Anyway the Magmi team did a great job, hope it will continue to be maintained for future Magento releases.</p>

<div class="sociable">
<div class="sociable_tagline">
Share/bookmark: 
</div>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F04%2F19%2Fmagmi-the-best-magento-importer%2F&amp;title=Magmi%2C%20the%20best%20Magento%20importer" title="Digg"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F04%2F19%2Fmagmi-the-best-magento-importer%2F&amp;title=Magmi%2C%20the%20best%20Magento%20importer" title="StumbleUpon"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F04%2F19%2Fmagmi-the-best-magento-importer%2F&amp;t=Magmi%2C%20the%20best%20Magento%20importer" title="Facebook"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F04%2F19%2Fmagmi-the-best-magento-importer%2F&amp;title=Magmi%2C%20the%20best%20Magento%20importer" title="Reddit"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F04%2F19%2Fmagmi-the-best-magento-importer%2F&amp;title=Magmi%2C%20the%20best%20Magento%20importer" title="Mixx"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://del.icio.us/post?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F04%2F19%2Fmagmi-the-best-magento-importer%2F&amp;title=Magmi%2C%20the%20best%20Magento%20importer" title="del.icio.us"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F04%2F19%2Fmagmi-the-best-magento-importer%2F&amp;title=Magmi%2C%20the%20best%20Magento%20importer" title="Google"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F04%2F19%2Fmagmi-the-best-magento-importer%2F&amp;title=Magmi%2C%20the%20best%20Magento%20importer" title="Live"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F04%2F19%2Fmagmi-the-best-magento-importer%2F&amp;h=Magmi%2C%20the%20best%20Magento%20importer" title="NewsVine"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a> 

</div>
]]></content:encoded>
			<wfw:commentRss>http://fabrizioballiano.net/2011/04/19/magmi-the-best-magento-importer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Some tests for P4A 4.0</title>
		<link>http://fabrizioballiano.net/2011/01/31/some-tests-for-p4a-4/</link>
		<comments>http://fabrizioballiano.net/2011/01/31/some-tests-for-p4a-4/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 19:29:22 +0000</pubDate>
		<dc:creator>Fabrizio Balliano</dc:creator>
				<category><![CDATA[P4A]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Things I do]]></category>
		<category><![CDATA[dojo]]></category>

		<guid isPermaLink="false">http://fabrizioballiano.net/2011/01/31/some-tests-for-p4a-4/</guid>
		<description><![CDATA[In the last few weeks I&#8217;ve been thinking a lot about the future of P4A, there would be a lot of small things to do but I wanted to think about something big enough for a major release jump. Some time ago we discussed about the rendering layer, at the moment we generate all the [...]]]></description>
			<content:encoded><![CDATA[<p>In the last few weeks I&#8217;ve been thinking a lot about the future of P4A, there would be a lot of small things to do but I wanted to think about something big enough for a major release jump.</p>
<p>Some time ago we discussed about the rendering layer, at the moment we generate all the HTML and we use our custom CSS + some jQuery/jQuery UI goodness to enhance everithing a little bit. Point is that jQuery UI is growing too slowly and we need something bigger and more RIA oriented, like Dojo, ExtJS or Qooxdoo. We discussed about which one would be better and at the moment I&#8217;d go with Dojo, it has a great FLOSS license, it&#8217;s supported by a lot of major players, it&#8217;s highly modular and it has my preferred way of including modules. At last I cannot avoid talking about the new wonderful &#8220;Claro&#8221; graphical theme, simply amazing.</p>
<p>So I started coding some of P4A&#8217;s widgets just to test something out and everything was pretty easy, I&#8217;d choose to use the declarative syntax because it was the fastest way to have everything running but now I&#8217;m running into a few major problems.</p>
<p>First of all I faced a performance issue, maybe it&#8217;s due to dojo&#8217;s declarative syntax I chose and I should definetively do a comparison test with the programmatic syntax (also if I do not like generating javascript too much). Another problem is due to the fact that most P4A developers tend to use the easiest P4A&#8217;s AJAX stack, which actually redraws all the mask (the body tag) without a full page refresh. To do the dojo has to redraw all the widgets in the mask and so the performance issue is not only visible during the first page loading but on every page redrawing. The user would see the page flicker (if we decide to hide the DOM while dojo is rendering) or the unstyled elements for a sec and than the styled widgets. This is not the best way to go&#8230;</p>
<p>But here we&#8217;ve the most critical issue, every time the page is redesigned (not using a full page refresh) we&#8217;ve a noticable memory leak, dojo keeps allocating memory and this is very very bad. That&#8217;s not a dojo problem, I mean, I replease the DOM nodes and recall the dojo parser, but the previously built dojo objects are not removed from memory. Actually I hoped that dojo would have recognized that an element was already parsed but this is not happening. Thus we would have to destroy all dojo objects before redrawing them but this operation will make the page flickering longer.</p>
<p>Conclusions? Hard to tell at the moment. I think I want to try a different way doing a quick test using only dojo&#8217;s CSS instead of the whole javascripts also because in a P4A application all the events have to be managen by the server and not by the client. I&#8217;ll try to do this kind of test ASAP and let you know some more considerations about this topic.</p>

<div class="sociable">
<div class="sociable_tagline">
Share/bookmark: 
</div>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fsome-tests-for-p4a-4%2F&amp;title=Some%20tests%20for%20P4A%204.0" title="Digg"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fsome-tests-for-p4a-4%2F&amp;title=Some%20tests%20for%20P4A%204.0" title="StumbleUpon"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fsome-tests-for-p4a-4%2F&amp;t=Some%20tests%20for%20P4A%204.0" title="Facebook"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fsome-tests-for-p4a-4%2F&amp;title=Some%20tests%20for%20P4A%204.0" title="Reddit"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fsome-tests-for-p4a-4%2F&amp;title=Some%20tests%20for%20P4A%204.0" title="Mixx"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://del.icio.us/post?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fsome-tests-for-p4a-4%2F&amp;title=Some%20tests%20for%20P4A%204.0" title="del.icio.us"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fsome-tests-for-p4a-4%2F&amp;title=Some%20tests%20for%20P4A%204.0" title="Google"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fsome-tests-for-p4a-4%2F&amp;title=Some%20tests%20for%20P4A%204.0" title="Live"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fsome-tests-for-p4a-4%2F&amp;h=Some%20tests%20for%20P4A%204.0" title="NewsVine"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a> 

</div>
]]></content:encoded>
			<wfw:commentRss>http://fabrizioballiano.net/2011/01/31/some-tests-for-p4a-4/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>P4A 3.8.1 is out!</title>
		<link>http://fabrizioballiano.net/2011/01/31/p4a-3-8-1/</link>
		<comments>http://fabrizioballiano.net/2011/01/31/p4a-3-8-1/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 19:29:22 +0000</pubDate>
		<dc:creator>Fabrizio Balliano</dc:creator>
				<category><![CDATA[P4A]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Things I do]]></category>

		<guid isPermaLink="false">http://fabrizioballiano.net/2011/01/31/p4a-3-8-1/</guid>
		<description><![CDATA[A bugfix release for the 3.8.x serie, if you&#8217;re using P4A be sure to update to the new release, here you&#8217;ve the changelog: - jQuery was updated to 1.4.4 - a bug with multiple p4a_load_js calls (with the same url and within the same loading cycle) was solved - a bug with MSSQL and query [...]]]></description>
			<content:encoded><![CDATA[<p>A bugfix release for the 3.8.x serie, if you&#8217;re using P4A be sure to update to the new release, here you&#8217;ve the changelog:</p>
<blockquote><p>- jQuery was updated to 1.4.4<br />
- a bug with multiple p4a_load_js calls (with the same url and within the<br />
  same loading cycle) was solved<br />
- a bug with MSSQL and query limits was fixed (thanks to Diego Fattori)<br />
- CKEditor was updated to 3.5<br />
- P4A_DB_Source::getRowPosition() now returns 1 if the query throws an error<br />
- P4A_DB_Source::addHaving(), setHaving() and getHaving() methods were added<br />
- Zend Framework was updated to 1.11.2<br />
- a bug with P4A::restart() method was fixed (thanks to Daniel Carrero)<br />
- a bug with P4A_Data_Source::saveUploads() and custom file paths was solved<br />
- a new technique to unload CKEditor was implemented</p></blockquote>
<p><a href="http://sourceforge.net/projects/p4a/files/p4a/3.8.1">Download P4A 3.8.1</a></p>
<p>- UPDATE: due to a SourceForge downtime P4A 3.8.1 tarballs can&#8217;t be downloaded at the moment, I&#8217;ll update this post when everything will be up again, in the meanwhile you can check out the P4A SVN (tags/3.8.1).</p>
<p>- UPDATE 2: SF should have fixed the problem, P4A 3.8.1 packages are available right now.</p>

<div class="sociable">
<div class="sociable_tagline">
Share/bookmark: 
</div>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fp4a-3-8-1%2F&amp;title=P4A%203.8.1%20is%20out%21" title="Digg"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fp4a-3-8-1%2F&amp;title=P4A%203.8.1%20is%20out%21" title="StumbleUpon"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fp4a-3-8-1%2F&amp;t=P4A%203.8.1%20is%20out%21" title="Facebook"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fp4a-3-8-1%2F&amp;title=P4A%203.8.1%20is%20out%21" title="Reddit"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fp4a-3-8-1%2F&amp;title=P4A%203.8.1%20is%20out%21" title="Mixx"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://del.icio.us/post?url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fp4a-3-8-1%2F&amp;title=P4A%203.8.1%20is%20out%21" title="del.icio.us"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fp4a-3-8-1%2F&amp;title=P4A%203.8.1%20is%20out%21" title="Google"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fp4a-3-8-1%2F&amp;title=P4A%203.8.1%20is%20out%21" title="Live"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Ffabrizioballiano.net%2F2011%2F01%2F31%2Fp4a-3-8-1%2F&amp;h=P4A%203.8.1%20is%20out%21" title="NewsVine"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a> 

</div>
]]></content:encoded>
			<wfw:commentRss>http://fabrizioballiano.net/2011/01/31/p4a-3-8-1/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Open Source VMware PHP API experiment</title>
		<link>http://fabrizioballiano.net/2010/11/22/open-source-vmware-php-api-experiment/</link>
		<comments>http://fabrizioballiano.net/2010/11/22/open-source-vmware-php-api-experiment/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 18:20:02 +0000</pubDate>
		<dc:creator>Fabrizio Balliano</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Various]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[vcloud]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://fabrizioballiano.net/?p=581</guid>
		<description><![CDATA[I think this post is not useful anymore, now that VMware release their first PHP API for vCloud, anyway I&#8217;ve this little code I wrote as an experiment a few months ago that maybe could be used by someone having an old vCloud (the code you&#8217;ll see is wrote to work with VMware&#8217;s vCloud 2.5) [...]]]></description>
			<content:encoded><![CDATA[<p>I think this post is not useful anymore, now that VMware release their first <a href="http://communities.vmware.com/community/developer/forums/vcloudsdkphp">PHP API for vCloud</a>, anyway I&#8217;ve this little code I wrote as an experiment a few months ago that maybe could be used by someone having an old vCloud (the code you&#8217;ll see is wrote to work with VMware&#8217;s vCloud 2.5) or maybe who needs a simpler implementation.</p>
<p>I only wrote a few methods:</p>
<ul>
<li>login to the VMware server</li>
<li>get info about all VMs</li>
<li>get info about a single VM</li>
<li>create a new VM setting the RAM amount, CPUs number, disk capacity</li>
<li>a useful methods that waits till a task (like a VM creation) is completed</li>
</ul>
<p>The code you&#8217;ll download uses the old nusoap library and directly sends the raw XML to the server &#8217;cause no other SOAP libraries/implementations were working at that time and for the time the experiment lived (I never used vCloud systems and I worked on this project less than a couple of days so&#8230;).</p>
<p>Here you have a set of sample calls to the library:</p>
<blockquote><p>require &#8220;vim25.php&#8221;;<br />
$vim25 = new vim25(&#8220;ip-address-of-the-vcloud-server&#8221;, &#8220;username&#8221;, &#8220;password&#8221;);</p>
<p>$service_content = $vim25->retrieveServiceContent();<br />
$all_vm_info = $vim25->getAllVMInfo($service_content["rootFolder"], VIM25_SUB_INFO_ALL);<br />
$vm_info = $vim25->getVMInfo(&#8220;vm-16&#8243;, VIM25_SUB_INFO_GUEST);</p>
<p>$debug = $vim25->createVM(<br />
	&#8220;vm name&#8221;,<br />
	&#8220;group-id&#8221;,<br />
	&#8220;guest-id&#8221;,<br />
	&#8220;resgroup-id&#8221;,<br />
	&#8220;host-id&#8221;,<br />
	2, // num CPU<br />
	512, // RAM<br />
	10485760 // disk capacity in kB (10GB)<br />
);</p>
<p>print_r($debug);</p></blockquote>
<p>If you want to give a try to the code:</p>
<ul>
<li><a href="http://fabrizioballiano.net/wp-content/uploads/2010/11/vim25.php_.txt">download the library code</a></li>
<li>rename to vim25.php</li>
<li>download and install nusoap in the &#8220;nusoap&#8221; folder (at the same level of the vim25.php file)</li>
<li>use the code above to script the vim25 class</li>
<li>extend it and use it :-)</li>
</ul>
<p>This work is <a href="http://en.wikipedia.org/wiki/Public_domain">public domain</a> thus do whatever you want with it and enjoy.</p>

<div class="sociable">
<div class="sociable_tagline">
Share/bookmark: 
</div>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2010%2F11%2F22%2Fopen-source-vmware-php-api-experiment%2F&amp;title=Open%20Source%20VMware%20PHP%20API%20experiment" title="Digg"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2010%2F11%2F22%2Fopen-source-vmware-php-api-experiment%2F&amp;title=Open%20Source%20VMware%20PHP%20API%20experiment" title="StumbleUpon"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Ffabrizioballiano.net%2F2010%2F11%2F22%2Fopen-source-vmware-php-api-experiment%2F&amp;t=Open%20Source%20VMware%20PHP%20API%20experiment" title="Facebook"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Ffabrizioballiano.net%2F2010%2F11%2F22%2Fopen-source-vmware-php-api-experiment%2F&amp;title=Open%20Source%20VMware%20PHP%20API%20experiment" title="Reddit"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Ffabrizioballiano.net%2F2010%2F11%2F22%2Fopen-source-vmware-php-api-experiment%2F&amp;title=Open%20Source%20VMware%20PHP%20API%20experiment" title="Mixx"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://del.icio.us/post?url=http%3A%2F%2Ffabrizioballiano.net%2F2010%2F11%2F22%2Fopen-source-vmware-php-api-experiment%2F&amp;title=Open%20Source%20VMware%20PHP%20API%20experiment" title="del.icio.us"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Ffabrizioballiano.net%2F2010%2F11%2F22%2Fopen-source-vmware-php-api-experiment%2F&amp;title=Open%20Source%20VMware%20PHP%20API%20experiment" title="Google"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Ffabrizioballiano.net%2F2010%2F11%2F22%2Fopen-source-vmware-php-api-experiment%2F&amp;title=Open%20Source%20VMware%20PHP%20API%20experiment" title="Live"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a> 
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Ffabrizioballiano.net%2F2010%2F11%2F22%2Fopen-source-vmware-php-api-experiment%2F&amp;h=Open%20Source%20VMware%20PHP%20API%20experiment" title="NewsVine"><img src="http://fabrizioballiano.net/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a> 

</div>
]]></content:encoded>
			<wfw:commentRss>http://fabrizioballiano.net/2010/11/22/open-source-vmware-php-api-experiment/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

