Re: [symfony-users] Re: DBFinderPlugin future

2009-11-30 Thread David Herrmann
Tony Piper wrote: +1 from me. It would be great if François could update it for Propel 1.4 and Symfony 1.3/1.4 compatibility - it would probably take him just a few minutes (relative to how long it would take me)… The lack of DbFinder is a show-stopper for my 1.2-1.3 upgrade testing and

[symfony-users] Re: Performance tricks for Symfony

2009-10-15 Thread David Herrmann
ffrey schrieb: Total madness ! $v = (float) ((0.7 + 0.1) * 10);echo $v; = 8, as expected $v = (int) ((0.7 + 0.1) * 10);echo $v; = 7, as totally unexpected !!! Can you explain why ? A php bug ? Thanks for that thought-provoking post ;-) Just never cast floats to integers directly, use

[symfony-users] symfony at the sourceforge community choice awards

2009-05-14 Thread David Herrmann
I've nominated symfony in 3 categories at the sourceforge community choice awards (http://sourceforge.net/community/cca09/): * symfony PHP framework for Best Tool or Utility for Developers * symfony PHP framework for Best Project * symfony PHP framework for Best Commercial Open Source Project

[symfony-users] Re: Web Mozarts - New symfony blog

2009-04-08 Thread David Herrmann
Bernhard Schussek wrote: I would like to introduce you to Klemens Ullmann's and my new blog: http://webmozarts.com snip / I am new to blogging, so I would be grateful about any feedback you can give! Nice blog you got there! One thing I'd change is to deactivate comment moderation and use

[symfony-users] Re: Doctrine UNION function or similar solution

2009-03-25 Thread David Herrmann
pixelmeister schrieb: Hi @all, i have to solve a problem with doctrine which I normally would do with the mysql union function. Perhaps someone has an Idea for me, how I can do this: I have a few tables whitch have the following setup: --

[symfony-users] Re: Best practice for multiple dynamic databases using symfony and Doctrine

2009-03-24 Thread David Herrmann
can tell us how to modifiy a connection to use a specific database name during run-time? David On Feb 12, 11:07 am, David Herrmann d...@okto.tv wrote: I'm currently planning a large project where I need a quite tricky setup: There is a main database holding customers and business cases. Each

[symfony-users] Re: Best practice for multiple dynamic databases using symfony and Doctrine

2009-03-24 Thread David Herrmann
Filipe Costa wrote: see this http://groups.google.com/group/symfony-users/browse_thread/thread/b89bcc66e3b70a59 This looks interesting... I think the way to go for me will be to manipulate the databases in sfDatabaseManager while the routing is done. As soon as I have some code to share

[symfony-users] Re: Frontend backend - one login form

2009-03-03 Thread David Herrmann
Tomasz Ignatiuk wrote: I don't get it...But witch action should be targeted in form? To backend, or to frontend? I think this depends on your personal taste. But if don't like either solutions why not create a third application (besides frontend and backend), e.g. loginapp, that handles only

[symfony-users] Re: How do you store names in database?

2009-03-03 Thread David Herrmann
Lee Bolding schrieb: Simple question, for a rather trivial piece of functionality, but it's all in the details... How do you store peoples names in the database? As in, do you upper/lower case firstname and lastname or ucfirst etc? why? No, i don't do any modifications of names,

[symfony-users] Re: Let's be more dynamic with sfForm

2009-02-24 Thread David Herrmann
Hi Thomas, Thomas Rabaix wrote: Yesterday night I published a interesting post about how to add more dynamism to your sfForm. feel free to : * send me comments so future improvements can match the community needs Thanks for this interesting piece of work! I think that as a proof of

[symfony-users] Re: Class 'sfGuardSecurityUser' not found

2009-02-24 Thread David Herrmann
ckemmler schrieb: just before having this error, I had installed the plugin using: php-mamp symfony plugin:install sfGuardPlugin and I cleared the cache at every possible moment, too May I ask, where is the class supposed to be? It should be in your project's

[symfony-users] Re: sfDynamicFormsPlugin [was: Symfony/Doctrine/Forms with EAV model?]

2009-02-23 Thread David Herrmann
Lee Bolding schrieb: Hope to have those finished tomorrow night, for check in to SVN. Unfortunately, at the moment, I can only work on this plugin during my spare time (but that's also the reason I can make it a public plugin). I'd love to take a look at it, too. Perhaps we can join our

[symfony-users] Re: Symfony/Doctrine/Forms with EAV model?

2009-02-20 Thread David Herrmann
In essence, what I'm creating is a form designer similar to ExpressionEngine custom fields here : http://expressionengine.com/docs/cp/admin/weblog_administration/custom_fields_edit.html, the difference being that I'm going to be adding a few extra fields for validation. I will need

[symfony-users] Re: Best practices and techniques for form fields not saved to database

2009-02-18 Thread David Herrmann
Hi Steve, Java Guy schrieb: What I find is happening is when I submit the form, I only want to save the state_prov_id field, but by default the save() method on the form updates the underlying model object with a state and province field also. This causes an error because state and province

[symfony-users] Re: using i18n outside template

2009-02-17 Thread David Herrmann
Dincho Todorov schrieb: Or you can directly load the helper anywhere: sfLoader::loadHelpers(array('I18N')); and then use the __() function/helper I missed that one, thanks! David --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[symfony-users] Re: extending doctrine schema with SQL views

2009-02-17 Thread David Herrmann
Damien Lepage schrieb: I would like to know if there is an easy way to automatically create views each time I rebuild my database. In other words, is there a place where I can put a custom script which will create my views and will be triggered when my database is built (by

[symfony-users] Re: using i18n outside template

2009-02-16 Thread David Herrmann
Iltar schrieb: When i want a custom message for like a form error: array( 'min_length' = __('Your username cannot contain less then 6 characters.'), 'max_length' = __('Your username cannot contain more than 32 characters.') ) The __() ofcourse doesn't work... How can i

[symfony-users] Best practice for multiple dynamic databases using symfony and Doctrine

2009-02-12 Thread David Herrmann
I'm currently planning a large project where I need a quite tricky setup: There is a main database holding customers and business cases. Each customer may create unlimited business cases which are represented by an actual application. The database of a business case application will consist