This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Description
I come from HandleBars.js, and i often used to store many Partials/Templates in one file (inside <script> tag), then get the ones i need using jQuery.
I would like to do the same thing on PHP, using phpQuery.
So, It could be nice to register Partials passing an Array of Strings when initializing the Engine.
Example:
[
'partial_bold' => '<b>{{ this.value }}</b>' ,
'partial_underline' => '<u>{{ this.value }}</u>',
'partial_italic' => '<i>{{ this.value }}</i>'
]
so you can call every Partial in your template by its name.
Example:
{{ > partial_underline }}
If someone is interested in this change and maybe can address me to where i should extend the code, i could try adding the feature.
If, instead, the author (Xamin Project) likes the idea and wants to do it by himself it would be great, of course ;)