PHPCodez

Search
Skip to content
  • PHP
  • Javascript
  • HTML
  • My SQL
  • Functions
  • WordPress
  • Plugins
  • Joomla
  • Magento
  • Linux
  • jQuery
  • Profile
  • comments
Design Pattern

Strategy Pattern

June 14, 2012 Pramod T P

In this pattern, algorithms are extracted from complex classes so they can be replaced easily

The strategy design pattern can be very useful in the context of form validation.

Design PatternMagentoPHP

Post navigation

Previous PostChain-Of-Command PatternNext PostDecorator Pattern

Beginners' Guide

Recent Posts

  • Last Day Of The Month PHP
  • PHP Previous Date
  • Remove Symlink Directory
  • mysqli::real_connect(): (HY000/1045): Access denied for user ‘phpmyadmin’@’localhost’ (using password: YES)
  • Error with mysqli_real_connect(): (HY000/1698): Access denied for user ‘root’@’localhost’

Recent Comments

  • 여성전용알바 on cgi.force_redirect
  • 파워볼사이트 on XAMP Change Localhost To Domain
  • google on Include a block in sidebar – Magento
  • moving company los angeles on Include a block in sidebar – Magento
  • Oma on compare two strings – javascript

Categories

  • .htaccess (32)
  • Ajax (4)
  • Apache (43)
  • AWS (11)
  • Cookie (4)
  • Database Model (9)
  • Design Pattern (9)
  • Filter (27)
  • General (186)
  • HTML (5)
  • IP.Board (1)
  • Javascript (99)
  • Jetty (3)
  • Joomla (17)
  • jQuery (63)
  • JSON (3)
  • JSP (1)
  • Linux (121)
  • Magento (363)
  • My SQL (74)
  • nginx (4)
  • OOPs (12)
  • Payment Gateway (1)
  • PHP (992)
  • Plugins (11)
  • Prototype (1)
  • session (5)
  • Socialengine (1)
  • SQL (69)
  • SVN (17)
  • Uncategorized (11)
  • Vbulletin (11)
  • Wordpress (89)
Proudly powered by WordPress