Smarty 3 - O Céu é o Limite !

André Luiz Rodrigues Pinheiro (27.Nov.2009)
Talk at PHP Conference Brazil (Portuguese (Brasil))

Rating: 5 of 5

Tópicos a serem abordados:
1) Smarty como template engine
2) Como utilizar o Smarty
3) Criando plugins de forma rápida e prática
4) Smarty 3.0 - A revolução.
5) Novidades da linguagem.
6) Comparativos entre smarty 2.6 e 3.0.
7) Criando um mini blog utilizando o Smarty 3.0.

Who are you?

Claim talk

By clicking this button you are declaring that you are the speaker responsible for it and a claim request will be sent to the administrator of the event.

If the claim is approved you will be able to edit the information for this talk.

Are you sure?

 
Comments closed.

Comments

Rating: 5 of 5

29.Nov.2009 at 18:05 by Rafael Kassner

Gostei muito da abordagem do Smarty 3, fazendo comparações com a versão 2.6 e esclarecendo as dúvidas sobre os novos rumos do Smarty.

Speaker comment:

30.Nov.2009 at 11:28 by André Luiz Rodrigues Pinheiro

Durante a palestra foi questionado a possibilidade de se fazer cache em um trecho do código com o restante sem cache. A solução dada foi a seguinte:

Por vários motivos internos não é possível implementar a tag {cache} dentro do Smarty, porém uma solução para este problema é colocar o template a ser cacheado dentro de um sub template e chamálo informando que o mesmo será cacheado. Desta forma teremos:

{include file='foo.tpl' caching=true cache_lifetime=100}

onde cache_lifetime é o tempo em que o template ficará no cache (em minutos).

Uwe Tews

Cloud server hosting by Combell Combell      © Joind.in 2012