#2
Posted 27 November 2011 - 06:33 PM
We chose RedBeanPHP because we felt it was a better solution for our ORM needs. It has 2 modes, frozen and unfrozen which allow easy development without having to worry about the schema. Also, we have added an auto-build functionality for the database schema so that you don't have to worry about how the schema is constructed. We also like how it keeps the beans decoupled from the models in the application.
Jason Green
Zurmo Team
Need support? Upgrade now
#5
Posted 19 December 2011 - 08:07 PM
Also this article might be helpful in getting started:
http://zurmo.org/tut...tests-explained
Thanks for your suggestion regarding a diagram. I will need to get that put together when I have time.
Jason Green
Zurmo Team
Need support? Upgrade now
#6
Posted 28 April 2012 - 01:18 PM
The reason why I'm asking is because I'm in the process of testing Doctrine2 in Yii and I will possibly create an extension for integrating Doctrine2. I'm not really satisfied with Yii ORM so I'm looking for the best alternative.
The extension could provide similar functionality as Yii ORM plus all the Doctrine2 console commands (e.g. database migration).
#8
Posted 30 April 2012 - 12:55 PM
@Chris83: Welcome to Zurmo forum.Did you also consider using Doctrine2?
The reason why I'm asking is because I'm in the process of testing Doctrine2 in Yii and I will possibly create an extension for integrating Doctrine2. I'm not really satisfied with Yii ORM so I'm looking for the best alternative.
The extension could provide similar functionality as Yii ORM plus all the Doctrine2 console commands (e.g. database migration).
Yes we considered Doctrine2 and other ORM systems, but we was looking for simple and fast ORM system, and RedBeanPHP had all features we required. RedBeanPHP is also more lightweight.
Big advantage of RedBeanPHP is because you can switch it between development mode, so while in development mode, database scheme is fluid(and off course very slow), but once development is done, we can freeze database, and it that case it perform very fast.
#9
Posted 10 July 2012 - 07:13 PM
But I still have a question. I can not see any relations in the database, so we are using a relational database without relations. I know that maybe redbean can do it on his own, but I still have the feeling that is something missing.
#10
Posted 10 July 2012 - 08:08 PM
What relationship are you looking for?I had the same question as Rakesh, actually I can undersatnd better why you are using redbean now.
But I still have a question. I can not see any relations in the database, so we are using a relational database without relations. I know that maybe redbean can do it on his own, but I still have the feeling that is something missing.
Jason Green
Zurmo Team
Need support? Upgrade now
#11
Posted 13 July 2012 - 01:06 PM
I am not searching for relationships in the database, but is weird for me that there is none in a relational database. I think that redbean do the relatons by code ... ( I think ).
That is why it is weird for me
#12
Posted 13 July 2012 - 03:10 PM
Ok, let us know if you have more questionsJason,
I am not searching for relationships in the database, but is weird for me that there is none in a relational database. I think that redbean do the relatons by code ... ( I think ).
That is why it is weird for me. Dont take me wrong, it's just the first time that I am working with redbean and maybe there are lots of things that I still need to understand.
Jason Green
Zurmo Team
Need support? Upgrade now
#13
Posted 05 November 2012 - 03:11 AM
I have worked with Both Doctrine 1 and Doctrine 2 but not with RedBean, but after evaluating a bit (I have not done 100%, and am not into any Doctrine vs Redbean war). I see RedBean is thin and can be easily ported with any product. Both of them have similar functionalities but in their own variations in the implementations. But I feel RedBean is a better choice for products which needs ORM ported with it internally.
Am not a RedBean expert as of now, I have given my feedback on a small overview with it, correct my mistakes if anyone finds mistakes.
Few informations about Doctrine
- You have entities and they have relations in the PHPDoc with XDoclet Standards
- When you try to populate database from entities, they create all relation ships and indexces as necessary
- They help you get values from the relative tables as Object Mappings with help of proxies and they run queries when needed.
- It uses persistent manager to manage transactions and execute DML Queries.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users










