CGI Framework
Release notes

Basics

Docs

Components

Templates

Tools

Demos


SourceForge.net Logo

Brasil
   

Release notes

Current release of CGI Framework is 0.2 alpha.

Release contents

After downloading and unpacking the release file, you will have the following structure of directories and files:

source
PageBuilder.pas
PageBuilder.dcr
PBTools.pas
PBTools.dcr
PBDb.pas
PBDbIbx.pas
PBDbIbx.dcr
CGIFramework.dpk
CGIFramework.res
staticgen
staticgen.dpr
dmmain.pas
dmmain.dfm
testtool
TestTool.dpr
TestTool.res
Main.xfm
Main.dfm
templates
RectWhiteOnShadow
rct-wg-gif.template
rct-wg-png.template
rct-ws-bleft.gif
rct-ws-bleft.png
rct-ws-bottom.gif
rct-ws-bottom.png
rct-ws-bright.gif
rct-ws-bright.png
rct-ws-left.gif
rct-ws-left.png
rct-ws-right.gif
rct-ws-right.png
rct-ws-tleft.gif
rct-ws-tleft.png
rct-ws-top.gif
rct-ws-top.png
rct-ws-tright.gif
rct-ws-tright.png
rct-ws.gif
rct-ws.png
RoundRectShadow
rrct-s-bleft.gif
rrct-s-bleft.png
rrct-s-bottom.gif
rrct-s-bottom.png
rrct-s-bright.gif
rrct-s-bright.png
rrct-s-gif.template
rrct-s-left.gif
rrct-s-left.png
rrct-s-png.html
rrct-s-png.template
rrct-s-right.gif
rrct-s-right.png
rrct-s-tleft.gif
rrct-s-tleft.png
rrct-s-top.gif
rrct-s-top.png
rrct-s-tright.gif
rrct-s-tright.png
RoundRectWhiteOnGray
rrct-wg-bleft.jpg
rrct-wg-bleft.png
rrct-wg-bottom.jpg
rrct-wg-bottom.png
rrct-wg-bright.jpg
rrct-wg-bright.png
rrct-wg-jpg.template
rrct-wg-left.jpg
rrct-wg-left.png
rrct-wg-png.template
rrct-wg-right.jpg
rrct-wg-right.png
rrct-wg-tleft.jpg
rrct-wg-tleft.png
rrct-wg-top.jpg
rrct-wg-top.png
rrct-wg-tright.jpg
rrct-wg-tright.png
RoundRectWhiteOnWhite
rrct-ww-bleft.jpg
rrct-ww-bleft.png
rrct-ww-bottom.jpg
rrct-ww-bottom.png
rrct-ww-bright.jpg
rrct-ww-bright.png
rrct-ww-jpg.template
rrct-ww-left.jpg
rrct-ww-left.png
rrct-ww-png.template
rrct-ww-right.jpg
rrct-ww-right.png
rrct-ww-tleft.jpg
rrct-ww-tleft.png
rrct-ww-top.jpg
rrct-ww-top.png
rrct-ww-tright.jpg
rrct-ww-tright.png

Included features

In that release we have:

Four visual components:
TPageBuilder, TTagInterpreter, TPBTagInterpreter and TDBIbxTagInterpreter.
TPBTagInterpreter understands the following tags:
pb:include, pb:includeindirect, pb:encapsule, pb:encapsuleindirect, pb:var, pb:clearVar, pb:pageTitle, pb:capsuleContent, pb:if, pb:then and pb:else
TDBTagInterpreter (and TDBIbxTagInterpreter) understands the following tags:
db:dataset, db:browse, db:list and db:fieldvalue

Missing features

The main missed feature is a web dispatcher. A dispatcher interprets the http request, call the appropriate action event handler, assembles the response and return it to the calling http server.

While a web dispatcher is not available we must use the one included on CLX library. It means we will have to use one non-free version of Delphi or Kylix.

I need to devise a good, clean and elegant way to have access to http request fields as variables in the TPBTagInterpreter. The main problem is request fields are web dispatcher data and web dispatcher is completely disconnected from TPageBuilder.

I also need good, clean and elegant way to have access to dataset properties like "Eof", "Bof", "RecordCount", "RecNo" and field properties like "FieldName" and "FieldType".

Bugs and know issues

 


Copyleft (2002) Ivan C. Cruz
Site contents may be reproduced in all or in part since you provide a clear statement citing that site as your source.

That site was built and tested with Mozilla. If some components looks misalligned or not properly rendered, it may be your browser fault. In that case, please, consider an upgrade.