summaryrefslogtreecommitdiff
path: root/docs/narr/project.rst
AgeCommit message (Collapse)Author
2009-10-17Be more explicit.Chris McDonough
2009-10-16- Added "Creating Integration Tests" section to unit testing narrativeChris McDonough
documentation chapter.
2009-10-11Include vhosting info for modwsgi.Chris McDonough
2009-10-10Tweaks.Chris McDonough
2009-10-09Fix in the face of renderers.Chris McDonough
2009-09-30Mention modwsgi.Chris McDonough
2009-09-19- Added a tutorial which explains how to add ZEO to a ZODB-basedChris McDonough
``repoze.bfg`` application.
2009-08-24Added ZCML directive to serve up static files from a directory.Malthe Borch
2009-07-08Rendering.Chris McDonough
2009-07-05Specific.Chris McDonough
2009-07-03API docs audit.Chris McDonough
2009-07-03General editing walkthrough.Chris McDonough
2009-07-02- Added a "Resources" chapter to the narrative documentation whichChris McDonough
explains how to override resources within one package from another package.
2009-06-24- ``repoze.bfg`` no longer relies on the Routes package to interpretChris McDonough
URL paths.
2009-06-11Merge unifyroutesandtraversal branch into trunkChris McDonough
2009-05-27(no commit message)Chris McDonough
2009-05-27- A paster command has been added named "bfgshell". This command canChris McDonough
be used to get an interactive prompt with your BFG root object in the global namespace. E.g.:: bin/paster bfgshell /path/to/myapp.ini myapp See the ``Project`` chapter in the BFG documentation for more information.
2009-05-22note->warning.Chris McDonough
2009-05-21- Removed the pickling of ZCML actions (the code that wroteChris McDonough
``configure.zcml.cache`` next to ``configure.zcml`` files in projects). The code which managed writing and reading of the cache file was a source of subtle bugs when users switched between imperative (e.g. ``@bfg_view``) registrations and declarative registrations (e.g. the ``view`` directive in ZCML) on the same project. On a moderately-sized project (535 ZCML actions and 15 ZCML files), executing actions read from the pickle was saving us only about 200ms (2.5 sec vs 2.7 sec average). On very small projects (1 ZCML file and 4 actions), startup time was comparable, and sometimes even slower when reading from the pickle, and both ways were so fast that it really just didn't matter anyway.
2009-05-14General cleanup.Chris McDonough
2009-05-14- Noted existence of ``repoze.bfg.pagetemplate`` template bindings inChris McDonough
"Available Add On Template System Bindings" in Templates chapter in narrative docs. - Noted existence of ``alchemy`` paster template.
2009-05-11- Added a ``routesalchemy`` Paster template. This paster templateChris McDonough
sets up a BFG project that uses SQAlchemy (with SQLite) and uses Routes exclusively to resolve URLs (no traversal root factory is used). This template can be used via ``paster create -t bfg_routesalchemy``.
2009-05-01Merge "c-free" branch to trunk.Chris McDonough
2009-01-26Make renderable.Chris McDonough
2009-01-25Root factory nomenclature.Chris McDonough
2009-01-17Update docs with new default project stuff.Chris McDonough
2009-01-11Fix docs and templates to account for deprecation of get_options.Chris McDonough
2009-01-07(no commit message)Chris McDonough
2009-01-07Note existence of the ZODB template.Chris McDonough
2009-01-06Prepare for additional paster templates.Tres Seaver
2008-12-21 - Updated paster template "ez_setup.py" to one that requiresChris McDonough
setuptools 0.6c9. - Turn ``view_execution_permitted`` from the :mod:`repoze.bfg.view` module into a documented API. - Doc cleanups.
2008-11-17Continue the charade of telling people where to invoke things from.Chris McDonough
2008-11-17Explain in terms of virtualenv.Chris McDonough
2008-11-14 - Change the default paster template to register its single viewChris McDonough
against a class rather than an interface.
2008-11-14 - Change paster template ``tests.py`` to include a true unit test.Chris McDonough
Retain old test as an integration test. Update documentation.
2008-11-01 - Change default paster template generator to use ``Paste#http``Chris McDonough
server rather than ``PasteScript#cherrpy`` server. The cherrypy server has a security risk in it when ``REMOTE_USER`` is trusted by the downstream application.
2008-10-31Changes from jpcw.Chris McDonough
2008-10-03 Docs Chris McDonough
- An "Environment and Configuration" chapter was added to the narrative portion of the documentation. Features - Ensure bfg doesn't generate warnings when running under Python 2.6. - The environment variable ``BFG_RELOAD_TEMPLATES`` is now available (serves the same purpose as ``reload_templates`` in the config file). - A new configuration file option ``debug_authorization`` was added. This turns on printing of security authorization debug statements to ``sys.stderr``. The ``BFG_DEBUG_AUTHORIZATION`` environment variable was also added; this performs the same duty. Bug Fixes - The environment variable ``BFG_SECURITY_DEBUG`` did not always work. It has been renamed to ``BFG_DEBUG_AUTHORIZATION`` and fixed. Deprecations - A deprecation warning is now issued when old API names from the ``repoze.bfg.templates`` module are imported. Backwards incompatibilities - The ``BFG_SECURITY_DEBUG`` environment variable was renamed to ``BFG_DEBUG_AUTHORIZATION``.
2008-09-26Move to Chameleon.Chris McDonough
2008-09-16Document url dispatch in narrative form.Chris McDonough
2008-09-03 - Add startup process docs.Chris McDonough
2008-08-30Note non-interactive way to create a project.Chris McDonough
2008-08-24More case changes.Chris McDonough
2008-08-24Get it right.Chris McDonough
2008-08-24First checkin using StudlyCaps MyProject.Chris McDonough
2008-08-23Prevent usage of wsgiapp decorator from foiling actions pickling.Chris McDonough
Add Django attribution, contributors file.
2008-08-18 - Generated application differences: ``make_app`` entry pointChris McDonough
renamed to ``app`` in order to have a different name than the bfg function of the same name, to prevent confusion. - Add "options" processing to bfg's ``make_app`` to support runtime options. A new API function named ``get_options`` was added to the registry module. This function is typically used in an application's ``app`` entry point. The Paste config file section for the app can now supply the ``reload_templates`` option, which, if true, will prevent the need to restart the appserver in order for ``z3c.pt`` or XSLT template changes to be detected. - Use only the module name in generated project's "test_suite" (run all tests found in the package). - Default port for generated apps changed from 5432 to 6543 (Postgres default port is 6543).
2008-08-17Rendering.Chris McDonough
2008-08-17 - Add ``<bfg:settings>`` directive. This directive currently allowsChris McDonough
only one attribute: ``reload_templates``. If e.g.:: <bfg:settings reload_templates="true"/> is in your application's ZCML, you will not need to restart the appserver in order for ``z3c.pt`` or XSLT template changes to be detected and displayed.
2008-07-31Document setup.py and myproject.ini.Chris McDonough