<?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>A blog about productivity for the Internet entrepreneur.&#187; Symfony</title>
	<atom:link href="http://www.thinkingserious.com/category/symfony/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thinkingserious.com</link>
	<description>My goal is to help you focus on your passions by reducing or eliminating the time needed to maintain your life.</description>
	<lastBuildDate>Sun, 08 Jan 2012 22:58:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Automatically Login a User After Registration Using sfGuardPlugin in Symfony</title>
		<link>http://www.thinkingserious.com/2010/04/05/automatically-login-a-user-after-registration-using-sfguardplugin-in-symfony/</link>
		<comments>http://www.thinkingserious.com/2010/04/05/automatically-login-a-user-after-registration-using-sfguardplugin-in-symfony/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 12:00:54 +0000</pubDate>
		<dc:creator>Elmer Thomas</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Symfony]]></category>

		<guid isPermaLink="false">http://www.thinkingserious.com/?p=603</guid>
		<description><![CDATA[When you want a user to be automatically logged in after they register, you can use the following code where you have access to the sfGuardUser module: $this->getContext()->getUser()->signIn($user, true);]]></description>
			<content:encoded><![CDATA[<p>When you want a user to be automatically logged in after they register, you can use the following code where you have access to the sfGuardUser module:</p>
<p><code>$this->getContext()->getUser()->signIn($user, true);</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinkingserious.com/2010/04/05/automatically-login-a-user-after-registration-using-sfguardplugin-in-symfony/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting Up Symfony on Ubuntu 7.10 64bit</title>
		<link>http://www.thinkingserious.com/2008/03/12/setting-up-symfony-on-ubuntu-710-64bit/</link>
		<comments>http://www.thinkingserious.com/2008/03/12/setting-up-symfony-on-ubuntu-710-64bit/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 06:39:49 +0000</pubDate>
		<dc:creator>Elmer Thomas</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Symfony]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.thinkingserious.com/2008/03/12/setting-up-symfony-on-ubuntu-710-64bit/</guid>
		<description><![CDATA[So you have your shiny new *buntu installed and now you want to start hacking with your favorite framework, Symfony. This quick guide will have you up and running in a few minutes. I assume you have installed Apache 2, PHP5 and MySQL 5 using the defaults with Synaptic. sudo vi /etc/apt/sources.list Add: deb http://www.symfony-project.org/get [...]]]></description>
			<content:encoded><![CDATA[<p>So you have your shiny new *buntu installed and now you want to start hacking with your favorite framework, <a href="http://www.symfony-project.com" target="_blank">Symfony</a>. This quick guide will have you up and running in a few minutes. I assume you have installed  Apache 2, PHP5 and MySQL 5 using the defaults with Synaptic.<span id="more-57"></span></p>
<pre>sudo vi /etc/apt/sources.list</pre>
<p>Add:</p>
<pre>deb http://www.symfony-project.org/get debian/</pre>
<pre>sudo apt-get update</pre>
<pre>sudo apt-get install php5-symfony</pre>
<pre>mkdir /var/www/test</pre>
<pre>cd /var/www/test</pre>
<pre>symfony init-project mytest</pre>
<pre>symfony init-app myapp</pre>
<pre>sudo vi  /etc/apache2/sites-enabled/000-default</pre>
<p>Add this to the end:</p>
<pre>
&lt;Directory "/usr/share/php5/symfony/data/web/sf"&gt;
  AllowOverride All
  Allow from All
&lt;/Directory&gt;
&lt;VirtualHost *&gt;
  ServerName mytest.thinkingserious.com
  DocumentRoot "/var/www/test/web"
  DirectoryIndex index.php
  Alias /sf /usr/share/php5/symfony/data/web/sf

  &lt;Directory "/var/www/test/web"&gt;
    AllowOverride All
    Allow from All
  &lt;/Directory&gt;
&lt;/VirtualHost&gt;</pre>
<pre>sudo a2enmod rewrite</pre>
<pre>sudo vi /etc/hosts</pre>
<p>Add this:</p>
<pre>127.0.0.1 mytest.thinkingserious.com</pre>
<pre>vi /etc/php5/apache2/php.ini</pre>
<p>Make sure:</p>
<pre>magic_quotes_gpc = Off</pre>
<pre>apache2 restart</pre>
<p>Type http://mytest.thinkingserious.com in your browser.</p>
<p>Done <img src='http://www.thinkingserious.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinkingserious.com/2008/03/12/setting-up-symfony-on-ubuntu-710-64bit/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Get Symfony Installed in 20 Minutes on Vista</title>
		<link>http://www.thinkingserious.com/2007/10/24/get-symfony-installed-in-20-minutes-on-vista/</link>
		<comments>http://www.thinkingserious.com/2007/10/24/get-symfony-installed-in-20-minutes-on-vista/#comments</comments>
		<pubDate>Wed, 24 Oct 2007 23:58:32 +0000</pubDate>
		<dc:creator>Elmer Thomas</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Symfony]]></category>

		<guid isPermaLink="false">http://www.thinkingserious.com/2007/10/24/get-symfony-installed-in-20-minutes-on-vista/</guid>
		<description><![CDATA[Interest in Symfony has increased since del.icio.us announced it developed its new version on the Symfony framework. If you are running Vista and you need to get a quick Symfony development environment going, then look no further. Follow these easy steps to going in 20 minutes. 1. Install XAMPP Just follow the instructions for installation [...]]]></description>
			<content:encoded><![CDATA[<p>Interest in Symfony has increased since <a href="http://www.symfony-project.com/blog/2007/10/02/delicious-preview-built-with-symfony" target="_blank">del.icio.us announced</a> it developed its new version on the Symfony framework. If you are running Vista and you need to get a quick <a href="http://www.symfony-project.com" target="_blank">Symfony</a> development environment going, then look no further. Follow these easy steps to going in 20 minutes.<span id="more-18"></span></p>
<p><strong>1. Install <a href="http://www.apachefriends.org/en/xampp-windows.html" target="_blank">XAMPP</a></strong></p>
<p>Just follow the instructions for installation and then:</p>
<ol>
<li>During the install, specify XAMPP to be installed under C:Program Files because of Vista security restraints.</li>
<li> Run http://127.0.0.1/security/index.php to secure XAMPP.</li>
</ol>
<p><strong> 2. Install Symfony</strong></p>
<ol>
<li>Press the Win key</li>
<li>Type cmd</li>
<li>Press Ctrl+Shift+Enter</li>
<li>Confirm the elevation prompt</li>
<li> cd &#8220;C:Program Filesxamppphp&#8221;</li>
<li>pear upgrade PEAR
<ol>
<li>Note: You will get a pop-up with &#8220;CLI has stopped working&#8221;, you can safely close that (this will happen during the other command prompt steps as well).</li>
</ol>
</li>
<li> pear channel-discover pear.symfony-project.com</li>
<li> pear install symfony/symfony</li>
<li>pear install phing/phing</li>
</ol>
<p><strong>3. Setup Your Application</strong></p>
<p>Add symfony to your path:</p>
<ol>
<li> Start Orb -&gt; Computer (right click and choose properties)</li>
<li> Advanced system settings</li>
<li> Environment Variables&#8230;</li>
<li> Click on the Path System variable and click edit</li>
<li> At the end of the string, append ;C:Program Filesxamppphp;C:Program Filesxamppmysqlbin</li>
</ol>
<p>Restart the command prompt for the path variable to set.</p>
<p>Set up a sample project:</p>
<ol>
<li> cd [path to your workspace]</li>
<li> mkdir myproject</li>
<li> cd myproject</li>
<li> symfony init-project myproject</li>
<li> symfony init-app myapp</li>
</ol>
<p><strong>4. Configure the Web Server</strong></p>
<p>Set up a named host:</p>
<ol>
<li> Go to C:WindowsSystem32driversetc in explorer and right click on the host file. Uncheck the read only box.</li>
<li> Hit the windows key</li>
<li> Type notepad.exe</li>
<li> Cntrl+Shift+Enter</li>
<li> File -&gt; Open</li>
<li> Open C:WindowsSystem32driversetc (you will have to put an * in the file name box to see the file) and open the hosts file</li>
<li> Add &#8220;127.0.0.1       myproject&#8221; under &#8220;127.0.0.1       localhost&#8221; (without the quotes)</li>
<li> Save</li>
<li> Go to C:WindowsSystem32driversetc in explorer and right click on the host file. Check the read only box.</li>
<li> File -&gt; Open</li>
<li> C:Program Filesxamppapacheconfextra (you will have to put an * in the file name box to see the file) and open httpd-vhosts.conf</li>
<li> Add this to the end of the httpd-vhosts.conf file and save:<br />
&lt;VirtualHost *:80&gt;<br />
ServerName myproject<br />
DocumentRoot &#8220;C:[path to your workspace]myprojectweb&#8221;<br />
DirectoryIndex index.php<br />
Alias /sf C:php5peardatasymfonywebsf<br />
&lt;Directory &#8220;C:php5peardatasymfonywebsf&#8221;&gt;<br />
AllowOverride All<br />
Allow from All<br />
&lt;/Directory&gt;<br />
&lt;Directory &#8220;C:[path to your workspace]myprojectweb&#8221;&gt;<br />
AllowOverride All<br />
Allow from All<br />
&lt;/Directory&gt;<br />
&lt;/VirtualHost&gt;</li>
<li>Uncomment ##NameVirtualHost *:80 if you want to have more than one project able to run with different names.</li>
<li>Restart Apache and go to http://myproject/ and you should see the symfony default project page.</li>
</ol>
<p>5. Setup File Folder Permissions</p>
<p>Now you need to allow for write access to the cache and log folder.</p>
<ol>
<li>Traverse to each those two directories seperately within your newly Symfony file structure with Explorer.</li>
<li>Right click on each of the folders and choose properties</li>
<li>Go to the security tab and choose the user that will be granted the permissions and click edit.
<ol>
<li>Note: You can find out the user by Cntrl+Alt+Delete, and then starting the task manager. Note the User Name.</li>
</ol>
</li>
<li>Allow that person to have full control.</li>
</ol>
<p><strong>NEXT STEPS</strong></p>
<p>I suggest you install <a href="http://www.aptana.com/" target="_blank">Aptana</a> or <a href="http://www.phpeclipse.net/tiki-view_articles.php" target="_blank">PHPEclipse</a> for your IDE.</p>
<p>You will also want to setup <a href="http://tortoisesvn.tigris.org/" target="_blank">TortoiseSVN</a> or use SVN from inside <a href="http://cygwin.com/" target="_blank">Cygwin</a> for a version control client.</p>
<p>The <a href="http://www.symfony-project.com/askeet/1_0/" target="_blank">Askeet tutorial</a> is a good way to learn about programming in Symfony.</p>
<p>If you prefer learning on paper, I suggest you check out the official Symfony book: <a href="http://www.amazon.com/gp/product/1590597869?ie=UTF8&amp;tag=thinkingscom-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1590597869">The Definitive Guide to symfony (Definitive Guide)</a><img style="border: medium none  ! important; margin: 0px ! important;" src="http://www.assoc-amazon.com/e/ir?t=thinkingscom-20&amp;l=as2&amp;o=1&amp;a=1590597869" border="0" alt="" width="1" height="1" />. Or read it online free <a href="http://www.symfony-project.com/book/1_0/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thinkingserious.com/2007/10/24/get-symfony-installed-in-20-minutes-on-vista/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>

