Posted By: Brian Wisti
Date: 2005-04-17 10:27
Summary: PageTemplate 2.0 Released
Project: PageTemplate

An absolutely huge number of changes this time around, driven almost entirely by Greg Millam. Oh, and I should mention that he's officially a PT developer now. That means we'll probably see releases more often than every eight months or so.

Changes? Plenty.
Major changes:
Entire code refactored and rewritten.
Parser now iterative
Commands:
Changed: Everything is encapsulated in the PageTemplate class
Changed: If, IfElse, Unless, UnlessElse commands merged
Changed: Loop, LoopElse merged
Changed: else/end logic placed into Commands
Fixed: Loop MetaVariables
Added: ValueCommand supports 'preprocessors'. var variable :processor
Added: 'case' command added: optional in PageTemplate/case.rb
Namespace:
Fixed: false or nil variables previously caused PT to search up.
Added: ability to have 'var.name.name2' variable access.
Parser:
Changed: Syntax::Glossary became SyntaxGlossary
Changed: Syntax::Parser became just Parser
Changed: Parser is now primarily a compiler instead of a template object.
Changed: else/end logic placed into Commands instead of parser.
Changed: Iterative process should be faster
Removed: Use of a disk cache when 'use_cache' is true
Added: Ability to compile files without setting PageTemplate's current
@commands to the result.

Latest News
icalendar 1.4.0 Released
    Ryan Ahearn - 2013-05-21 23:17
BinData 1.5.0 - source moved to github
    Dion Mendel - 2013-05-21 11:10
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58

 

Forums | Admin

Discussion Forums: pagetemplate-2.0-released

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post