Lines Matching refs:we
25 that keep the view and the code separated like we all know they should be.
59 At the minimum, we are required to have an array model and a template string. Alternatively we can have a file containing handlebars (or html, text, etc) expression.
82 Now the we've created our template file, in a php file (index.php) we'll create the data to passed to the model. The model is a key/value array.
84 Below we are going to create the Handlebars object, set the partials loader, and put some data in the model.
91 # With composer we can autoload the Handlebars package
155 ***$model*** : Is the array that we will pass into the template
236 Handlebars expressions with a helper. In this case we're using the upper helper
670 And now we can use the helper like this: