My development framework
An overview of my web development framework
The environment
Blackbear is my desktop workstation
Grizzly is a server running Apache, accessable by the internet through the URL: HTTPS://jpantone.duckdns.org
Sunbear is a server (raspberry pi with SSDs) acting as a NAS
Normally I mount the project (on sunbear:NAS/development/web/...) at /var/www/html/webdev on my local workstation.
From there I edit/test/etc.
The codelib directory
There are elements/components that I use over and over; I have put these in my codelib directory (identical
contents on localhost and jpantone.duckdns.org) this allows me to access them easily - often through a PHP include or an
html <script> or <link> statement
Currently the contents of codelib are:
- codelib itself
- goToNow : php "branch" works like an anchor but no need to click.
- includeParse : a function which will perform substitutions of KEY->VALUE pairs, and return
the text.
- cookies.php : C.R.U.D. functions for managing cookies
- deleteDir.php : delete a directory and all of it's contents
- favicon.ico : a nice default favicon
- genSelect.php : generates an html select input
- getUserIP.php : eponymous
- jmpfunctions.xsl : useful xslt functions (dates, substr, etc)
- publishCodelib.sh : publishes (syncs) codelib across grizzly and blackbear
- toggleHideDiv.js : hide/show a <div> - like a dropdown
- clipboard/
- copy an input or <div> to the clipboard
- imagePicker/
- generates a select-like widget for selecting images (with thumbnails)
- newNavbar/
- generate a nice text or symbol based navbar
- standardModals/
- Query, warning, etc. modal dialogs
- tableForm/
- generates a form with N columns - also nice helper functions for checklists, radio buttons, etc.
I will discuss each of these, in detail, in a later post.
Tools
My "rig"
- OS:
- Ubuntu 24.04.4 LTS
- Workstation:
- HP Spectre x360 Convertible 13-ac0XX
Intel® Core™ i7-7500U × 4
- Memory:
- 16.0 GiB
- Disk:
- 512.1 GB
I typically use:
- chrome
- bluefish editor
- gnome text editor
- xmlcopyeditor
- "homemade" apache/php error log viewer
- "homemade" version saving app
- and occasionally:

JMP - 2026-03-06 13:26:31
email