Author: massat
Date: 2010-03-11 10:48:10 +0100 (Thu, 11 Mar 2010)
New Revision: 28475

Added:
   plugins/sfDefineEnvironmentConfigCachingPlugin/trunk/LICENSE
   plugins/sfDefineEnvironmentConfigCachingPlugin/trunk/README.md
   plugins/sfDefineEnvironmentConfigCachingPlugin/trunk/package.xml
Modified:
   plugins/sfDefineEnvironmentConfigCachingPlugin/trunk/
Log:
init



Property changes on: plugins/sfDefineEnvironmentConfigCachingPlugin/trunk
___________________________________________________________________
Added: svn:ignore
   + .git
.project
.settings
.cache


Added: plugins/sfDefineEnvironmentConfigCachingPlugin/trunk/LICENSE
===================================================================
--- plugins/sfDefineEnvironmentConfigCachingPlugin/trunk/LICENSE                
                (rev 0)
+++ plugins/sfDefineEnvironmentConfigCachingPlugin/trunk/LICENSE        
2010-03-11 09:48:10 UTC (rev 28475)
@@ -0,0 +1,7 @@
+Copyright (c) 2010 Masato Hirai
+
+Permission is hereby granted, free of charge, to any person obtaining a copy 
of this software and associated documentation files (the "Software"), to deal 
in the Software without restriction, including without limitation the rights to 
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
of the Software, and to permit persons to whom the Software is furnished to do 
so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all 
copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
SOFTWARE.

Added: plugins/sfDefineEnvironmentConfigCachingPlugin/trunk/README.md
===================================================================
--- plugins/sfDefineEnvironmentConfigCachingPlugin/trunk/README.md              
                (rev 0)
+++ plugins/sfDefineEnvironmentConfigCachingPlugin/trunk/README.md      
2010-03-11 09:48:10 UTC (rev 28475)
@@ -0,0 +1,40 @@
+# sfDefineEnvironmentConfigCachingPlugin
+
+This plugin provides a convinience of handling original yamls for defining 
environmental configurations.
+It caches configurations handled by sfDefineEnvironmentConfigHandler by 
according to the parameter "cache" in config/config_handlers.yml.
+
+## Installation
+
+  * Install the Plugin
+
+        $ symfony plugin:install sfDefineEnvironmentConfigCachingPlugin
+
+  * Create your original yml.
+
+    ex. config/foobar.yml
+
+        [yml]
+        all:
+          .settings:
+            value: foo
+        
+        prod:
+          .settings:
+            value: bar
+
+  * Create config_handlers.yml and set cache enabled.
+
+    ex. config/config_handlers.yml
+
+        [yml]
+        config/foobar.yml:
+          class: sfDefineEnvironmentConfigHandler
+          param:
+            # cache:  off   # disable cache (default true)
+            prefix: fb_
+        
+  * Use configuration in your applications.
+
+        [php]
+        $value = sfConfig::get('fb_value');
+

Added: plugins/sfDefineEnvironmentConfigCachingPlugin/trunk/package.xml
===================================================================
--- plugins/sfDefineEnvironmentConfigCachingPlugin/trunk/package.xml            
                (rev 0)
+++ plugins/sfDefineEnvironmentConfigCachingPlugin/trunk/package.xml    
2010-03-11 09:48:10 UTC (rev 28475)
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package packagerversion="1.4.6" version="2.0" 
xmlns="http://pear.php.net/dtd/package-2.0"; 
xmlns:tasks="http://pear.php.net/dtd/tasks-1.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 
http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 
http://pear.php.net/dtd/package-2.0.xsd";>
+ <name>sfDefineEnvironmentConfigCachingPlugin</name>
+ <channel>plugins.symfony-project.org</channel>
+ <summary>Provides a convinience of handling original yamls for defining 
environmental configurations.</summary>
+ <description>
+  This plugin provides a convinience of handling original yamls for defining 
environmental configurations.
+  It caches configurations handled by sfDefineEnvironmentConfigHandler by 
according to the parameter "cache" in config/config_handlers.yml.
+</description>
+ <lead>
+  <name>Masato Hirai</name>
+  <user>massat</user>
+  <email>[email protected]</email>
+  <active>yes</active>
+ </lead>
+ <date>2010-02-10</date>
+ <time>14:00:00</time>
+ <version>
+  <release>0.0.2</release>
+  <api>0.0.2</api>
+ </version>
+ <stability>
+  <release>alpha</release>
+  <api>alpha</api>
+ </stability>
+ <license uri="http://www.symfony-project.org/license";>MIT license</license>
+ <notes>-</notes>
+ <contents>
+  <dir name="/">
+   <file role="data" name="README" />
+   <file role="data" name="LICENSE" />
+   <dir name="config">
+    <file role="data" name="config.php" />
+    <file role="data" 
name="sfDefineEnvironmentConfigCachingPluginConfiguration.class.php" />
+   </dir>
+  </dir>
+ </contents>
+ <dependencies>
+  <required>
+   <php>
+    <min>5.2.4</min>
+   </php>
+   <pearinstaller>
+    <min>1.4.1</min>
+   </pearinstaller>
+   <package>
+    <name>symfony</name>
+    <channel>pear.symfony-project.com</channel>
+    <min>1.2.10</min>
+    <max>1.4.1</max>
+   </package>
+  </required>
+ </dependencies>
+ <phprelease />
+ <changelog />
+</package>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to