Re: [PHP] Doctrine vs. Propel

2008-02-06 Thread AmirBehzad Eslami
Thank you all for your kind replies.


Re: [PHP] Doctrine vs. Propel

2008-02-04 Thread Nathan Nobbe
On Feb 4, 2008 1:44 PM, AmirBehzad Eslami [EMAIL PROTECTED] wrote:

 Dear List,

 I've just heard of ORM (Object Relational Mapping) frameworks written for
 PHP.
 It seems that there are two major frameworks here: Doctrine and Propel:

 http://www.phpdoctrine.org/
 http://propel.phpdb.org/trac/

 I wonder which one is better? What is the difference between these?
 I'm talking about the learning curve, peroformance.
 What are the advantages/disadvantages of each one?


hmm...  i havent seen this doctrine yet; it looks pretty cool.
actually, they seem to be somewhat similar.  some things ive noticed
are doctrine uses yaml in its schema files, and doctrine appears to have
a caching mechanism already for both queries and results.  thats nice,
because for propel youll have to roll your own.  unless perhaps symphony
has done this already ?
also, propel doesnt have anything like DQL.  i have to say, doctrine has
some
killer docs as well.  these appear to be more robust than what propel has at
a
cursory glance.
ill probly take a closer look at this as time permits; thanks for the info!

-nathan


[PHP] Doctrine vs. Propel

2008-02-04 Thread AmirBehzad Eslami
Dear List,

I've just heard of ORM (Object Relational Mapping) frameworks written for
PHP.
It seems that there are two major frameworks here: Doctrine and Propel:

http://www.phpdoctrine.org/
http://propel.phpdb.org/trac/

I wonder which one is better? What is the difference between these?
I'm talking about the learning curve, peroformance.
What are the advantages/disadvantages of each one?

Thank you in advance,
Behzad


Re: [PHP] Doctrine vs. Propel

2008-02-04 Thread Zoltán Németh
2008. 02. 4, hétfő keltezéssel 22.14-kor AmirBehzad Eslami ezt írta:
 Dear List,
 
 I've just heard of ORM (Object Relational Mapping) frameworks written for
 PHP.
 It seems that there are two major frameworks here: Doctrine and Propel:
 
 http://www.phpdoctrine.org/
 http://propel.phpdb.org/trac/
 
 I wonder which one is better? What is the difference between these?

doctrine has several very cool and useful features which propel does not
have. for example real inheritance. and their documentation is also much
superior.
however doctrine is still in early stage of development, so if you work
on a project where stability is an issue I suggest using propel (later,
when doctrine becomes stable, we plan to change to it). if you just want
to experiment with these, try both. :)

greets
Zoltán Németh

 I'm talking about the learning curve, peroformance.
 What are the advantages/disadvantages of each one?
 
 Thank you in advance,
 Behzad

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Doctrine vs. Propel

2008-02-04 Thread Zoltán Németh
2008. 02. 4, hétfő keltezéssel 14.03-kor Nathan Nobbe ezt írta:
 On Feb 4, 2008 1:44 PM, AmirBehzad Eslami [EMAIL PROTECTED] wrote:
 
  Dear List,
 
  I've just heard of ORM (Object Relational Mapping) frameworks written for
  PHP.
  It seems that there are two major frameworks here: Doctrine and Propel:
 
  http://www.phpdoctrine.org/
  http://propel.phpdb.org/trac/
 
  I wonder which one is better? What is the difference between these?
  I'm talking about the learning curve, peroformance.
  What are the advantages/disadvantages of each one?
 
 
 hmm...  i havent seen this doctrine yet; it looks pretty cool.
 actually, they seem to be somewhat similar.  some things ive noticed
 are doctrine uses yaml in its schema files, and doctrine appears to have
 a caching mechanism already for both queries and results.  thats nice,
 because for propel youll have to roll your own.  unless perhaps symphony
 has done this already ?

symfony AFAIK only has file caching on its own

greets
Zoltán Németh

 also, propel doesnt have anything like DQL.  i have to say, doctrine has
 some
 killer docs as well.  these appear to be more robust than what propel has at
 a
 cursory glance.
 ill probly take a closer look at this as time permits; thanks for the info!
 
 -nathan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php