<?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>Amphee Web Tech Pvt. Ltd. &#187; symfony development</title>
	<atom:link href="http://blog.amphee.com/index.php/tag/symfony-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.amphee.com</link>
	<description></description>
	<lastBuildDate>Wed, 04 May 2011 05:34:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		
	
	<!-- google ad injected by adsense-optimizer http://www.adsenseoptimizer.de -->
	<div  style="padding:3px; display: block; margin-left: auto; margin-right: auto; text-align: center;"><!-- Ad number: 1 --><script type="text/javascript"><!--
    	 
    	google_ad_client = "pub-0687753067406098"; google_alternate_color = "FFFFFF";
		google_ad_width = 468; google_ad_height = 60;
		google_ad_format = "468x60_as"; google_ad_type = "text_image";
		google_ad_channel =""; google_color_border = "A6C9E2";
		google_color_link = "FF3019"; google_color_bg = "FFFFFF";
		google_color_text = "000000"; google_color_url = "7EB544";
		google_ui_features = "rc:0"; //--></script>
		<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>	<item>
		<title>Setting up a symfony project with PHPUnit on Hudson</title>
		<link>http://blog.amphee.com/index.php/2010/10/26/setting-up-a-symfony-project-with-phpunit-on-hudson/</link>
		<comments>http://blog.amphee.com/index.php/2010/10/26/setting-up-a-symfony-project-with-phpunit-on-hudson/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 11:05:56 +0000</pubDate>
		<dc:creator>kiran vadariya</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[download symfony1.2]]></category>
		<category><![CDATA[hudson]]></category>
		<category><![CDATA[symfony 2.0. symfony 1.0]]></category>
		<category><![CDATA[symfony development]]></category>
		<category><![CDATA[symfony phpunit on hudson]]></category>

		<guid isPermaLink="false">http://blog.amphee.com/?p=292</guid>
		<description><![CDATA[We are using Hudson now for several months as Continous Integration System. This short article describes how we have configured a hudson project for a symfony 1.4 project. I am assuming that the reader is already used to Hudson and knows how a normal project has to be configured.
PHPUnit is the test framework of our [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>We are using Hudson now for several months as Continous Integration System. This short article describes how we have configured a hudson project for a symfony 1.4 project. I am assuming that the reader is already used to Hudson and knows how a normal project has to be configured.</p>
<p>PHPUnit is the test framework of our choice (surprise, surprise) and we are using the sfPHPUnit2Plugin for all our projects. If you do not now this plugin you may first read another post where the usage and features are described in detail.</p>
<p>All requirements in short:</p>
<p>* Hudson has to be installed<br />
* Hudson plugin xUnit Plugin has to be installed<br />
* the symfony project needs the sfPHPUnit2Plugin<br />
* PHPUnit has to be installed on your test server</p>
<p>Ok, here the configuration steps of the hudson project:</p>
<p>1. Configure your project</p>
<p>Configure standard settings for a hudson project like source-code management settings or email notifications. Please check the official docs if you do not know how to handle this.</p>
<p>2. Add a shell build step</p>
<p>Building a symfony project in a test environment is pretty easy. With the help of some shell commands the project is completely configured and ready for testing. Those shell commands may be entered in the build step section of the hudson project. Defining the correct commands is the main part during the configuration process.</p>
<p>Our configuration looks like this:</p>
<p>1. cd $WORKSPACE/trunk<br />
2. sh _deployment/install_test.sh<br />
3. php symfony cc<br />
4. php symfony phpunit:test-all &#8211;configuration &#8211;options=&#8221;&#8211;log-<br />
5. junit=build/testresult_$BUILD_NUMBER.xml&#8221; cd build<br />
6. ln -s -f testresult_$BUILD_NUMBER.xml currentTestResult.xml</p>
<p>1. Jump in the project root of the project<br />
2. Install the project on the test server with the help of a internal shell script. This step includes for example the generation of the databases.yml.<br />
3. Clear the symfony cache (always a good choice)<br />
4. Run all PHPUnit tests including unit and functional tests. The test result is written in a jUnit compatible logfile (needed for the xUnit Plugin).<br />
5. Jump in the build directory, which is internally used by Hudson<br />
6. Symlink the latest testresult</p>
<p>3. Configure Post-Build-Action</p>
<p>After the xUnit Plugin is installed correctly, an additional PHPUnit Pattern field should be displayed in the post build action section. In this field has to be entered:</p>
<p>1 trunk/build/currentTestResult.xml</p>
<p>The options “Fail the build if test results were not updated this run” and “Delete temporary JUnit file” should be both checked.</p>
<p>The xUnit Plugin takes the currentTestResult.xml file, which was previously created with the help of the sfPHPUnit2Plugin and analyzes it. When everything works fine, you should be able to review the created test reports.</p>
<p>Here some screenshots how this result could look like.</p>
<p>Build history:<br />
<a href="http://dev.esl.eu/blog/wp-content/uploads/2010/10/hudson-01-300x230.png"><img class="aligncenter" title="hudson" src="http://dev.esl.eu/blog/wp-content/uploads/2010/10/hudson-01-300x230.png" alt="" width="300" height="230" /></a></p>
<p>Trend graph of the test results:</p>
<p><a href="http://dev.esl.eu/blog/wp-content/uploads/2010/10/hudson-02-300x138.png"><img class="aligncenter" title="hudson" src="http://dev.esl.eu/blog/wp-content/uploads/2010/10/hudson-02-300x138.png" alt="" width="300" height="138" /></a></p>
<p>You can find the original post here : <a href="http://dev.esl.eu/blog/category/symfony/" target="_blank">http://dev.esl.eu/blog/category/symfony/</a></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.amphee.com/index.php/2010/10/26/setting-up-a-symfony-project-with-phpunit-on-hudson/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interesting symfony plugins: sfSyncContentPlugin</title>
		<link>http://blog.amphee.com/index.php/2010/06/21/interesting-symfony-plugins-sfsynccontentplugin/</link>
		<comments>http://blog.amphee.com/index.php/2010/06/21/interesting-symfony-plugins-sfsynccontentplugin/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 06:07:07 +0000</pubDate>
		<dc:creator>kiran vadariya</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[symfony development]]></category>
		<category><![CDATA[symfony plugins]]></category>

		<guid isPermaLink="false">http://blog.amphee.com/?p=163</guid>
		<description><![CDATA[With the amount of plugins published in the symfony site, many great plugins get lost in the maze. With this series of posts, we would like to bring some attention to plugins we use every day or that we think are essential for any symfony developer.
sfSyncContentPlugin
Deploying symfony applications is always a key part of developing [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>With the amount of plugins published in the symfony site, many great plugins get lost in the maze. With this series of posts, we would like to bring some attention to plugins we use every day or that we think are essential for any symfony developer.</p>
<h2>sfSyncContentPlugin</h2>
<p>Deploying symfony applications is always a key part of developing and maintaining websites that run on symfony. It is always a recommended practice to do development on a local environment or dedicated development server. It is also recommended to have a QA/staging server that is as close as possible to your production server. Using this well proven method you can spot problems and bugs before everybody else sees or experiences them, you know, those bugs that “only” happen in production, don’t tell me that it never happened to you, I won’t believe you.</p>
<p>Anyway, making changes in a live site is not only not recommended, it should never be done!</p>
<p>When developing and testing symfony applications, a lot of times you need to have a copy of the live data. Or you may have a staging server where you make changes before pushing them to a live site in a production server. symfony already provides a way to deploy code changes to a remote server, but what about uploaded and data files? And database content?</p>
<p>Since we discovered and started using it, we can’t live without the<a href="http://www.symfony-project.org/plugins/sfSyncContentPlugin">sfSyncContentPlugin plugin</a> by Tom Boutell and Alex Gilbert, also developers of<a href="http://www.apostrophenow.com/">Apostrophe CMS</a>. This plugin helps with all the tasks and needs described above. Using it is quite simple. All you need to do is define your servers in config/properties.ini like this:</p>
<pre>[qa]
  host=qa.example.com
  port=22
  user=user
  dir=/var/www/mysite

[prod]
  host=www.example.com
  port=22
  user=user
  dir=/var/www/mysite

[staging]
  host=staging.example.com
  port=22
  user=user
  dir=/var/www/mysite</pre>
<p>Make sure to use SSH keys to authenticate to your remote servers, so you don’t get asked again and again for passwords. Then just run the following symfony tasks:</p>
<pre>
<pre># Migrate files and DB from development to qa
./symfony project:sync-content frontend dev to qa@qa

# Migrate files and DB to production (always make a backup of production before doing this!)
./symfony project:sync-content frontend dev to prod@prod

# Migrate files and DB from QA into development
./symfony project:sync-content frontend dev from prod@prod</pre>
</pre>
<p>Files and DB content are copied accordingly, almost magically. It saves so much time, but please make sure you understand and check the order that you apply in the symfony task. With the power this plugin provides, is very easy, by mistake, to overwrite production data, so again, always make a backup!</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.amphee.com/index.php/2010/06/21/interesting-symfony-plugins-sfsynccontentplugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing Symfony with Eclipse</title>
		<link>http://blog.amphee.com/index.php/2009/06/03/developing-symfony-with-eclipse/</link>
		<comments>http://blog.amphee.com/index.php/2009/06/03/developing-symfony-with-eclipse/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 06:58:53 +0000</pubDate>
		<dc:creator>kiran vadariya</dc:creator>
				<category><![CDATA[php development]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[symfony development]]></category>

		<guid isPermaLink="false">http://blog.devloperworld.com/?p=94</guid>
		<description><![CDATA[hi i found a great link for symfony developers.
Developing Symfony with Eclipse
The Symfoclipse-Plugin: Currently in Version 1.2.1 this is the first Symfony-Plugin for Eclipse. Some glitches and rough edges but pretty usefull. It allows you to run common commands like freeze, cc and so on for a symfony project. First support for YAML is also [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>hi i found a great link for symfony developers.</p>
<h2><a title="Permanent Link to Developing Symfony with Eclipse" rel="bookmark" href="http://www.symfony-zone.com/wordpress/2007/12/19/developing-symfony-with-eclipse/">Developing Symfony with Eclipse</a></h2>
<p>The Symfoclipse-Plugin: Currently in Version 1.2.1 this is the first Symfony-Plugin for Eclipse. Some glitches and rough edges but pretty usefull. It allows you to run common commands like freeze, cc and so on for a symfony project. First support for YAML is also available. The plugin is available from: http://noy.cc/symfoclipse</p>
<p>from ,</p>
<p>hiren sejpal <img src='http://blog.amphee.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.amphee.com/index.php/2009/06/03/developing-symfony-with-eclipse/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	
	
	<!-- google ad injected by adsense-optimizer http://www.adsenseoptimizer.de -->
	<div  style="padding:7px; display: block; margin-left: auto; margin-right: auto; text-align: center;"><!-- Ad number: 2 --><script type="text/javascript"><!--
    	 
    	google_ad_client = "pub-0687753067406098"; google_alternate_color = "FFFFFF";
		google_ad_width = 468; google_ad_height = 60;
		google_ad_format = "468x60_as"; google_ad_type = "text_image";
		google_ad_channel =""; google_color_border = "E3FA11";
		google_color_link = "FFFFFF"; google_color_bg = "A2AB2B";
		google_color_text = "000000"; google_color_url = "FFFFFF";
		google_ui_features = "rc:0"; //--></script>
		<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>	<item>
		<title>Upgrade Symfony Projects to 1.1 and 1.2</title>
		<link>http://blog.amphee.com/index.php/2009/05/01/upgrade-symfony-projects-to-11-and-12/</link>
		<comments>http://blog.amphee.com/index.php/2009/05/01/upgrade-symfony-projects-to-11-and-12/#comments</comments>
		<pubDate>Fri, 01 May 2009 10:37:26 +0000</pubDate>
		<dc:creator>kiran vadariya</dc:creator>
				<category><![CDATA[web development]]></category>
		<category><![CDATA[symfony development]]></category>
		<category><![CDATA[symfony version upgrades]]></category>

		<guid isPermaLink="false">http://blog.devloperworld.com/?p=35</guid>
		<description><![CDATA[With your ongoing projects if you want to change the branch of symfony from 1.0 to 1.1 or from 1.1 to 1.2, here are links to describe how
The document on the symfony official site provides the details about what changes made in 1.1 and 1.2 branches, and what to be done to upgrade your projects
[1]   [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>With your ongoing projects if you want to change the branch of symfony from 1.0 to 1.1 or from 1.1 to 1.2, here are links to describe how</p>
<p>The document on the symfony official site provides the details about what changes made in 1.1 and 1.2 branches, and what to be done to upgrade your projects</p>
<p>[1]   Upgrading Projects from 1.0 to 1.1</p>
<p> <a href="http://trac.symfony-project.org/browser/branches/1.2/UPGRADE_TO_1_1">http://trac.symfony-project.org/browser/branches/1.2/UPGRADE_TO_1_1</a></p>
<p>[2]  Upgrading Projects from 1.1 to 1.2</p>
<p> <a href="http://trac.symfony-project.org/browser/branches/1.2/UPGRADE_TO_1_2">http://trac.symfony-project.org/browser/branches/1.2/UPGRADE_TO_1_2</a></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.amphee.com/index.php/2009/05/01/upgrade-symfony-projects-to-11-and-12/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>some usefule symfony plugins  :)</title>
		<link>http://blog.amphee.com/index.php/2009/04/30/some-usefule-symfony-plugins/</link>
		<comments>http://blog.amphee.com/index.php/2009/04/30/some-usefule-symfony-plugins/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 08:01:51 +0000</pubDate>
		<dc:creator>kiran vadariya</dc:creator>
				<category><![CDATA[php development]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[symfony development]]></category>

		<guid isPermaLink="false">http://blog.devloperworld.com/?p=31</guid>
		<description><![CDATA[take a quick look at some useful symfony plugins . useful for your symfony project. if any query or change then post comment on it.

sfSimpleCMSPlugin
sfGuardPlugin
sfDoctrinePlugin
sfPropelActAsNestedSetBehaviorPlugin
sfMediaLibraryPlugin
sfSimpleBlogPlugin
sfSimpleForumPlugin
sfFeed2Plugin
sfgWidgetsPlugin
sfThumbnailPlugin
sfUJSPlugin
sfControlPanelPlugin
sfFormValidationPlugin
sfMogileFSPlugin
sfLightboxPlugin
sfCaptchaPlugin
sfNiftyPlugin
sfPrototypeWindowPlugin
sfPropelLoadbalancerPlugin
sfSavvyPlugin
sfYzClientSideValidationPlugin

from ,
sanjay  

]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>take a quick look at some useful symfony plugins . useful for your symfony project. if any query or change then post comment on it.</p>
<ol>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfSimpleCMSPlugin">sfSimpleCMSPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfGuardPlugin">sfGuardPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfDoctrine">sfDoctrinePlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfPropelActAsNestedSetBehaviorPlugin">sfPropelActAsNestedSetBehaviorPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfMediaLibraryPlugin">sfMediaLibraryPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfSimpleBlogPlugin">sfSimpleBlogPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfSimpleForumPlugin">sfSimpleForumPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfFeed2Plugin">sfFeed2Plugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfgWidgetsPlugin">sfgWidgetsPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfThumbnailPlugin">sfThumbnailPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfUJSPlugin">sfUJSPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfControlPanelPlugin">sfControlPanelPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfFormValidationPlugin">sfFormValidationPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfMogileFSPlugin">sfMogileFSPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfLightboxPlugin">sfLightboxPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfCaptchaPlugin">sfCaptchaPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfNiftyPlugin">sfNiftyPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfPrototypeWindowPlugin">sfPrototypeWindowPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfPropelLoadbalancerPlugin">sfPropelLoadbalancerPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfSavvyPlugin">sfSavvyPlugin</a></li>
<li><a href="http://trac.symfony-project.com/trac/wiki/sfYzClientSideValidationPlugin">sfYzClientSideValidationPlugin</a></li>
</ol>
<p>from ,</p>
<p><strong>sanjay <img src='http://blog.amphee.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
<ol></ol>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.amphee.com/index.php/2009/04/30/some-usefule-symfony-plugins/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

