You may have heard of minimalism before in all sorts of disciplines and philosophies of life. Some of you might have heard of it as living without many possessions or perhaps in computing to refer to using as least amount of hardware and software resources as possible. I would like to take a small spin on perspective of applying this philosophy of life and apply it to writing code. While ...
I was doing some research on a topic about compulsory parameters to constuctors for a project I was doing when I came across a topic about the use of NULL as a return value. Don't ask me how I stumble into these things. As you can imagine, as with everything in software engineering circles, there was a raging debate about whether or not NULL (or its equivalents like None in ...
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 ...
To continue our theme of making WordPress your next enterprise deployment (Check out our two previous articles... WordPress In The Enterprise – Building In A Class Library and WordPress In The Enterprise – The Functions File) we will talk about how we can go about organizing your code so that it can have "bolt on services". WordPress has a ton of extensibility capabilities which make it ideal for plugins and ...
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 ...