About a new PHP/JS framework



Hi, i'm new in this newsgroup,

I'm working on a web based managerial software in my company and, for speed-up my work, have created a framework


This framework uses the PHP and JAVASCRIPT technology.

the innovation in this work is the approach:

You don't need to write specific code in PHP or JS, but you need only to define a page structure applying the rules and conventions of the develop environment.

for example this code create a totally working AJAX-form, like MSAccess mask :

<SECTION GEOMETRY="500px,300px" >
<SOCKET ID="sock1" DSN="demo" TABLE="Customers" FIELDS="*" KEYFIELD="CustomerID" CANREAD="true"></SOCKET>
<AJFORM ID="form1" DSN="sock1" CANREAD="true" VERBOSE="false" ></AJFORM>
<LABEL GEOMETRY="16px,8px,468px,43px" CAPTION="DIMOSTRAZIONE DI FORM ASINCRONO" WRAP="true" NOWRAP="false" STYLE="text-align:center;font:20px arial,sans;background-color:lightgrey;" ></LABEL>
<LABEL GEOMETRY="16px,56px,465px,37px" CAPTION="Per la dimostrazione ho importato una tabella con dei dati fittizi e la ho collegata ad un form in questa finestra." STYLE="font:12px arial,sans;" ></LABEL>
<AJFTEXT GEOMETRY="128px,106px,170px,20px" ID="testo1" FORM="form1" FIELD="CompanyName" STYLE="border:1px solid grey;" ></AJFTEXT>
<LABEL GEOMETRY="16px,106px,106px,20px" CAPTION="Ragione sociale :" STYLE="font:12px arial,sans;" NOWRAP="true" ></LABEL>
<LABEL GEOMETRY="16px,128px,106px,20px" CAPTION="Indirizzo :" STYLE="font:12px arial,sans;" ></LABEL>
<LABEL GEOMETRY="16px,152px,94px,20px" CAPTION="Citta' :" STYLE="font:12px arial,sans;" ></LABEL>
<LABEL GEOMETRY="16px,176px,106px,20px" CAPTION="Paese :" STYLE="font:12px arial,sans;" ></LABEL>
<AJFTEXT GEOMETRY="128px,128px,170px,20px" STYLE="border:1px solid grey;" ID="testo2" FORM="form1" FIELD="Address" ></AJFTEXT>
<AJFTEXT GEOMETRY="128px,152px,170px,20px" STYLE="border:1px solid grey;" ID="testo3" FORM="form1" FIELD="City" ></AJFTEXT>
<AJFTEXT GEOMETRY="128px,176px,170px,20px" STYLE="border:1px solid grey;" ID="testo4" FORM="form1" FIELD="Country" ></AJFTEXT>
<BUTTON GEOMETRY="112px,272px,70px,20px" CAPTION="Avanti" ONCLICK="form1.moveNext();" ></BUTTON>
<BUTTON GEOMETRY="26px,271px,70px,20px" CAPTION="Indietro" ONCLICK="form1.movePrev();" ></BUTTON>
</SECTION>

You can see a demonstration at this website :

http://soundcafe.dyndns.org/develop/engine.php?CP=demo2

If you think that code is a little bit complicated, in past 2 month i created the Integrated Develop Environment (IDE) which is accessible at this link by clicking the 'Editor' button.

http://soundcafe.dyndns.org/develop/engine.php?CP=default

NOTE : for now the editor only works with Firefox.

This is still in hard development, but you can try to modify the 'forms>modificabili>editable.xml' pages by picking one in the tree menu at left side.

After editor starts you can drag the pre-existent webgets (an web version of controls in MSVBasic) or drag and drop one new from left-top panel.

At last you can see a working version by clicking 'Salva' and the 'Anteprima' from the top bar.

Bye.

P.S. I'm italian and my english can will be incomprensible. Excuse me.
.



Relevant Pages

  • an opinion about this work - PHP/JS framework
    ... This framework uses the PHP and JAVASCRIPT technology. ... You don't need to write specific code in PHP or JS, but you need only to define a page structure applying the rules and conventions of the develop environment. ... If you think that code is a little bit complicated, in past 2 month i created the Integrated Develop Environment which is accessible at this link by clicking the 'Editor' button. ... After editor start you can drag the pre-existent webgets or drag and drop one new from left-top frame. ...
    (comp.lang.php)
  • Re: Traps and pitfalls when writing web apps?
    ... that most people writing PHP are using it just to pep up ... you probably need an application framework with a good metaphor behind it. ... It'd be even better if they have examples in PHP, ... It deals with database transactions, handles the back button, has a dynamic menu system, role based access control system, audit logging without database triggers, a data dictionary, and a workflow engine. ...
    (comp.lang.php)
  • Re: Traps and pitfalls when writing web apps?
    ... that most people writing PHP are using it just to pep up ... you probably need an application framework with a good metaphor behind it. ... It'd be even better if they have examples in PHP, ... It deals with database transactions, handles the back button, ...
    (comp.lang.php)
  • Re: [PHP] Best open source project/framework to support a php training course?
    ... argue over whether it is a framework), Solar, CakePHP, Symfony, Zend's, ... Drupal contributor because of how good a system it is.) ... It's not for the first time PHP ... PHP 5) before introducing advanced topics like magic object callback ...
    (php.general)
  • Re: Open Project
    ... A light generic framework for php developers, built API style with a public interface and a private interface. ... PDO/Doctrine + contrib to doctrine project as well OR custom ORM built on top of PDO. ... Object to XML and XML to Object support, aim to add __toXMLfor all classes. ...
    (php.general)