Add TUWF 1.2

This commit is contained in:
Yorhel 2018-02-18 12:13:06 +01:00
parent 54947f15c2
commit 2192e68775
8 changed files with 58 additions and 13 deletions

View file

@ -57,10 +57,11 @@ L<Puppy Linux|http://www.murga-linux.com/puppy/viewtopic.php?t=35024> -
L<Solaris|http://www.opencsw.org/packages/ncdu> -
L<Slackware|http://slackbuilds.org/repository/14.2/system/ncdu/> -
L<Slax Linux|http://www.slax.org/modules.php?detail=ncdu> -
L<Ubuntu|http://packages.ubuntu.com/search?searchon=sourcenames&keywords=ncdu>
L<Ubuntu|http://packages.ubuntu.com/search?searchon=sourcenames&keywords=ncdu> -
L<Void Linux|https://www.voidlinux.eu/packages/>
Packages for CentOS, RHEL and (open)SUSE can be found on the
L<Open Build Service|https://build.opensuse.org/package/show?package=ncdu&project=utilities>.
Packages for RHEL and (open)SUSE can be found on the
L<Open Build Service|https://software.opensuse.org//download.html?project=utilities&package=ncdu>.
Packages for NetBSD, DragonFlyBSD, MirBSD and others can be found on
L<pkgsrc|http://pkgsrc.se/sysutils/ncdu>.

View file

@ -9,26 +9,24 @@ websites, it is also perfectly suited for small single-file websites.
=over
=item * Very small, and no extra modules required,
=item * Very small, and no extra modules required for the base functionality,
=item * Easy URI-to-function mapping using regular expressions,
=item * Easy built-in routing,
=item * Handy form validation functions,
=item * Easy XML/XHTML output generation functions,
=item * Easy XML/HTML generation,
=item * Response buffering and output compression,
=item * Easy access to GET/POST data and cookies,
=item * Easy access to request data,
=item * Support for CGI and FastCGI - optimized for FastCGI,
=item * Support for CGI, FastCGI and a built-in web server,
=item * Uses UTF-8 for all text,
=item * Convenient SQL execution functions and correct transaction handling,
=item * Promotes code re-use,
=item * Open source (duh!) and available under a liberal MIT license.
=back
@ -39,7 +37,7 @@ information and details.
=head2 Download
B<Latest packaged version:> 1.1 ([dllink TUWF-1.1.tar.gz download]
B<Latest packaged version:> 1.2 ([dllink TUWF-1.2.tar.gz download]
- L<CPAN mirror|http://search.cpan.org/dist/TUWF/>)
TUWF is also available on a git repository at L<https://g.blicky.net/tuwf.git/>.

View file

@ -1,3 +1,27 @@
1.2 - 2018-02-18
- Add tuwf() exported function as alias to $self or $TUWF::OBJ
- Add TUWF::get/put/post/etc() as better alternative to TUWF::register()
- Add TUWF::hook() as better alternative to (pre|post)_request_handler
- Add capture() to access route captures
- Add standandlone HTTP dev server (requires HTTP::Server::Simple)
- Add pass() and done() methods to prematurely abort the current handler
- Add 'import_modules' setting
- TUWF::Request: Add reqJSON()
- TUWF::Request: Disallow control characters in HTTP request data
- TUWF::Response: Add resJSON()
- TUWF::Response: Add resBinary()
- TUWF::Response: Add resFile() + mime_types/mime_default settings
- TUWF::Response: Allow setting headers before resRedirect()
- TUWF::Response: resRedirect() now sets a relative 'Location' HTTP header
- TUWF::DB: Add DB query logging and profiling to non-TUWF database functions
- TUWF::DB: Add dbVal()
- TUWF::XML: Add functional-style DSL
- TUWF::XML: Add HTML5 support
- TUWF::XML: Add different naming convention support
- TUWF::XML: Add 'mkclass' utility function
- Improved error pages
- Various documentation improvements
1.1 - 2017-11-26
- Disallow exclamation mark in email address validation
- Add reqProtocol() method