<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.symforc.com/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
  <title>Symfony Resources Central - discussion</title>
  <link>http://www.symforc.com/</link>
  <description>A place that groups many original symfony resources, along with my personal experiments of this great PHP5 MVC framework.</description>
  <language>en</language>
  <pubDate>Sat, 26 Jul 2008 19:34:33 +0200</pubDate>
  <copyright>All rights reserved</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Towards symfony 1.1</title>
    <link>http://www.symforc.com/post/2008/06/16/Towards-symfony-11</link>
    <guid isPermaLink="false">urn:md5:a03732439a4dea12611b213272b2c593</guid>
    <pubDate>Mon, 16 Jun 2008 23:55:00 +0200</pubDate>
    <dc:creator>Romain Dorgueil</dc:creator>
        <category>discussion</category>
        <category>1.1</category><category>documentation</category><category>symfony</category><category>upgrade</category>    
    <description>&lt;p&gt;After &lt;a href=&quot;http://www.symfony-project.org/blog/2007/02/19/symfony-1-0-released&quot; hreflang=&quot;en&quot; title=&quot;Symfony 1.0 release&quot;&gt;more than one year&lt;/a&gt; since symfony 1.0 was released, symfony 1.1 goes more and more mature each day. Recent RC releases are a proof of it, but many people are still concerned about whether or not they should migrate.&lt;/p&gt;    &lt;h3&gt;Documentation?&lt;/h3&gt;


&lt;p&gt;Many people are complaining about the fact it lacks documentation. In fact, it seems that many people fears that because François &lt;a href=&quot;http://redotheweb.com/2008/05/16/no-one-is-irreplaceable/&quot; hreflang=&quot;en&quot; title=&quot;François Zaninotto leaves symfony core team&quot;&gt;announced he was leaving the symfony core team&lt;/a&gt;, nobody would take care of documenting the project.&lt;/p&gt;


&lt;p&gt;But that's something any big open-source project come to see one day, a former or important team member leaves the project, because he or she doesn't have anymore time for it, differ views, change interest, or whatever else.&lt;/p&gt;


&lt;p&gt;As he said, no-one is irreplaceable, and new people comes in too, hopefully. Developpers from many countries started recently to fix and translate existing documentation for symfony 1.1, a new mailing list is being created for documentors and the symfony core team is currently putting a great effort on it too.&lt;/p&gt;


&lt;h3&gt;Documentation!&lt;/h3&gt;


&lt;p&gt;The symfony documentation page is split by version and language, and the 1.1 english version is getting attention to adapt parts of it in the need. But even without that, if you know symfony 1.0 pretty well, you should not have hard time to updating, as every changed part were because they were judged too complex, or not &quot;clean&quot; enough. The new way to do things is usually easier.&lt;/p&gt;


&lt;p&gt;To demonstrate it, people from symfony core team published a little serie of articles on symfony-project.org recently:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.prendreuncafe.com&quot; hreflang=&quot;fr&quot; title=&quot;Prendre un café, blog de Nicolas Perriault&quot;&gt;Nicolas Perriault&lt;/a&gt; published an article about &lt;a href=&quot;http://www.symfony-project.org/blog/2008/06/12/internationalize-your-propel-forms&quot;&gt;form internationalization&lt;/a&gt;, something you could not do to do so easily with symfony 1.0 helpers.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.aide-de-camp.org/&quot; title=&quot;Aide de Camp, Fabien Potencier&quot;&gt;Fabien Potencier&lt;/a&gt; demonstrated &lt;a href=&quot;http://www.symfony-project.org/blog/2008/06/09/how-to-create-an-optimized-version-of-your-website-for-the-iphone-in-symfony-1-1&quot; hreflang=&quot;en&quot; title=&quot;How to create an optimized version of your website for the iphone in symfony 1.1&quot;&gt;how handy was the new sf_format feature&lt;/a&gt;, to provide the same logical content within different formats, or for instance, different views. He also explained &lt;a href=&quot;http://www.symfony-project.org/blog/2008/06/09/how-to-customize-the-directory-structure-in-symfony-1-1&quot; hreflang=&quot;en&quot; title=&quot;how to customize a project&amp;#039;s directory structure&quot;&gt;how to customize a project's directory structure&lt;/a&gt;, showing the use of ApplicationConfiguration and ProjectConfiguration classes.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.carlsoft.net/&quot; hreflang=&quot;en&quot; title=&quot;Carl&amp;#039;s homepage&quot;&gt;Carl Vondrick&lt;/a&gt; explained &lt;a href=&quot;http://www.symfony-project.org/blog/2008/05/30/how-do-i-use-propel-1-3-in-symfony-1-1&quot; hreflang=&quot;en&quot; title=&quot;How to use Propel 1.3 in symfony 1.1&quot;&gt;how to use Propel 1.3 to boost your ORM layer performances&lt;/a&gt; (be aware though that PHP 5.2 is needed, while symfony 1.1 only requires PHP 5.1.4).&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://dakrazy.net&quot; hreflang=&quot;en&quot; title=&quot;Romain Dorgueil&amp;#039;s homepage&quot;&gt;I&lt;/a&gt; published two little tutorials about &lt;a href=&quot;http://www.symfony-project.org/blog/2008/06/10/how-to-send-emails-in-symfony-1-1&quot; hreflang=&quot;en&quot; title=&quot;How to send emails in symfony 1.1&quot;&gt;sending emails&lt;/a&gt; and &lt;a href=&quot;http://www.symfony-project.org/blog/2008/06/14/batches-are-dead-long-life-to-tasks&quot; hreflang=&quot;en&quot; title=&quot;Batches are dead, long life to tasks&quot;&gt;using tasks&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And more are to come, of course!&lt;/p&gt;


