Congratulations, you’ve made it to the final segment of this tutorial series. In the first part, we conceptualized our website. Then we designed it. After that, we wrote the XHTML and CSS for it. Now it’s time to turn it into a WordPress template using some PHP.
Object-Oriented Programming, or OOP, is a programming method that utilizes the creation and implementation of object classes. Object classes can be customized and instantiated as many times as needed. For example, let’s say we are programming a system for a bank (albeit a very simple one). Well, a bank is going to consist of customers. Each customer is going to have his or her own bank account. With OOP, we can create a bank account class that will give each customer a unique account. When you create a class, its constuctor generally takes parameters. For instance, a bank account constructor might take an integer for an account number, a string for a name, and a double for a balance. (more…)
Click here for part 2 (creating the app)
I’ve been doing some Java programming lately. My latest project was creating an application that adds, subtracts, multiples and divides fractions and reduces them to simplest form. It’s a very basic app, no GUI and simple string and integer input. The first part of this tutorial will involve creating a class for fraction objects while the second part will be building the actual application. Perfect for any beginner programmers and a good tutorial to learn some of the basic fundamentals of Java and object-oriented programming, so let’s begin! (more…)