Diferencia entre revisiones de «Usuario:Lmorillas/desarrollo web servidor/php/twig»
De WikiEducator
(→Primeros pasos) |
|||
| (Una revisión intermedia por el mismo usuario no mostrado) | |||
| Línea 20: | Línea 20: | ||
== Primeros pasos == | == Primeros pasos == | ||
* http://sf2-es.net16.net/_downloads/twig-es.pdf | * http://sf2-es.net16.net/_downloads/twig-es.pdf | ||
| + | * En español: http://gitnacho.github.io/Twig/index.html | ||
| + | * http://devzone.zend.com/1886/creating-web-page-templates-with-php-and-twig-part-1/ | ||
| + | * http://devzone.zend.com/1901/creating-web-page-templates-with-php-and-twig-part-2/ | ||
| + | |||
| + | {{Actividad| | ||
| + | Sigue los pasos de estos tutoriales: | ||
| + | * http://jhernandz.es/noticia/twig-plantillas-php-i | ||
| + | * http://jhernandz.es/noticia/twig-plantillas-php-ii | ||
| + | }} | ||
Última revisión de 19:32 27 ene 2014
Twig: motor de plantillas para PHP
Instalación
http://twig.sensiolabs.org/doc/installation.html
- Instalar composer en el proyecto:
curl -s http://getcomposer.org/installer | php
- Crea un composer.json en la raíz del proyecto:
{
"require": {
"twig/twig": "1.*"
}
}
- Instalar
php composer.phar install
Primeros pasos
- http://sf2-es.net16.net/_downloads/twig-es.pdf
- En español: http://gitnacho.github.io/Twig/index.html
- http://devzone.zend.com/1886/creating-web-page-templates-with-php-and-twig-part-1/
- http://devzone.zend.com/1901/creating-web-page-templates-with-php-and-twig-part-2/
|
Sigue los pasos de estos tutoriales:
|