~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to kexi/webforms/TEMPLATES

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-21 15:36:35 UTC
  • mfrom: (1.4.1 upstream) (60.2.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100921153635-6tejqkiro2u21ydi
Tags: 1:2.2.2-0ubuntu3
Add kubuntu_03_fix-crash-on-closing-sqlite-connection-2.2.2.diff and
kubuntu_04_support-large-memo-values-for-msaccess-2.2.2.diff as
recommended by upstream http://kexi-
project.org/wiki/wikiview/index.php@Kexi2.2_Patches.html#sqlite_stab
ility

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Why there are much HTML tags in my code?
 
2
The answer is simple: google-ctemplate.
 
3
Google-ctemplate is not designed to have a full-featured templating language
 
4
it only has simple constructs and therefore we must keep stuff inside our code.
 
5
However, when I first looked for a C++ template engine I only found google-ctemplate.
 
6
If you want to suggest a better alternative let me know:
 
7
 
 
8
lvillani AT binaryhelix DOT net
 
9
 
 
10
 
 
11
jstaniek (2008-06-09): 
 
12
We're limited to C++, and there apparently are no many templates: http://en.wikipedia.org/wiki/Template_engine_(web)
 
13
There's http://reki.ru/products/ctpp/ but I am not sure it's worth switching.
 
14
 
 
15
lvillani (2008-11-19):
 
16
Ok, that is nasty, just discovered that the official ctemplate packages put headers in /usr/include/google but
 
17
distributors (Fedora, at least) decided to put them in /usr/include/ctemplate.
 
18
A brutal work-around would be detecting if we have headers installed in /usr/include/google or in 
 
19
/usr/include/ctemplate and include them in our headers using a prefix'ed variable.