Programming

How to populate a dropdown menu from database in CodeIgniter [Workaround]

If you happened to work with the ‘form_validation’ library and dropdown lists, and had to populate the default value from database, I am sure you …

Rich fonts for your site and blog – Google Web Fonts

Rich experience for web users is a foremost need in present web applications, except for colors and representation of data , typography is also plays a major …

Drawing a Bar Chart Using PHP

We can use image drawing property in PHP to draw basic bar charts (simple bar charts / multiple bar charts). Following are the simple steps that need to be …

Functional programming definition and origin

Programming Paradigm A programming paradigm is a paradigmatic style of programming (compare with a methodology, which is a paradigmatic style of doing software …

Design Patterns : Composite pattern

Motivation Frequently programmers develop systems in which a component may be an individual object or it may represent a collection of objects. Intent Compose …

Design Patterns : Iterator pattern

What is iteration? In computer science, an iterator is an object which allows a programmer to traverse through all the elements of a collection, regardless of …

Design Patterns : Builder pattern

Motivation To reduce the size of a class that has many methods. Also to allow step-by-step construction of a target object. Intent Separate the construction of …

Design Patterns : Adapter pattern

Motivation Sometime a toolkit class that’s designed for reuse isn’t reusable only because its interface doesn’t match the domain-specific interface an …

Choose a language whilst browsing : PHP tutorial

Ok! This tutorial is strictly targeted towards web developers, who are looking for ways to convey or show his/her web page(s) in more than one language. Here …

Design Patterns : Facade pattern

Motivation Structuring a system in to subsystem helps reduce complexity. A common design goal is to minimize the commutation and dependencies between systems. …