Subscribe to Martyr2's Programming Underground        RSS Feed
* * * * -

NULL Is Legit When Used Correctly

Icon 2 Comments
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...
- - - - -

Loading Gravity Forms From A Database

Icon Leave Comment
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...
- - - - -

Generating JSON Web Tokens (JWT) in Java or PHP

Icon Leave Comment
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...
- - - - -

WordPress In The Enterprise - Establishing Services

Icon Leave Comment
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...
- - - - -

WordPress In The Enterprise - The Functions File

Icon Leave Comment
We covered the topic of linking your company's proprietary code library...
- - - - -

WordPress In The Enterprise - Building In A Class Library

Icon Leave Comment
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...
- - - - -

Rolling Dice In Java, C# And PHP

Icon 2 Comments
Some of the very first programs we are introduced to in programming is the idea of random numbers. This is often introduced using the idea of the die or dice. We have all seen them and have probably even thrown a set of dice at some point in our life. A die is pretty much a representation of a random number generator with a fixed range of values....
* * * - -

Stubbing Out Functions, Do You Do It?

Icon 4 Comments
If have ever taken a beginner programming class in school you were probably introduced to the idea of stubbing out functions. If not, let me quickly tell you what stubbing is. It is the process of identifying tasks in your design and setting up functions to handle those tasks. We define just the function signature (name, parameters and body)...
* * * * *

Create an Email Activation and Unsubscribe Script in PHP

Icon 1 Comments
If you weren't lucky enough to get a job with Google or Facebook, or even if you did, one of the first tasks you might be asked to do in your new career as a web developer is to create a subscription form. As part of creating this form will want to collect user information up front and then sending the user an email to have them activate their...
- - - - -

Solving A Null Value When Posting A Simple String To A .NET Web API

Icon Leave Comment
The Problem:...

  • (3 Pages)
  • +
  • 1
  • 2
  • 3