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 ...
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 ...
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 ...
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 ...
Every php developer wants to write a php framework. But before the start write a framework we should know some php automation rules. You can ask me like this question Why we need to object registry? Because the most popular frameworks use a base registry class for storing objects. Code Igniter use PHP4 object register ...