Ads 468 X 60

pTemplate: Better PHP Code-HTML Design Separately (Help and Support Tools)


Intro


pTemplate is a PHP Class, designed & programmed by developer, for developer; to create native PHP applications, PHP website, big PHP projects better, nicer and easy to read by others in the team. pTemplate may help us process the tasks of PHP programming and design HTML separately, the coders just take the backend issue, not need to worry about the HTML layout; other designers in team focus on site HTML layout, design without any programming skills.


pTemplate mainly is inspired to avoid the mixture of PHP, HTML, CSS & JavaScript in the same file. This type of file is VERY HARD to read & VER DIFFICULT to maintain & understand; it’s very hard to trace which closed parenthesis is for which opening one, where if, then, else statements we’re viewing, etc; especially if you have new members join the team, they’ll have to learn the code from beginning. Let’s check the difference:


Some advanced usages



  • Automatically show section if data-set is available

  • Embed a data-set into section

  • Fill a data-set into multiple pTemplate markups

  • Show many sections with 1 pTemplate variable only

  • Embed a section into another sections

  • Embed a boolean section into a data-set

  • Compress output, expect some sections


Method’s full explaination plus code example


Support multilingual platform very well


Caches parsed static files or parts of file


Compress HTML, JavaScript, CSS when output


20 live demos to test directly



0 comments:

Post a Comment