Tutoriale PHP
  Comunitatea PHP Romania
 

 
Tutoriale PHP
Index » Noutati

C7Y: REST and Resource Handling with CakePHP


Postat:Joi 15 Mai 2008 17:04
Accesari:6
Comentarii:0
Favorite:0
Sursa: http://www.phpdeveloper.org

Del.icio.us
Digg
Technorati
Categorii: Noutati | alfahost_ro

On the C7Y website, a new tutorial has been posted from Nate Abele (following his previous CakePHP-related article) covering the use of the framework to create a REST web service and manage resources inside of it.

We're going to take these concepts [from the previous article] further and add a new one: REST. In the course of this series so far, we've only been discussing how to use the Router to examine and act on different parts of a URL.

He gives a list of possible headersthat could come from a client (like Accept-Charset or Content-Type) and how these can be directly pulled in to the CakePHP routing system. A few extra bits of code later and your app can be mapping requests directly to the controllers for the actions the user's requesting. All that's left is to serialize the results back into XML to echo out.

Comentarii


    Ultimele discutii in forum RSS Forum

    Ultimele articole Ultimele articole

    Top membri

    Pirahna Pirahna
    acasa , in pat
    carco carco
    Bucuresti
    Birkoff Birkoff
    Bucuresti
    Mascka Mascka
    Braila
    raul_ raul_
    whooper whooper
    Toronto ON
    mihaitha mihaitha
    Sibiu
    gabysolomon gabysolomon
    Bacau
    oriceon oriceon
    Constanta
    garlicinicolae garlicinicolae

    Newsletter


    Email:
     inscriere
     renuntare
     
     Arhiva newsletter

    Site-ul lunii

    blg
     Blgpunctro

    Propune un site

    Online

    100 utilizatori online

    Parteneriat



    Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Mortgages | Car Insurance | Myspace Image Hosting | hattrick | Mortgage
    Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
    Powered by Simplis