When you construct a database, you often have to make decisions based on incomplete information. Oftentimes you’re given a small subset of data and you have to decide what kind of datatype goes where, how entities naturally link to each other and when to denormalize.
There’s one debate when it comes to building out tables for databases and that’s what do you use as the key.
History of Emojis Many people know that emojis originated in Japan with Docomo. But what a lot of people don’t realize is that many of the emojis take on a much more significant meaning inside Japan. So, I thought it would be a good chance to post something lighter and showcase the unauthorized history of […]
Mandatory LCD Color Lesson One of the first thing you learn about how pixels on LCD screens work is that almost every color you are looking at is essentially a lie, a visual trick. When you think you see a purple colored button on a light orange background, you’re actually just seeing different concentrations of thousands of […]
PHP: Get serious? PHP is quirky. It’s that odd cousin that no one really admits to being related to (Sorry cousin Rupert). It’s also very simple. It’s interpreted, not compiled, it’s got non-serious function names like implode and as a result, some think it’s not serious. People don’t REALLY think PHP isn’t a serious language, after all it runs a LOT of […]
Coming from a C# background, moving from an elegant strongly-typed powerful language like C# to a mish-mash feels-like-its-cobbled-together language like PHP was both frustrating and liberating. And the hardest part wasn’t even the syntax. It was tools.
If you’re using custom fields on a custom post type in WordPress. How do you show ALL instances of that custom field for multiple items? How about showing the custom field for ALL the items? There are two ways to do this.