psuedo code
ait so
get session info
if logged in (else redirect to /home)
// user interface
include tmpl/form
echo ul
for each ( activity i.e. blogs )
form method="post" destination="new?type=blog"
so the controller new.php handles post creation post requests
get session state and verify logged in, otherwise error
get the post data verifying post types, sanatizing and parsing custom markdown, load info into json, put in the cache, put into array of posts based on type/location like boards-->anime or username->blog which are then available to the board/anime or username/blog controller
what to do with data post cache can be configured in various ways, you can set it to pure ephemeral cache, or save the json on the static/folder, or even put the individual post data in the SQL, either fully qualified or just the whole json file, as a backup cache, and then the posts either get archived or deleted
archives are printed in plain jane html4 and/or saved to xhtml atom feeds, or relevant xml format, these can be served statically
in some cases, for example, a wiki, saving articles to .md files seems to be a great way to manage edit history, but in order to make a wiki work i need a more sophistcated system of user permissions... which i also need to have a custom user webdav, that would need to be core to the crud, since i want users to be able to save drafts, or their person blog posts to their own webdav, which is also accessible via the pubnix, but i guess i'll just focus on basic form--> post stuff now