- 授权协议: Apache
- 开发语言: PHP
- 操作系统: 跨平台
- 软件首页: http://odataphp.codeplex.com/
软件介绍
OData 的 PHP 开发包,示例代码:
/* connect to the OData service */
$svc = new NorthwindEntities(NORTHWIND_SERVICE_URL);
/* get the list of Customers in the USA, for each customer get the list of Orders */
$query = $svc->Customers()
->filter("Country eq 'USA'")
->Expand('Orders');
$customerResponse = $query->Execute();
/* get only CustomerID and CustomerName */
$query = $svc->Customers()
->filter("Country eq 'USA'")
->Select('CustomerID, CustomerName');
$customerResponse = $query->Execute();
/* create a new customer */
$customer = Customers::CreateCustomers('channel9', 'CHAN9');
$proxy->AddToCustomers($customer);
/* commit the change on the server */
$proxy->SaveChanges();
Head First Mobile Web
Lyza Danger Gardner、Jason Grigsby / O'Reilly Media / 2011-12 / $ 50.84
Despite the huge number of mobile devices and apps in use today, your business still needs a website. You just need it to be mobile. Head First Mobile Web walks you through the process of making a con......一起来看看 《Head First Mobile Web》 这本书的介绍吧!
Markdown 在线编辑器
Markdown 在线编辑器
HEX CMYK 转换工具
HEX CMYK 互转工具
