Object HTML Home Page

Create static HTML files, embed them in C/C++ programs

Object HTML it is a template language for creating static web pages. The output might be also very easily embedded into C/C++ programs. The language allows for creating a one layout for a whole site. It users Object Programming paradigm "Inheritance", for creating the layout and sharing it between all HTML files. This allows to separate a site structure and its contents. The contents might be defined in Object HTML but also imported from standard HTML files or MySQL and Postgresql databases. The purpose is similar to web scripting languages like PHP but the output is static and can be easily embedded into C/C++ programs.

A first version of Object HTML I created in mid `90. In that time web scripting languages where not widely supported on commercial web hosting servers. Thanks to the language I was able to create a complex, data base driven, web site which consisted only from HTML files and few CGI programs written in C/C++.

Nowadays a lot changed. But I realized that Object HTML might be very helpful for creating documentation in static web pages with complex layout. The other application are web pages of embedded systems. In a embedded system there no resources for handing scripting languages. Object HTML allows to create a web page and then divide it into smaller chunks. Then every chunk can be automatically converted into C/C++ "#define or char *" string. Thanks to this, a C program can implement only a necessary contents, the rest can taken from defined strings which have complex HTML structure inside.

Having an idea and a working version on Object HTML I decided that it should be topic of my masters thesis. For the need of masters thesis a language implementation was refined. The master thesis contains complete language documentation. Currently it is only in Polish language. If there will be a such need I'll translate it into English. The master thesis was written few years ago and now I would like to share it with the Open Source Community. I hope that my tool will help somebody to do their jobs done faster.

Object HTML implementation is done in C++, Flex and Bison. It was compiled and tested under Linux.

Project page at SourceForge is here.

Here you can find OHTML documentation in Polish. There are two versions. They differ only in layout. I did this just to show how easy is to change presentation part of a web site using the tool. The first one has big navigation bar and second has small "Go To" button.

Grzegorz Daniluk
daniluk@yahoo.com

1.7.2004 Warsaw

SourceForge.net Logo