<?xml version="1.0"?>
<?xml-stylesheet 
 href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel rdf:about="http://planet-php.net"><title>Planet PHP</title><link>http://planet-php.net</link><description>People blogging about PHP</description><dc:language>en</dc:language><dc:date>2013-05-23T18:00:00Z</dc:date><dc:creator>NN</dc:creator><admin:generatorAgent rdf:resource="http://planet-php.net"/><admin:errorReportsTo rdf:resource="mailto:chregu@bitflux.ch"/><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase><items><rdf:Seq><rdf:li rdf:resource="http://feedproxy.google.com/~r/dragonbe-php/~3/KRIWCBDP7Fg/ua-testing-with-selenium-and-phpunit.html"/><rdf:li rdf:resource="http://www.phpro.org/articles/Swede-From-Future-Says-He-Can-Code"/><rdf:li rdf:resource="http://www.phpro.org/articles/PGSQL-Cheat-Sheet"/><rdf:li rdf:resource="http://www.phpro.org/tutorials/Simple-Mysql-PHP-Menu"/><rdf:li rdf:resource="http://www.phpro.org/tutorial/Simple-Mysql-PHP-Menu"/><rdf:li rdf:resource="http://www.phpro.org/example/Test-For-Prime-Numbers-With-PHP-Regular-Expression"/><rdf:li rdf:resource="http://www.phpro.org/articles/Web2bb-0.0.9-Released"/><rdf:li rdf:resource="http://www.phpro.org/articles/nWire-Eclipse-Zend-Plugin-Review"/><rdf:li rdf:resource="http://www.phpro.org/example/Trim-All-Members-Of-An-Array-With-PHP"/><rdf:li rdf:resource="http://www.phpro.org/tutorials/Dynamically-Create-Menu-With-PHP-DOM"/></rdf:Seq></items></channel><item rdf:about="http://feedproxy.google.com/~r/dragonbe-php/~3/KRIWCBDP7Fg/ua-testing-with-selenium-and-phpunit.html"><title>UA Testing with Selenium and PHPUnit</title><link>http://feedproxy.google.com/~r/dragonbe-php/~3/KRIWCBDP7Fg/ua-testing-with-selenium-and-phpunit.html</link><dc:date>2013-05-23T18:00:00Z</dc:date><dc:creator>Michelangelo van Dam</dc:creator><description><![CDATA[]]></description><content:encoded><![CDATA[<br/><div style="color: #737373; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px;">Last week I spoke at <a href="http://tek.phparch.com/" style="color: #0069d6;">php[tek] 2013</a> where I explained to people how to get started with <a href="http://www.seleniumhq.org/" style="color: #0069d6;">Selenium IDE</a> to record user interaction with the web interface, convert them to PHPUnit testcases and automatically execute them on multiple browsers on multiple platforms.</div><div style="color: #737373; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px;">The <a href="https://joind.in/8157" style="color: #0069d6;">feedback</a> I got was awesome, you're all a great crowd! But on <a href="https://twitter.com/dragonbe" style="color: #0069d6;">twitter</a> I also received a bunch of questions regarding how to set up multiple platforms and why I used Windows in my presentation to deploy to.</div><div style="color: #737373; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px;">So today I deceided it was time to write a full article on this subject.</div><h2 style="color: #404040; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', Arial, sans-serif; font-size: 24px; line-height: 36px; margin: 0px; padding: 0px;">What is Selenium?</h2><div style="color: #737373; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px;">Selenium is a tool that allows you to continuously test user interfaces of web applications. The most common usages for Selenium testing are the following:</div><ul style="color: #737373; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', Arial, sans-serif; font-size: 13px; line-height: 18px;"><li>testing elements are (not) on the web interface</li><li>users can't break out a certain flow on the web interface</li><li>calculated values are correct after modification</li><li>errors appear on screen when mistakes are made by users</li><li>reported issues are valid</li></ul><div style="color: #737373; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px;">In general we call these type of tests <strong>User Acceptance Tests</strong> or <strong>UAT</strong> and are all focused from the point of the end-user, the person using the web interface to accomplish a certain goal.</div><h2 style="color: #404040; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', Arial, sans-serif; font-size: 24px; line-height: 36px; margin: 0px; padding: 0px;">Why are they important?</h2><div style="color: #737373; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px;">UAT have their own right to exist. Just like regular unit, performance and stress tests they have their own agenda and are adressing a particular part of your application that needs testing. All to prevent your customers/visitors from finding issues, bugs or just unfunctional pieces on your web application and loose their trust in your products or services.</div><div style="color: #737373; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px;">Therefor it's always good to invest in the "visibile" part of your web application. Especially when using javascript, you want to ensure it always works as intended.</div><h2 style="color: #404040; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', Arial, sans-serif; font-size: 24px; line-height: 36px; margin: 0px; padding: 0px;">Disclaimer</h2><div style="color: #737373; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px;">Selenium tests are in no way a replacement for regular unit tests. Their focus is on generated output of your web application within a browser. Unit tests are still necessary to ensure the logic of your application is not broken when making modifications or adding new functionality!</div><h2 style="color: #404040; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', Arial, sans-serif; font-size: 24px; line-height: 36px; margin: 0px; padding: 0px;">Setting things up</h2><div style="color: #737373; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', Arial, sans-serif; font-size: 13px; line-height: 18px; margin-bottom: 9px; padding: 0px;">You can write your own Selenium tests by hand, but the easiest way is to use the <a hr=""/></div><p><i>Truncated by Planet PHP, read more at <a href="http://feedproxy.google.com/~r/dragonbe-php/~3/KRIWCBDP7Fg/ua-testing-with-selenium-and-phpunit.html">the original</a> (another 36325 bytes)</i></p>]]></content:encoded></item><item rdf:about="http://www.phpro.org/articles/Swede-From-Future-Says-He-Can-Code"><title>Swede From Future Says He Can Code</title><link>http://www.phpro.org/articles/Swede-From-Future-Says-He-Can-Code</link><dc:date>2013-05-23T09:22:00Z</dc:date><dc:creator>Kevin Waterson</dc:creator><description><![CDATA[A revaluation today as a Swedish national, who has traveled back in time, says he can code!]]></description><content:encoded><![CDATA[A revaluation today as a Swedish national, who has traveled back in time, says he can code!]]></content:encoded></item><item rdf:about="http://www.phpro.org/articles/PGSQL-Cheat-Sheet"><title>PGSQL Cheat Sheet</title><link>http://www.phpro.org/articles/PGSQL-Cheat-Sheet</link><dc:date>2013-05-23T09:22:00Z</dc:date><dc:creator>Kevin Waterson</dc:creator><description><![CDATA[This table provides a simple ready reference to some common commands used in PostgreSQL. Ideal for those more accustomed to MySQL or other databases.]]></description><content:encoded><![CDATA[This table provides a simple ready reference to some common commands used in PostgreSQL. Ideal for those more accustomed to MySQL or other databases.]]></content:encoded></item><item rdf:about="http://www.phpro.org/tutorials/Simple-Mysql-PHP-Menu"><title>Simple Mysql PHP Menu</title><link>http://www.phpro.org/tutorials/Simple-Mysql-PHP-Menu</link><dc:date>2013-05-23T09:22:00Z</dc:date><dc:creator>Kevin Waterson</dc:creator><description><![CDATA[There are possibly as many menu systems available for PHP and MySQL as there are PHP programmers. Here is yet another way of generating menus from a database.]]></description><content:encoded><![CDATA[There are possibly as many menu systems available for PHP and MySQL as there are PHP programmers. Here is yet another way of generating menus from a database.]]></content:encoded></item><item rdf:about="http://www.phpro.org/tutorial/Simple-Mysql-PHP-Menu"><title>Simple Mysql PHP Menu</title><link>http://www.phpro.org/tutorial/Simple-Mysql-PHP-Menu</link><dc:date>2013-05-23T09:22:00Z</dc:date><dc:creator>Kevin Waterson</dc:creator><description><![CDATA[There are possibly as many menu systems available for PHP and MySQL as there are PHP programmers. Here is yet another way of generating menus from a database.]]></description><content:encoded><![CDATA[There are possibly as many menu systems available for PHP and MySQL as there are PHP programmers. Here is yet another way of generating menus from a database.]]></content:encoded></item><item rdf:about="http://www.phpro.org/example/Test-For-Prime-Numbers-With-PHP-Regular-Expression"><title>Test For Prime Numbers With PHP Regular Expression</title><link>http://www.phpro.org/example/Test-For-Prime-Numbers-With-PHP-Regular-Expression</link><dc:date>2013-05-23T09:22:00Z</dc:date><dc:creator>Kevin Waterson</dc:creator><description><![CDATA[This function provides a novel method of testing if a number is prime, by using a PHP regular expression.]]></description><content:encoded><![CDATA[This function provides a novel method of testing if a number is prime, by using a PHP regular expression.]]></content:encoded></item><item rdf:about="http://www.phpro.org/articles/Web2bb-0.0.9-Released"><title>Web2bb 0.0.9 Released</title><link>http://www.phpro.org/articles/Web2bb-0.0.9-Released</link><dc:date>2013-05-23T09:22:00Z</dc:date><dc:creator>Kevin Waterson</dc:creator><description><![CDATA[This is the latest update to the WEB2BB Framework and includes a simple fix for an error that failed to catch an exception.

