De putut se poate!
Trebuie sa gandesti intr-adevar dincolo de constraint-urile clasice.
Ca sa va arat ca se poate am sa pun aici cateva linkuri la aplicatia pe care am construit-o deja:
poza 1 - lista cu entitati definite de cel care utilizeaza aplicatia

poza 2+3 - modul de definire al campurilor din entitati (tipuri, reguli, constrangeri, relatii, etc)


restul pozelor in urmatorul pos (nu pot sa pun mai mult de 4)
Deasemenea, exista si o clasa myEntity care se instantiaza cu label-ul unei entitati si are urmatoarea descriere:
Cod PHP:
//class representation of the entity object
//Author: BUCA Daniel | danielbuca@mind-spinner.com
//Date started: 22.10.2006
//Last Revision date:
//Last Revision Author:
//Please provide here all changes made by revisions
/*
REVISION HISTORY:
1.
*/
/********************************************************************************************
ENTITY OBJECT CLASS
description and usage
*********************************************************************************************
PUBLIC VARIABLES:
1. $entityLabel | string
holds of the label definition for the entity
2. $fieldCount | integer
returns the number of the fields in this entity
3. $colFields | array
returns an array with the fields definitions of the entity in the following format
[1] => Array //number of the field
(
[id] => 22 //id of the field definition
[name] => Nume companie //name of the fild
[type] => text_small //type of the field
[required] => yes //states if the field is required or not (values yes|no)
[referenced_entity_id] => 8 //this is an optional field, it is the id of the entity referenced by this field
[referenced_entity_label] => SECT_ACTIV //this is an optional field, it is the Label of the entity referenced by this field
)
4. $recordsCount | integer
returns the number of the records for the selected entity
5. $colRecords | array
returns an array with all the records with the following format
[1] => Array //number of the record
(
[rec_id] => 26 // id of the record
[fields] => Array // second array that holds all the fields in the record
(
[1] => Array //position in the values array (the field is defined at the same position in $colFields array)
(
[field_id] => 22 //id of the field (same as in $colFields array)
[name] => Nume companie //name of the field (same as in $colFields array)
[value] => Mind Spinner //value of the field
)
...............................
//special case where the field is a reference to another entity
[5] => Array //position in the values array (the field is defined at the same position in $colFields array)
(
[field_id] => 25 //id of the field (same as in $colFields array)
[name] => Sector de activitate //name of the field (same as in $colFields array)
[value] => 15 //this value represents the record id of the referenced entity
)
6. $entityId | integer
the id of the
*********************************************************************************************
METHODS DESCRIPTION:
CONSTRUCTOR: myEntity($sEntityLabel, $dbObject)
parameters ->
$sEntityLabel: the label for the entity we want to instantiate
$dbObject - db object already instantiated (must be full compatible with ez_sql class)
returns ->
the object itself
description ->
The clas initializez the public variables and arrays
Other methods
1. getRecordByPoistion ($positionNr)
parameters ->
$positionNr: position of the record considering the record count
returns ->
an array with the record similar with one instance of $colRecods
description ->
retrieving an record
2. getRecordById ($recordId)
parameters ->
$recordId: id of the record to be retrieved
returns ->
an array with the record similar with one instance of $colRecods
description ->
retrieving a record
3. updateRecord ($recordId, $arRecord)
parameters ->
$recordId: id of the record to be retrieved
$arRecord: an array with the record the updated values of the record (similar with one instance of $colRecods)
returns ->
boolean: true-update done; false-update not done
description ->
updating an existing record
4. insertRecord ($arRecord)
parameters ->
$arRecord: an array with the record the updated values of the record (similar with one instance of $colRecods)
returns ->
boolean: true-update done; false-update not done
description ->
inserting a new record
5. deleteRecord ($recordId)
parameters ->
$recordId: id of the record to be retrieved
returns ->
boolean: true-update done; false-update not done
description ->
delete an existing record
6. getFieldValue ($recordId, $fieldId)
parameters ->
$recordId: id of the record to be retrieved
$fieldId: id of the field to be retrieved
returns ->
array with the following specs: ["type"], ["value"]
description ->
retrieving the value of one field
7. getReferenceList ()
parameters ->
none
returns ->
an array with the following structure:
[n]["id"]: id of the record
[n]["value"]: value to be displayed
description ->
function used to get the the listing for a combobox
*****/
So, e posibil si nu mi-a luat mult.
Intrebarea mea e urmatoarea (de fapt sunt 2):
1. mai exista asa ceva? si daca da ... cum ii zice, sa vad si eu 
2. exista oameni care ar da bani pe un asemenea tool? Estimati, pls
Regards,