background preloader

REST

Facebook Twitter

Introduction to PHP Data Services. Applies to Introduction The database plays a big role in any day-to-day application.

Introduction to PHP Data Services

It is a major component in accounting, Web portals, CMS (Content Management Systems), and SaaS (Software as a Service) applications to search engines. In traditional MVC (Model-View-Controller) applications, we talk about the Model component which represents the database. In a 3-tier architectural pattern, it is the Data layer that represents the database and provides data to the Logic Layer per request. Focus on business logic, not presentation. Tonic: A RESTful Web App Development PHP Library. Tonic is an open source less is more, RESTful Web application development PHP library designed to do things "the right way", where resources are king and the library gets out of the way and leaves the developer to get on with it.

Tonic: A RESTful Web App Development PHP Library

To understand Tonic, you need to get the Web, so forget everything you know for a minute and think about how the Web really works, it's not about HTML pages, it's about resources: Everything useful is a resource, not a file, not a CGI script, a resource, an abstract concept of something useful that the client wants to grab hold of. Resources are located by URLs, URLs are cheap and form the universal addressing system of the Web.