Assignment

Project name and homepage: Nette Framework

Nette is open source framework for creating PHP web applications. It has its own templating system called Latte.

One of Latte’s features is support for macros. There are user defined macros and system macros. n:ifcontent is one of newly added in recently released version (Nette 2.1). This macro is used to conditionally render a HTML container (e.g. <div>) based on its content (it will render the container only if is not empty). There is a problem with current implementation: if the content of container consist only of non-printable characters (like EOL, tabs, spaces), it is also rendered. My goal is to fix this issue.

Links documenting the results of my work

Presentation

Ohloh

Ohloh profile for adamek