]> rtime.felk.cvut.cz Git - edu/osp-wiki.git/blob - student/adamema4/index.mdwn
(no commit message)
[edu/osp-wiki.git] / student / adamema4 / index.mdwn
1 [[!meta title="Adámek Martin"]]
2
3 **Nette Framework:** [issue with n:ifcontent macro](https://github.com/nette/nette/issues/1387)
4
5 Assignment
6 ======
7
8 Nette is open source framework for creating PHP web applications. It has its own templating system called Latte. 
9
10 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. 
11
12 Links documenting the results of my work
13 ======
14
15 * [Issue link on Github (contains my communication with developers)](https://github.com/nette/nette/issues/1387)
16 * [Git repo with my fork of Nette Framework](https://github.com/B4nan/nette)
17 * [Latte documentation](http://doc.nette.org/cs/2.1/templating)
18
19 Presentation
20 ==========
21
22 * [[Presentation of the aim of my work in PDF or OpenDocument format (upload it as an *Attachment* to this page)|prezentace1.pdf]]
23 * [[Presentation of the results of my work|prezentace2.pdf]]
24
25 Ohloh
26 =====
27
28 <a href='https://www.ohloh.net/accounts/562931?ref=Detailed' target='_blank'>
29 <img alt='Ohloh profile for adamek' border='0' height='35' src='https://www.ohloh.net/accounts/562931/widgets/account_detailed.gif' width='230' />
30 </a>
31
32 [w]:https://www.ohloh.net/accounts/adamek/widgets