先说点:开源不一定免费,免费不一定开源;开源不一定使用GPL或者LGPL;开源不一定是GNU意义上的自由,GNU的自由实际上不算很自由,限制不少;BSD许可证很自由,但是也不算自由,因为使用在这个许可证下的“自由”软件来开发软件的开发者可以让自己基于它的自己做的软件不再开源不再免费。
开源还是免费抑或“自由”其实都没有什么,都在经济体系的控制下。具体想使用什么还是看自己的实际情况;还是要端正心态。
支持微软!
看看下面:
http://phpdataservices.codeplex.com/
Overview PHP Toolkit for ADO .NET Data Services enables PHP developers to accessdata services created using ADO .NET Data Services framework. The goalis to provide the similar functionality as .NET library to access andmodify the data and its relationship using URIs which points to piecesof data integrated with the web.
Read this blog post "A new bridge for PHP developers to .NET through REST: PHP Toolkit for ADO.NET Data Services" for a more detailed introduction.
The ADO .NET Data Servicesframework consists of a combination of patterns and libraries thatenable the creation and consumption of data services for the web. Thegoal of the ADO.Net Data Services framework is to facilitate thecreation of flexible data services that are naturally integrated withthe web, using URIs to point to pieces of data and simple, well-knownformats to represent that data, such as JSON and plain XML. Thisresults in the data service being surfaced to the web as a REST-styleresource collection that is addressable with URIs and that agents caninteract with using the usual HTTP verbs such as GET, POST or DELETE.
Architecture The PHP Toolkit for 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 toconnect/edit/add/delete or browse records from the Data Service.

PHPDataSvcUtil ToolPHPDataSvcUtil tool generates a single proxy PHP file that containsclass definitions which will be used by the client application toaccess the data service.
ADO.NET Data Services provide a metadata endpoint that returns a schema ofresources and URIs deployed by the data service. This metadataconsists of an EntityContainer that holds collection of EntityType. AnEntityType represents a useful element of data in the domain of anapplication, such as a customer, order, product, or supplier. Arelationship between entities is defined as an AssociationType. Pleaserefer ADO .NET Data Service Specifications for details.
PHPDataSvcUtil tool generates one container class and one class for each EntityType.
License:[font=微软雅黑] New BSD License (BSD) [/font]
Copyright (c) 2009, Persistent Systems Limited
All rights reserved.
Redistributionand use in source and binary forms, with or without modification, arepermitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
*Redistributions in binary form must reproduce the above copyrightnotice, this list of conditions and the following disclaimer in thedocumentation and/or other materials provided with the distribution.
*Neither the name of Persistent Systems Limited nor the names of itscontributors may be used to endorse or promote products derived fromthis software without specific prior written permission.
THISSOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULARPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER ORCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OFLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDINGNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THISSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35749810 于 2009-08-27 16:32:32发表:
我相信,终有一天微软会被逼开源的.......关键就看Linux.....开源的东西越多,功能越强大,微软的影响力也就越小,到后面开源成为主流是,微软在开源也没有人鸟他了...
真希望中国全名普及的操作系统为Linux...学学德国和俄罗斯...
々小疯子々 于 2009-08-25 08:02:21发表:
必有阴谋啊~~~~~~~~~~
hantu 于 2009-08-25 01:40:41发表:
嘿嘿,其实微软只是想把开源和自由及免费的概念搞混,或者只是楼主的意思