Package tdi :: Package integration :: Module wtf_service
[frames] | no frames]

Module wtf_service

source code

TDI Service

This module implements the tdi template locating and caching service.

Configuration

[resources]
# example: templates directory parallel to the app package.
template_site = app:../templates

[tdi]
# locations is a ResourceService location
locations = templates_site
#autoreload = False
#require_scopes = False
#require_methods = False
#filters.html.load =
#filters.html.overlay =
#filters.html.template =
#filters.xml.load =
#filters.xml.overlay =
#filters.xml.template=
#filters.text.load =
#filters.text.overlay =
#filters.text.template=

# load + overlay Filters are lists of (event) filter factories, for example
#
#filters.html.load =
#  tdi.tools.html.MinifyFilter
#
# template filters work on the final template object

Copyright: Copyright 2010 - 2015 André Malo or his licensors, as applicable

License:

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Author: André Malo

Classes
  RequestParameterAdapter
HTMLForm parameter adapter from request.param
  DirectoryTemplateLister
Directory Template Lister
  GlobalTemplate
Actual global template service object
  ResponseFactory
Response hint factory collection
  Middleware
Template middleware
  TDIService
Template service
Variables
  __doc__ = __doc__.encode('ascii').decode('unicode_escape')
  __package__ = 'tdi.integration'
Variables Details

__doc__

Value:
__doc__.encode('ascii').decode('unicode_escape')

__package__

Value:
'tdi.integration'