473,549 Members | 2,726 Online
Bytes | Software Development & Data Engineering Community
+ 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 9436
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
2343
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 suggest) or developing an optimized set of pages without using class nor PEAR package. What do you think about? What will be your action if you'll...
6
2200
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 Wrox's Professional PHP. They were using FastTemplate. The FastTemplate website gave me the impression it was designed around php3 and maybe hasn't...
8
2516
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 basic users only. Some HTML online editor is good, but too complex, it's useful for web builder writting HTML page.
1
1367
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 running into some of the sharp corners of the C++ template facility. I'm hoping someone can answer a couple of questions about the following code...
3
1759
by: mathieu | last post by:
Hello, I have the following xml file: <Elements> <Element> <A>1235</A> <B>Hello</B> </Element> ...
4
1291
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 callback function. For example: <html>
5
2997
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 is the problem: Application is using below mentioned template class which is declared at static in Engine.h
17
3208
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 major issue. I just need looping and conditionals. Template inheritance would be a
14
1556
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 about it, but dislike many others. The thing I made is called 'Farty' (sorry, I suck at names) and is in many ways a simpler version of Smarty. It...
0
7524
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7720
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
6048
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5372
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5089
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3501
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3483
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1944
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 we have to send another system
1
1061
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.