Coding Explained Posts

It is not an unusual task to want to set the default values on elements in a form. Zend Framework provides multiple ways of accomplishing this, but as demonstrated in this article, the setDefaults method has surprising behavior.

Read More Setting an Element’s Default Value

Zend Framework

A linear search is the simplest search algorithm in computer programming. In this article we discuss the various implementation of this search algorithm and we also discuss the main disadvantage of this search strategy.

Read More Linear Search Algorithm

Programming Theory

This article discusses how to use the ever so popular HTML5 placeholder attribute both in regards to markup syntax, but also regarding best practices. A brief discussion of the attribute’s problems also follows.

Read More HTML5 Placeholder Attribute

HTML5

The primary index is essential in databases. In this article, we present the main characteristics of the primary index along with its problems and solutions. A primary index physically orders the records on the secondary storage device to speed up the retrieval of data records. The index is sparse or non-dense because it only contains a block pointer for each block in the data file.

Read More Primary Index

Database Theory