About Constitution Web Application

What is This Application

Constitution is a web application that makes available online the Constitution of the Republic of Albania. Some of the features of this application are:

  1. The content of the document (the constitution) is fully separated from the representation.
  2. The content of the documents is well structured, with sections and subsections stored in separate folders and subfolders.
  3. The application generates the representation (HTML pages) dynamicly, on the fly, by reading the content from the files and folders and formating it. This means that if you modify the content, the modifications will apear online immediately.
  4. Since this dynamic generation of HTML pages has a price on performance, the application supports page caching. So, if a requested page does not exist in the cache, the application generates it and stores it in cache; next time it will not regenerate it but will just retrive it from the cache.
  5. The application supports multiple languages. So, if you are reading a certain part of the document in a certain language, and you switch the language, the application will display the same part of the document in the other language.
  6. There is no limit in the number of languages that the application supports. With very litle efforts you can add another language, if you have the content in this language.
  7. The application has search capability. If you search for a given word it returns all the parts of the document (articles) where this word is found.
  8. The application offers the document for download in other useful formats, such as: plain text, latex, postscript, pdf, long html (all the document in one page), and DocBook (XML). It has tools to generate these formats automatically from the stored content.

The above features were about viewing the content of the document by the public. There is also another useful feature of the application:

The application is built using phpWebApp framework. Its code is well organized, structured and clean, and it can be easily modified for other types of documents (other then a constitution).

Download

Installation

You must download and install the phpWebApp framework, since it is built using it. Then you just untar kushtetuta.tar.gz in the DocumentRoot, and maybe you will also need to modify any constant in config/const.Paths.php. Read also the README file.

Licence

Copyright (C) 2003 Dashamir Hoxha

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

    Dashamir Hoxha
    INIMA
    Rr."Lek Dukagjini", Nr.3
    Tirana/Albania