daeken Posted November 5, 2003 Share Posted November 5, 2003 A few months ago, I embarked on a project called Smarty++ (or Smartypp), it\'s a C-based (for now... may be going with C++ for future versions, simply because of the `string\' class) Smarty templating engine extension port. Currently only static text and variables are supported, no other tags or fancy stuff. To run a simple template 10000 times with standard Smarty, it takes 54 seconds on this box. With Smarty++, it took 9 seconds. This benchmark alone has satisfied me with my work so far, though i have much planned for the future. Hopefully you\'ll find the current version useful. I\'ve only tested in Debian and Gentoo GNU/Linux, but it should work on windows with few (if any) modifications. Current code is available here: http://eqmoders.com/smartypp.tar.bz2 . If you find/fix any bugs or add on, please post here about your findings! Happy hacking, Lord Daeken M. BlackBlade (Cody Brocious) Quote Link to comment https://forums.phpfreaks.com/topic/1296-smarty/ Share on other sites More sharing options...
Onno Posted November 5, 2003 Share Posted November 5, 2003 Smarty renders once. And then its all PHP code. It isn\'t meant to be render evry time. Quote Link to comment https://forums.phpfreaks.com/topic/1296-smarty/#findComment-4314 Share on other sites More sharing options...
daeken Posted November 5, 2003 Author Share Posted November 5, 2003 Even with caching, it\'s much much slower than Smarty++... that benchmark was with caching set up properly Quote Link to comment https://forums.phpfreaks.com/topic/1296-smarty/#findComment-4319 Share on other sites More sharing options...
Onno Posted November 5, 2003 Share Posted November 5, 2003 Well could you maybe make a small page or put the project under GPL or LGPL on the Sourceforge? So I can better understand what your doing. Onno PS. I love smarty Quote Link to comment https://forums.phpfreaks.com/topic/1296-smarty/#findComment-4321 Share on other sites More sharing options...
daeken Posted November 6, 2003 Author Share Posted November 6, 2003 hmm... perhaps i will later today. Quote Link to comment https://forums.phpfreaks.com/topic/1296-smarty/#findComment-4332 Share on other sites More sharing options...
catman Posted November 8, 2003 Share Posted November 8, 2003 Cool! I love smarty. I\'m glad someone is finally going to try to turn Smarty into an extension. I guess I\'m going to have to figure out how to compile it for windows or install linux. :? Good Luck! Quote Link to comment https://forums.phpfreaks.com/topic/1296-smarty/#findComment-4389 Share on other sites More sharing options...
Derek Posted November 9, 2003 Share Posted November 9, 2003 on windows you can more than likely look foreward to php_smartypp.dll. Quote Link to comment https://forums.phpfreaks.com/topic/1296-smarty/#findComment-4390 Share on other sites More sharing options...
catman Posted November 9, 2003 Share Posted November 9, 2003 Thanks I will look forward to that Keep up the good work! Quote Link to comment https://forums.phpfreaks.com/topic/1296-smarty/#findComment-4391 Share on other sites More sharing options...
<?=$humour?> Posted March 18, 2005 Share Posted March 18, 2005 well it's only been 18 months, i was wondering what was happening on this front. Any news? Quote Link to comment https://forums.phpfreaks.com/topic/1296-smarty/#findComment-7257 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.