Releases: mesopelagique/Tricho
Releases · mesopelagique/Tricho
🍖 Latrodectus mactans
- Supporter render data using a template with
render
function
Template engine is 4D tags and the data are passed using $1
$data:=New object("lastname";"meso")
$router.get("/template";Formula($2.render(Folder(fk resources folder).file("template.html");$data)))
Template
<!--#4DEVAL $1.lastname -->
Bugs
- Fix
unregister
router with nonstrict
mode
🕷 Tarantula
strict
boolean configuration variable
Disabled by default, “/foo” and “/foo/” are treated the same
To enable
$router.strict:=True // Enable strict routing.
- Experimental features to register a router into another parent router
$anOtherRouter.path:="/subpath"
$router.register($anOtherRouter)
📍 Aoûtat
- Router with basic functions
- Hander
- Utility methods