THE WEST IS EMPTY

Obtain Funcdown Source

Download Instructions
Extension files
Highlighters
Copy, Paste and Save by Hand

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 $docroot variable as installation location, where $docroot may represent real $_SERVER['DOCUMENT_ROOT'].


  1. Create new sub-directory with name source under Your chosen $docroot location.
    eg: mkdir $docroot/source

    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 $funcDir will point to `source` in this example.

  2. Create one more sub-directory with name .conf.d - inside previously created $funcDir sub-directory.
    eg: mkdir $docroot/$funcDir/.conf.d

  3. Click on Extension Files tab 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/caller doesn't need to be index.php, name it funcdown-test.php if You wish, or if You already have an index.php in chosen directory tree.

    Tab Content Target File
    Test/caller $docroot/index.php
    ObjectInstance $docroot/$funcDir/ext.php
    Library $docroot/$funcDir/lib.php
    Config File $docroot/$funcDir/.conf.d/.funcdown.conf.ini.php
  4. Once when You have all four files (UTF-8) ready,
    repeat the following for each Tab Content:

    • Click/focus onto source code
    • Press CTRL + a (select all), then press CTRL + c (copy selection)
    • Open corresponding, previously created file (make sure it is - blank)
    • Press CTRL + v (paste source) into and save file.
  5. 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.php from 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: http://localhost:8080/test_caller_file.php

Outcome


If all goes well, this is what You should see on screen:

  • buster
  • m$


Test/caller
ObjectInstance
Library
Config File
index.php
ext.php
lib.php
.funcdown.conf.ini.php

Ace Editor
Sublime Text Editor
mode-funcdown.js
funcdown.sublime-syntax
THE EAST IS EMPTY
THE SOUTH IS EMPTY
?