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

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

8 Tips to a Better API Design

Icon Leave Comment
We have all seen the numerous articles and tutorials related to great REST API design on the web...
- - - - -

Integrate Your Favorite YouTube Channels with JavaScript

Icon Leave Comment
Like me you probably have several YouTube channels that you like to follow. Maybe you enjoy that crazy cat video channel or the channel which shows stupid people doing stupid stuff. Either way you want to bring those favorite channels to the world in all their glory on your site. One thing you want to do however is combine those channels into one...
* * * * *

Passing Data Between Forms - Using Delegates And Events

Icon 2 Comments
Back in an article I wrote in 2010 titled "Passing Data Between Forms in C# or VB.NET...
* * * * *

Easy Way To Post Multiple JavaScript Values To PHP Using JQuery AJAX

Icon Leave Comment
For the sake of argument, let's assume you have to pass a plethora of Javascript values to PHP through a POST submission. Maybe it is an array of numbers or simple point objects. You want to do this quickly and don't want to be bothered with using a hidden form or having to list out a ton of fields in some long data string that...
- - - - -

A Game of Memory in VB.NET

Icon 1 Comments
One of the first projects that someone new to programming often wants to do is a game. Often times they want to do something they have seen on their consoles or mega computer games without realizing how much work actually goes into designing and implementing a game of that scope. After reading a book about programming they realize how tough those...
* * * * *

A Beginner Tic-Tac-Toe Class for Java

Icon 1 Comments
Around this time each year we mentors on Dream.In.Code see a bunch of students and beginners, attempting to do there final programming projects, come on the boards asking for help with coding problems. Some even come on asking for ideas to help them out and a large majority want help with simple games they can do like connect four, "the snake...

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