Kamis, 14 Juni 2018

Sponsored Links

src: i.ytimg.com

TinyButStrong is a web template system written in PHP. The library is for the attention of PHP developers. As a template system, the goal is to help code by separating the business algorithm (business logic) from the user's presentation construct. The short name for TinyButStrong is TBS .

The first version of TinyButStrong appeared in January 2002. The first goal was to combine email. In mid 2002, he was able to combine dynamic web pages. The TinyButStrong name comes from the intent to be easy to use while useful for some developer levels. TinyButStrong is always content in one PHP file.

The TinyButStrong Template Engine claims to incorporate Natural Templates, a template that respects the final document format to be generated. It is possible to build HTML templates that comply with W3C, and it is possible to build them using the WYSIWYG tool. You can also create OpenOffice Writer templates using OpenOffice.org.

The ability to operate in an environment where website designers use the WYSIWYG tool is critical to end users during website development. This allows them to use a separate vendor - one for 'display & amp; feel 'designers and other (s) for their programming requirements. Obviously, this extends the lifecycle because of their ability to change vendors with less difficulty in replacing certain skill sets increased substantially.

The TinyButStrong engine can only relate to templates that are the source of the text. Thus, it can combine content like HTML pages, email, XML, or RSS, but can not merge templates like PDF. The core system contains some features that are dedicated to HTML templates.

TinyButStrong can be expanded to combine OpenOffice and Microsoft Office documents. This is possible because the documents are actually XML content embedded in a zip archive. Building such a document with TinyButStrong requires a plug-in called OpenTBS.


Video TinyButStrong



Features

  • Merge data items (by replacing available tags)
  • Merge data recordings (expand or delete blocks)
  • Format items using numeric or original date formats, or use custom functions.
  • Conditional expressions for items and blocking
  • Combine live data recordings with SQL statements (some Databases and Data sources are supported in the native language, others can be added using plug-ins).
  • Sub-blocks, serial blocks, sub-templates,
  • Events to be cached by the PHP function
  • Cache page
  • Plug-in
  • Native database query debugging console

Maps TinyButStrong



Example TinyButStrong

The HTML template with the TinyButStrong tag might look like this:

The business logic for using the above TinyButStrong template can be something like this:

src: 3.bp.blogspot.com


Natural Templates

Natural Templates are templates that respect the final document format to be generated. This can be done by TinyButStrong because:

  • the syntax of the TinyButStrong tag does not interfere with the template format syntax
  • both fields and block tags can be defined in the visual part of the template

relative syntax for block

Here is an example of the TinyButStrong standard syntax for blocks that must multiply the rows of an HTML table. This syntax disrupts the HTML structure.

Here is an example of the relative TinyButStrong syntax for the same block. This syntax does not interfere with HTML structure.

relative syntax for fields

Here's an example of TinyButStrong's standard syntax for fields that need to change the value of HTML attributes. This syntax disrupts the HTML structure.

Here is an example of the relative TinyButStrong syntax for the same field. This syntax does not interfere with HTML structure.

src: 2.bp.blogspot.com


See also

  • Web template
  • Template engine (web)

src: 3.bp.blogspot.com


References

  • TinyButStrong: The Template Machine is really WYSIWYG (French Magazine)

src: 1.bp.blogspot.com


External links

  • Official website

Source of the article : Wikipedia

Comments
0 Comments