Download Latest Version webgen-0.0.9.tar.gz (98.2 kB)
Email in envelope

Get an email when there's a new version of WebGen

Home / readme only / readme-0.0.2
Name Modified Size InfoDownloads / Week
Parent folder
webgen-readme-0.0.2 2004-07-29 2.0 kB
Totals: 1 Item   2.0 kB 0
--== WebGen ==--
Admin: Andrew Ettinger (view_source@users.sourceforge.net)
Website: http://webgen.sourceforge.net/
Download: https://sourceforge.net/project/showfiles.php?group_id=112506

INSTALLING:
1). Copy /webgen/www/modules to your www installation location.
2). Import /webgen/data/ into a temporary database.
3). Edit /your-www/modules/conf.php.
4). Open /your-www/modules/webgen.php in a web browser.

DIRECTORY OUTLINE:
/README
This document.

/www
This mimics a www installation. (Actually, you would copy everything in this directory into your apache dir; e.g., mine's actually /usr/local/www/data; be sure not to overwrite anything!).

/www/modules
These are the objects that make up webgen:
	/db directory has the database-interactive classes, 
	/core section has the base objects (GenObject object, etc), 
	/net are network objects (including HTTP handlers like GenPage),
	/dep are deprecated/older classes kept for the sake of review, and
	/usr are the user's custom class directory; also,where GenScript will generate PHP scripts from your database tables.

/www/scripts
Javascript and VBScript (ug) archive. script_man.php is the manager of these; use it to simplify messy javascript changes.

/www/styles
Stylesheets

/www/includes
Server-side includes (header/footer data).

/www/templates
The templates for use with webGen. Currently only has the default.

/patches
Place to store patch files. (Diff/patch is far easier than trying FTP large amounts of files.)

/data
Place to store MySQL data dumps to show general architecture, store test data.

HOW IT WORKS:
See the example class in /www/webgen.php. Each property of the Person class that starts with gen_ should be a database field (they will be automatically filled by GenFactory). This file is actually generated by /db/GenScript.php, including it's constructor!

Check out the template in /www/templates to see how it works, then run /www/index.php! (Don't forget to import from /data)
Source: webgen-readme-0.0.2, updated 2004-07-29