473,486 Members | 1,970 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Text template engine?

Hi,
Does anyone know a good template engine for generating text dynamically.
(I.e. HTML, SQL statements, code generation, etc.) I'm looking for
something similar to Velocity or Freemarker(both Java libraries).
Thanks
-Laurens
Aug 5 '05 #1
2 9431
On Fri, 05 Aug 2005 20:28:11 +0200, Laurens <sp**@block.com> wrote:

Does anyone know a good template engine for generating text dynamically.
(I.e. HTML, SQL statements, code generation, etc.) I'm looking for
something similar to Velocity or Freemarker(both Java libraries).


Since you post in comp.lang.c++ I assume you want a template engine
written in C/C++. C++ gurus usually don't address 'mundane' code/text
generation tasks. But some libraries are available:

http://teng.sourceforge.net/ (seems to be nice)
http://tazthecat.net/~isaac/libtpt/
http://cttl.sourceforge.net/ (Warning: heavy, Boost-like, and GPL)

Codegeneration in general:
http://www.codegeneration.net/

Best wishes,
Roland Pibinger
Aug 6 '05 #2
Roland Pibinger wrote:
Since you post in comp.lang.c++ I assume you want a template engine
written in C/C++.


Thanks for your reply Roland. Yes, I was looking for a C++ library. Teng
seems to be most suitable for my purposes. Will try it out.
Thanks
-Laurens
Aug 7 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
2338
by: Andrea A | last post by:
Hi, i'm developing a website that will have an huge amount of visitors a day --> it will be a contest with 100.000$ of prize. I'm concerning about using a template class (and which one do you...
6
2193
by: Don Sutter | last post by:
Hello, I'm looking for "Template" recomendations for PHP 4, like which one is popular or has the best/most features. I'm somewhat of a newbie with PHP and bacame interested in templates via...
8
2507
by: HchC | last post by:
PHP is already a HTML templating laguage, but I am looking for a HTML template engine for users who know nothing about HTML. This template engine should not be too complex, as this is for very...
1
1358
by: Robert J. Hansen | last post by:
I'm exploring the use of type traits (which, I hasten to say, I've hardly ever used before) as a way to help simplify some complex special-case logic in an existing codebase. I'm finding that I'm...
3
1750
by: mathieu | last post by:
Hello, I have the following xml file: <Elements> <Element> <A>1235</A> <B>Hello</B> </Element> ...
4
1289
by: piotr | last post by:
Hi, I'm looking for a template engine that can give me names of required variables in parse time. Calculation of a value for a specific variable name could be possibly done in specified...
5
2988
by: prakash.mirji | last post by:
I am using evaluation copy of RW 9.0 for porting one of C++ application on RHEL4 (x86 platform). We are getting some issues into RW template classes. Please need assistance on this issue. Here...
17
3194
by: allen.fowler | last post by:
Hello, Can anyone recommend a simple python template engine for generating HTML that relies only on the Pyhon Core modules? No need for caching, template compilation, etc. Speed is not a...
14
1550
by: Egbert Teeselink | last post by:
Hi all, The last few months I've worked on making a template engine because the ones out there didn't serve my needs. I guess everybody knows Smarty and has an opinion on it; I like many things...
0
7099
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6842
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5430
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4864
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3069
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.