This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » General discussion » Propel 1.5 is awesome - Try it asap.
Propel 1.5 is awesome - Try it asap. [message #99946] Thu, 27 May 2010 16:29 Go to next message
tofuwarrior  is currently offline tofuwarrior
Messages: 16
Registered: December 2009
Location: Cardiff
Junior Member
If you haven't upgraded to propel1.5 and used the query syntax then do it.
Propel1.5 is frickin' awesome!
Especially if have an IDE, the fluent interface combined with the methods for querying through foreign key relationships means you can write very complex queries through multiple FK relatijnships with joins left right and centre in a few seconds.

Seriously, if you haven't tried it then try it.

I'm blown away by what an awesome job Francois Zaninotto has done. The query syntax is awesome on its own but 1.5 also has built in nested sets behaviour which also rocks and a whole load of other behaviours I haven't tried yet like paranoid delete, sluggable etc etc Also has conditions etc etc etc

Have I got across that I love this thing?

No abstracted query language like I've read about with Doctrine (not knocking doctrine but that always seems like an unnecessary pain in the head), just clean powerful OO method chaining that saves weeks of head banging in a few seconds work.

Surprised


Before you criticise someone, walk a mile in their shoes. That way you will be a mile away and have their shoes.
Re: Propel 1.5 is awesome - Try it asap. [message #99957 is a reply to message #99946 ] Thu, 27 May 2010 19:46 Go to previous messageGo to next message
xplo  is currently offline xplo
Messages: 428
Registered: September 2008
Faithful Member
yes it is Smile
Re: Propel 1.5 is awesome - Try it asap. [message #99967 is a reply to message #99946 ] Fri, 28 May 2010 00:15 Go to previous messageGo to next message
tofuwarrior  is currently offline tofuwarrior
Messages: 16
Registered: December 2009
Location: Cardiff
Junior Member
I know, I still can't get over it, it is saving me HOURS even over propel 1.3 which was pretty damn smart when I first migrated from PDO.

I just wouldn't even get close to being able to write the SQL for a load of the FK stuff I'm doing with propel 1.5 and I'm sure it would take me hours per query even with criteria.

Plus have got my head around symfony in the last few months , my life is transformed Smile

P


Before you criticise someone, walk a mile in their shoes. That way you will be a mile away and have their shoes.
Re: Propel 1.5 is awesome - Try it asap. [message #99994 is a reply to message #99946 ] Fri, 28 May 2010 10:23 Go to previous messageGo to next message
COil  is currently offline COil
Messages: 466
Registered: September 2006
Faithful Member

Yep, really good to have an alternative to Doctrine. Moreover a lot of companies will not switch to Doctrine because all their developer used to use Propel in their projects and they would loose time learning another ORM.

[Updated on: Fri, 28 May 2010 10:26]


my Symfony Blog - http://www.strangebuzz.com
The symfony web debug bar as a standalone library : PEAR::PHP_Debug
Re: Propel 1.5 is awesome - Try it asap. [message #100500 is a reply to message #99994 ] Sun, 06 June 2010 09:16 Go to previous messageGo to next message
rekarnar  is currently offline rekarnar
Messages: 6
Registered: April 2009
Location: nz
Junior Member
Agree. I have just switched to using the sfPropel15Plugin and it is amazing! Especially being able to add static methods to my peer objects with behaviors (like the native sortable behavior).
Great work!
Re: Propel 1.5 is awesome - Try it asap. [message #102799 is a reply to message #99946 ] Tue, 20 July 2010 14:04 Go to previous messageGo to next message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
Could anyone on this thread who has tried Propel 1.5 with the latest version of sfGuardPlugin please give me some assistance? I am struggling to get Symfony 1.3 + Propel (1.4|1.5) + Oracle working in a stable fashion.

In particular, I am finding Propel 1.5 doesn't build forms using the latest syntax, and meanwhile Propel 1.4 tries to execute SQL that Oracle doesn't understand (this bug has been around since Propel 1.3, and is not fixed in 1.3 or 1.4 afaict).

I can't see, incidentally, how the first issue is database-dependent, and would imagine it would affect users of all db platforms. The second issue is obviously an Oracle-specific issue in the Propel codebase.

[Updated on: Tue, 20 July 2010 14:05]


Remember Palestine
Re: Propel 1.5 is awesome - Try it asap. [message #102824 is a reply to message #102799 ] Tue, 20 July 2010 20:48 Go to previous messageGo to next message
xplo  is currently offline xplo
Messages: 428
Registered: September 2008
Faithful Member
Did you install sfPropel15Plugin from svn ? it s on the head rev of propel with many update. Anyway i think it s more a guardplugin problem than propel15 ( i never used sfGuardPlugin ).

If you dont get support from this forum you can try the propel mailing list and propel trac for anything related to propel and propelplugin @ http://www.propelorm.org/
Re: Propel 1.5 is awesome - Try it asap. [message #102843 is a reply to message #99946 ] Wed, 21 July 2010 10:15 Go to previous messageGo to next message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
Thanks for your reply, xplo. I didn't try the svn version of sfPropel15Plugin - I will do that.

No, it's not sfGuardPlugin, it's def the Propel plugin as far as I can see. I should have mentioned on this thread something I mentioned on one of the other threads: dropping back down to Propel 1.4 solves the first problem (relating to the incorrectly specified filter widgets).

Edit: I am hoping that if this can be fixed, I will be able to escape from the Oracle problems in 1.4 Rolling Eyes

[Updated on: Wed, 21 July 2010 10:16]


Remember Palestine
Re: Propel 1.5 is awesome - Try it asap. [message #103317 is a reply to message #99946 ] Fri, 30 July 2010 18:16 Go to previous messageGo to next message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
This is still a serious problem, and whilst I think I can solve this by turning admin generator filters off, I am not sure how to do that. I have asked how to do so on the mailing list. If anyone knows how to do so, please let me know.

I will have to send something to the propel ML, but Francois is aware of the issue.


Remember Palestine
Re: Propel 1.5 is awesome - Try it asap. [message #103427 is a reply to message #99946 ] Mon, 02 August 2010 17:28 Go to previous message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
I worked around the filters problem by overriding the sf_user_user generator.yml with my own copy - and disabled the filters.

I have found another issue relating to mutual foreign keys between two tables, so there's still some kinks to be ironed out. (Thanks @xplo for your assistance on the other thread here).

But well done nonetheless to the core team; I am sure these problems will be sorted out soon.

Edit: the mutual keys issue is fixed.

[Updated on: Mon, 02 August 2010 19:27]


Remember Palestine
Previous Topic:Adding an empty choice while passing a Doctrine object to sfWidgetFormChoice
Next Topic:backend login redirects to the frontend homepage
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software