Oneness - True Faith
wizanda
Collect Functions from Filenames Posted on: 2008/3/19 11:11
Helper
Joined:
2004/3/26 7:04
From Nottingham, UK
Posts: 2144
In both JavaScript and PHP we have lots of Functions for making things work, wouldn’t it be nice to add these when and how we needed for the task involved?
So my question is does anyone know the code for a PHP Function Caller, that works on collecting the name of the Function from the filename and the data of that Function contained in the file.
Then the same in JavaScript to collect Functions from filenames also….

This would mean you could have folders for those Function files and through additional files, could add any virtual task with allot less hacking for most web-development globally.

N B with U
Transfer Print PDF Bookmark Top
Bandit-X
Re: Collect Functions from Filenames Posted on: 2008/3/20 17:04
Just popping in
Joined:
2006/10/26 14:39
Posts: 20
isnt that what documentation is for? or things that generate it for you phpxref,doxygen... or are we thinking of different things.

Open in new window
Transfer Print PDF Bookmark Top
wizanda
Re: Collect Functions from Filenames Posted on: 2008/3/20 18:55
Helper
Joined:
2004/3/26 7:04
From Nottingham, UK
Posts: 2144
Like Smarty does.....

N B with U
Transfer Print PDF Bookmark Top
Bandit-X
Re: Collect Functions from Filenames Posted on: 2008/3/21 2:45
Just popping in
Joined:
2006/10/26 14:39
Posts: 20

Open in new window
Transfer Print PDF Bookmark Top
(1) 2 » Top Previous Topic Next Topic
Register To Post