[symfony-users] Re: Using Propel and Doctrine in the same project

2007-05-24 Thread adventex
els to the doctrine schema. I have not tried though. > If you give it a try let us know if it works. > > - Jon > > adventex wrote: > > Quite simply, assuming my schemas for both ORM's were identical, I'd > > like to be able to use propel for some modules and do

[symfony-users] Re: Using Propel and Doctrine in the same project

2007-05-24 Thread adventex
e" <[EMAIL PROTECTED]> wrote: > I have not tried myself, but that sounds like it would work if you are > only adding new models to the doctrine schema. I have not tried though. > If you give it a try let us know if it works. > > - Jon > > adventex wrote: > > Quite

[symfony-users] Re: Using Propel and Doctrine in the same project

2007-05-24 Thread adventex
With google's summer of code supporting doctrine and symfony's planned support for doctrine in 1.1 do you think we'll see more support for moving code from propel to doctrine? 'symfony doctrine-import' certainly is helpful but it would be nice to be able to convert crud generated with propel into

[symfony-users] Using Propel and Doctrine in the same project

2007-05-23 Thread adventex
Quite simply, assuming my schemas for both ORM's were identical, I'd like to be able to use propel for some modules and doctrine for the newer modules I'm developing. I've been told this is not possible but I can't see why. Any thoughts? We've spent 5 months coding a site using propel and I now s

[symfony-users] Custom Join Helper with Pager

2007-05-23 Thread adventex
I'm having a lot of trouble getting the custome join helper class to work with pager. There is a section dedicated to this topic at the bottom of this page: http://trac.symfony-project.com/trac/wiki/ApplyingCustomJoinsUsingHelper however, following those directions precisely still yields the follo

[symfony-users] Re: Security w/ sfGuardPlugin and filters

2007-04-21 Thread adventex
as the credentials to > change the object > > On 21 Apr., 01:48, adventex <[EMAIL PROTECTED]> wrote: > > > Using sfGuard I have configured various credentials that a user might > > have: members, employees, admins. > > > For a given action: member/edit, I want

[symfony-users] Security w/ sfGuardPlugin and filters

2007-04-20 Thread adventex
Using sfGuard I have configured various credentials that a user might have: members, employees, admins. For a given action: member/edit, I want admins to be able to always execute this action, and for members I want them to be able to access this action only for their own id. Simply setting crede

[symfony-users] Database caching propel

2007-03-13 Thread adventex
I have some data in a non-local mysql database that is used to fill drop down boxes for a search page. These values change VERY rarely but they do change and hence need to be in the DB instead of an array, however the time to retrieve these values 200ms * 20 queries per page adds up to quite a lon

[symfony-users] Cross database joins with propel

2007-03-07 Thread adventex
I have been using sfPropelCustomJoinHelper to do various joins and it works great. Does anyone know have to join tables from different databases? This is something which is easy to accomplish in sql but seems non-trivial with propel. --~--~-~--~~~---~--~~ You rece

[symfony-users] sfGuard is user logged in

2007-03-06 Thread adventex
What is the proper way to check if a user is logged in. I've used this but it seems to not work: if(sfContext::getInstance()->getUser()->getGuardUser()) I've also used if($sf_user->hasCredential('member')) There must be a nice elegant way to do something like if($this->getUser()->isLoggedIn()