Browsing Tag

OOP

Create WordPress Plugins with OOP Techniques

Create WordPress Plugins with OOP Techniques

Object-oriented code, among other things, can help organize and add reusability to your code. In this tutorial, I will teach you the basics of writing a WordPress plugin using object oriented techniques. We’ll be using Dribbble’s API as an example for this tutorial. Ready?

How to Work with PHP and FTP

How to Work with PHP and FTP

In this tutorial, our goal is to create an FTP class with PHP that is well written, useful, and expandable.

The Top 5 Mistakes of Massive CSS

The Top 5 Mistakes of Massive CSS

Just because you didn’t get to go to that awesome conference doesn’t mean that you can’t still watch the lectures! Each weekend, we’ll feature a recommended web development lecture on Nettuts+.

This presentation, by Stoyan Stefanov and Nicole Sullivan, primarily details the huge performance benefits to using Object-Oriented CSS, as well as a crop of other common CSS hurdles.

Ruby for Newbies: Working with Classes

Ruby for Newbies: Working with Classes

Ruby is a one of the most popular languages used on the web. We’ve recently started a new screencast series here on Nettuts+ that will introduce you to Ruby, as well as the great frameworks and tools that go along with Ruby development. In this chapter, we’ll take a look at creating our own Ruby classes.


This entry is part 3 of 13 in the Ruby for Newbies Session
Understanding and Applying Polymorphism in PHP

Understanding and Applying Polymorphism in PHP

In object oriented programming, polymorphism is a powerful and fundamental tool. It can be used to create a more organic flow in your application. This tutorial will describe the general concept of polymorphism, and how it can easily be deployed in PHP.

Deciphering Magic Methods in PHP

Deciphering Magic Methods in PHP

PHP provides a number of ‘magic’ methods that allow you to do some pretty neat tricks in object oriented programming. These methods, identified by a two underscore prefix (__), function as interceptors that are automatically called when certain conditions are met. Magic methods provide some extremely useful functionality, and this tutorial will demonstrate each method’s use.

Object-Oriented CSS: What, How, and Why

Object-Oriented CSS: What, How, and Why

It sounds like an oxymoron, or at least an impossibility, doesn’t it? How can a static language that’s really more like markup than programming be object-oriented? In this tutorial, I’m going to introduce you to the idea of object-oriented CSS, show you how it works, and try to convince you that you should be using it too!