Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

papito/html-template

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README file for HTML Template C++
=================================

* SUPPORTED PLATFORMS
* DOCUMENTATION
* CREATING TESTS
* RUNNING TESTS
* EXAMPLES

================================================================================
SUPPORTED PLATFORMS

The code is tested against LINUX and WINDOWS. The Visual Studio project file is
in the folder named vs/

================================================================================
DOCUMENTATION
Under docs/ as well as on the World Wide Webbb:
  http://nulidex.com/code/docs/html_template/

MAJOR DIFFERENCES with HTML::Template
* There are no switches to enable/disable features, such as loop context
variables or globals. Everything is enabled by default. 

================================================================================
CREATING TESTS

1. Create a template file in t/

2. Add the test to run(), creating a separate container if this is a test for
   a new type of features.

3. Create the reference output file: 
   $ ./test create t/my_new_test.tmpl
   
4. Inspect t/my_new_test.txt to make sure the output is correct.
   This will be used now as a regression test.

5. Recompile and run the test binary.

================================================================================
RUNNING TESTS

$ ./test

OR for one test

$ ./test run t/my_test.tmpl

================================================================================
EXAMPLES

An example is in the examples/ directory. The makefile is for Linux only.

About

C++ port of Perl's HTML::Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.