Hi Richard,
 
Well if you want to share info and experiences, just contact me.
I'm working daily on PHP/DynAPI2, something that I shamelessly
call Dynamic DHTML :)))
 
I used it on two projects, dynamic building of dynapi skin-treenode,so
someone can change every node, by acessing a Back Office aplication.
 
I'm also using it to personalize a portal like page. I mean, using a hidden
frame to load up PHP files that build javascript that manipulates dynlayers
on the main page. For instance, you can have each content box in separate
layer, and lets suppose that the user changes the position of two of those
layer boxes. First the Javascript will store the new position into an array, refresh
the layer's state and then pass that array into a php file that stores the new
layout into the database.
 
That means that the user doesn't have to make a single reload of the main
page.
 
Now imagine using the setHTML() method like this to change the content of layer
 
(call PHP on hidden frame, that builds a javascript that does a setHTML() on the
layer, without reloading...)
 
and then you probably will see the possibilities that open....
 
best,
 
NunoF
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Richard :o
Sent: s�bado, 16 de Dezembro de 2000 2:06
To: [EMAIL PROTECTED]
Subject: Re: [Dynapi-Help] PHP

Hi,
What it is has been explained, but why use it?
I must say I'm impressed with the possibilities that combining PHP with DynAPI2 provide,
although any server side script will do about the same, I was attracted to PHP as it is also
a free open-source product. It has become incredibly popular in the five or so years it exists, and
uses similar syntax as javascript.(although just different enough to be a little confusing)
 
If you take the examples treenode I am setting up ( http://www.resass.f2s.com/dynapi/php/index.php ) it
has a PHP script running on the server which checks the contents of the specified directories, and
then prints the code needed to add the nodes to the tree, a bit like using document.write('node.addnode blah blah').
So if I want to add another example to the tree, I just drop it's html file in the appropriate directory on the server, and
the next time someone visits the page the file is automatically added to the treeview.
If you look at the examples treeview source it looks like someone spent a week typing all the hyperlinks, actually the
original code is about 40 lines, and PHP adds all the values on the fly.
 
As I progress on the combination PHP/DynAP2 I will try to document what I encounter, and I would appreciate any articles
others which to contribute.
 
Cheers,
Richard :o
----- Original Message -----
Sent: Sunday, December 17, 2000 12:16 AM
Subject: [Dynapi-Help] PHP

What exactly is PHP?
What is the benifits of using it?
What are the draw-backs?
 
I would appreciate more info on this..
I have come acros an increaing number of sites that
use this and have become quite curious..
 
Anyone who played Tradewars Back in the day of
BBS's might want to check this out:

Reply via email to