Read via the RSS feed
Read Online:
The name 'picoblog' is a parody of the concept of microblogging. See The post about picoblog for more information about picoblogging. Source code here
Not everything must have a use case. We are allowed to have fun things.
Using a makefile to write new posts. I'm almost surprised my checks to kill the script if the SAPI != "cli" even works with this many layers of scripts calling scripts calling scripts.
Makefile:
new:
php -r 'include "sqlite.php"; new_post();'
I wanted to keep it as simple as possible bit I realized I only had two choices: write clean code that does not scale or buckle and use a real database. Descent. Delusion even. I am not having fun with PDO.
Currently, I am typing the entire html that will get me to the asset I want. I may or may not modify the post creation script to prompt for media type before inserting it into a boilerplate line of html.
This is a smaller version of microblogging.