» Ubuntu » Balíky » lucid (10.04LTS) » web » smarty
lucid  ] [  precise  ] [  trusty  ] [  utopic  ] [  vivid  ]
[ Zdroj: smarty  ]

Balík: smarty (2.6.26-0.1ubuntu1) [universe]

Odkazy pre smarty


Zdroje Ubuntu:

Stiahnuť zdrojový balík smarty:


Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly.

Original Maintainers (usually from Debian):

  • Dimitri Fontaine
  • Igor Genibel
  • Pierre Machard
  • Thierry Randrianiriana

It should generally not be necessary for users to contact the original maintainer.

Externé zdroje:

Podobné balíky:

Template engine for PHP

Smarty is a template engine for PHP. More specifically, it facilitates a manageable way to separate application logic and content from its presentation.

This is best described in a situation where the application programmer and the template designer play different roles, or in most cases are not the same person. For example, let's say you are creating a web page that is displaying a newspaper article. The article headline, tagline, author and body are content elements, they contain no information about how they will be presented. They are passed into Smarty by the application, then the template designer edits the templates and uses a combination of HTML tags and template tags to format the presentation of these elements (HTML tables, background colors, font sizes, style sheets, etc.) One day the programmer needs to change the way the article content is retrieved (a change in application logic.) This change does not affect the template designer, the content will still arrive in the template exactly the same. Likewise, if the template designer wants to completely redesign the templates, this requires no changes to the application logic. Therefore, the programmer can make changes to the application logic without the need to restructure templates, and the template designer can make changes to templates without breaking application logic.

Ostatné balíky súvisiace s balíkom smarty

  • závisí
  • odporúča
  • navrhuje
  • enhances
  • dep: php5
    server-side, HTML-embedded scripting language (metapackage)
    alebo php5-cgi
    server-side, HTML-embedded scripting language (CGI binary)
    alebo php5-cli
    command-line interpreter for the php5 scripting language
    alebo php4
    Balík nie je dostupný
    alebo php4-cli
    Balík nie je dostupný
    alebo php4-cgi
    Balík nie je dostupný

Stiahnuť smarty

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 195.2 kB752.0 kB [zoznam súborov]