Index of /location/Restler-2/
| Name | Last Modified | Size |
|---|---|---|
| 2012-07-08 14:00 | - | |
| 2026-07-13 02:02 | - | |
| 2026-07-14 02:26 | - |
<!DOCTYPE html>
<html>
<head>
<title>Luracast Restler 2.0 Example:- CRUD</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="examples/resources/markdown.css"/>
</head>
<body>
<article>
<h1>Luracast Restler 2.0</h1>
<p>Restler is a simple and effective multi-protocol REST API Server written in PHP.
Just deal with your business logic in php, restler will take care of the REST!</p>
<ul>
<li><a href="http://luracast.com/products/restler/" target="_blank">Developer Home</a></li>
<li><a href="http://bit.ly/RestlerLiveExamples" target="_blank">Live Examples</a></li>
<li><a href="http://bit.ly/TakingCareOfTheREST" target="_blank">Taking Care of the REST - Presentation</a></li>
<li><a href="http://bit.ly/SingMood" target="_blank">Open Sourced Real World Example - SingMood</a></li>
<li><a href="http://twitter.com/Luracast" target="_blank">Updates on Twitter</a></li>
</ul>
<h2>Features</h2>
<ul>
<li>Light weight</li>
<li>Flexible</li>
<li>Customizable</li>
<li>Supports HTTP request methods GET, POST, PUT, and DELETE</li>
<li>Clients can use X-HTTP-Method-Override header</li>
<li>Two way format conversion</li>
<li>Pluggable Formatters</li>
<li>Comes with JSON, XML, Yaml, Amf, and Plist(both XML and Binary) formats</li>
<li>Pluggable Authentication schemes</li>
<li>Comes with many <a href="http://bit.ly/RestlerLiveExamples" target="_blank">Examples</a>
that can be tried on your localhost to get started</li>
<li>URL to Method mapping</li>
<li>URL part to Method parameter mapping</li>
<li>Supports URLEncoded format for simplified input</li>
<li>Query parameters to Method parameter mapping</li>
<li>Source code distributed under LGPL</li>
</ul>
<h2>Changes from Restler 1.0</h2>
<p>Restler 2.0 is a major rewrite to use convention over configuration and it is optimized
for performance. Here are some of the major changes and improvements</p>
<ul>
<li>PHPDoc comments to map a method to URI is now optional.</li>
<li>All public methods that does not begin with an underscore are mapped
automatically to the method name (<code>gateway\classname\methodname\param1\...</code>)</li>
<li>If we do not specify the second parameter for <code>$restler->addAPIClass</code> it will be mapped to the
class name instead of mapping it to the root</li>
<li>Restler 2 is written for PHP 5.3 and above but it make use of compat.php and work on
any version of PHP starting from PHP 5.0</li>
</ul>
<p>more information is available on the
<a href="http://luracast.com/products/restler/features/" target="_blank">features page</a>
</article>
</body>
</html></p>
Proudly Served by LiteSpeed Web Server at simonwoodworth.com Port 443