&lt;h3&gt;And about forms?&lt;/h3&gt;


&lt;p&gt;The only part of symfony which needs a bit of learning is the new form framework, which is quite radically different from the 1.0 way to create form. And about this, Fabien recently announced he will &lt;a href=&quot;http://www.symfony-project.org/blog/2008/06/06/documentation-updates&quot; hreflang=&quot;en&quot; title=&quot;The article in which Fabien announces the publication of a book dedicated to symfony 1.1 forms&quot;&gt;publish an entire book about it&lt;/a&gt;.&lt;/p&gt;


&lt;h3&gt;To migrate or not to migrate&lt;/h3&gt;


&lt;p&gt;Symfony 1.0 is Long Term Support version, which means that symfony team will go on fixing bugs for three years since the original release. If your project is nearly released or already released, I would not bother upgrading, because you would not benefit of symfony 1.1 new features, while you'd suffer the upgrade process.&lt;/p&gt;


&lt;p&gt;On the other hand, if your project is very young, I think the time to take the step is now, the official 1.1 release being real soon. You'd benefit of all new features with a very active community and a very reactive development team.&lt;/p&gt;</description>
    
    
    
          <comments>http://www.symforc.com/post/2008/06/16/Towards-symfony-11#comment-form</comments>
      <wfw:comment>http://www.symforc.com/post/2008/06/16/Towards-symfony-11#comment-form</wfw:comment>
      <wfw:commentRss>http://www.symforc.com/feed/rss2/comments/75</wfw:commentRss>
      </item>
    
  <item>
    <title>I'd like to hear a Kwatuor play nice symfonic music</title>
    <link>http://www.symforc.com/post/2008/02/26/Id-like-to-hear-a-Kwatuor-play-nice-symfonic-music</link>
    <guid isPermaLink="false">urn:md5:b3bb840e13f98b2a073f5e55b1307bcf</guid>
    <pubDate>Tue, 26 Feb 2008 23:58:00 +0100</pubDate>
    <dc:creator>Romain Dorgueil</dc:creator>
        <category>discussion</category>
        <category>blog</category><category>doctrine</category><category>dotclear</category><category>gpl</category><category>open-source</category><category>project</category><category>symfony</category><category>template</category><category>wordpress</category>    
    <description>    &lt;p&gt;Today's post is a bit special.&lt;/p&gt;


&lt;p&gt;This can be took as a question.&lt;/p&gt;


&lt;p&gt;Or a call to developpers that have specific blogging needs.&lt;/p&gt;


&lt;p&gt;Since quite a moment I used dotclear for blogging. That suit my needs, in some way, but maybe I'm more adaptating my needs to dotclear's capabilities. Maybe you're using wordpress. or any other. And I guess that must be the same for you, thinking for example of integrating one of those all-in-one blogging/cms platforms cleanly in another website, for example, is being more than utopian...&lt;/p&gt;


&lt;p&gt;By clean I mean integrating it without having to duplicate the template. Neither having to use all functionalities if you only need a simple article list somewhere... And without being limited if you need to display the headers of those on another website...&lt;/p&gt;


&lt;p&gt;I'd better not speak of blog networks communicating, or taking content from RSS/XML/anything feed in a flexible way.&lt;/p&gt;


&lt;p&gt;So today I'd like to announce the birth of Kwatuor. Kwatuor is a blog platform project using symfony and doctrine, that will in the near future use doctrine migrations to get content from an existing dotclear/wordpress project, or any other source platform someone has enough need with he'd take the time to write migration classes for.&lt;/p&gt;


&lt;p&gt;Templating system will be different. I'm still hesitating between a generator approach (generated partials from a dynamic skeleton, that all can be customizable) and a real proper template system (but still any part would be customizable). Only major difference with blogging platform would be the total forbidding of DRY-breaks a dotclear-like templating system is doing everyday. And this extends to integrated blogs, in wider projects.&lt;/p&gt;


&lt;p&gt;In fact I started developing it for my own needs, but I think this is typically the kind of project everybody would need someday. Maybe you hate being jailed in your obscure, yet very good, but specific and... even more obscure blog platform.&lt;/p&gt;


&lt;p&gt;So I'm wondering now, if people (you :p) would be interested in this project. If so, I'll make a public SVN/trac next week, so concerned users will be able to give feedback with code in their hands. Would this be usefull to you? Would you contribute to this open-source project? Do you have good (or bad :p) ideas about concepts to take in consideration from the beginning?&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;Related links&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.phpdoctrine.org/documentation/manual/trunk/?chapter=migration&quot; hreflang=&quot;en&quot;&gt;Doctrine Migrations&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    
    
    
          <comments>http://www.symforc.com/post/2008/02/26/Id-like-to-hear-a-Kwatuor-play-nice-symfonic-music#comment-form</comments>
      <wfw:comment>http://www.symforc.com/post/2008/02/26/Id-like-to-hear-a-Kwatuor-play-nice-symfonic-music#comment-form</wfw:comment>
      <wfw:commentRss>http://www.symforc.com/feed/rss2/comments/69</wfw:commentRss>
      </item>
    
  <item>
    <title>Testing Symfony 1.1</title>
    <link>http://www.symforc.com/post/2006/08/01/Testing-Symfony-11</link>
    <guid isPermaLink="false">urn:md5:cf8260823e8cbbb2b22b67d3075712d6</guid>
    <pubDate>Sun, 28 Oct 2007 12:03:00 +0100</pubDate>
    <dc:creator>Romain Dorgueil</dc:creator>
        <category>discussion</category>
        <category>1.1</category><category>beta</category><category>development</category><category>preview</category><category>symfony</category><category>testing</category><category>upgrade</category>    
    <description>&lt;p&gt;Wondering what symfony 1.1 will look like? Well, I couldn't hold my curiosity neither, so I upgraded one of my websites to symfony 1.1, and I describe here how to setup a box to run both versions. The upgrade process being definitive for a given project, make backups or svn commit before upgrading.&lt;/p&gt;    &lt;p&gt;&lt;strong&gt;WARNING&lt;/strong&gt;: Symfony 1.1 is a development version, and should not be used for production. Use it at your own risks.&lt;/p&gt;



&lt;p&gt;First of all, i did not want the upgrade to be definitive, I needed a simple way to go back to older version. But SVN would handle this, no problem. On an other side, I needed to keep the two symfony version running on the same box, as other sites are running on it.&lt;/p&gt;



&lt;p&gt;My approach to it was to checkout the symfony trunk/lib and trunk/data in /usr/share/pear/symfony1.1 and /usr/share/pear/data/symfony1.1 respectively. This way, i can switch any project I want to symfony 1.1 by changing the config/config.php to use the development version paths.&lt;/p&gt;


&lt;pre&gt;cd /usr/share/pear/
svn co http://svn.symfony-project.com/trunk/lib symfony1.1
svn co http://svn.symfony-project.com/trunk/data data/symfony1.1&lt;/pre&gt;


&lt;p&gt;That should retrieve a local copy of the latest development version on your computer.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Upgrading a 1.0 project&lt;/strong&gt;&lt;/p&gt;



&lt;p&gt;To upgrade a project, your first need is to tell the symfony batch script where to find its libraries. Hopefully, symfony's structure permits to set per-project library paths by changing config/config.php. Edit this file and replace the file content by the new 1.1 paths&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;&lt;code class=&quot;php&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// symfony directories&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0000ff;&quot;&gt;$sf_symfony_lib_dir&lt;/span&gt;&amp;nbsp; = &lt;span style=&quot;color: #ff0000;&quot;&gt;'/usr/share/pear/symfony1.1'&lt;/span&gt;;&lt;br /&gt;
&lt;span style=&quot;color: #0000ff;&quot;&gt;$sf_symfony_data_dir&lt;/span&gt; = &lt;span style=&quot;color: #ff0000;&quot;&gt;'/usr/share/pear/data/symfony1.1'&lt;/span&gt;;&lt;/code&gt;&lt;/div&gt;



