Subscribe
Tutorial search

Creating RESTful API in Cakephp - PHP tutorial


Hi, In this tutorial will help you to learn how to create rest api in cakephp. For this we need to follow the following steps in the Blog post. For full information, Visit full Blog. http://findnerd.com/list/view/Creating-RESTful-API-in-cakephp/2806/
Category: PHP > CMS - Difficulty:


More cool PHP tutorials:



PHP translate function using google translate
PHP translate function using google translate
We create a database table that can contain translations for specific languages. Then we create a function that uses that database. If it finds a translation it will show the one out of the database. Else it will show a translation from google translate.
Difficulty:
News Managment System
News Managment System
A basic news management system written in PHP and MySQL, this system has no html styling and is a skeleton structure for a robust news system.
Difficulty:
PHP basics - syntax
PHP basics - syntax
In this tutorial we assume that you had never programmed in any language before, therefor we will cover the absolute basics which makes php tick or any other language of that matter.
Difficulty:
Develop rock-solid code in PHP: Lay the foundation
Develop rock-solid code in PHP: Lay the foundation
The Develop rock-solid code in PHP series is about solving practical real-life problems in medium- to large-scale applications. With a sharp focus on new features available in PHP 4, the articles shed light on numerous tips and tricks that make life easier. Inside, you will find plenty of examples and techniques to learn, with lots of sample code. This first article gives a higher perspective for designing and writing bug-free, maintainable code for medium- to large-scale Web applications.
Difficulty:
Remembering Users (Cookies and Sessions)
Remembering Users (Cookies and Sessions)
Hypertext Transfer Protocol (HTTP) is a stateless protocol. To say it in a simple way: A client (web browser) connects to a web server, sends a request, and gets a response. Then, the connection is closed. The consequence is the next time the same client sends a request to the same web server, it is a new request, so the web server cannot identify the caller. This is, of course, a problem for applications in which state must be maintained, for instance e-commerce applications with a shopping-cart functionality.

However, you can overcome this limitation in several ways. The basic idea is to send some information with the HTTP response; to try to achieve that, this information is sent back with all subsequent requests to that server. The following possibilities exist:
Difficulty: