sfEasyDebugPlugin - 0.0.2
Tools to ease the debugging
You are currently browsing
the website for symfony 1
Tools to ease the debugging
Tools to ease the debugging in symfony
|Jerome Etienne||lead||moc.liamg <<ta>> enneite.emorej|
Copyright (c) 2006-2008 Jerome Etienne
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.
TODO to write
sfEasyDebugPlugin provides a crud REST api to a given model. It is in the same spirit as the well known "Admin Generator".
Security mechanisms are typically decided based on many factors, most of them external to this plugin. As a direct consequence, sfEasyDebugPlugin doesn't implement security by itself. Nevertheless, a module generated by sfEasyDebugPlugin includes a default config/security.yml with is_secure at on. It forces the sfUser to be authenticated to access the generated module. Moreover, the admin generators are usually done in backend which are restricted to http request coming from localhost.
All in all, sfEasyDebugPlugin provides some guidances but ultimatly it is up to you to secure your application.
This plugin will add a date manipulation library to the symfony framework. The library manipulates timestamp values, allowing you to quickly translate a date into another date based on an infinite number of operations. The library contains a base add function, which handles all cases of a single date manipulation. It also contains a large number of other functions based on the add function, which faciliate more complicated operations. Finally, the library contains an instantiable class, which provides an interface hook into the main library allowing chainable date manipulation operations for more readable code.
To install sfEasyDebugPlugin:
./symfony plugin-install symfony/sfEasyDebugPlugin
Clear your cache
To get the list of all available tasks, simply type the following at the root of your project.
$ ./symfony list restadmin
Currently, the only available task is 'init-admin', purposely inspired from the usual 'propel:init-admin' and 'doctrine:init-admin'. This task has the same syntax as well to be easier to use.
Example to a restAdmin generator module article for a given model Article , and application frontend:
$ ./symfony restadmin:init-admin frontend article Article
NOTE: It is currently support only doctrine. propel support may be added in the future when time allows.
For the full copyright and license information, please view the LICENSE file that was distributed with this source code.