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
  12-21-11 

PHP: Building Concrete Validators

Alejandro Gervasio 22938

In this two-part tutorial, I show why the use of static helper classes can be detrimental to building robust and scalable object-oriented applications in PHP (though you should take into account that the concept is language agnostic). I also implement a set of instantiable, fine-grained validators, which can be easily tested in isolation, injected into the internals of other objects, and so forth.

  12-12-11 

Sanitizing Input with PHP

Apress Publishing 32246

In this seventh part of an eight-part article series on using PHP commands with your file and operating systems, you'll learn how and why to sanitize user input. This article is excerpted from chapter 10 of the book Beginning PHP and PostgreSQL 8: From Novice to Professional, written by W. Jason Gilmore and Robert H. Treat (Apress; ISBN: 1590595475).

  12-07-11 

Executing Shell Commands with PHP

Apress Publishing 15979

In this sixth part of an eight-part series on working with the file and operating systems of a computer with PHP, you'll learn how to use PHP to write to a file and how to execute shell commands. This article is excerpted from chapter 10 of the book Beginning PHP and PostgreSQL 8: From Novice to Professional, written by W. Jason Gilmore and Robert H. Treat (Apress; ISBN: 1590595475).

  11-29-11 

Handling File Data with PHP

Apress Publishing 26693

In this fifth part of an eight-part series on working with file and operating systems with PHP, you'll learn how to read data from a file and move the file pointer. This article is excerpted from chapter 10 of the book Beginning PHP and PostgreSQL 8: From Novice to Professional, written by W. Jason Gilmore and Robert H. Treat (Apress; ISBN: 1590595475).

  11-23-11 

File Security and Resources with PHP

Apress Publishing 15556

In this fourth part of an article series on working with the file and operating systems with PHP, you'll learn about file ownership and permissions, and the concept of a resource. This article is excerpted from chapter 10 of the book Beginning PHP and PostgreSQL 8: From Novice to Professional, written by W. Jason Gilmore and Robert H. Treat (Apress; ISBN: 1590595475).

  11-16-11 

ArrayObject PHP Class Examples

Alejandro Gervasio 31273

In this second part of a two-part series on the ArrayObject class from the Standard PHP Library, you'll learn how to handle properties by means of an object syntax.

  11-16-11 

ArrayObject PHP Class: An Introduction

Alejandro Gervasio 21451

In this first part of a two-part tutorial, I demonstrate how simple it is to use the ArrayObject SPL class. This class permits you to easily access properties through an array syntax.

  11-15-11 

Getting File System Data with PHP

Apress Publishing 9071

In this third part of an eight-part article series on using PHP to work with the file and operating system, you'll learn how to retrieve the size of a directory and find out a file's last access and modification times. This article is excerpted from chapter 10 of the book Beginning PHP and PostgreSQL 8: From Novice to Professional, written by W. Jason Gilmore and Robert H. Treat (Apress; ISBN: 1590595475).

  11-09-11 

PHP Tools for Working with the File and Operating System

Apress Publishing 9103

In this second part of an eight-part article series on the tools PHP provides for working with the file system and operating system, we'll go over file types, links, and how to calculate file, directory and disk sizes. This article is excerpted from chapter 10 of the book Beginning PHP and PostgreSQL 8: From Novice to Professional, written by W. Jason Gilmore and Robert H. Treat (Apress; ISBN: 1590595475).

  11-04-11 

Working with the File and Operating System with PHP

Apress Publishing 10665

PHP as a language offers the programmer an excellent array of tools for handling file system input and output, as well as executing programs at the shell level. This article series will introduce you to these tools. It is excerpted from chapter 10 of the book Beginning PHP and PostgreSQL 8: From Novice to Professional, written by W. Jason Gilmore and Robert H. Treat (Apress; ISBN: 1590595475).

  10-31-11 

PHP Proxy Patterns: Completing a Blog

Alejandro Gervasio 12016

In this third part of a series on proxy objects, we'll create a simple service layer to add to our blog program. With this finished application, you'll see exactly how proxy objects can be powerful allies when you need to persist the entities of a domain model in a database.

  10-24-11 

PHP Proxy Patterns: Collections and Classes

Alejandro Gervasio 12342

In this second part of a three-part tutorial, I add to the existing structure of our sample blog program a host of useful components. These include the classes that handle collections of entities and views, and most importantly, the ones responsible for lazy-loading domain objects from the database.

  10-24-11 

PHP Proxy Patterns

Alejandro Gervasio 22457

In this first part of a three-part tutorial, I introduce you to what proxy objects are and how they can be used for lazy-loading domain objects in PHP. In this case, I will show you how to use proxies in the development of a blog application, to fetch on request the comments associated with a given post.

  10-17-11 

PHP Service Layers: A Final Example

Alejandro Gervasio 30116

If you’re looking for an approachable guide that teaches you how to implement an easily-customizable service layer in PHP, then take a peek at this article series. In a step-by-step fashion, it walks you through the development of a sample web application, which uses a service to perform CRUD operations on a domain model composed of a few user entities.

  10-17-11 

PHP Service Layers: Dependency Injection

Alejandro Gervasio 12399

In this penultimate part of the series, I put the finishing touches on the previous service layer by adding a couple of basic dependency injection containers along with a static helper to it. These can be used by client code to construct a specified service in a valid state.

 
More PHP Articles
Total PHP Articles = 810

Page 2 of 54
1 2 3 4 5 6 7 

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: