Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1738
  • Last Modified:

lightweight and simple php ORM

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
andieje
Asked:
andieje
  • 4
  • 2
1 Solution
 
Cornelia YoderArtistCommented:
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
 
andiejeAuthor Commented:
Hi

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

Thanks
0
 
andiejeAuthor Commented:
I also looked at phpactiverecord which doesnt look as if it has a very active forum or is maintained anymore?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Cornelia YoderArtistCommented:
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
 
andiejeAuthor Commented:
I couldnt even find a basic crud tutorial for the dica-orm. Any ideas? thank you
0
 
lenamtlCommented:
You can try Cough PHP
https://launchpad.net/coughphp

Prado
http://www.pradosoft.com/

CodeIgniter (very active one)
http://ellislab.com/codeigniter
0
 
andiejeAuthor Commented:
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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now