Top rated post today

  • N/A

Top rated post for the last 7 days

  • N/A

Top rated post for the last 28 days

  • N/A

Top rated post for the last 90 days


pgdesigning | Priyantha's BLOG

Five common PHP design patterns

Hi All
I hope this article will help you guys a lot with some basic stuff we could use in designing applications or rather you do re-factoring in your code.
Main design pattens discussed in this article are listed below

The factory pattern
The singleton pattern
The observer pattern
The chain-of-command pattern
The strategy pattern

Visit the original post


pgdesigning | Priyantha's BLOG

OSCommerce module to customise products

This is the recent project I was working on to developing a module to customize oscommerce product.

You can upload any image or a text and see how it look like before you print on a sticker and if you are happy you can order it.

Tech. used :- PHP GD Lib, AJAX, MySQL

You can visit [...]


pgdesigning | Priyantha's BLOG

Get All keywords in Adword v200909 in PHP

I hope this will help you guys when working with adword new API. I just completed this function and thought of sharing it for you all. I couldn’t find any PHP code in the net to do the same.
Cheers,
Priya.
——————————————————————
class GetAllKeywordsExample {
static function main($keywords_input, $match_type) {
$return_array = array();
try {
// Get AdWordsUser from credentials in “../auth.ini”
// relative [...]


pgdesigning | Priyantha's BLOG

My 2nd Facebook application is online

I have released my second Facebook application very recently. This is an event handling application for netevents.be

Visit Netevents at Facebook


pgdesigning | Priyantha's BLOG

Drupal video trainnig

HI Guys,
I found a good video traing web site for drupal. check this out
Visit this site


pgdesigning | Priyantha's BLOG

The 23 Gang of Four Design Patterns (Cheat Sheet)

1. Strategy:
Defines a family of algorithms, encapsulates each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients who use it.
2. Decorator:
Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.
3. Factory Method
Define an interface for creating an object, but let the subclasses decide which [...]


pgdesigning | Priyantha's BLOG

The 23 Gang of Four Design Patterns (Cheat Sheet)

1. Strategy:
Defines a family of algorithms, encapsulates each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients who use it.
2. Decorator:
Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.
3. Factory Method
Define an interface for creating an object, but let the subclasses decide which [...]


pgdesigning | Priyantha's BLOG

Bug #40886 static methods assigned to instances

I found a nice article that debating about the static method implementation in PHP. Guys who are interesting may read it…
Read the article


pgdesigning | Priyantha's BLOG

How to Play Badminton : The Smash Shot in Badminton



pgdesigning | Priyantha's BLOG

ULTIMATE BRUSH PACK NO.4

Download the brush


pgdesigning | Priyantha's BLOG

jQuery TOOLS - The missing UI library for the Web

HI all,
Check this site, you guys may find this as a very useful site for rich UI designing.

Visit jQuery Tools


pgdesigning | Priyantha's BLOG

Google Friend Connect is now on phpsrilankans.com

Hi All,
Google friend connect is now on phpsrilankans.com. You can join the site and make your comments. Come and connect with Sri Lankan PHP Gurus..

Visit phpsrilankans.com


pgdesigning | Priyantha's BLOG

Wordpress 2.6

Wordpress 2.6 has just been released, and adds Wiki-like tracking of post edits, use of Gears for faster page rendering for admins, theme previews, and more…


pgdesigning | Priyantha's BLOG

Color scheme generator

Generator of color schemes and palettes to create good-looking and well balanced and harmonic web pages.
Generate your scheme Now!!!


pgdesigning | Priyantha's BLOG

What is del.icio.us?

What is del.icio.us?
del.icio.us is a collection of favorites - yours and everyone else’s. You can use del.icio.us to:
* Keep links to your favorite articles, blogs, music, reviews, recipes, and more, and access them from any computer on the web.
* Share favorites with friends, family, coworkers, and the [...]


pgdesigning | Priyantha's BLOG

Sajax - Simple AJAX Toolkit

Sajax is an open source tool to make programming websites using the Ajax framework — also known as XMLHTTPRequest or remote scripting — as easy as possible. Sajax makes it easy to call PHP, Perl or Python functions from your webpages via JavaScript without performing a browser refresh. The toolkit does 99% of the work [...]


pgdesigning | Priyantha's BLOG

Create a Spectacular Grass Text Effect in Photoshop

Ever wanted to make text out of grass? Well with Photoshop you can. In this tutorial we’ll create a rather cool looking grass-text effect using a photo of grass, the pen tool and a bit of patience.
This is the first of a five part set of tutorials where we’ll use Photoshop to make text out [...]


pgdesigning | Priyantha's BLOG

FREE Web Hosting for you..! try is out

Hi all,
If you wish to have a professional shared hosting quality in a free hosting package, come and host with 000webhost.com and experience the best service you can get absolutely free.
Founded in December 2006, 000webhost.com has a trusted free hosting members base of over 60,000 members and still counting! Offering professional quality hosting, support, uptime [...]