Sri Story Notes
Trying first-person narrative today. Also, I’m trying to create something like a “hook” or “core” in each story, but I don’t know what that even looks like. So, the experiment continues. By writing in unfiltered first-person, maybe I’ll lay a egg that is actually golden. Or pewter. Something that doesn’t smell bad would be good!
Mrah! Saturday! A chance to recover from yesterday’s unproductive day! Looking back at it, the main achievement was making the rungs of a Software Ladder that are one of the paths toward being competitive in whatever marketplace I belong in.
This is not exactly the most motivating thought to nudge me into productivity. It’s too abstract and because of that, it’s also deferred uncertain reward, which is the worst motivator for this cat.
If I can deliver a webapp bundle, then I have the means to display my own web page using my own authored HTML, CSS, and Javascript. And that’s essential. And I have OPINIONS about how that should work!
That’s enough of a focus…let me just get it so I can stuff template file so a URL will select it, then deliver a bundled webapp chunk. It’s actually a bit more complicated to implement this, but let me keep my eye on the prize, one chunk at a time.
Getting Started
So let me look at the Software Ladder and have it actually reach something! And we’ll start just with the first rung which is
Deno Server delivers webapp bundle!
I already have written a generalized URL decoder DecodeAddress(), and need to write DecodeIdentifier() to figure out where the files should be served from.
So the next step is to figure out what Deno provides in terms of receiving http connections.
The easiest version would be serving a file from some kind of filesystem location. The complicated versions can be generalized to other storage endpoints later. If I can serve a file, then I can try to reach the…
Web page with renderable elements!
Pushing Forward!
Focusing on the first rung for now!
- added
/*wildcard route to decode address - show decoded address info
- converted decoded address into filesystem endpoint
The last step requires some extra thinking because there are multiple pieces to the address:
- the identifier bucket mapping to a storage endpoint
- what kind of storage endpoint?
- how to map the app and appview directories?
- how to generate the files in the app and appview directories?
- how to handle templating and data?