The WEB2BB framework is a fully functioning MVC style framework that utilizes the best features of PHP 5.3 and above. By making use of the latest additions to PHP, the WEB2BB framework is able to provide sleek code and optimal performance. It does not try to be all things to all people and so the codebase is kept to a minimum.]]></description><content:encoded><![CDATA[This is the latest update to the WEB2BB Framework and includes a simple fix for an error that failed to catch an exception.

The WEB2BB framework is a fully functioning MVC style framework that utilizes the best features of PHP 5.3 and above. By making use of the latest additions to PHP, the WEB2BB framework is able to provide sleek code and optimal performance. It does not try to be all things to all people and so the codebase is kept to a minimum.]]></content:encoded></item><item rdf:about="http://www.phpro.org/articles/nWire-Eclipse-Zend-Plugin-Review"><title>nWire Eclipse Zend Plugin Review</title><link>http://www.phpro.org/articles/nWire-Eclipse-Zend-Plugin-Review</link><dc:date>2013-05-23T09:22:00Z</dc:date><dc:creator>Kevin Waterson</dc:creator><description><![CDATA[PHPRO.ORG receives many emails requesting reviews for magazines, web sites, application development tools, applications, books etc. Now and again, one of these catches the eye and deserves further inspection. Recently, a request for a product called nWire arrived which allegedly "accelerates PHP development by helping developers navigate through their code and better understand the architecture of their application". Here is a closer look at nWire.]]></description><content:encoded><![CDATA[PHPRO.ORG receives many emails requesting reviews for magazines, web sites, application development tools, applications, books etc. Now and again, one of these catches the eye and deserves further inspection. Recently, a request for a product called nWire arrived which allegedly "accelerates PHP development by helping developers navigate through their code and better understand the architecture of their application". Here is a closer look at nWire.]]></content:encoded></item><item rdf:about="http://www.phpro.org/example/Trim-All-Members-Of-An-Array-With-PHP"><title>Trim All Members Of An Array With PHP</title><link>http://www.phpro.org/example/Trim-All-Members-Of-An-Array-With-PHP</link><dc:date>2013-05-23T09:22:00Z</dc:date><dc:creator>Kevin Waterson</dc:creator><description><![CDATA[This little helper function provides a simple method to trim the white space from the beginning and end of all the elements in an array. It uses the call to array trim, which, in turn, calls the trim() function. The iteration is handled internally and so provides maximum performance then dealing with the the problem in user code.]]></description><content:encoded><![CDATA[This little helper function provides a simple method to trim the white space from the beginning and end of all the elements in an array. It uses the call to array trim, which, in turn, calls the trim() function. The iteration is handled internally and so provides maximum performance then dealing with the the problem in user code.]]></content:encoded></item><item rdf:about="http://www.phpro.org/tutorials/Dynamically-Create-Menu-With-PHP-DOM"><title>Dynamically Create Menu With PHP DOM</title><link>http://www.phpro.org/tutorials/Dynamically-Create-Menu-With-PHP-DOM</link><dc:date>2013-05-23T09:22:00Z</dc:date><dc:creator>Kevin Waterson</dc:creator><description><![CDATA[Programatically createing menus using php is a task many programmers will need to do over and over again in developing applications and web sites. Most PHP coders will have their own menu generation class that will take an array or an item and add it to a html un-ordered list or other tag and the styling is handled with CSS. This has proven to be a worthy solution to menu creation, however, PHP already has all the tools and classes built in to create a menu using DOM. It is both powerful and extensible and further eliminates for yet another class in your tree.]]></description><content:encoded><![CDATA[Programatically createing menus using php is a task many programmers will need to do over and over again in developing applications and web sites. Most PHP coders will have their own menu generation class that will take an array or an item and add it to a html un-ordered list or other tag and the styling is handled with CSS. This has proven to be a worthy solution to menu creation, however, PHP already has all the tools and classes built in to create a menu using DOM. It is both powerful and extensible and further eliminates for yet another class in your tree.]]></content:encoded></item></rdf:RDF>
