Home arrow PHP
 

PHP HELP, PHP TUTORIALS, OBJECT-ORIENTED PHP5 PROGRAMMING

RSS For Dev Shed
PHP is an open-source, server-side scripting language used primarily for web development on Apache and the usual programming language in a LAMP environment. You can learn PHP programming with the content, tutorials and PHP help and tutorial examples from Dev Shed. The PHP language lets programmers create web pages with dynamic content that can interact with databases and provides an object-oriented structure via php5 for developers. This makes it very popular for developing any web based software applications. If you’re looking for PHP answers, look no further. You have it right here and in our PHP forums.

  Date Title Author Hits
  01-21-10 

Count Backlinks from Unique Domains Using Yahoo Inbound Links API

Codex-M 20300

If you've just started using the Yahoo Site Explorer Inbound Links API and want to know how far you can take it, keep reading. This three-part series will show you how to build an application that can help you track your links.

  01-20-10 

Using Different Objects in the Same Script for Polymorphs in PHP

Alejandro Gervasio 10890

Welcome to the final part of a seven part series on building polymorphs in PHP. In a friendly fashion, this series gets you started constructing polymorph classes specifically in PHP 5. It shows you how to accomplish this by using first interfaces, then parent classes, and finally a proper combination of both.

  01-19-10 

Polymorphs in PHP: Using Interfaces and Abstract Classes to Construct HTML Paragraphs

Alejandro Gervasio 17697

In this penultimate part of a seven-part series on building polymorphs in PHP 5, I demonstrate how easy it is to build polymorph objects that merge the functionality of abstract classes and the structure of interfaces. The entire creation process is simple enough that you shouldn’t have major problems grasping its underlying logic.

  01-14-10 

Combining Interfaces and Abstract Classes to Build Polymorphs in PHP

Alejandro Gervasio 13041

In this fifth part of a seven-part series on building polymorphs in PHP 5, you will learn how to build a polymorph object by combining an abstract class and a simple interface. As you'll see, this object will be used for constructing basic HTML divs.

  01-13-10 

Creating a Subclass for Building Polymorphs in PHP

Alejandro Gervasio 16400

Welcome to the fourth installment of an article series on building polymorphs in PHP. Made up of seven tutorials, this series attempts to teach you through numerous, comprehensive code samples how to create polymorph objects. You'll see how to do it using interfaces, then abstract classes, and finally a combination of both.

  01-12-10 

Using Abstract Classes to Build Polymorphs in PHP 5

Alejandro Gervasio 11482

In this third part of a seven-part series, I demonstrate how to build polymorph objects using abstract classes in PHP 5. As you'll see, it's a pretty straightforward process that can be tackled with relative ease.

  01-11-10 

Rendering HTML Paragraphs with Polymorphs in PHP 5

Alejandro Gervasio 12327

In this second article in a seven-part series on building polymorphs in PHP 5, I provide you with another example of how to do this by way of a simple interface. For this tutorial, I decided to work with objects that are responsible for rendering different HTML elements, such as div and paragraphs, but naturally it’s possible to construct these types of object for different purposes as well.

  01-06-10 

Building Polymorphs in PHP 5

Alejandro Gervasio 18544

You don't need to be working in a strictly-typed language like C to enjoy the benefits of polymorphism. You just need to achieve it at a different level. In this seven-part series, you'll learn how to use polymorphism in PHP 5.

  01-04-10 

Exception Handling in PHP

Apress Publishing 54222

In this second part of a two-part series on error and exception handling in PHP, we focus specifically on handling exceptions. This article is excerpted from chapter 8 of the book Beginning PHP and Oracle: From Novice to Professional, written by W. Jason Gilmore and Bob Bryla (Apress; ISBN: 1590597702).

  12-31-09 

Error and Exception Handling in PHP

Apress Publishing 38520

Mistakes are inevitable, in life, programming, and application submissions. You can prepare for errors by making sure your application is designed to respond to them. This two-part article explains how PHP handles errors. It is excerpted from chapter 8 of the book Beginning PHP and Oracle: From Novice to Professional, written by W. Jason Gilmore and Bob Bryla (Apress; ISBN: 1590597702).

  12-30-09 

Working in the Method Scope with Static Variables in PHP 5 Classes

Alejandro Gervasio 13263

Despite their name, static properties can help in a wide variety of situations. If you're not using them currently, and you regularly implement design patterns in your code, after reading this series you'll wonder how you ever did without them. This article is the conclusion to a four-part series.

  12-29-09 

Improving MySQL Connection with Static Variables in PHP 5 Classes

Alejandro Gervasio 24116

In this third part of a four-part series on static variables, I show how to use another static property in the previous MySQL driver to connect “more cleverly” to the database server. This example demonstrates how powerful a property like this can be, when utilized in an effective manner.

  12-28-09 

Handling MySQL Data Sets with Static Variables in PHP 5

Alejandro Gervasio 13754

In this second part of a four-part series, I finish building a sample MySQL driver by adding to it a whole new class responsible for iterating over database result sets through a friendly and intuitive API. This functional example shows that the use of a simple static property makes it easier to implement the Singleton pattern, which is convenient when developing a class that abstracts the access to a database server, be it MySQL or a different one.

  12-23-09 

Triggering Cascading Updates and Deletions with Foreign Key Constraints

Alejandro Gervasio 12049

Welcome to the final installment of a series on working with foreign key constraints in MySQL. With a respectable number of code samples, this series walks you through the basics of using foreign key constraints in MySQL tables and teaches you how to use them specifically for maintaining the integrity of relational databases.

  12-22-09 

Using Static Variables in PHP 5 Classes

Alejandro Gervasio 22575

In this first part of a four-part series, I show you how the declaration and further use of a single static property inside a MySQL abstraction class can be really useful for turning this class into a Singleton. While it’s fair to say that you can use different approaches for implementing this design pattern, most of them will employ a static variable.

 
More PHP Articles
Total PHP Articles = 810

Page 14 of 54
11 12 13 14 15 16 17 

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: