Releases for sf 1.2
| Version |
License |
API |
Released |
|
0.2stable
|
MIT |
0.2stable
|
08/09/2009 |
|
0.1stable
|
MIT |
0.1stable
|
04/09/2009 |
Changelog for release 0.1 - 04/09/2009
Other releases
Release 0.2 - 08/09/2009
Unused Database connexion removed.
Release 0.1 - 04/09/2009
sfAutoconfig Plugin
The sfAutoconfigPlugin is a symfony plugin that provides a task to automaticaly configure your project when moving it to another server or context. It searches in dist
files like app.yml-dist or index.php-dist for tags definied in a Yaml configuration file, replaces them and creates the final file.
Installation
Install the plugin
$ symfony plugin:install sfAutoconfigPlugin
create the config file where you want (it can be out from your project), based on the autoconfig.yml file :
autoconfig:
YourTagName1: value
YourTagName2: value
place your tags in your dist files , ex :
view.yml-dist :
default:
http_metas:
content-type: text/html
metas:
title: <%YourTagName1%>
run the task :
php project:autoconfig yourpath/autoconfig.yml
So, when you work on a project locally, place all the specific config values as tags, place theses values in your autoconfig.yml, and when you migrate your project, just
change theses values in only one file, and run the task.