[symfony-users] Re: Performance ORM for Symfony 1.3

2009-10-27 Thread Gareth McCumskey
Just remember one thing. Don't do your benchmarks using the dev front controller. The dev controller has no caching, loads additional global variables to keep track of request/response info and other debug information. The best test is to benchmark on the production front controller as this is

[symfony-users] Re: how to build a form for multiple uploads?

2009-10-27 Thread mel_06
or how can i turn this regular upload http://vit.free.fr/symfony/0.6.3/upload.html into a multiple upload? On Oct 27, 10:14 am, mel_06 06melc...@gmail.com wrote: i tried searching but unfortunately there's too little documentation for symfony at the moment. On Oct 26, 7:14 pm, Alexandre

[symfony-users] Re: how to build a form for multiple uploads?

2009-10-27 Thread Alexandre SALOME
http://www.symfony-project.org/plugins/sfWidgetFormInputSWFUploadPlugin ? 2009/10/27 mel_06 06melc...@gmail.com or how can i turn this regular upload http://vit.free.fr/symfony/0.6.3/upload.html into a multiple upload? On Oct 27, 10:14 am, mel_06 06melc...@gmail.com wrote: i tried

[symfony-users] Re: Do you use more than one app?

2009-10-27 Thread Florian
Or use a plugin, no ? It's accessible from all apps. On Oct 26, 10:45 pm, Greg Maruszeczka gma...@gmail.com wrote: On Mon, 26 Oct 2009 19:26:55 -0200 Sid Ferreira sid@gmail.com wrote: Hi everyone! Well, there's a while that I always use only one app. Even in the admin I use routes

[symfony-users] Re: Doctrine - Database migration version

2009-10-27 Thread Simone Fumagalli
Just realized now that there is a table called migration_version with the active version for the DB. Would be nice to have a command like /symfony doctrine:migrate-active- version Ciao -- Simone --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Re: Do you use more than one app?

2009-10-27 Thread Alex Gilbert
We've been doing a single app for a while as well, but this is because the admin interface is just an additional UI layer on the frontend interface for most of our projects. Very rarely do we have a need for what would behave like a separate, backend app. On Oct 26, 5:26 pm, Sid Ferreira

[symfony-users] Nested Forms

2009-10-27 Thread mirfan
Hi, i have form A in which i embed Form B and now i have to embed form C into form B (this will be through ajax call any number of forms can be embeded) this situation is looking very complex for me please someone help me i am using the following method to embedform

[symfony-users] Custom fixtures for migrations

2009-10-27 Thread Simone Fumagalli
Is there a way to specify fixtures to use when my database migrate from version N to M ? Let's say migrating to version M from version N add a table to my database, I would like to specify a fixtures to add data in that table. Regards. -- Simone

[symfony-users] Re: Custom fixtures for migrations

2009-10-27 Thread david
Yep - you can: http://www.doctrine-project.org/documentation/manual/1_0/en/migrations Migrations are just classes with interface methods - there's a pre/post hook that allows you to extract save or import load data. On Tue, 27 Oct 2009 15:57:42 +0100, Simone Fumagalli

[symfony-users] functional tests : issue with auto-increment and userID

2009-10-27 Thread Adrien Mogenet
Hi everyone, I'm using fixture to fill my database with 3 fake user accounts, the first one is my demo account. I'm writing my tests using a $browser as sfGuardTestFunctional, which signs me in automatically. The first time I launch my test, my $browser works perferctly and shows that my User

[symfony-users] sf 1.3 - loading fixtures

2009-10-27 Thread david
Just an fyi - there appears to be a small issue with Doctrine 1.2 when loading fixtures when child labels are reused. You'll get an unrelated error message that might lead you down the wrong path (in my case a null field error). In earlier versions of Doctrine the fixtures loaded without

[symfony-users] Re: sf 1.3 - loading fixtures

2009-10-27 Thread Jonathan Wage
Thanks. We'll need to throw an exception or something if you use a non-unique key name. They must be unique in order for it to work properly. - Jon On Tue, Oct 27, 2009 at 1:26 PM, david da...@inspiredthinking.co.uk wrote: Just an fyi - there appears to be a small issue with Doctrine 1.2 when

[symfony-users] Re: Doctrine - Database migration version

2009-10-27 Thread a...@speedypin.com
I made a task in the doctrine namespae called :get-current-migration- version so i can do it from the command line: lib/task/getCurrentMigrationVersionTask.class.php ?php class getCurrentMigrationVersionTask extends sfBaseTask { protected function configure() {

[symfony-users] using fixtures with images and audio files

2009-10-27 Thread el-sid
hi all, i have a system im working on that allows loading images and mp3 files into a mysql database. what i want to know is, is it possible to load sample files into the db using fixtures? --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Re: using fixtures with images and audio files

2009-10-27 Thread david
Nope. Generally it's not a good idea to load files into a database. The usual approach is to load the pathname into the database - loading binary data into a database is possible - but not optimal. On Tue, 27 Oct 2009 20:23:37 +0100, el-sid sydneyari...@gmail.com wrote: hi all, i have a

[symfony-users] Re: using fixtures with images and audio files

2009-10-27 Thread el-sid
thanks alot. guess i have some redesigning to do :-) On Oct 27, 10:31 pm, david da...@inspiredthinking.co.uk wrote: Nope. Generally it's not a good idea to load files into a database. The usual approach is to load the pathname into the database - loading   binary data into a database is

[symfony-users] Re: custom user class

2009-10-27 Thread lorenx
hi frank, i'm studing the sfGuardPlugin... just one question: i cannot understand the call $this-getUser()-signin($values['user'], array_key_exists('remember', $values) ? $values['remember'] : false); (BasesfGuardAuthActions.class.php: 45) i guess that it referes to the signin method of the

[symfony-users] Re: how to build a form for multiple uploads?

2009-10-27 Thread rekarnar
That doc is very old. Perhaps look into embedded forms. Here is a good place to start: http://www.symfony-project.org/forms/1_2/en/01-Form-Creation On Oct 27, 8:06 pm, mel_06 06melc...@gmail.com wrote: or how can i turn this regular uploadhttp://vit.free.fr/symfony/0.6.3/upload.html into

[symfony-users] Re: custom user class

2009-10-27 Thread Alexandru-Emil Lupu
Hi! 2) - in the validator, check what is happening . You shall see that the validator is ooverloading the post with a user key, that is the sfGuardUser ( plugins/sfGuardPlugin/lib/validator/ ) 1) that signin method is avalilable in the sfGuardSecurity user or so (

[symfony-users] change the value on the form with ajax

2009-10-27 Thread Martin Ibarra Cervantes
i have a gallery with gallerific but when change the picture i need change the ID on my form its possible change the value with the ajax. div id=description/div onClick= ?php echo link_to_remote(array( 'update' = 'description', 'url'=

[symfony-users] how to implement sfWidgetFormInputSWFUploadPlugin tutorial?

2009-10-27 Thread mel_06
i'm just really knew to symfony. is anyone knows how to use sfWidgetFormInputSWFUploadPlugin? thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to