- 授权协议: 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();
Usability for the Web
Tom Brinck、Darren Gergle、Scott D. Wood / Morgan Kaufmann / 2001-10-15 / USD 65.95
Every stage in the design of a new web site is an opportunity to meet or miss deadlines and budgetary goals. Every stage is an opportunity to boost or undercut the site's usability. Thi......一起来看看 《Usability for the Web》 这本书的介绍吧!
