Squirrels Hate Robots

Rage Driven Development

Latest Posts

RSS


I recently looped back around to working on my blog with the intention of finally adding environment support. Originally the site was all there was and I was working on the live copy, but now it is aware of the environment and I am able to do sweeping changes on a private server without messing up the live server. This project however is the first one I am using DigitalOcean's Spaces product - an S3 compatible (mostly) object storage - and so I needed to copy a snapshot of my existing bucket to a new bucket just for my development needs.
Continue Reading...
3 Min Read

At first this was a feature I was excited for. After using it, I've changed my mind about it. Constructor property promotion was added so that you could pass an argument to a class constructor, and it would get auto assigned to a property, without you having to do $this->That = $That in your constructors over and over.
Continue Reading...
4 Code Blocks | 2 Min Read

The main point of attributes is to add metadata to code that is easily parseable and can think for itself when you ask for it. Up to now most devs were probably doing this using the PHP docblock thing - those double star multi-line comments. We'd fill them with @tags and then parse that data with Reflection and probably some regular expressions to make any sense of the blob of text.
Continue Reading...
1 Image | 9 Code Blocks | 8 Min Read

For a long time now, and like pretty much every other PHP dev out there, at some point I invented my own Object wrapper around arrays to give them nice OOP interfaces. I am a low level person so implementing my own wrappers is far more entertaining to me than just using one of the 34859 that already exist. Mine ended up in a library called Nether\Object that provides a few utilities for things I found myself doing too often making arrays into objects and maybe even back again. The class in question though Nether\Object\Datastore is really just a fancy wrapper to handle arrays without having [...]
Continue Reading...
3 Code Blocks | 3 Min Read

This a test post using a new editor with a new storage format. It is using Editor.js for a WYSIWYG-ish editor, which instead of HTML, generates a JSON structure where each "paragraph" ends up being its own block with its own properties. It has been a lot of work to pivot but the primary thing is that it handles blogging about programming code a lot nicer than all the rest did.
Continue Reading...
4 Comments | 2 Images | 2 Code Blocks | 1 Min Read


Page 2 of 3

About


Blogging about web development. Sometimes there might even be useful information wedged in between complaints. You never know.

T_PAAMAYIM_NEKUDOTAYIM

Bloggers


Blog Owner
bob
Dallas, TX

Posts
15

Comments
4

Images
26

Code Blocks
28

Reading Time
~ 43m 11s