If you are experienced in any of the major programming languages (.NET, Java, Python etc.) you are probably familiar with the idea of "Enums" or "Enumerations". These are used to help increase readability by assigning readable names to a collection of static values. It is much easier to read "Color.Red" than seeing "#FF0000" or "1". To expand on this idea imagine writing an if statement where you would compare a ...
One of the common topics you always see in programming articles is the one about proper use of exception handling and the try/catch mechanism (if supported by your language of choice). As you absorb the wisdom of the sacred text, looking for that nugget of information about how to do it properly, you almost always come across the idea of abstraction. The incantation often reads something like "Throw exceptions at ...
If you are a developer that has been working with the Gravity Form plugin, you undoubtedly have run across the need to load a form based on a row from the database. Finding documentation on how exactly to go about doing this is very sparse. Unless you have reasoned it out well, you are probably pulling your hair right about now and are at a standstill. In this blog post ...
JSON Web Tokens (JWTs) are a mechanism for authentication that is simple to setup and easy to use. However, most of the time when you encounter this topic in a project, you get the advice to just use a JWT package. I am not quite sure why given that creating a token is relatively straight forward if you know how they are built. You can also implement such logic in ...
We covered the topic of linking your company's proprietary code library to WordPress in an earlier article, but those classes are generally for high level services, integrations and multi-project utility classes only. Examples of classes you might find there would be a class for making Application Programming Interface (API) calls to a customer relational management (CRM) system, a system logger or event classes for validation of data like emails and ...
When you think of WordPress you might think of a lone blogger blogging about what they ate for lunch. But that is just not true anymore. With nearly 31% of the web under its control, WordPress has gained a lot of popularity due to its easy setup and extensibility. It has become a powerful Content Management System (CMS) that even an enterprise can build epic sites off of. But if ...