Obtain Funcdown Source
- Download Instructions
- Extension files
- Copy, Paste and Save
Obtaining sources like this is the most logical and all-way-around friendly way. Why? Because, sources are already loaded in the background and totally cached for a decent amount of time in one dual-shot, thus saving bandwidth in general. :) That's why this entire page (including all the html and any other TEXT in between) is near 60kb's (compressed, cached size). The question is: R U lazy enough to give up? :)
Undoubtfuly, You will need a directory with particular name on Your hard drive, that should be accessible via preffered http server. PHP built-in server will do the job perfectly (if You don't have Apache or similar installed) ... anyway, for the sake of the following steps below, we will use
$docrootvariable as installation location, where
$docrootmay represent real
Create new sub-directory with name source under Your chosen
Note that it doesn't need to be `source`, it can be `fncd` or `fncd_depfiles`. If You decide to change basename into some other instead of default `source`, that action requires changing the first argument in Test/caller file as well (read the comment there). Nonetheless, variable
$funcDirwill point to `source` in this example.
Create one more sub-directory with name .conf.d - inside previously created
Extension Filestab in the top-middle portion of this box, and there You will see 4 tabs where each ones content is a raw source code (file) content. The below table tells which tab content (source code) goes into which file. That is how You are going to create and name all four of them, as it is proposed with bold text under
Target File. Note that
Test/callerdoesn't need to be
index.php, name it
funcdown-test.phpif You wish, or if You already have an index.php in chosen directory tree.
Tab Content Target File Test/caller
Once when You have all four files (
repeat the following for each
- Click/focus onto source code
CTRL + a(select all), then press
CTRL + c(copy selection)
- Open corresponding, previously created file (make sure it is - blank)
CTRL + v(paste source) into and save file.
Once when You are finished with all 4 Tabs, You can test what You have done via browser url.
If You have apache or ngnix configured and running,
than just load:
http://localhost/test_caller_file.phpfrom the browser url bar.
In case You have only php-cli installed, than something like this from Your terminal.
Assuming that You are using GNU/Linux or Mac (eg: bash shell)
you@your_machine:~$ php -S localhost:8080 -t /directory/where/test_caller_file_is
and than load:
If all goes well, this is what You should see on screen:
- Copy, Paste and Save
- Config File
- Ace Editor
- Sublime Text Editor