Slim function in php

On July 15, 2011, in Concentrate, Imagine, Launch, Observe, PHP, Tips, Web Application, by Sandeep Verma

Hits: 1416  Slim is a simple powerful PHP 5 framework to create RESTful web applications. The Slim micro framework is a template language whose goal is reduce the syntax to the essential parts without becoming cryptic. <?php require ‘Slim/Slim.php'; Slim::init(); Slim::get(‘/hello/:name’, function ($name) { echo “Hello $name”; }); Slim::run(); ?> How to install Slim

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...