Page 1 of 1

Need help to identify this application framework

Posted: Mon Dec 05, 2005 5:15 pm
by davlun
Hello,

I was looking to see if someone here recoginizes the framework based on what i have describe below.

I have an application that appears to be written using some form of application framework that provides for editing, adding, deleted and viewing data based ondata in mysql and templates and xml files to descibe how to render the various pages.

It uses templates and xml files to build forms, displays, lists, add, edits etc and passes them all through the engine.

Some of the main pages in /lib/ are:
  • -- pb_events.php
    -- sqladmin.php
    -- forms.php
    -- html.php
    -- site.php
here is the text used to create a page based on the template and xml files that describe the data elements:

Code: Select all

<?php

require "config.php";

$_PAGE = "index";
$_GET["sub"] = "details";

$site = new CSite("admin/site.xml");
$site->Run();
?>
and some of the main classes in the app are:
  • --CDatabase
    --class CForm extends CLibrary{
    --class CSQLAdmin extends CLibrary {
and here is some code from one of the xml files:

Code: Select all

<buttons>		
		<set>
			<footer>true</footer>
			<header>true</header>
		</set>

		<return onclick="" button="return" >
			<location>index.php?sub=list&action=details&id={book}</location>
		</return>

		<save onclick="" button="saveall">
			<location>javascript:document.forms[0].submit();</location>
		</save>

	</buttons>

	<redirect>index.php?sub=list&action=details&id={book}</redirect>

	<fields>
		<id type="hidden" />
		<property type="hidden" default="$_GET[book]" action="eval" />

		<title type="textbox" size="30" required="true" validate="A:1:200">
			<title>Title</title>
		</title>
The whole things just says 'i am a great tool for building web sites' but i am not a regular php programmer and dont recognize the framework. I want to make some changes to app, but was looking for some documentation on how it is put together.

Thanks,

davlun

Posted: Mon Dec 05, 2005 5:53 pm
by neophyte
If it's not someone's personal work there should be a license or some such thing some where. Open on of the files and see if there is any accreditation the top.