smgladkovskiy/jelly
Composer 安装命令:
composer require smgladkovskiy/jelly
包简介
A flexible ORM for Kohana 3.1+
README 文档
README
Jelly is a nice little ORM for Kohana 3.1+. The project was originally started by Jonathan Geiger and co-developed by Paul Banks.
IMPORTANT
Critical to know:
- use the
3.x/masterbranches for production as the3.x/developbranches are subject to frequent and major changes - userguide is being updated
Requirements
Jelly requires the following Kohana versions per Git branch:
3.1/developand3.1/masterbranches: Kohana 3.1.3+3.2/developand3.2/masterbranches: Kohana 3.2+
Useful stuff:
Get involved in Jelly's developement
As Jelly has always been a community project it's development and future depends on people who are willing to put some time into it. The easiest way to contribute is to fork the project.
Remember:
- you can directly edit files on GitHub (look for the
Edit this filebutton), there's no need to get familiar with Git if you don't want to - please follow the Kohana conventions for coding
- read the introduction to the unit tests in the guide and run them if you make changes to Jelly to minimalize the chances of introducing new bugs
- and thanks for helping Jelly become better!
Notable Features
-
Standard support for all of the common relationships — This includes
belongs_to,has_many, andmany_to_many. Pretty much standard these days. -
Top-to-bottom table column aliasing – All references to database columns and tables are made via their aliased names and converted transparently, on the fly.
-
Active testing on MySQL and SQLite — All of the Jelly unit tests work 100% correctly on both MySQL, SQLite and PostgresSQL databases.
-
A built-in query builder — This features is a near direct port from Kohana's native ORM. I find its usage much simpler than Sprig's.
-
Extensible field architecture — All fields in a model are represented by a
Field_*class, which can be easily overridden and created for custom needs. Additionally, fields can implement behaviors that let the model know it has special ways of doing things. -
No circular references — Fields are well-designed to prevent the infinite loop problem that sometimes plagues Sprig. It's even possible to have same-table child/parent references out of the box without intermediate models.
smgladkovskiy/jelly 适用场景与选型建议
smgladkovskiy/jelly 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 51 次下载、GitHub Stars 达 0, 最近一次更新时间为 2016 年 06 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 smgladkovskiy/jelly 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 smgladkovskiy/jelly 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 51
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2016-06-02