Skip to content
Sections
>> Ubuntu >> 软件包 >> feisty-updates >> web >> smarty
dapper  ] [  dapper-updates  ] [  feisty  ] [  feisty-updates  ] [  gutsy  ] [  gutsy-updates  ] [  hardy  ] [  intrepid  ]
[ 源代码: smarty  ]

软件包: smarty (2.6.14-1ubuntu0.7.04.1) [universe]

smarty 的相关链接

Ubuntu 的资源:

下载源码包 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

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

相似软件包:

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.

其它与 smarty 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: debconf
    Debian 配置管理系统
    或者 debconf-2.0
    Debian 配置管理系统
  • dep: php4
    Package not available
    或者 php4-cli
    Package not available
    或者 php4-cgi
    Package not available
    或者 php5
    服务器端,HTML-嵌入式脚本语言(元软件包)
    或者 php5-cgi
    服务器端,HTML-嵌入式脚本语言(元软件包)
    或者 php5-cli
    服务器端,HTML-嵌入式脚本语言(元软件包)

下载 smarty

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 179.0 kB792 kB 没有当前信息