Browsing articles in "Programming"
Feb
4
2012

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

codeigniter-lg

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 would have come across this issue too. I’ve been having this issue for the past couple of days and found a workaround to tackle the issue.  Thought this would help you too in your projects.

Jul
2
2011

Rich fonts for your site and blog – Google Web Fonts

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 role. Cool fonts in your pages will provide a nice look for your web or blog. Till some time back web was supporting limited fonts such as Arial and times new roman , so services such as ‘typekit’ was developed. But as these services were paid  subscription.   [...]

Feb
13
2011

Drawing a Bar Chart Using PHP

bar-chart-vertical

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 followed in order to plot the bar chart for the table given below.

Sep
19
2010

Functional programming definition and origin

Functional Programming

Programming Paradigm A programming paradigm is a paradigmatic style of programming (compare with a methodology, which is a paradigmatic style of doing software engineering). A programming paradigm provides (and determines) the view that the programmer has of the execution of the program. For instance, in object-oriented programming, programmers can think of a program as a collection of interacting objects, while in functional programming a program can be thought of as a combination of stateless function [...]

Sep
17
2010

Design Patterns : Composite pattern

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 objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly. Applicability Use the Composite pattern when; You want to represent part-whole hierarchies of objects You want clients to be able to ignore the difference between compositions of objects and individual objects. Clients [...]

Pages:123456»