Revision history for Perl extension Apache::PageKit.
0.95
- Added method $model->pkit_redirect($url)
- Cache files are now 'chown'ed to the user and group
specified in the User and Group apache configuration
directives. This is because the cache files are
generated under server startup, which is typically
run under 'root', but the cache files need to be
writeable by the Apache children, which run under
a non-root user.
- Made the Model base class (MyPageKit::Common) user
configurable, using the model_bass_class global
configuration option. This way two or more distinct
pagekit sites can operate on the same server.
- Added cache_dir global configuration option that
allows the administrator to specify the directory
to store the view and content cache.
- Fixed Apache::PageKit::Model->dbh so that it calls
MyPageKit::Common->pkit_dbi_connect if there isn't
already a database handle.
0.94
- Replaced derived Apache::PageKit handler module (eg MyPageKit)
with MyPageKit::Common and Apache::PageKit->handler.
See migration/README for details.
- Changed structure of Model to allow for multiple model
objects, each containing a reference to a common
$pk object.
- <PKIT_ERRORFONT name="foo"> bar</PKIT_ERRORFONT> is now
precompiled to <TMPL_VAR NAME="PKIT_ERRORFONT_BEGIN_foo">
bar</TMPL_VAR NAME="PKIT_ERRORFONT_END_foo"> for
improved performance.
- $dbh, $apr, and $session are now accessed from model through
dbh, apr, and session methods.
- Added docs on support for dynamically loaded components
that get specified at runtime using systax like
<PKIT_COMPONENT NAME="<MODEL_VAR NAME="foo">">
- You can now pass a hash reference to set multiple parameters
for output_param method
- Removed support for PKIT_INTERNET_EXPLORER and
PKIT_NETSCAPE tags. These tags clutter the
API and are easily implemented in the model.
0.93 Wed Jan 03 01:49:06 2001 EST
- Fixed documentation in Apache::PageKit::Model,
where output_param method was listed
as param.
- Updated pagekit.org web site with links to
a browsable repository of source code
and more documentation.
- Fixed problem with make test, with language
cache files conflicting b/c of different
default languages in test.
0.92 Sun Dec 31 21:32:30 2000 EST
- Rewrote Model class so that Model classes are
standalone and not dependent on the PageKit
architecture.
* functions in Model now get called
as methods of derived Model class
* inputs and outputs are now accessed
by $model->input_param and
$model->output_param instead of
$apr->param and $view->param
* $pk->redirect is no longer available
* $pk->continue no longer available, use
$model->pkit_set_page_id instead
* $pk->message moved to $model->pkit_message
* page and component_dispatch_prefix replaced
by model_dispatch_prefix
- XML and template files are now parsed by calling
Apache::PageKit::startup function. Should fix
problems when PageKit is used inside a
<Directory>, <Location> or <Files> section.
- Fixed bug with not getting fill_in_form configuration
setting in View.pm
- Fixed bugs with language localization and session
management.
- Improved language localization example on pagekit.org
web site
0.91 Tue Dec 26 04:05:56 2000 EST
- Changed name of page_id_match configuration directive to
uri_match.
- Fixed some permission problems when 'make test' is run
as root.
0.90 Sun Dec 24 01:26:18 2000 EST
- Major changes in API and streamlining of pagekit
in preparation for 1.0 beta release.
- Removed seldom used options and replaced others with
more user-friendly versions.
- Renamed Controller directory to Config directory
- Renamed <TMPL_VAR> and <TMPL_LOOP> tags to
<MODEL_VAR> and <MODEL_LOOP> for Model Data and
<CONTENT_VAR> and <CONTENT_LOOP> for Content Data and
<PKIT_VAR> and <PKIT_LOOP> for PageKit Data
- Renamed <PKIT_INCLUDE> to <PKIT_COMPONENT> and replaced
'include' with 'component' across the framework
- Moved and renamed nav_title option from config to
<NAV_TITLE> </NAV_TITLE> in content XML for
better foreign language support.
- Renamed Apache::PageKit::FormValidator to Apache::PageKit::Model
and redesigned class to replace form_validator
constructor option with $model->validate_input($hash_ref)
method. Eliminated error_page and error_page_run_code
options (user should use $pk->continue
in model instead). This should make the development
easier because all the logic is in the Model class instead
being scattered across the derived class and configuration.
- View templates get pre-parsed using file_cache/cache option of
HTML::Template, and the HTML can be optimized by
using HTML::Clean if html_clean_level is set to >=1
- Changed template_cache option to use yes for cache
in HTML::Template and no for file_cache.
Got rid of shared_cache, since it is problematic
and file_cache is almost as fast.
- Moved fill_in_form to page attr from global attr
- Removed support for domains, including page_domain,
domain, is_topdomain attributes.
- Removed page based linking attributes, including
support for <PKIT_LINK> and <PKIT_JAVASCRIPT> tags and
is_popup, is_secure, popup_width, and popup_height.
0.89 Sun Dec 3 18:27:11 2000 EST
- Major changes in API, leading up to 0.9 pre-beta and 1.0 beta release
- Created Apache::PageKit::Config, for configuration directives,
replacing Apache::PageKit::Info
- Created Apache::PageKit::Content, for XML content
- Created content XML files for separation of
content from presentation
- Reorganized pagekit.org files into Model/View/Content/Controller
directories
- Rewrote pagekit.org site to use DBD::Sprite and Apache::Session::File
instead of MySQL, so could include in test suite without
requiring MySQL
- Used Apache::Test in test suite to test working copy of pagekit.org
web site.
0.05 Tue Oct 31 14:12:00 2000 EST
- Added support for language localization
- No longer require that entry in page.xml exist for all pages
- Replaced View and Module templates with Include templates
view parameter in page.xml is no longer used
- Renamed ModuleCode to IncludeCode
- Added <PKIT_NETSCAPE> and <PKIT_INTERNET_EXPLORER> tags
- Added $pk->redirect method
- Added $pk->continue method
0.04 Tue Aug 29 13:12:53 2000 EST
- Added support for <TMPL_LOOP> XML tag
- modified pagekit.org to use <TMPL_LOOP>
0.03 Tue Aug 29 00:13:33 2000 EST
- Replaced use of Apache::Session with adaption of
HTML::Embperl::Session
0.02 Mon Aug 28 18:44:15 2000 EST
- Added XML Support for attributes and <TMPL_VAR> Elements
0.01 Thu Aug 24 16:30:34 2000 EST
- original version; created by h2xs 1.20 with options
-X -n Apache::PageKit