Lines Matching +refs:precompile +refs:truly +refs:the

28     From the commandline:
36 Jemplate parses TT2 templates using the TT2 Perl framework, but with a
37 twist. Instead of compiling the templates into Perl code, it compiles
40 Jemplate then provides a JavaScript runtime module for processing the
49 precompile your templates into a JavaScript file. For example if you
61 This will compile all the templates into one JavaScript file.
63 You also need to generate the Jemplate runtime.
75 The Jemplate.js JavaScript runtime module has the following API method:
78 The "template-name" is a string like 'body.html' that is the name of
79 the top level template that you wish to process.
81 The optional "data" specifies the data object to be used by the
83 object, it is used directly. If it is a function, the function is
84 called and the returned object is used. If it is a url, an
89 a string beginning with a "#" char. If the target is omitted, the
90 template result is returned. If it is a function, the function is
91 called with the result. If it is a string, the string is used as an
94 If an HTMLElement is used (by id or directly) then the innerHTML
95 property is set to the template processing result.
97 The Jemplate.pm Perl module has the following public class methods,
99 use the "jemplate" command line tool.
103 functions. Returns the text of the module.
107 unique template name. Returns the JavaScript text result of the
111 Similar to `compile_template_files`, but prints to result to the
115 Similar to `compile_module`, but only compiles if one of the
116 templates is newer than the module. Returns 1 if successful compile,
123 Does a GET operation to the url.
125 If a callback is provided, the operation is asynchronous, and the
126 data is passed to the callback. Otherwise, the operation is
127 synchronous and the data is returned.
130 Does a POST operation to the url.
135 Return the JSON serialization of an object.
138 Turns a JSON string into an object and returns the object.
141 The goal of Jemplate is to support all of the Template Toolkit features
144 Jemplate now supports almost all the TT directives, including:
173 ALL of the string virtual functions are supported.
175 ALL of the array virtual functions are supported:
177 ALL of the hash virtual functions are supported:
179 MANY of the standard filters are implemented.
181 The remaining features will be added very soon. See the DESIGN document
182 in the distro for a list of all features and their progress.
193 All tests run 100% successful in the above browsers.
199 You can run the runtime tests directly from
200 http://svn.jemplate.net/repo/trunk/tests/run/index.html or from the
206 If you want a committer bit, just ask ingy on the irc channel.
211 for this work. (As long as you are in the same room when I'm drinking
220 Jemplate is truly a community authored project:
246 under the same terms as Perl itself.