| 1 |
<?xml version="1.0"?> |
|---|
| 2 |
<package packagerversion="1.4.0a12" 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 |
|---|
| 3 |
http://pear.php.net/dtd/tasks-1.0.xsd |
|---|
| 4 |
http://pear.php.net/dtd/package-2.0 |
|---|
| 5 |
http://pear.php.net/dtd/package-2.0.xsd"> |
|---|
| 6 |
<name>patConfiguration</name> |
|---|
| 7 |
<channel>pear.php-tools.net</channel> |
|---|
| 8 |
<summary>Interface for configuration files.</summary> |
|---|
| 9 |
<description>patConfiguration is an interface to read and write different types of configuration files. |
|---|
| 10 |
Formats include: |
|---|
| 11 |
- read/write XML files |
|---|
| 12 |
- read/write INI files |
|---|
| 13 |
- read/write WDDX files |
|---|
| 14 |
- write PHP files. |
|---|
| 15 |
To improve performance, patConfiguration is able to use a caching system instead of parsing the files everytime they are needed. |
|---|
| 16 |
|
|---|
| 17 |
It is best known for its support for XML based configurations, as you may define your own tags |
|---|
| 18 |
and specify which PHP type they represent. Features include: |
|---|
| 19 |
- create any PHP type (from boolean to objects) |
|---|
| 20 |
- infinite nesting level |
|---|
| 21 |
- define namespaces, tags and attributes |
|---|
| 22 |
- choose how whitespace is handled |
|---|
| 23 |
- xInclude |
|---|
| 24 |
- use PHP constants in you configuration files |
|---|
| 25 |
|
|---|
| 26 |
</description> |
|---|
| 27 |
<lead> |
|---|
| 28 |
<name>Stephan Schmidt</name> |
|---|
| 29 |
<user>schst</user> |
|---|
| 30 |
<email>schst@php-tools.net</email> |
|---|
| 31 |
<active>yes</active> |
|---|
| 32 |
</lead> |
|---|
| 33 |
<date>2005-08-13</date> |
|---|
| 34 |
<time>22:01:18</time> |
|---|
| 35 |
<version> |
|---|
| 36 |
<release>2.0.0</release> |
|---|
| 37 |
<api>2.0.0</api> |
|---|
| 38 |
</version> |
|---|
| 39 |
<stability> |
|---|
| 40 |
<release>stable</release> |
|---|
| 41 |
<api>stable</api> |
|---|
| 42 |
</stability> |
|---|
| 43 |
<license uri="http://www.php.net/license">PHP</license> |
|---|
| 44 |
<notes>patConfiguration has been refactored with version 2.0 is not fully downwards compatible. |
|---|
| 45 |
Changes include: |
|---|
| 46 |
- driver based architecture |
|---|
| 47 |
- uses patError |
|---|
| 48 |
- support for INI and WDDX has been added |
|---|
| 49 |
- huge improvements for the define tag |
|---|
| 50 |
- no more namespace handlers by supplying extensions |
|---|
| 51 |
- license has been changed to PHP License |
|---|
| 52 |
|
|---|
| 53 |
Changes since patConfiguration 2.0.0b1: |
|---|
| 54 |
- fixed bug #104 (wrong parameter name) (schst) |
|---|
| 55 |
- added an error check in the writeConfigFile() method in case the target file cannot be written (argh) |
|---|
| 56 |
- fixed check for the writer's serializeConfig() method return values (argh) |
|---|
| 57 |
- added new <define child="..." default="..." type="..."/> to define default values of non-existent child-tags |
|---|
| 58 |
|
|---|
| 59 |
Changes since patConfiguration 2.0.0b2: |
|---|
| 60 |
- added missing examples |
|---|
| 61 |
- prevent PHP-Notices with issetConfigValue() (bug #145, contributed by Frank Kleine) |
|---|
| 62 |
|
|---|
| 63 |
</notes> |
|---|
| 64 |
<contents> |
|---|
| 65 |
<dir name="/"> |
|---|
| 66 |
<dir name="docs"> |
|---|
| 67 |
<file baseinstalldir="pat" name="planned-features.txt" role="doc" /> |
|---|
| 68 |
<file baseinstalldir="pat" name="readme.txt" role="doc" /> |
|---|
| 69 |
</dir> <!-- /docs --> |
|---|
| 70 |
<dir name="examples"> |
|---|
| 71 |
<dir name="cache"> |
|---|
| 72 |
<file baseinstalldir="pat" name="readme.txt" role="doc" /> |
|---|
| 73 |
</dir> <!-- /examples/cache --> |
|---|
| 74 |
<dir name="config"> |
|---|
| 75 |
<file baseinstalldir="pat" name="example_api_array.xml" role="doc" /> |
|---|
| 76 |
<file baseinstalldir="pat" name="example_api_basic.xml" role="doc" /> |
|---|
| 77 |
<file baseinstalldir="pat" name="example_api_cache.xml" role="doc" /> |
|---|
| 78 |
<file baseinstalldir="pat" name="example_api_cache_option.xml" role="doc" /> |
|---|
| 79 |
<file baseinstalldir="pat" name="example_api_save.xml" role="doc" /> |
|---|
| 80 |
<file baseinstalldir="pat" name="example_define_auto.xml" role="doc" /> |
|---|
| 81 |
<file baseinstalldir="pat" name="example_define_basic.xml" role="doc" /> |
|---|
| 82 |
<file baseinstalldir="pat" name="example_define_children.xml" role="doc" /> |
|---|
| 83 |
<file baseinstalldir="pat" name="example_define_constants.xml" role="doc" /> |
|---|
| 84 |
<file baseinstalldir="pat" name="example_define_content.xml" role="doc" /> |
|---|
| 85 |
<file baseinstalldir="pat" name="example_define_external.xml" role="doc" /> |
|---|
| 86 |
<file baseinstalldir="pat" name="example_define_object.xml" role="doc" /> |
|---|
| 87 |
<file baseinstalldir="pat" name="example_define_reserved.xml" role="doc" /> |
|---|
| 88 |
<file baseinstalldir="pat" name="example_misc_whitespace.xml" role="doc" /> |
|---|
| 89 |
<file baseinstalldir="pat" name="example_misc_xinc.xml" role="doc" /> |
|---|
| 90 |
</dir> <!-- /examples/config --> |
|---|
| 91 |
<dir name="defines"> |
|---|
| 92 |
<file baseinstalldir="pat" name="heroes.xml" role="doc" /> |
|---|
| 93 |
</dir> <!-- /examples/defines --> |
|---|
| 94 |
<dir name="patExampleGen"> |
|---|
| 95 |
<file baseinstalldir="pat" name="fileUsage.php" role="doc" /> |
|---|
| 96 |
<file baseinstalldir="pat" name="patConfigurationSource.php" role="doc" /> |
|---|
| 97 |
<file baseinstalldir="pat" name="patExampleGen.php" role="doc" /> |
|---|
| 98 |
<file baseinstalldir="pat" name="styles.css" role="doc" /> |
|---|
| 99 |
</dir> <!-- /examples/patExampleGen --> |
|---|
| 100 |
<file baseinstalldir="pat" name="example_api_array.php" role="doc" /> |
|---|
| 101 |
<file baseinstalldir="pat" name="example_api_basic.php" role="doc" /> |
|---|
| 102 |
<file baseinstalldir="pat" name="example_api_cache.php" role="doc" /> |
|---|
| 103 |
<file baseinstalldir="pat" name="example_api_cache_option.php" role="doc" /> |
|---|
| 104 |
<file baseinstalldir="pat" name="example_api_create.php" role="doc" /> |
|---|
| 105 |
<file baseinstalldir="pat" name="example_api_errors.php" role="doc" /> |
|---|
| 106 |
<file baseinstalldir="pat" name="example_api_objects.php" role="doc" /> |
|---|
| 107 |
<file baseinstalldir="pat" name="example_api_save.php" role="doc" /> |
|---|
| 108 |
<file baseinstalldir="pat" name="example_define_auto.php" role="doc" /> |
|---|
| 109 |
<file baseinstalldir="pat" name="example_define_basic.php" role="doc" /> |
|---|
| 110 |
<file baseinstalldir="pat" name="example_define_children.php" role="doc" /> |
|---|
| 111 |
<file baseinstalldir="pat" name="example_define_constants.php" role="doc" /> |
|---|
| 112 |
<file baseinstalldir="pat" name="example_define_content.php" role="doc" /> |
|---|
| 113 |
<file baseinstalldir="pat" name="example_define_external.php" role="doc" /> |
|---|
| 114 |
<file baseinstalldir="pat" name="example_define_object.php" role="doc" /> |
|---|
| 115 |
<file baseinstalldir="pat" name="example_define_reserved.php" role="doc" /> |
|---|
| 116 |
<file baseinstalldir="pat" name="example_formats_ini.php" role="doc" /> |
|---|
| 117 |
<file baseinstalldir="pat" name="example_formats_php.php" role="doc" /> |
|---|
| 118 |
<file baseinstalldir="pat" name="example_formats_wddx.php" role="doc" /> |
|---|
| 119 |
<file baseinstalldir="pat" name="example_formats_xml.php" role="doc" /> |
|---|
| 120 |
<file baseinstalldir="pat" name="example_misc_whitespace.php" role="doc" /> |
|---|
| 121 |
<file baseinstalldir="pat" name="example_misc_xinc.php" role="doc" /> |
|---|
| 122 |
<file baseinstalldir="pat" name="index.php" role="doc" /> |
|---|
| 123 |
<file baseinstalldir="pat" name="_examples_config.php" role="doc" /> |
|---|
| 124 |
<file baseinstalldir="pat" name="_examples_customFunctions.php" role="doc" /> |
|---|
| 125 |
<file baseinstalldir="pat" name="_examples_prepend.php" role="doc" /> |
|---|
| 126 |
<file baseinstalldir="pat" name="_examples_sections.php" role="doc" /> |
|---|
| 127 |
<file baseinstalldir="pat" name="_examples_sections_api.php" role="doc" /> |
|---|
| 128 |
<file baseinstalldir="pat" name="_examples_sections_define.php" role="doc" /> |
|---|
| 129 |
<file baseinstalldir="pat" name="_examples_sections_formats.php" role="doc" /> |
|---|
| 130 |
<file baseinstalldir="pat" name="_examples_sections_misc.php" role="doc" /> |
|---|
| 131 |
</dir> <!-- /examples --> |
|---|
| 132 |
<dir name="patConfiguration"> |
|---|
| 133 |
<dir name="Reader"> |
|---|
| 134 |
<file baseinstalldir="pat" name="INI.php" role="php" /> |
|---|
| 135 |
<file baseinstalldir="pat" name="WDDX.php" role="php" /> |
|---|
| 136 |
<file baseinstalldir="pat" name="XML.php" role="php" /> |
|---|
| 137 |
</dir> <!-- /patConfiguration/Reader --> |
|---|
| 138 |
<dir name="Writer"> |
|---|
| 139 |
<file baseinstalldir="pat" name="INI.php" role="php" /> |
|---|
| 140 |
<file baseinstalldir="pat" name="PHP.php" role="php" /> |
|---|
| 141 |
<file baseinstalldir="pat" name="WDDX.php" role="php" /> |
|---|
| 142 |
<file baseinstalldir="pat" name="XML.php" role="php" /> |
|---|
| 143 |
</dir> <!-- /patConfiguration/Writer --> |
|---|
| 144 |
<file baseinstalldir="pat" name="Reader.php" role="php" /> |
|---|
| 145 |
<file baseinstalldir="pat" name="Writer.php" role="php" /> |
|---|
| 146 |
</dir> <!-- /patConfiguration --> |
|---|
| 147 |
<file baseinstalldir="pat" name="patConfiguration.php" role="php" /> |
|---|
| 148 |
</dir> <!-- / --> |
|---|
| 149 |
</contents> |
|---|
| 150 |
<dependencies> |
|---|
| 151 |
<required> |
|---|
| 152 |
<php> |
|---|
| 153 |
<min>4.3.0</min> |
|---|
| 154 |
</php> |
|---|
| 155 |
<pearinstaller> |
|---|
| 156 |
<min>1.4.0a1</min> |
|---|
| 157 |
</pearinstaller> |
|---|
| 158 |
<package> |
|---|
| 159 |
<name>patError</name> |
|---|
| 160 |
<channel>pear.php-tools.net</channel> |
|---|
| 161 |
</package> |
|---|
| 162 |
</required> |
|---|
| 163 |
</dependencies> |
|---|
| 164 |
<phprelease /> |
|---|
| 165 |
<changelog> |
|---|
| 166 |
<release> |
|---|
| 167 |
<version> |
|---|
| 168 |
<release>2.0.0b1</release> |
|---|
| 169 |
<api>2.0.0b1</api> |
|---|
| 170 |
</version> |
|---|
| 171 |
<stability> |
|---|
| 172 |
<release>beta</release> |
|---|
| 173 |
<api>beta</api> |
|---|
| 174 |
</stability> |
|---|
| 175 |
<date>2005-03-06</date> |
|---|
| 176 |
<license uri="http://www.php.net/license">PHP</license> |
|---|
| 177 |
<notes>patConfiguration has been refactored with version 2.0 is not fully downwards compatible. |
|---|
| 178 |
Changes include: |
|---|
| 179 |
- driver based architecture |
|---|
| 180 |
- uses patError |
|---|
| 181 |
- support for INI and WDDX has been added |
|---|
| 182 |
- huge improvements for the define tag |
|---|
| 183 |
- no more namespace handlers by supplying extensions |
|---|
| 184 |
- license has been changed to PHP License |
|---|
| 185 |
|
|---|
| 186 |
</notes> |
|---|
| 187 |
</release> |
|---|
| 188 |
<release> |
|---|
| 189 |
<version> |
|---|
| 190 |
<release>2.0.0b2</release> |
|---|
| 191 |
<api>2.0.0b2</api> |
|---|
| 192 |
</version> |
|---|
| 193 |
<stability> |
|---|
| 194 |
<release>beta</release> |
|---|
| 195 |
<api>beta</api> |
|---|
| 196 |
</stability> |
|---|
| 197 |
<date>2005-04-05</date> |
|---|
| 198 |
<license uri="http://www.php.net/license">PHP</license> |
|---|
| 199 |
<notes>patConfiguration has been refactored with version 2.0 is not fully downwards compatible. |
|---|
| 200 |
Changes include: |
|---|
| 201 |
- driver based architecture |
|---|
| 202 |
- uses patError |
|---|
| 203 |
- support for INI and WDDX has been added |
|---|
| 204 |
- huge improvements for the define tag |
|---|
| 205 |
- no more namespace handlers by supplying extensions |
|---|
| 206 |
- license has been changed to PHP License |
|---|
| 207 |
|
|---|
| 208 |
Changes since patConfiguration 2.0.0b1: |
|---|
| 209 |
- fixed bug #104 (wrong parameter name) (schst) |
|---|
| 210 |
- added an error check in the writeConfigFile() method in case the target file cannot be written (argh) |
|---|
| 211 |
- fixed check for the writer's serializeConfig() method return values (argh) |
|---|
| 212 |
- added new <define child="..." default="..." type="..."/> to define default values of non-existent child-tags |
|---|
| 213 |
|
|---|
| 214 |
</notes> |
|---|
| 215 |
</release> |
|---|
| 216 |
<release> |
|---|
| 217 |
<version> |
|---|
| 218 |
<release>2.0.0</release> |
|---|
| 219 |
<api>2.0.0</api> |
|---|
| 220 |
</version> |
|---|
| 221 |
<stability> |
|---|
| 222 |
<release>stable</release> |
|---|
| 223 |
<api>stable</api> |
|---|
| 224 |
</stability> |
|---|
| 225 |
<date>2005-08-13</date> |
|---|
| 226 |
<license uri="http://www.php.net/license">PHP</license> |
|---|
| 227 |
<notes>patConfiguration has been refactored with version 2.0 is not fully downwards compatible. |
|---|
| 228 |
Changes include: |
|---|
| 229 |
- driver based architecture |
|---|
| 230 |
- uses patError |
|---|
| 231 |
- support for INI and WDDX has been added |
|---|
| 232 |
- huge improvements for the define tag |
|---|
| 233 |
- no more namespace handlers by supplying extensions |
|---|
| 234 |
- license has been changed to PHP License |
|---|
| 235 |
|
|---|
| 236 |
Changes since patConfiguration 2.0.0b1: |
|---|
| 237 |
- fixed bug #104 (wrong parameter name) (schst) |
|---|
| 238 |
- added an error check in the writeConfigFile() method in case the target file cannot be written (argh) |
|---|
| 239 |
- fixed check for the writer's serializeConfig() method return values (argh) |
|---|
| 240 |
- added new <define child="..." default="..." type="..."/> to define default values of non-existent child-tags |
|---|
| 241 |
|
|---|
| 242 |
Changes since patConfiguration 2.0.0b2: |
|---|
| 243 |
- added missing examples |
|---|
| 244 |
- prevent PHP-Notices with issetConfigValue() (bug #145, contributed by Frank Kleine) |
|---|
| 245 |
|
|---|
| 246 |
</notes> |
|---|
| 247 |
</release> |
|---|
| 248 |
</changelog> |
|---|
| 249 |
</package> |
|---|