04557nam 2200673Ia 450 991045611780332120200520144314.097866118869981-281-88699-81-84719-553-9(CKB)2400000000001066(EBL)950541(OCoLC)618016322(SSID)ssj0000332310(PQKBManifestationID)11242134(PQKBTitleCode)TC0000332310(PQKBWorkID)10334149(PQKB)10534156(MiAaPQ)EBC950541(PPN)228015340(Au-PeEL)EBL950541(CaPaEBR)ebr10448335(CaONFJC)MIL188699(EXLCZ)99240000000000106620090215d2008 uy 0engur|n|---|||||txtccrRESTful PHP web services[electronic resource] learn the basic architectural concepts and steps through examples of consuming and creating RESTful web services in PHP /Samisa AbeysingheBirmington, U.K. Packt Publishing Ltd.c20081 online resource (220 p.)From technologies to solutionsIncludes index.1-84719-552-0 Includes bibliographical references and index.Cover; Table of Contents; Preface; Chapter 1: Introduction to REST; Programmable Web; HTTP and Web Services; What is REST?; HTTP Methods; The Need for RESTFul Web Services; REST Tools and Frameworks in PHP; XML Parsers; Tools for Accessing Services; Providing Services; PHP REST Frameworks; Tonic; Konstrukt; Zend Framework; WSO2 WSF/PHP; Madeam; dbscript; What Framework to Use?; Summary; Chapter 2: REST with PHP - A First Look; HTTP with PHP; CURL; HTTP GET; HTTP POST; HTTP PUT; HTTP DELETE; Building the Request with XML Tools; SimpleXML; DOM; Processing the Response; SimpleXML; DOMConsuming FlickrPhoto Search; Photo Search with Information; Summary; Chapter 3: REST in Real World; Types of Services Available; Consuming Real World Services; Cresting our Utility Code - RESTUtil.php; Consuming an RSS Feed - BBC News Feed; BBC News Feed with Yahoo News Search; Yahoo Maps and Local Search; Earthquakes and Yahoo Maps; Mashups; Summary; Chapter 4: Resource Oriented Services; Designing Services; Simplified Library System; Resource Design; PUT vs POST; URI Design; URI and HTTP Verb Mapping; System Implementation; Library Database; Web Page from Data; Retrieve OperationCreate OperationHandling Multiple Path Parameters; Summary; Chapter 5: Resource-Oriented Clients; Designing Clients; Resource Design; System Implementation; Retrieving Resource Information; Creating Resources; Deleting Resources; Putting it All Together; Implementing a Form-based Application; Summary; Chapter 6: Resource-Oriented Clients and Services with Zend Framework; Installing Zend Framework; Services with Zend_Rest_Server; Clients with Zend_Rest_Client; Library System with Zend REST classes; Library Service; Controllers for Book and Member Resources; Models for Book and Member ResourcesApplication Configuration and InitializationBook Controller; Member Controller; Library Clients; List Books with GET; Add a Book with POST; List Members with GET; Add a Member with POST; Complete Client Application Controller; Summary; Chapter 7: Debugging REST Web Services; Message Tracing; Errors in Building XML; Errors in Parsing XML; Best Practices; Summary; Appendix A: WSO2 Web Services Framework for PHP; Installing WSF/PHP; Implementing Services; Implementing Clients; SOAP Service and Client; Summary; Appendix B: RESTClient class; get Method; post Method; put Method; delete MethodComplete RESTClient Classget Example; post Example; Yahoo Search Client Example; Summary; IndexLearn the basic architectural concepts and step through examples of consuming and creating RESTful web services in PHPPHP (Computer program language)Web servicesWeb serversComputer programsElectronic books.PHP (Computer program language)Web services.Web serversComputer programs.006.76Abeysinghe Samisa937791MiAaPQMiAaPQMiAaPQBOOK9910456117803321RESTful PHP web services2112482UNINA