Skip to content


Writing a Php5 MVC Framework like Code Igniter Part2: Model,Database(pdo),Exceptions and Errors,Helpers

Alpha version Changes: - System directory renamed as Base - Controller directory structure changed.All MVC files grouped by Controller Name. - Loader class completely changed, some loader functions declared as static we use loader class like this loader::database(), loader::library(), loader::helper() - Added DB and DBFactory classes under the database folder.Added most known PDO functions. - Added ...

Easyrest Rest Framework 1.0 Released (Client and Server Library)

What is the Easyrest? Easyrest is a REST framework that contains client and server implementations.It has a easy structural data transfer unlike XML-RPC.Easyrest use a lot of pear packages and it has got custom apikey functionality.I think using the pear libraries is not a disadvantage because of  you don't have to install required ...

Writing a REST Service: How to write Rest Client and Servers

What is the REST (Representational State Transfer) : REST is a style of software architecture for distributed hypermedia systems such as the World Wide Web. The terms "representational state transfer" and "REST" were introduced and defined in 2000 by the doctoral dissertation of Roy Fielding, It uses Hypertext Transfer Protocol (HTTP) specification versions ...

Writing a Php5 MVC Framework like Code Igniter Part1: Controller,view,registry,loader

Some times we want a  flexible and basic framework for our small pretty applications. In this tutorial (in section part 1) we will start a  base framework  using MVC structure , we will create a Controller , View (template system) and  some base structures like  Registry - Loader. i call it Obullo framework.  Below the picture show directory structure ...

Interceptor Methods: __call() (Php Overloading)

Php provides  built-in interceptor methods.This also known as overloading but since that term means something quite different in Java and C++. PHP5  supports three built-in interceptor methods.Like __construct(), these are invoked for you when the right conditions are met. Below  the tables describes this methods. Method Description __get($property) Invoked when an undefined property ...