XaminProject / handlebars.php

Handlebars processor for php
331 stars 134 forks source link

Mustache_Compiler #6

Open wuchang1123 opened 11 years ago

wuchang1123 commented 11 years ago

do you have a plan to code compiler?thanks.

everplays commented 11 years ago

sorry but not soon (I keep it open as reminder). thanks for suggestion.

pavelsmolka commented 11 years ago

Do I understand it correctly that handlebars.php does NOT support precompiling hbs->js to be used later on client?

everplays commented 11 years ago

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

ryan-mahoney commented 10 years ago

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 ;)

everplays commented 10 years ago

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 .