469,964 Members | 1,540 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,964 developers. It's quick & easy.

an opinion about this work - 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/...php?CP=default

This is still in harder 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 start you can drag the pre-existent webgets (an web version
of controls in MSVBasic) or drag and drop one new from left-top frame.

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.
Mar 26 '07 #1
5 1490
A note : the editor works only in Firefox.
Mar 26 '07 #2
On Mar 26, 6:14 am, gabriele <gabri...@pincopallo.itwrote:
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

How is the XML generated? Do you have a drag-and-drop editor
of somekind? In other words, can you click form-element icons
and then drag them down onto a blank screen, press then press
a buttom to generate the XML?

Mar 26 '07 #3
pittendrigh ha scritto:
How is the XML generated? Do you have a drag-and-drop editor
of somekind? In other words, can you click form-element icons
and then drag them down onto a blank screen, press then press
a buttom to generate the XML?
At the bottom of my previous post you can read some simple steps to
access the editor.

Note : the framework is created to be fully compatible with Firefox and
Internet Explorer, but the editor, for programming convenience (the
built-in DOM inspector of FF is a great tool for programming javascript
object model) is compatible only with FireFox.

You can also go to my blog to understand a little more, but only italian
version is available.

Go to http://soundcafe.dyndns.org/Gabriele/blog/

This editor is inspired from VisualBasic.

The framework is born to create web applications like local applications
with simplicity, it include many functions for now only partially
implemented :

- Internationalization
- themed webgets
- easy effects implementation
-globally managed security :
Users can own homes with personalized settings and
data(language,theme...).
Conditional access to the forms and reports is centrally managed with
only one xml file.
- Internal structure is organized to join third parties contributions
easily. New libraries can be made and plugged in following the rules of
the framework.
- Multiple type of data sources with the 'base-libraries' : All data
sources supported by PHP plus tables based on cvs and xml data structures.

And more...

the editor is accessible from this site :

By clicking one file in the tree at the left side the editor will be opened.

You can modify only files called 'editable'.

Drag and drop in the dotted area some labeled icons in the top left frame.

Click one webget dropped over the grid and look the property area in the
bottom left of the page. The content changes according to the selected
webget in the dotted area.

Try to place some webgets and go to the top bar.

Click 'Salva' button and then 'Anteprima' button.

Bye
Mar 26 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Avery Warren | last post: by
5 posts views Thread by Ali Eghtebas | last post: by
6 posts views Thread by Tippy G | last post: by
9 posts views Thread by Tony Johansson | last post: by
2 posts views Thread by David Waz... | last post: by
28 posts views Thread by SStory | last post: by
7 posts views Thread by Stan Canepa | last post: by
4 posts views Thread by P Pulkkinen | last post: by
1 post views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.