Changes for version 0.100_002 - 2015-10-31

  • New features
    • [GH #57] `yattup` - `plackup` alike command for `*.yatt` files.
    • [GH #54] - !yatt:base "file_or_dir" to inherit templates.
  • Enhancement (Potentially breaking)
    • [GH #51] Add experimental `per_role_docroot` feature.
    • [GH #56] Install psgi_fallback by default (to make `yattup` useful).
    • Add new option `always_refresh_deps` to fix [GH #1] partially.
    • [GH #60] Set HTTP Status for "Not found" and "Bad request" errors. To revert old behavior, set `overwrite_status_code_for_errors_as` to 200.
    • YATT::Lite::Error now exports type alias 'Error' by default.
    • New method: `($yatt|$con)->error_with_status($code, $msg, @args)`
  • Misc changes:
    • [GH #59] yatt, yattup should resolve symlink once and only once.
    • [GH #58] c3 mro support in `use YATT::Lite::Factory -as_base`.
  • BUG fixes:
    • [GH #61] no warnings 'redundant' for sprintf. (partially)
    • [GH #55] *base* templates accidentally inherit their *user* directory bug
    • [GH #53] - Allow setting dont_map_args in SiteApp.

Changes for version 0.100_001 - 2015-09-03

  • Enhanement (API Change) for unicode handling:
    • [GH #48] decode input params by default. Add new option `no_unicode` for backward compatibility.
    • [GH #45] YATT::Lite::Factory->render now returns decoded string by default.
  • Enhanement to help testing:
    • [GH #47] $site->mount_action($location => $action_sub)) and $dir->set_action_handler($filename => sub ($this, $con))
    • [GH #16] $site->mount_psgi($location => $psgi_app)
  • Fixes
    • [GH #50] [RT #106776] Test failure (caused by SQLite).
    • [GH #49] use safer fatalized warnings.
    • [GH #46] convert_array_param(parse_nested_query) conflicts with Plack::Request->upload.

Documentation

Loose but Recursive XML (LRXML) format.
Extended Header Fields (XHF) フォーマットの構文定義
Extended Header Fields (XHF) format.
perl プログラマー向け yatt 内部構造解説(日本語版)
programmer's guide for YATT
初めにお読み下さい (日本語版)
Introduction to YATT::Lite
課題の一覧
or Modern use of fields.pm and %FIELDS.
なんでやっとやんの?
Perl Monger のための yatt (YATT::Lite) ガイド
yatt 構文マニュアル (日本語版)
yatt syntax manual
plackup alike for yatt_lite

Modules

Template with "use strict"
Loader for YATT::Lite
fields for multiple inheritance.
fields based, Tcl/Tk like object
define inner types at compile time.
output buffer with request properties
PSGI Handler for yatt
Loader for XHF format
Serializer for XHF format

Provides

in Lite/Breakpoint.pm
in Lite/CGen.pm
in Lite/CGen/Perl.pm
in Lite/Connection.pm
in Lite/Constants.pm
in Lite/Core.pm
in Lite/Entities.pm
in Lite/Error.pm
in Lite/Inc.pm
in Lite/LRXML.pm
in Lite/LRXML/ParseBody.pm
in Lite/LRXML/ParseEntpath.pm
in Lite/LRXML/ParseBody.pm
in Lite/LRXML/ParseEntpath.pm
in Lite/MFields.pm
in Lite/Macro.pm
in Lite/NSBuilder.pm
in Lite/PSGIEnv.pm
in Lite/Partial.pm
in Lite/Partial/AppPath.pm
in Lite/Partial/ErrorReporter.pm
in Lite/Partial/Gettext.pm
in Lite/RegexpNames.pm
in Lite/Test/TestFCGI.pm
in Lite/Test/TestUtil.pm
in Lite/Test/XHFTest.pm
in Lite/Test/XHFTest2.pm
in Lite/Test/XHFTest.pm
in Lite/Types.pm
in Lite/Util.pm
in Lite/Util/AsBase.pm
in Lite/Util/CGICompat.pm
in Lite/Util/CmdLine.pm
in Lite/Util/CycleDetector.pm
in Lite/Util/Enum.pm
in Lite/Util/File.pm
in Lite/Util/FindMethods.pm
in Lite/VFS.pm
in Lite/VarMaker.pm
in Lite/VarTypes.pm
in Lite/VarTypes.pm
in Lite/WebMVC0/DBSchema.pm
in Lite/WebMVC0/DBSchema/DBIC.pm
in Lite/WebMVC0/DBSchema/DBIC.pm
in Lite/WebMVC0/DirApp.pm
in Lite/WebMVC0/Partial/LangSwitch.pm
in Lite/WebMVC0/Partial/Session.pm
in Lite/WebMVC0/SiteApp/CGI.pm
in Lite/WebMVC0/SiteApp/FCGI.pm
in Lite/WebMVC0/SiteApp/CGI.pm
in Lite/WebMVC0/SiteApp/FCGI.pm
in Lite/WebMVC0/SubRoutes.pm
in Lite/XHF/StoreDir.pm

Examples