Categories
- agile (3)
- algorithms (17)
- css (29)
- download (3)
- featured (46)
- flex 3 (25)
- javascript (138)
- micro tutorial (202)
- PHP (108)
- portfolio (5)
- snippets (7)
- video (1)
- web development (167)
- zend framework (80)
Category Archives: PHP
Computer Algorithms: Binary Search
Overview The binary search is perhaps the most famous and best suitable search algorithm for sorted arrays. Indeed when the array is sorted it is useless to check every single item against the desired value. Of course a better approach … Continue reading
Posted in algorithms, PHP
Tagged Algorithm, binary search, Binary search algorithm, Control flow, famous and best suitable search algorithm, Fibonacci number, Fibonacci search algorithm, Fibonacci search technique, Golden section search, golden section search algorithm, Jump search, Mathematics, PHP, Recursion, Recursion theory, recursive and iterative solution, search algorithm, search algorithms, sequential search, suitable search algorithm, Theoretical computer science, two algorithms
Leave a comment
Computer Algorithms: Jump Search
Overview In my previous article I discussed how the sequential (linear) search can be used on an ordered lists, but then we were limited by the specific features of the given task. Obviously the sequential search on an ordered list … Continue reading
Posted in algorithms, PHP
Tagged Algorithm, Analysis of algorithms, binary search, Binary search algorithm, Jump search, jump search algorithm, jumping forward, Linear search, PHP, primitive jump search, search algorithms, Selection algorithm, sequential search, sequential search algorithm, sorting algorithm
2 Comments
Computer Algorithms: Linear Search in Sorted Lists
Overview The expression “linear search in sorted lists” itself sounds strange. Why should we use this algorithm for sorted lists when there are lots of other algorithms that are far more effective? As I mentioned in my previous post the … Continue reading
Computer Algorithms: Sequential Search
Overview This is the easiest to implement and the most frequently used search algorithm in practice. Unfortunately the sequential search is also the most ineffective searching algorithm. However, it is so commonly used that it is appropriate to consider several … Continue reading
Posted in algorithms, PHP
Tagged Algorithm, binary search, Binary search algorithm, Computer science, Computing, consecutive search, forward sequential search, Index, ineffective searching algorithm, ineffective searching algorithms, Linear search, linear search algorithm, Mathematics, PHP, reverse linear search approach, search algorithm, search algorithms, sequential search
Leave a comment
PHP: Don’t Call the Destructor Explicitly
“PHP 5 introduces a destructor concept similar to that of other object-oriented languages, such as C++”[1] says the documentation for destructors, but let’s see the following class. class A { public function __construct() { echo ‘building an object’; } … Continue reading
Posted in micro tutorial, PHP
Tagged destructor, how-to, micro tutorial, Object-oriented programming, oop, PHP, php examples, research, Scripting languages, tutorial
7 Comments







