CakePHP v3.3.0发布,一个Web 快速开发框架

jopen 8年前
   <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/1153c3fa942970b97aff0258652d3dc5.png" /></p>    <p>CakePHP是一个运用了诸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名设计模式的快速开发框架。该项目主要目标是提供一个可以让各种层次的PHP开发人员快速地开发出健壮的Web应用,而 又不失灵活性。主要特性:</p>    <ul>     <li>基于MVC架构</li>     <li>视图支持Ajax</li>     <li>内置校验框架</li>     <li>提供应用程序的基础模块和CRUD 代码自动生成功能</li>     <li>提供处理session,request,security的组件</li>     <li>灵活的视图缓存功能</li>     <li>面向对象</li>     <li>无需配置:只要安装好数据库</li>     <li>兼容PHP4和PHP5。</li>    </ul>    <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/4ac82e368063f718d28e04ab305e33b6.png" /></p>    <h2>更新日志</h2>    <h3>弃用</h3>    <ul>     <li><code>Router::mapResources()</code> is deprecated. Use routing scopes and <code>$routes->resources()</code> instead.</li>     <li><code>Router::redirect()</code> is deprecated. Use routing scopes and <code>$routes->redirect()</code> instead.</li>     <li><code>Router::parseNamedParams()</code> is deprecated. Named parameter backwards compatibility will be removed in 4.0.0</li>     <li> <p><code>Cake\Http\Client\Response</code> has had the following methods deprecated because they overlap with PSR7 interface methods:</p>      <ul>       <li><code>statusCode()</code> use <code>getStatusCode()</code> instead.</li>       <li><code>encoding()</code> use <code>getEncoding()</code> instead.</li>       <li><code>header()</code> use <code>getHeaderLine()</code> instead.</li>       <li><code>cookie()</code> use <code>getCookie()</code> instead.</li>       <li><code>version()</code> use <code>getProtocolVersion()</code> instead.</li>      </ul> </li>     <li> <p>Dispatcher Filters are now deprecated. Use the new HTTP middleware features.</p> </li>     <li><code>RequestActionTrait</code> has been deprecated. Refactor your code to use view cells instead.</li>     <li><code>Cake\Utility\Crypto\Mcrypt</code> engine has been deprecated as the <code>mcrypt</code> extension is deprecated in PHP 7.1. Use the <code>openssl</code> driver instead.</li>    </ul>    <h3>新功能</h3>    <ul>     <li>PSR7 Middleware support has been added. This is an opt-in feature that allows you to leverage the increasing number of PSR7 middleware libraries from the broader PHP community in your CakePHP application.</li>     <li>A new streamlined workflow for TranslateBehavior that makes creating forms for multiple translation values easier than before.</li>     <li><code>Cake\Network\Http\Client</code> has been moved to <code>Cake\Http\Client</code>. Its request and response objects now implement the <code>PSR7 interfaces <http://www.php-fig.org/psr/psr-7/></code>__.</li>     <li>Additional support has been added for mapping complex data types. This makes it easier to work with geo-spatial types, and data that cannot be represented by strings in SQL queries.</li>     <li>A new <code>JsonType</code> was added. This new type lets you use the native JSON types available in MySQL and Postgres. In other database providers the <code>json</code> type will map to <code>TEXT</code> columns.</li>     <li>When entities are converted into JSON, the associated objects are no longer converted to an array first using <code>toArray()</code>. Instead, the <code>jsonSerialize()</code> method will be invoked on all associated entities. This gives you more flexibility and control on which properties are exposed in JSON representations of your entities.</li>     <li>You can now easily paginate multiple queries in a single controller action/view template.</li>     <li>To help you better manage cached data from the CLI environment, a shell command has been added that exposes methods for clearing cached data.</li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958993198025431890" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958993198124950604" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <ul>    </ul>    <p> </p>    <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/5c6919f3">http://www.open-open.com/news/view/5c6919f3</a></p>    <p> </p>