List of Design Patterns

Code Design Pattern Catalog

This catalog of code design patterns provides solutions to common programming problems in various languages including Android, ASP .NET (Active Server Pages), C++, C#, HTML, HTTP Headers, iOS (iPhone / iPad / iPod Touch), Java, JavaScript, Java Server Pages (JSP), Objective-C, Perl, Ruby on Rails, SQL for various relational databases, and Unix shell scripts.

To get the code, select the pattern below:

Document
Many languages use the Document Object Model (DOM).
How To Set HTTP Headers
How to set the Content-Type header and other HTTP headers.
Regular Expressions
Singleton Pattern
. Not to be confused with an SQL Singleton SELECT.
SQL Patterns
Patterns for SQL databases. Includes Singleton SELECT, not to be confused with the Singleton Pattern.
Table
URL Redirect or Redirect Page
Web Site Template