Changes for version 0.101_001 - 2017-06-17

  • (Possibly breaking) API changes
    • [GH #84] Now yatt:args "/URL/{PATTERN}" is tested in written order.
    • [GH #64] Use c3 mro for widget search by default.
  • New/changed YATT Declarations
    • [GH #54] <!yatt:base "file_or_directory">
    • [GH #14] <!yatt:action "/URL/{PATTERN}">
  • New/changed YATT Entities
    • [GH #92] &yatt:script_name(); now respects Apache's Action+AddHandler
    • [GH #74] &yatt:param(); is now equiv of &yatt:CON:param();.
    • [GH #73] &yatt:coalesce(); now behaves like SQL's coalesce().
    • [GH #70] &yatt:file_location(); and &yatt:is_current_page(page)
  • Enhancement
    • [GH #91] Better error reporting for XHF parser
    • [GH #82] Add support for bufferedstreaming in raised response.
    • [GH #80] Allow declaring types for routed args
    • [GH #79] Site-wide special_entities
    • [GH #71] Now delegate type can have argument list.
    • [GH #69] YATT::Lite::Macro is now visible from subclasses.
    • [GH #63] `Action NAME => SUB` support in `.htyattrc.pl`
  • Miscellaneous helper functions.
    • [GH #94] YATT::Lite::XHF->read_all()
    • [GH #90] WebMVC0::Connection->delete_param
    • [GH #82] Lite::Connection->raise_response($psgi_response).
    • [GH #68] YATT::Lite::Factory->wrapped_by($outer_app) for Plack::Middleware.
  • Bug fixes
    • [GH #93] yatt:action arg detection should care DOS crlf too.
    • [GH #83] Fix for bug "Safety level may not be changed inside a transaction"
    • [GH #77] :CON:mkquery() now encode utf8 correctly.
    • [GH #76] yatt:my code works for wide chars.
    • [GH #75] Avoid use of error.ytmpl until code-generator becomes ready.
    • [GH #74] Now yatt.render sets :CON:param() too.
    • [GH #72] BUG: "Inconsistent hierarchy during C3 merge" occurs for complex inheritance.
    • [GH #61] Adapt sprintf redundant arg warnings(5.22)

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/AllowRedundantSprintf.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