want to join us? register, it's easy | help

browse by tag: pattern

sort by

newest, oldest, most popular


category icon

PHP Regex Cheat Sheet (PDF)

in PHP added by goodphptutorials, on 27/12/2005 expressions general patterns pcre php regex

A handy guide of all the useful regex characters, metacharacters, quantifiers and pattern modifiers to make creating regex expressions easier.

comment save report
category icon

The MVC pattern

in PHP added by goodphptutorials, on 14/1/2006 controller mvc n-tier oo programming oop pattern view

The MVC pattern very commonly used in constructing web applications. The principle allows us to construct 3-tier applications, allowing us useful layers of seperation in our code, and helping both designers and developers to cooperate as well enhancing our ability to maintain and expand on existing applications.

comment save report
category icon

Implementing MVC in PHP: The Controller

in PHP added by goodphptutorials, on 5/2/2006 controller mvc oo programming oop patterns

Quite simply, the controller handles incoming requests. It uses input, in this case from the URI, to load a module and refresh/render the presentation layer. The controller for the aptly named Framework 1.0 uses a few GET arguments to figure out which module to load.

comment save report
category icon

PHP Patterns: Introduction

in PHP added by goodphptutorials, on 5/3/2006 introduction oo programming patterns php5

Even if you have never set eyes on a pattern catalog in your life, you have probably come across the phrase design patterns in recent years. You may even have assumed that patterns were yet another fad. After the turn of the century it suddenly seemed that patterns were everywhere, and PHP was not immune.

comment save report
category icon

Five common PHP design patterns

in PHP added by goodphptutorials, on 12/8/2006 architecture oo programming oop patterns

Design patterns are just for Java? architects -- at least that's what you may have been led to believe. In fact, design patterns are useful for everyone. If these tools aren't exclusive to architecture astronauts, what are they, and why are they useful in PHP applications? This article explains.

comment save report
category icon

Using Regular Expressions with PHP

in PHP added by Nolte, on 5/4/2007 advanced tutorials match pattern regexp

Regular expressions are a powerful tool for examining and modifying text. They enable you to search for patterns within a string, extracting matches flexibly and precisely. This tutorial gives a brief overview of basic regular expression syntax and then considers the functions that PHP provides for working with regular expressions.

comment save report
category icon

The Singleton Pattern with PHP

in PHP added by goodphptutorials, on 3/12/2007 advanced tutorials oop pattern

The Singleton Pattern is often mistakenly referred to as the OOP nuts "Global variable".
Classes that utilise the Singleton Pattern aims to have a single instance throughout the lifetime of the request/process.

comment save report
category icon

Five common PHP design patterns

in PHP added by goodphptutorials, on 16/12/2008 advanced tutorials oo programming patterns php5

Design patterns are just for Java™ architects -- at least that's what you may have been led to believe. In fact, design patterns are useful for everyone. If these tools aren't exclusive to architecture astronauts, what are they, and why are they useful in PHP applications? This article explains.

comment save report