Web Development

Category for articles related to web development

Using Multiple Submit Buttons With A Single Form

After a while of web development, developers usually come across a project where they need to create multiple submit buttons with a single form. This usually occurs right when they have a table that has several rows and each row has a couple buttons to edit or delete the row. These rows might have been added dynamically using JavaScript or they could have been simply created sever-side as the table ...

Creating Enumerations in PHP

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 ...

Loading Gravity Forms from a Database

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 ...

Generating JSON Web Tokens (JWT) in Java or PHP

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 ...

WordPress in the Enterprise – Establishing Services

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 ...

WordPress in the Enterprise – The Functions File

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 ...