Solved

lightweight and simple php ORM

Posted on 2014-03-15
9
1,624 Views
Last Modified: 2014-05-02
Hi

I'm looking for a really lightweight and simple ORM for php. I had a look at propel/doctrine as part of symfony and it is just way to complicated for my needs. I am not doing any sort of MVC model and I dont want to use any other frameworks. I have looked at fuelphp and similar for example

The best I could see was NotORM but I was concerned that there didnt seem to be much documentation or any sort of active forum.

Can anyone recommend an ORM suitable for my needs please?

Many thanks in advance

Thanks in advance
0
Comment
Question by:andieje
  • 4
  • 2
9 Comments
 
LVL 27

Expert Comment

by:yodercm
ID: 39932471
Have you looked at RedBean?

http://redbeanphp.com/

It is a fairly simple, the documentation is good, and it's free.

It claims to be suitable for projects such as

Prototypes
Small-medium applications from scratch, less than 50 tables
Large and complex applications (use RedBeanPHP Adaptive)
Phasing out old legacy applications with horrible schemas (remap using views and make the Legacy code fun again!)
Low power, embedded apps

Their website also references another orm, suggested for small applications where you want more control of the table/field names:  
http://dicabrio.com/php/dica-orm-object-relational-mapping.php 
but I know nothing about this one.
0
 

Author Comment

by:andieje
ID: 39937619
Hi

Ive looked at redbean but i dont want the database schema to be made dynamically

Thanks
0
 

Author Comment

by:andieje
ID: 39937630
I also looked at phpactiverecord which doesnt look as if it has a very active forum or is maintained anymore?
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 27

Expert Comment

by:yodercm
ID: 39938276
Did you check out the other one?   dica-orm...

It was mentioned on the redbean site specifically as an alternative for people who wanted control of their table and field names.
0
 

Author Comment

by:andieje
ID: 39972401
I couldnt even find a basic crud tutorial for the dica-orm. Any ideas? thank you
0
 
LVL 25

Accepted Solution

by:
lenamtl earned 500 total points
ID: 40018207
You can try Cough PHP
https://launchpad.net/coughphp

Prado
http://www.pradosoft.com/

CodeIgniter (very active one)
http://ellislab.com/codeigniter
0
 

Author Comment

by:andieje
ID: 40037764
Hi

Ive looked at them but they are not what I would consider lightweight. However I will give coughphp a go
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Number of reviews not counting correctly 2 22
Help with PHP 13 27
Row insertion failed. Array 5 46
SQL querys that gives me from one table into another. 2 24
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question