&lt;p&gt;You can test your changes were effective by typing symfony in your project directory. You should now see the new namespaced pake tasks that come with symfony 1.1. As in every version, an upgrade pake task that automates the changes you have to make to your project to make it work with the new version is given, and you can do:&lt;/p&gt;



&lt;pre&gt;symfony project:upgrade1.1
symfony cache:clear&lt;/pre&gt;



&lt;p&gt;(Note that old &lt;em&gt;symfony cc&lt;/em&gt; alias still exists for the cache:clear task)&lt;/p&gt;



&lt;p&gt;At this point, I tryed to see if my project would be working, but a nice uncaught LogicException was showing up in development environment, and I had to manually change %project_dir%/apps/*/config/config.php (look at spl_autoload_register line...).&lt;/p&gt;



&lt;p&gt;After a little investigation, i found that running the task twice would autocorrect it, and that it was a little problem in lib/task/project/upgrade1.1/sfAutoloadingUpgrade.class.php, so i sent a ticket on Symfony's TRAC.&lt;/p&gt;



&lt;p&gt;Now you should have your project up and running.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Generating a new 1.1 project&lt;/strong&gt;&lt;/p&gt;



&lt;p&gt;That's easier than upgrading, but the only (little) difficulty comes from the fact that 'symfony' script will look for 1.0 libraries. For this, you'll create a copy of /usr/bin/symfony to /usr/bin/symfony1.1 (you'll need to be root for this), and change its content to:&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;&lt;code class=&quot;php&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;#!/usr/bin/env php&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;/*&lt;br /&gt;
&amp;nbsp;* This file is part of the symfony package.&lt;br /&gt;
&amp;nbsp;* (c) 2004-2006 Fabien Potencier &amp;lt;fabien.potencier@symfony-project.com&amp;gt;&lt;br /&gt;
&amp;nbsp;* &lt;br /&gt;
&amp;nbsp;* For the full copyright and license information, please view the LICENSE&lt;br /&gt;
&amp;nbsp;* file that was distributed with this source code.&lt;br /&gt;
&amp;nbsp;*/&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// project exists?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/file_exists&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;file_exists&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'config/config.php'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #b1b100;&quot;&gt;include&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'config/config.php'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;!&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/isset&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;isset&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$sf_symfony_lib_dir&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/is_readable&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;is_readable&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/dirname&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;dirname&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;__FILE__&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #ff0000;&quot;&gt;'/../../lib/VERSION'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// SVN&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$sf_symfony_lib_dir&lt;/span&gt;&amp;nbsp; = &lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/realpath&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;realpath&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/dirname&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;dirname&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;__FILE__&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #ff0000;&quot;&gt;'/../../lib'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$sf_symfony_data_dir&lt;/span&gt; = &lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/realpath&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;realpath&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/dirname&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;dirname&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;__FILE__&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #ff0000;&quot;&gt;'/..'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #b1b100;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// PEAR&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$sf_symfony_lib_dir&lt;/span&gt;&amp;nbsp; = &lt;span style=&quot;color: #ff0000;&quot;&gt;'/usr/share/pear/symfony1.1'&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0000ff;&quot;&gt;$sf_symfony_data_dir&lt;/span&gt; = &lt;span style=&quot;color: #ff0000;&quot;&gt;'/usr/share/pear/data/symfony1.1'&lt;/span&gt;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;!&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/is_dir&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;is_dir&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$sf_symfony_lib_dir&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; throw &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;new&lt;/span&gt; Exception&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'Unable to find symfony libraries'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #b1b100;&quot;&gt;include&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$sf_symfony_data_dir&lt;/span&gt;.&lt;span style=&quot;color: #ff0000;&quot;&gt;'/bin/symfony.php'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/code&gt;&lt;/div&gt;



&lt;p&gt;You can now run&lt;/p&gt;



&lt;pre&gt;symfony1.1 generate:project&lt;/pre&gt;



&lt;p&gt;in a new directory to have a 1.1 project skeleton built there.&lt;/p&gt;




&lt;p&gt;Have fun with it, I'll post articles about the new form/validation system and upgrading your doctrine schemas to the rewritten sfDoctrinePlugin (that works both in 1.0 and 1.1) soon.&lt;/p&gt;</description>
    
    
    
          <comments>http://www.symforc.com/post/2006/08/01/Testing-Symfony-11#comment-form</comments>
      <wfw:comment>http://www.symforc.com/post/2006/08/01/Testing-Symfony-11#comment-form</wfw:comment>
      <wfw:commentRss>http://www.symforc.com/feed/rss2/comments/53</wfw:commentRss>
      </item>
    
</channel>
</rss>