Projects / DomCore / Releases / 1.00.11

Version 1.00.11 of DomCore

Avatar

Release Notes: The method WATemplate->__toString() has been added to directly print the template resolved. The method WATemplate->getTemplates() has been added to get the list of subtemplates. Some minor bugs have been removed in various DataSources.

Other releases

Release Notes: The WATemplate syntax analyzer no longer uses urlencode and urldecode, greatly improving compilation time. An error has been corrected in the regular expressions of the templates compiler: sometimes the subtemplate was not correctly replaced.

Release Notes: The WATemplate class has been corrected so the subtemplate IDs can be only only letters, digits, or the special characters ".", "-", "_", and "|".

Release Notes: Some errors have been corrected in the WATemplate class (the [[...]] and {{...}} metaelements were not working as expected sometimes). The method WATemplate->metaElements has been modified so it can be called only once. All the examples have been modified to use the new [[...]] meta element and the strict mode.

  •  01 May 2012 10:11
Avatar

Release Notes: A new template syntax has been added: [[id]]...[[]]. The old syntax %%SUBTEMPLATE(id)%% ... %%ENDSUBTEMPLATE%% will be deprecated. A new way to access parameters in the data array has been implemented: {{id}} and a new strict mode to force the use of the new syntax.

Release Notes: An error has been corrected in WATemplate: the ?? metaelement was not working as specified. WATemplate has been modified to support path data access into the data array (i.e., ??VAR1>VAR2>VAR3:templateid??), to use hierarchic accessibility on templates (if the template does not exists in a level, it will be searched in the father), and to support a new meta element {{...}} to directly access an entry in the data array. A new example has been added for path data and the {{...}} meta element.

Screenshot

Project Spotlight

imvirt

A script that detects several virtualizations.

Screenshot

Project Spotlight

LibHTP

A security-aware parser for the HTTP protocol and the related bits and pieces.