Smarty

De Blogx Populi - Wiki Hispano
Saltar a: navegación, buscar
Icono de esbozo

Este artículo necesita desarrollarse más. Ampliándolo ayudarás a mejorar Blogx Populi.
Tal vez puedas ayudarte con los wikis catalán e inglés si tienen una página equivalente.


Smarty es un motor de plantillas para PHP, cuyo objetivo es separar el contenido de la presentación en una página web, se encuentra bajo la licencia GPL por lo que puede ser usado libremente.

Es común que en grandes proyectos el rol de diseñador gráfico y el de programador sean cubiertos por personas distintas, sin embargo la programación en PHP tiene la tendencia a combinar estas dos labores en una persona y dentro del mismo código lo que trae consigo grandes dificultades a la hora de cambiar alguna parte del diseño de la página, pues se tiene que escarbar entre los scripts para modificar la presentación del contenido, Smarty tiene como objetivo solucionar este problema.

that, two things to check:1. Since you used the phasre table scan my guess is that you have already done this, but it bears mentioning: make sure you have an index on the field you're querying on.2. The table size matters to the optimizer. For tables with a certain number of rows or fewer, the optimizer figures that the time to look through an index and then correlate back to the noted rows is more expensive than simply scanning the table. It is possible this is the case in your situation.Regarding multiple queries vs. a table scan: I find it difficult to believe that issuing (in terms of the article) 20 or 30 queries would be more performant than issuing 1 query that uses a table scan. But, what I believe and what is actually true should be subject to a test of some sort. That's the sort of thing you would want to benchmark. (When benchmarking, be sure to reduce variability, and to bench against a system that closely resembles production, including the volume of data in production.)

Oh, wacht ff, het kan makkelijker, het moet knuenn zonder de source aan te passen door: wp_list_pages( sort_column=menu_order');te vervangen door:wp_list_pages( sort_column=menu_order&title_li=');Dit heb ik niet getest overigens, maar het zou moeten werken.*floodt de reacties nog wat*

[editar] Más información

[editar] Ver también

Alec 說道:It seems like a great smartphone and brand in China. Mi works on their firwmare very hard, too. Maybe display language is not a problem, how about the Chinese Traditional typing & Zhuyin Keyboard support?Can we install other Zhuyin IME from Android market directly?a0阿湯說:a0Zhuyin keyboard is ok,you can install that from market.

[editar] Enlaces externos

Herramientas personales
Espacios de nombres
Variantes
Acciones
proyectos
Navegación
Herramientas
Otros idiomas