One of the recent projects required integrating a 3rd party application. The backend was developed using CodeIgniter v3 running on PHP v5+. I emphasized on standards and chose SOAP as the integration technology. Although PHP v5 has native support for SOAP server and client, I wanted to prevent re-inventing the wheel. That’s when I bumped […]
Pagination requires reading a record set twice: Once to read the whole set so that it can count the total number records Then to read a window of records to display Here’s my way of doing it: Using a public class property to store the total records (public $total_records) Using a private function to build […]
One of the common issues with MVC controller is to use the same controller method to show a form and then process it’s content, once we receive POST.