News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DZone.com:
Sencha Touch 2 Models - Loading And Saving Model Data Using a Proxy, PHP Example
August 31, 2012 @ 11:54:19

On DZone.com there's a new tutorial posted (by Jorge Ramon) about hooking together the models of Sencha's Touch 2 with a PHP backend to make saving data to them simpler via a proxy.

Sencha Touch models have the ability to work with a proxy. This feature allows you to save and retrieve model data from the server, memory or local storage, without depending on a Sencha Touch data store. Let's try it with a very simple scenario where the server side is a PHP page.

The article includes both the Javascript to create the models (along with its proxy and custom API methods defined) as well as the PHP that powers the backend. The PHP just reads from the "php://input" stream and echoes back out JSON, but it gives you an idea of what to expect to receive. For more information on Sencha Touch, check out their documentation.

0 comments voice your opinion now!
senchatouch2 model backend save proxy tutorial


blog comments powered by Disqus

Similar Posts

Wenbert Del Rosario's Blog: Zend Framework: Making the Built-in Breadcrumb Helper Work

Enrico Zimuel's Blog: PHP session sharing using Zend Server CE and MS SQL Server

Vanessa Vasile's Blog: Simple Way to Parse an x509 Certificate with PHP

Mike Purcell's Blog: PHP - Reflection Class - Determine Parent Method Signature

Script-Tutorials.com: Functional Programming - How to Write Functional Code in PHP


Community Events











Don't see your event here?
Let us know!


hack framework install opinion security overview example language hhvm application composer component package podcast facebook unittest code release symfony2 introduction

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework