<?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>Just Uber &#187; php</title>
	<atom:link href="http://www.justuber.com/blog/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.justuber.com/blog</link>
	<description>Dancing with Nerds</description>
	<lastBuildDate>Thu, 17 Mar 2011 11:11:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Getting a symfony plugin to work</title>
		<link>http://www.justuber.com/blog/2009/01/14/getting-a-symfony-plugin-to-work/</link>
		<comments>http://www.justuber.com/blog/2009/01/14/getting-a-symfony-plugin-to-work/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 22:03:25 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[mvc]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://www.justuber.com/blog/?p=149</guid>
		<description><![CDATA[Hi all,
I am working on a web based application for my work place.  I am building it in a php using the MVC framework Symfony.  
Symfony has learning curve, especially if you are new to the MVC setup.  This post is not about MVC but about a small problem I had trying [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all,<br />
I am working on a web based application for my work place.  I am building it in a php using the MVC framework <a href="http://www.symfony-project.org/">Symfony</a>.  </p>
<p>Symfony has learning curve, especially if you are new to the <a href="http://en.wikipedia.org/wiki/Model-view-controller">MVC</a> setup.  This post is not about MVC but about a small problem I had trying to installing a plugin.  </p>
<p>Symfony allows you to install plugins to the framework that provide a specific purpose, the one I was trying to install was called AdminQuickCreatePlugin.  If you can imagine you have a form that is all about a &#8216;person&#8217;, and on this form you a list of &#8220;organisations&#8221; that this person may work for, but as you start to fill the form in you realise the organisation the person works for is not in the list.  So you would have to go back, create the organisation, then come back to the form and fill all the details back in for the person (you have had to update the select list to show the new organisation).<br />
This plugin creates a small button that will open the form for an organisation, but the magic is that it will save the current forms session info and once the organisation has been created it will reopen the person form but fill in all the details you had entered but also add the new organisation.<br />
This makes web apps a little easier to use.</p>
<p>Any way &#8211; the problem was all around the way symfony installs plugins, using PEAR.  It refused to install normally due to a md5sum error.<br />
To rectify the problem I had to enter the .tgz, edit the package.xml.  I did use a md5sum.exe app to recreate the md5sum, but all the md5s looked ok?!<br />
So finding the &#8216;&lt;file&#8217; I deleted the md5sum=&#8217;7630f0d1fbc&#8230;&#8230;.&#8217; part.<br />
I then recreated the .tar.gz and used &#8217;symfony install-plugin /plugin.tar.gz&#8217;</p>
<p>Hey presto..  install without a problem now.<br />
Hopefully this may help anyone who has a similar problem.<br />
Just a word of warning though, the md5sum is used to make sure the file hasn&#8217;t been compromised, so always do a virus check.</p>
<p>ta</p>
<p>adam</p>
]]></content:encoded>
			<wfw:commentRss>http://www.justuber.com/blog/2009/01/14/getting-a-symfony-plugin-to-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

