<?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>Technovated &#187; php</title>
	<atom:link href="http://www.technovated.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.technovated.com</link>
	<description></description>
	<lastBuildDate>Fri, 18 Jun 2010 07:50:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Reviewing a CMS solution developed on Mediatemple with the Seagull PHP Framework, including Paypal integration</title>
		<link>http://www.technovated.com/2007/07/25/reviewing-a-cms-solution-developed-on-mediatemple-with-the-seagull-php-framework-including-paypal-integration/</link>
		<comments>http://www.technovated.com/2007/07/25/reviewing-a-cms-solution-developed-on-mediatemple-with-the-seagull-php-framework-including-paypal-integration/#comments</comments>
		<pubDate>Wed, 25 Jul 2007 11:29:02 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Seagull]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.technovated.com/2007/07/25/reviewing-a-cms-solution-developed-on-mediatemple-with-the-seagull-php-framework-including-paypal-integration/</guid>
		<description><![CDATA[On Friday 20th July I finally deployed a site which we as a team have been working on for a number of months. Working on the project has been a huge learning curve and has taken way longer than ever expected.

The site which I am talking about is http://bd4d.com, which stands for By Designers 4 [...]]]></description>
			<content:encoded><![CDATA[<p>On Friday 20th July I finally deployed a site which we as a team have been working on for a number of months. Working on the project has been a huge learning curve and has taken way longer than ever expected.</p>
<p><a href="http://www.bd4d.com"><img src="http://www.technovated.com/wp-content/bd4d-home.jpg"  alt="BD4D"/></a></p>
<p>The site which I am talking about is <a href="http://www.bd4d.com">http://bd4d.com</a>, which stands for By Designers 4 Designers is built using the <a href="http://seagull.phpkitchen.com/">seagull php framework</a> with the new <a href="http://trac.seagullproject.org/wiki/Modules/Cms">cms</a> module</p>
<h3>General comments</h3>
<p>
<h4>Media Temple Installation</h4>
<p>During the live installation I encountered a few problems, most of which related to permissions of files on the server:</p>
<p>The main one however were the permissions of the /var/lib/php/session/ folder – it has to be writable</p>
<p>
<h4>Plugins that I found really useful during development</h4>
<p>There were two firefox plug-ins that I found very useful during development of the site:</p>
<p><a href="http://www.iosart.com/firefox/colorzilla/">Colorzilla</a> – gives you # codes for colours on any webpage<br />
<a href="https://addons.mozilla.org/en-US/firefox/addon/1419">IE tab </a>– allows you to open up ie7 tabs within firefox, which is great for cross browser compliant xhtml/css</p>
<p>Thanks to the developers of these two add-ons <img src='http://www.technovated.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>
<h4>Paypal</h4>
<p>The site has a payment gateway for listing jobs and events which has transaction processing done by <a href="https://www.paypal.com/">Paypal</a>.</p>
<p>In terms of project mistakes, this was one of the biggest we made. The support that <a href="http://www.floydtech.co.uk">James</a> received from  <a href="https://www.paypal.com/">Paypal</a> was extremely poor and the general documentation which they supply is often out of date and incorrect. I am amazed that they have become such a successful company, when it is so difficult to integrate their transaction processing into one’s site.</p>
<p>However after a lot of waiting for accounts to go live, numerous queries, emails, phone calls and a lot of frustration, we did eventually get the transactions working. It is working fine now, but it was definitely not worth all of that hassle.</p>
<p>I would be interested to here about other experiences from developers using  <a href="https://www.paypal.com/">Paypal</a> – hopefully you had a better one than we did.</p>
<h3>Site Features</h3>
<p>
<h4>Showcase</h4>
<p>The section of the site that I am most proud of is the <a href="http://www.bd4d.com/index.php/default/showcase/action/list/">Showcase</a> section, which has flash and movies of some really cool clips which the <a href="http://www.bd4d.com">bd4d</a> guys have done. The section allows comments to be made on each of the movies and I think it looks pretty slick – even if I say so myself <img src='http://www.technovated.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>To get the section functioning, I used the following:</p>
<p>A comment manager which Dmitri initially developed and then  I adapted that code to be used for the site.</p>
<p>To prevent spam on the site I used <a href="http://pear.php.net/package/Text_CAPTCHA">captcha package</a> from the <a href="http://pear.php.net/">php pear library</a></p>
<p>And I used the following code in the template to hold the movies/flash files:</p>
<p><code>< object width="550" height="400" ><br />
< param name="movie" value="{webRoot}/themes/bd4d/showcasemovies/<br />
{oItem.media}" ><br />
< param name="quality" value="high" ><br />
< embed src="{webRoot}/themes/bd4d/showcasemovies/<br />
{oItem.media}" quality="high" width="{oItem.width}" height="{oItem.height}" autostart="true">< / embed ><br />
< / object >	</code></p>
<p>
<h4>Events</h4>
<p>The <a href="http://www.bd4d.com/index.php/event/calendar/action/viewMonth/y/2007/m/07/regionId/0/">Events calendar</a> uses the default seagull events module as a basis, but there where a few enhancements made to fit the requirements of the site. The majority of the development of this section was done by James and I think that he did a pretty good job of it.</p>
<p>The calendar looks pretty slick and works really well, also the backend of the seagull events module provides a lot of flexibility for administrators wanting to manage events.</p>
<p>
<h4>Job board</h4>
<p>The <a href="http://www.bd4d.com/index.php/default/jobboard/action/list/">Job board</a> uses custom managers in the default module and as I have mentioned in my section about paypal, it allows members of the site to post jobs for a fee. The transaction processing handles straight paypal payments as well as credit card payments which are verified by paypal.</p>
<p>
<h3>Conclusion</h3>
<p>As I mentioned in the introduction this site took way longer than expected and there were a number of hard lessons which the whole team learnt. But at the end of the day, the site looks pretty good and works as expected, so in some way it can be seen as a success.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technovated.com/2007/07/25/reviewing-a-cms-solution-developed-on-mediatemple-with-the-seagull-php-framework-including-paypal-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP and Web 2.0 Developer required in Putney Bridge, London</title>
		<link>http://www.technovated.com/2007/04/24/php-and-web-20-developer-required-in-putney-bridge-london/</link>
		<comments>http://www.technovated.com/2007/04/24/php-and-web-20-developer-required-in-putney-bridge-london/#comments</comments>
		<pubDate>Tue, 24 Apr 2007 16:10:01 +0000</pubDate>
		<dc:creator>Gareth</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Chronos]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Doris]]></category>
		<category><![CDATA[Jobs]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Seagull]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Team]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://soapbox.technovated.com/2007/04/02/php-and-web-20-developer-required-in-putney-bridge-london/</guid>
		<description><![CDATA[Update: this post has been moved to the &#8220;Work with us&#8221; page&#8230;
__________________________________
We&#8217;re growing faster than I can keep track of, so I&#8217;m looking for a senior php person to join our team of ninjas.
Details below:
A growing web applications company based in Putney Bridge, London, specialising in Web 2.0 work in the LAMP stack, seeks an [...]]]></description>
			<content:encoded><![CDATA[<p>Update: this post has been moved to the &#8220;<a href="http://www.technovated.com/work-with-us/">Work with us</a>&#8221; page&#8230;<br />
__________________________________</p>
<p><a href="http://www.technovated.com/">We&#8217;re growing</a> faster than I can keep track of, so I&#8217;m looking for a senior php person to join our team of ninjas.</p>
<p><strong>Details below:</strong><br />
<a href="http://www.technovated.com/">A growing web applications company</a> based in Putney Bridge, London, specialising in Web 2.0 work in the LAMP stack, seeks an ambitious, talented, enthusiastic and motivated PHP Developer.</p>
<p><strong>You will have:</strong></p>
<ol>
<li>3+ years PHP experience with an excellent knowledge of object oriented PHP 4/5, MYSQL 4/5, and a good understanding of CSS, xHTML, AJAX and JavaScript?.</li>
<li>Apache and MYSQL administration experience would be ideal but not essential, as would experience with the Seagull framework.</li>
<li>Exposure to Open source technologies/frameworks/classes eg PEAR, prototype, scriptaculous is essential. As is exposure to web-based APIs (using SOAP, XML etc).</li>
<li>Experience writing/working with CMS, E-commerce systems is beneficial. </li>
<li>You must be able to manage a development environment, be able to accurately quote time for completing required tasks and be comfortable working with Trac and svn.</li>
</ol>
<p>Please get in touch if you are interested.</p>
<p><strong>Emails / responses where the applicant does not fit the above requirements will not be replied to.</strong><br />
__________________________________</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technovated.com/2007/04/24/php-and-web-20-developer-required-in-putney-bridge-london/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Developing a CMS solution on Mediatemple with the Seagull PHP Framework, including Google Maps</title>
		<link>http://www.technovated.com/2007/04/20/developing-a-cms-solution-on-mediatemple-with-the-seagull-php-framework-including-google-maps/</link>
		<comments>http://www.technovated.com/2007/04/20/developing-a-cms-solution-on-mediatemple-with-the-seagull-php-framework-including-google-maps/#comments</comments>
		<pubDate>Fri, 20 Apr 2007 09:03:53 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Seagull]]></category>

		<guid isPermaLink="false">http://www.technovated.com/2007/04/20/developing-a-cms-solution-on-mediatemple-with-the-seagull-php-framework-including-google-maps/</guid>
		<description><![CDATA[Having just completed the Atalink site, I would like to highlight some of my experiences, frustrations and lessons which I have learnt over the past few months. 
Background
I developed the site using the Seagull php framework, using the publisher module (which has recently been superseded by the CMS module). 
The publisher module requires a bit [...]]]></description>
			<content:encoded><![CDATA[<p>Having just completed the Atalink site, I would like to highlight some of my experiences, frustrations and lessons which I have learnt over the past few months. </p>
<p><strong>Background</strong></p>
<p>I developed the site using the Seagull php framework, using the <a href="http://trac.seagullproject.org/wiki/Modules/Publisher">publisher module </a>(which has recently been superseded by the <a href="http://trac.seagullproject.org/wiki/Modules/Cms">CMS module</a>). </p>
<p>The <a href="http://trac.seagullproject.org/wiki/Modules/Publisher">publisher module</a> requires a bit of hacking to make it run effectively, especially if the site requires content pages which have different layouts. But, overall the site works well and looks pretty good, even if I say so myself <img src='http://www.technovated.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . </p>
<p>I have still had a number of difficulties, so for those of you who are planning on building a similar site, here are some of the things which I have learnt:</p>
<p>This is especially relevant if you are going to be using some of the following:</p>
<ul>
<li><a href="http://seagullproject.org/">Seagull php Framework</a></li>
<li>Installing a site on a <a href="http://mediatemple.net/">Media Temple</a> Server</li>
<li>Including a dynamic <a href="http://www.google.com/apis/maps/">Google Map</a> in a page using the api</li>
</ul>
<p><strong>Lessons learned</strong></p>
<p>Tips for using the <a href="http://seagullproject.org/">Seagull</a> publisher module:</p>
<p>If you have various site sections which need to have different layouts, the best way of handling this is to create different content types for each different layout which is required.</p>
<p>Then create a different publisher template for that content type and specify the styling which you want for that particular section.</p>
<p>If you have any exceptions, then use a handler like this:</p>
<p><code>    {if:isEqual(29,articleID)}<br />
            <flexy:include src="about_flow.html" /><br />
   {end:}<br />
    {if:isEqual(30,articleID)}<br />
              <flexy:include src="about_approach.html" /><br />
    {end:}<br />
    {if:isEqual(34,articleID)}<br />
           <flexy:include src="products.html" /><br />
    {end:}</code></p>
<p>I will endeavour to write a more in depth tutorial for this and put it on the Seagull wiki. Once I have done so, I will update this post.</p>
<p><strong>Server Issues</strong></p>
<p>The first issue which I encountered was trying to do an installation on a staging sub-domain on a <a href="http://mediatemple.net/webhosting/dv/"> Media Temple Dedicated Virtual Server</a>, where php safe mode was turned on. I have written a <a href="http://www.technovated.com/2007/04/03/successfully-turning-off-php-safe-mode-removing-open_basedir-restrictions/">post </a>which is a guide on how to successfully remove these restrictions.</p>
<p><strong>Browser Issues</strong></p>
<p>As always, I encountered problems with cross browser compatibility. I discovered huge differences between IE6, IE7 and Firefox. The site looks best in Firefox, Safari and in IE6, but there are a few small differences on IE7.</p>
<p>I used this basic conditional block to include an IE hacks file for when a user views the site using IE.</p>
<p><code>< !--[if IE] >< style type="text/css" >@import "http://www.atalink.com/ themes/atalink/css/hacks/ie.css";< /style >< ![endif]-- ></code> (Remove spaces)</p>
<p><strong>Google Maps</strong></p>
<p>Although this is not that difficult to implement, I found quite a useful site called:</p>
<p><a href="http://www.gorissen.info/Pierre/maps/googleMapLocationv3.php">Google Maps latitude, longitude Popup </a>, which gives you the latitudes and longitude values for a specific location, which you use in the <a href="http://www.google.co.uk">Google </a>supplied javascript</p>
<p><strong>Design</strong></p>
<p>Although a designer may do a really good job and a client signs off a design, one has to be flexible enough to deal with client requests for changing of the layouts. Often the changes requested are quite valid and one should consider each request before just disagreeing.</p>
<p><strong>Content</strong></p>
<p>Again, I have been reminded about how important it is to have content ready and signed off, before beginning with development. It is amazing how much time can be wasted when you are waiting for pieces of content. Details about content should be agreed upon during initial agreements and no matter how difficult it may be, these agreements should be adhered to.</p>
<p><strong>Conclusion</strong></p>
<p>I have enjoyed working on this site and I have learnt a lot, in terms of development and in terms of communicating with clients.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technovated.com/2007/04/20/developing-a-cms-solution-on-mediatemple-with-the-seagull-php-framework-including-google-maps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The joy of the client grin&#8230;</title>
		<link>http://www.technovated.com/2007/04/06/the-joy-of-the-client-grin/</link>
		<comments>http://www.technovated.com/2007/04/06/the-joy-of-the-client-grin/#comments</comments>
		<pubDate>Fri, 06 Apr 2007 18:04:06 +0000</pubDate>
		<dc:creator>Gareth</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Seagull]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://soapbox.technovated.com/2007/04/06/the-joy-of-the-client-grin/</guid>
		<description><![CDATA[Yesterday (Thursday) we did a client demo of a web application we&#8217;ve developed using Seagull, where we&#8217;d imported and consolidated +- 30k customer contact details and associated records, and made it available to their whole team as a &#8220;web page&#8221;&#8230;
Suffice it to say, the team worked really hard on it, and it was really, really [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday (Thursday) we did a client demo of a web application we&#8217;ve developed using <a href="http://seagullproject.org/">Seagull</a>, where we&#8217;d imported and consolidated +- 30k customer contact details and associated records, and made it available to their whole team as a &#8220;web page&#8221;&#8230;</p>
<p>Suffice it to say, the team worked really hard on it, and it was really, really cool to see that satisfied grin on the client&#8217;s face &#8211; that affirmation that we&#8217;d done the right thing, developed something useful, created value for their business, and ultimately earned our fee.</p>
<p>Gotta love that joy&#8230; <img src='http://www.technovated.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.technovated.com/2007/04/06/the-joy-of-the-client-grin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to turn off PHP safe mode and remove open_basedir restrictions to install the Seagull PHP framework on a Media Temple sub domain</title>
		<link>http://www.technovated.com/2007/04/03/successfully-turning-off-php-safe-mode-removing-open_basedir-restrictions/</link>
		<comments>http://www.technovated.com/2007/04/03/successfully-turning-off-php-safe-mode-removing-open_basedir-restrictions/#comments</comments>
		<pubDate>Tue, 03 Apr 2007 09:37:42 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://soapbox.technovated.com/2007/04/03/successfully-turning-off-php-safe-mode-removing-open_basedir-restrictions/</guid>
		<description><![CDATA[Problem
I wanted to run an installation script on a sub-domain of a Dedicated-Virtual server hosted by Media Temple with a Plesk 7.5.4, but received the following php error message when I ran the script:
Warning: file_exists(): open_basedir restriction in effect.
Reason why the error occurs
The reason for this error is because, php safe mode is turned on [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong></p>
<p>I wanted to run an installation script on a sub-domain of a Dedicated-Virtual server hosted by Media Temple with a Plesk 7.5.4, but received the following php error message when I ran the script:</p>
<p><strong>Warning:</strong> file_exists(): open_basedir restriction in effect.</p>
<p><strong>Reason why the error occurs</strong></p>
<p>The reason for this error is because, php safe mode is turned on and because the open_basedir is set for each sub-domain. After quite a lot of searching on the web, I eventually tried a few tutorials, but none of them were comprehensive enough to describe exactly how to solve the actual problem.</p>
<p><strong>Solution</strong></p>
<p>Follow these steps and you should solve the problem:</p>
<ol>
<li>SSH into your server using the root login information </li>
<p></p>
<li>Once you have logged in, edit the php.ini file located  /etc/ folder with a text editor. The line you are looking for is:<br />
a. Change this line safe_mode = on to safe_mode = off<br />
b. Or you can cut and paste this one-liner: <br /> perl -p -i -e &#8217;s/^safe_mode\s*=\s*on/safe_mode = off/i;&#8217; /etc/php.ini
</li>
<p></p>
<li>Make sure that the open_basedir in the php.ini file looks like this:
<p><code>; open_basedir, if set, limits all file operations to the defined<br />
directory<br />
; and below. This directive makes most sense if used in a per-<br />
directory<br />
; or per-virtualhost web server configuration file. This directive is<br />
; *NOT* affected by whether Safe Mode is turned On or Off.<br />
open_basedir = none</code></p>
</li>
<p></p>
<li>Then you need to edit the virtual hosts for the domain and for each sub-domain in the http.inc file, which is located in the /var/www/vhosts/$domain/conf folder.<br />
Add the following section of code to the domain Virtual Host, as well as to each sub-domain Virtual Host</p>
<p><code><br />
< IfModule sapi_apache2.c ><br />
	php_admin_flag engine on<br />
	php_admin_flag safe_mode off<br />
	php_admin_value open_basedir none<br />
< /IfModule ></p>
<p>< IfModule mod_php5.c ><br />
	php_admin_flag engine on<br />
	php_admin_flag safe_mode off<br />
	php_admin_value open_basedir none<br />
< /IfModule ><br />
</code>
 </li>
<p></p>
<li>To complete the process, one needs to type the following two commands:</li>
<p>a. /etc/init.d/httpd stop<br />
b. /etc/init.d/httpd start</p>
<p>Hit “Enter” after each command and you should be given an [ OK ] status in the command line.</p>
<p><strong>Conclusion</strong></p>
<p>This should solve your problem and if you have any comments, suggestions or improvements, please submit them. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.technovated.com/2007/04/03/successfully-turning-off-php-safe-mode-removing-open_basedir-restrictions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Acceptance testing PHP using selenium</title>
		<link>http://www.technovated.com/2007/01/26/acceptance-testing-php-using-selenium/</link>
		<comments>http://www.technovated.com/2007/01/26/acceptance-testing-php-using-selenium/#comments</comments>
		<pubDate>Fri, 26 Jan 2007 10:09:42 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://soapbox.technovated.com/2007/01/26/acceptance-testing-php-using-selenium/</guid>
		<description><![CDATA[As we are approaching the final stages of one of out projects, I have been doing some serious acceptance testing to make sure that the site is functioning correctly. To set the testing up, I was given a steer in the right direction and used the Seagull wiki as a guide for the installation&#8230;.hat tip [...]]]></description>
			<content:encoded><![CDATA[<p>As we are approaching the final stages of one of out projects, I have been doing some serious acceptance testing to make sure that the site is functioning correctly. To set the testing up, I was given a steer in the right direction and used the <a href="http://trac.seagullproject.org/wiki/Standards/UnitTesting#UsingSeleniumforAcceptanceTests">Seagull wiki </a>as a guide for the installation&#8230;.hat tip to Demian.</p>
<p>It is really easy to set the test suite up and to get going, all you really need are the following two downloads:</p>
<ol>
<li><a href="http://www.openqa.org/selenium-core/download.action">Selenium core test suite</a></li>
<li>To record tests the <a href="http://www.openqa.org/selenium-ide/ ">Selenium IDE</a> in Firefox</li>
</ol>
<p>Once you have installed the Selenium core web application and the plug-in for Firefox (Firefox rocks!!) you good to go:</p>
<ol>
<li>Plan the various tests which you would like to run</li>
<li>Set the Firefox IDE to record your actions</li>
<li>Once you&#8217;ve completed a certain test save the test in an .html file</li>
<li>Include a link to your test file in your main index.html (TestSuite) file, which acts as a table of contents for the various tests</li>
<li>Then you can either run the tests individually or as a batch</li>
</ol>
<p>If you would like a <a href="http://blog.thinkphp.de/archives/133-Practical-Testing-PHP-Applications-with-Selenium.html">more detailed tutorial</a>, I found the one on the <a href="http://blog.thinkphp.de/">thinkPHP blog</a> to be quite useful.</p>
<p>As Demian says, you start getting &#8220;addicted&#8221; to creating tests and eventually try to become a perfectionist &#8211; which is a good place to be in if you want to produce error free sites for clients.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technovated.com/2007/01/26/acceptance-testing-php-using-selenium/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting to grips with PEAR Quickform and Smarty</title>
		<link>http://www.technovated.com/2006/10/26/getting-to-grips-with-pear-quickform-and-smarty/</link>
		<comments>http://www.technovated.com/2006/10/26/getting-to-grips-with-pear-quickform-and-smarty/#comments</comments>
		<pubDate>Thu, 26 Oct 2006 09:41:36 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://soapbox.technovated.com/2006/10/26/getting-to-grips-with-pear-quickform-and-smarty/</guid>
		<description><![CDATA[Over the past few months, we have done a number of projects using the php Smarty package. Smarty is a fantastic templating engine which is quite easy to use and is extremely powerful. It also enforces the distinction between presentation logic and application logic and provides a great deal of flexibility when developing.
On our most [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past few months, we have done a number of projects using the <a href="http://www.php.net/">php </a><a href="http://smarty.php.net/">Smarty</a> package. Smarty is a fantastic <a href="http://en.wikipedia.org/wiki/Templating_engine">templating engine</a> which is quite easy to use and is extremely powerful. It also enforces the distinction between presentation logic and application logic and provides a great deal of flexibility when developing.</p>
<p>On our most recent project we decided to try and use the php <a href="http://pear.php.net/">PEAR</a> <a href="http://pear.php.net/package/html_quickform/redirected">Quickform</a> module. This has also proved to be a easy to use, yet powerful form generator and processor.One thing which I think needs improving is that when forms are generated, the <a href="http://en.wikipedia.org/wiki/HTML">HTML</a> templates are table based. I am sure that the developers of this package are trying to implement this feature on later realeases, but the package we are using doesn&#8217;t generate semantically correct HTML forms.</p>
<p>However, to overcome this sticking point, we combined the smarty and quickform packages to produce semantically correct HTML templates, which have validation and processing ability.</p>
<p>The form generation, validation form processing are extremely quick and provide an awesome amount of felxibility when it comes to both presentation and application logic.</p>
<p>It is truly awesome what can be acheived using open source code.<br />
Go php!!! <img src='http://www.technovated.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>For those of you who are intrested in learning about quickform and smarty-check these links out:</p>
<ul>
<li><a href="http://www.devarticles.com/c/a/Web-Design-Usability/Using-HTML-QuickForm-To-Manage-Web-Forms-Part-1/">Devarticle</a></li>
<li><a href="http://davidmintz.org/presentations/show.php/QuickForm_and_Smarty/">David Mintz</a></li>
<li><a href="http://www.midnighthax.com/quickform.php">Midnighthax</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.technovated.com/2006/10/26/getting-to-grips-with-pear-quickform-and-smarty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
