Open wuchang1123 opened 11 years ago
sorry but not soon (I keep it open as reminder). thanks for suggestion.
Do I understand it correctly that handlebars.php does NOT support precompiling hbs->js to be used later on client?
No, It doesn't support any "to js" compilation. We've built it to use same templates for both client and server sides. Also it can be useful if you're using History API (show user what they want immediately without unnecessary XHRs).
On Sun, Mar 10, 2013 at 1:26 AM, Pavel Smolka notifications@github.comwrote:
Do I understand it correctly that handlebars.php does NOT support precompiling hbs->js to be used later on client?
— Reply to this email directly or view it on GitHubhttps://github.com/XaminProject/handlebars.php/issues/6#issuecomment-14671564 .
regards, behrooz
Hi guys,
This is a similar project, that does support compiling templates:
https://github.com/zordius/lightncandy
But -- it does not currently support registering custom helpers.
I'm trying to decide whether I should add compiling to this project, or helpers to that project ;)
Awesome, please keep us posted about your decision. On Feb 3, 2014 3:21 AM, "Ryan Mahoney" notifications@github.com wrote:
Hi guys,
This is a similar project, that does support compiling templates:
— Reply to this email directly or view it on GitHubhttps://github.com/XaminProject/handlebars.php/issues/6#issuecomment-33917419 .
do you have a plan to code compiler?thanks.