File: control

package info (click to toggle)
smarty 2.6.14-1etch2
  • links: PTS
  • area: main
  • in suites: etch
  • size: 968 kB
  • ctags: 1,325
  • sloc: php: 4,657; makefile: 44
file content (35 lines) | stat: -rw-r--r-- 1,783 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Source: smarty
Section: web
Priority: optional
Maintainer: Dimitri Fontaine <dim@tapoueh.org>
Build-Depends: debhelper (>> 4.1.16)
Standards-Version: 3.6.2.1
Uploaders: Igor Genibel <igenibel@debian.org>, Pierre Machard <pmachard@debian.org>

Package: smarty
Architecture: all
Depends: debconf | debconf-2.0, php4 | php4-cli | php4-cgi | php5 | php5-cgi | php5-cli
Description: 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.