Toolkit for PHP with ADO.NET Data Services enables PHP developers to access data services created using ADO .NET Data Services framework. The goal is to provide the similar functionality as .NET library to access and modify the data and its relationship using
URIs which points to pieces of data integrated with the web.
Check the project page on the
"Interoperability Bridges and Labs page"
and read this blog post
"A new bridge for PHP developers to .NET through REST: Toolkit for PHP with ADO.NET Data Services"
for a more detailed introduction.
The ADO .NET Data Services
framework consists of a combination of patterns and libraries that enable the creation and consumption of data services for the web. The goal of the ADO.Net Data Services
framework is to facilitate the creation of flexible data services that are naturally integrated with the web, using URIs to point to pieces of data and simple, well-known formats to represent that data, such as JSON and plain XML. This results in the data
service being surfaced to the web as a REST-style resource collection that is addressable with URIs and that agents can interact with using the usual HTTP verbs such as GET, POST or DELETE.
The Toolkit for PHP with ADO.NET Data Services is based on an utility (PHPDataSvcUtil) that is used to generate a proxy class from an ADO .NET Data Service, the class is then used in the PHP application to connect/edit/add/delete or browse records from the
PHPDataSvcUtil tool generates a single proxy PHP file that contains class definitions which will be used by the client application to access the data service.
ADO .NET Data Services provide a metadata endpoint that returns a schema of resources and URIs deployed by the data service. This
consists of an EntityContainer that holds collection of EntityType. An EntityType represents a useful element of data in the domain of an application, such as a customer, order, product,
or supplier. A relationship between entities is defined as an AssociationType. Please refer
ADO .NET Data Service Specifications
PHPDataSvcUtil tool generates one container class and one class for each EntityType.
|Microsoft is the project sponsor and provides architectural guidance and best practices for this PHP Toolkit.
||Persistent Systems Ltd. is an award-winning technology company specialized in software product development services. The Company’s proven processes for entire product lifecycle helps customers increase revenue,
margin and enhance brand value.