TinyButStrong Templating System, the basics and simple tweaks Programming Web Development by veedeoo … $title = "This site is powered by TinyButStrong"; $metaDesc = "this is the coolest… "cool,site,internet,number one,ever,created with TinyButStrong"; $mainContent = "Lorem ipsum dolor sit …instant.. this code {{onshow.footerContent}} is the tinyButStrong template syntax. Yes we don't need to… Part One: PHP MVC Framework , Understanding The Basics Programming Web Development by veedeoo …. 4. Xampp or equivalent. 5. Download the [TBS](http://www.tinybutstrong.com/download.php)(Tiny But Strong ) and [Smarty](http://www… Re: Using Smarty Programming Web Development by veedeoo …, I will probably use RAIN TPL or TinyButStrong. These two are pretty lightweight and can outperform…foreach loop function. What makes RAIN TPL and TinyButStrong powerful and worthy of your consideration? First, …://www.daniweb.com/web-development/php/threads/441709/tinybutstrong-templating-system-the-basics-and-simple-tweaks#post1901181… Re: convert to OOP Programming Web Development by veedeoo …value.title} </li> {/loop} </ul> TinyButStrong search.php include_once('locationOfTinyButStrongTemplateClass'); ## we create an object of our…('searchBlock', array('results' =>$db->fetch_all($getItems))); TinyButStrong template file search.tpl <ul> <li… Re: mysqli or mysql pdo Programming Web Development by veedeoo … system like the smarty, dwoo, twig, tinybutstrong, and others. Although, it can be use in tinybutstrong environment, I prefer to use the… built-in tinybutstrong database interface. For example, say we… Re: WEB STREAMING Programming Web Development by veedeoo … own mvc framework with an option of smarty, twig and tinybutstrong template engines. I am still on track for my projected… Re: Grid in php with CI Programming Web Development by veedeoo … result to the template engine e.g. smarty, twig, dwoo, tinybutstrong. It does not matter, they are all the same in… Re: Blank screen on CI - simple code Programming Web Development by veedeoo … lot easier to upgrade your CI with Smarty, Twig, or TinyButStrong package in the future. controllers/page.php <?php class… Re: CodeIgniter 3.0 & Learning Resources Programming Web Development by veedeoo … separation was nothing but the template engine e.g. Smarty, tinyButStrong and followed by DWOO and later on Twig.* *The Router… Re: Setting up Doctrine 2 ORM Programming Web Development by lorenzoDAlipio …; : "vendor/geeglerapp/app/", "Tbs\\": "vendor/tinybutstrong/" } } keep in mind that some packages are 2 directories… Re: TinyButStrong Templating System, the basics and simple tweaks Programming Web Development by veedeoo The content can be from array and database.. if the content is in the form of array as in database, then the proper approach can be something like this. $this_content_is_array = array( 'title'=>$title, 'metaDesc'=>$metaDesc, 'metaKeywords'=>$metaKeywords, 'mainContent'=&… Re: TinyButStrong Templating System, the basics and simple tweaks Programming Web Development by diafol Thanks for the info and examples. I'm currently using Twig, but used to use RainTPL. Having taken a look at the TBS site, it looks rather poor, so you can imagine that some would be put off by that. It's even worse than the Smarty site - and that's evilly bad looking. However the documentation is hell of a lot better than that found in Twig. … Re: TinyButStrong Templating System, the basics and simple tweaks Programming Web Development by veedeoo Hi Diafol, Yes, all of them have a really bad documentations. I am really fascinated by what this little template engine TBS could do. I experimented on it for a few weeks, and it is not that hard to get familiarized with how they do things. I also experimented with the contents coming from the database, and I don't have to do any loops at all. … Re: TinyButStrong Templating System, the basics and simple tweaks Programming Web Development by diafol Yep, that's the bit I really find interesting: Title:{{blk2.title;block=ul}} <br/> {{blk2.description;block=ul}} I really hate the loop syntax in the other templaters. I sometimes wonder why the hell I don't just write native php when I see the horrible convolutions required to get a loop to roll. This is really nice. Thanks… Re: Part One: PHP MVC Framework , Understanding The Basics Programming Web Development by veedeoo I forgot to add the file helper class and the simple form helper validation class. This class is responsible for retrieving, writing, parsing text and xml files. If you noticed on the read and content controllers above, you will see an instance of a FileHelper::method(); Application/FileHelper ### Application Libraries and Helpers …