|
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
|
- [Dynapi-Help] PHP Doug Melvin
- RE: [Dynapi-Help] PHP Matthew Shirey
- Re: [Dynapi-Help] PHP Richard :o
- Re: [Dynapi-Help] PHP rlb
- RE: [Dynapi-Help] PHP Nuno Ferreira
- RE: [Dynapi-Help] PHP Nuno Ferreira
