4 ms·
There are a variety of ORMs available all of which suck in different ways, such as bloated syntax, forcing you to write SQL statements as a bunch of function ca
by ErrantX 16y ago
There are a variety of ORMs available all of which suck in different ways, such as bloated syntax, forcing you to write SQL statements as a bunch of function calls (i.e. $something->select('column')->where('condition > 0')->...), or excessive configuration. The one decent ORM (DMZ Datamapper: http://www.overzealous.com/dmz/ http://www.overzealous.com/dmz/) is maintained by one person, and limited to the Code Igniter framework.
This is a complaint I'v made before... Currently I am using Jelly [1] for the Kohana framework and it is wonderful compared to most of the PHP ORM offerings.
1. http://jelly.jonathan-geiger.com/ http://jelly.jonathan-geiger.com/
- shaunxcode 16y agohah http://jelly.jonathan-geiger.com/docs/api/Jelly_Field_Behavior http://jelly.jonathan-geiger.com/docs/api/Jelly_Field_Behavi... - I wanted to see what his approach was in regards to defining custom types etc.
- ErrantX 16y agoUh, there is no class Jelly_Field_Behaviour, instead you need to look at the various classes in Jelly_Field_Behaviour_* - I don't know where it linked you to that but it was obviously in error. Here are the behaviours: http://github.com/jonathangeiger/kohana-jelly/tree/master/classes/jelly/field/behavior/ http://github.com/jonathangeiger/kohana-jelly/tree/master/cl...
- shaunxcode 16y agoThanks, if I can find where I got that link I'll try and ping the owner on github.