QueryPHP V1-beta.5 Improved ORM design experience

QueryPHP v1.0.0-beta.5, this version of the major improvements ORM optimization and a lot of detail.

About QueryPHP

QueryPHP is a modern, high-performance PHP progressive coroutine framework, we mainly for traditional PHP-FPM scene, in order to engineer the user experience for the mission, so that every PHP application has a good framework.

One hundred percent unit test coverage face the Bug, improve business performance based on Zephir implementation framework core resident, relying Swoole coroutine, at the moment the future of the gradual and progressive. Our vision is  the USE LEEVEL the WITH SWOOLE DO BETTER , allowing you to hold up more business users.

Update Log

  • [Framework] HTTP SERVER support, fully consistent with PHP-FPM i call routing controller traditional version, unified scheduling.
  • [Framework] will be spun off to the IOC container bottom redis registration service, you can easily use
  • [Framework] delete your dd, dump debugging function, Symfony comes not need to get another.
  • [Framework] to remove global function app, hl helper function to achieve App (alias Leevel) to a static proxy, App :: path (), App can be accessed IOC container method App :: make ( 'request').
  • [Framework] to delete all the proxy interface design \ Leevel \ Kernel \ Proxy \ IApp, remove components of Proxy instead use @method to achieve IDE helper, and built a tool used to generate such an order is automatically generated.
  • [Framework] code is optimized swoole thermal overload, facilitate testing.
  • ] [Framework improved exception handling system components, the system was abnormal exceptions to facilitate business abstract layer succession better handling exceptions, add a service processing exception \ Leevel \ Kernel \ Exception \ BusinessException, also through intermediate abnormal response process.
  • [Framework] and core kernel routing support CORS options for handling requests, with custom middleware easily handle cross-domain access issues, spin-off route is bound analytical method, the code clearer.
  • [] Relational Model framework, a special treatment to improve ORM source relational query is empty, no subsequent query of database queries to reduce, repair BUG nested query associated preload to unexecuted.
  • [Framework] to add a static access to the various components of the helper function, hand function split each group into a separate file f easy call.
  • [Framework] to add more entities such as const CONSTRUCT_PROP_WHITE, MIDDLE_SOURCE_KEY avoid writing a few conventions dead entity's name.
  • [Framework] PDO database query to improve the return on digital is digital, not all return the string.
  • [Framework] Add a query where ( 'foo', '=', null) support to deal with very specific scene, before being given directly.
  • [Framework] improvements entity \ Leevel \ Database \ Ddd \ Entity toArray design, is now null will be automatically ignored.
  • [Framework] improvements entity \ Leevel \ Database \ Ddd \ Entity attributes related to design, withProps, withProp, hasProp, prop access.
  • [Framework] improvements entity \ Leevel \ Database \ Ddd \ Entity soft delete related design, once an entity is defined const DELETE_AT, the system queries and automatically delete weakness delete, query data can also include soft-deleted by withSoftDeleted, forceDelete forcibly removed.
  • [Framework] improvements entity \ Leevel \ Database \ Ddd \ Entity query entity find ($ id) instead findEntity ($ id), easier to understand, exceptions can be avoided, and find () query uses the understanding of the conflict.
  • [Framework] repair redis connection pool PHPRedis driver support reconnection.
  • [Framework] will automatically convert to verify authentication parameters not_between: 1,5 to int and float, in order to achieve the overall direction of unity in the framework of strongly typed, the only exception to the database to verify \ Leevel \ Validate \ UniqueRule automatic identification int and float, to avoid database queries conversion type appears walk without affecting the performance of the index.
  • [Framework] improvements entity \ Leevel \ Database \ Ddd \ Entity query design, remove the query magic methods, _ Call and  __callStatic masked, all queries are required by static entry select (alias find, retain the tribute QeePHP habits), meta (reservation tribute QeePHP habit) initiate, plus ide helper support, perfect support for IDE.
  • [Framework] to improve the physical connection \ Leevel \ Database \ Ddd \ Entity Ceku design, implementation withConnect and connect themselves by each entity, more controllable update provides Qieku An all-sandbox connectSandbox.
  • [Framework] using PDOStatement-> debugDumpParams () to get the final SQL, while in debug components will facilitate development and debugging SQL written to the log.
  • [Framework] affairs unit \ Leevel \ Database \ Ddd \ UnitOfWork increase in soft delete "to delete the strong support, but also includes storage of this adjustment \ Leevel \ Database \ Ddd \ Repository.
  • [Framework] to repair and remove entity and storage of flushed nature of the data has been refreshed, not necessary.
  • [New] swoole tests related to other test and more than 10 cases, unit testing more than 3080 cases, 10000+ asserted.
  • [Application] QueryPHP itself is a standards-based IViewUI background, comes based permissions system resources, due to the significant restructuring of the background frame made corresponding adjustments in order to run.
  • [Application] QueryPHP itself is a major improvement to the introduction of Workflow curd operations will be incorporated into the service inquiry in the past.

RoadMap

  • [Framework] Beta 4-6 mainly to improve support for the latest version of Swoole 4 coroutine.
  • [Framework] RC version will freeze plans to feature only repair BUG, ​​improve unit testing and documentation.
  • [Framework] v1.0.0 official version will be released along with the PHP version 7.4  https://wiki.php.net/todo/php74 , plan was released in 2019.12.

Contact information

https://www.queryphp.com

QQ group 288,751,294

Email: [email protected]

Help us

QueryPHP in October 2016 began a PHP based framework DoYouHaoBaby my early development framework, this framework is I started early in 2010, 7.8 months.

If you think you can, you can refer a friend to try it, concerned about a Kazakh, hope to attract interested developers together documents based on unit tests to add a comment to automate relatively simple.

2010-present by Xiangmin Liu

Guess you like

Origin www.oschina.net/news/109749/queryphp-1-beta5