[symfony-users] Re: Symfony Super Cache in 1.2

2009-10-02 Thread Stephen Melrose
It certainly needs some work, but as and when I have something I'm confident with, I'll get it on our company blog. Here's the URL if you wanna grab the RSS, http://blog.madebypi.co.uk/ Thanks again for the replies guys! Steve On 2 Oct 2009, at 02:49, Pablo Godel pgo...@gmail.com wrote:

[symfony-users] From Propel to Doctrine... for every projects ?

2009-10-02 Thread Adrien Mogenet
Hi everyone, I developping a simple association manager, which can manage members, fees, expenses, activities, accounts... I'm using symfony 1.2 (trunk) and Propel 1.3 (trunk also). I know that symfony will evolve with Doctrine and not with Propel anymore. So I'm wondering if it would be

[symfony-users] Re: JobeetJobTable class vs JobeetJob class

2009-10-02 Thread Gábor Fási
They have very different purposes, it only makes sense to separate them, work with them a bit, and you'll see :) On Fri, Oct 2, 2009 at 01:58, Keith kmedli...@gmail.com wrote: That makes sense.  Interesting that it's split up like that rather than all being in a single model class, but

[symfony-users] Re: From Propel to Doctrine... for every projects ?

2009-10-02 Thread Gábor Fási
The default ORM will be doctrine, but propel will be supported, hopefully for a long time. I've used it in many projects, and I don't plan on switching - no reason to :) I started learning doctrine when propel seemed to be abandoned, so I can start new projects with it, but it got a new leader,

[symfony-users] Re: spl support: undefined function spl_autoload_register()

2009-10-02 Thread Davide Borsatto
SPL should can not be disabled IMHO. It's called Standard PHP Library, why would someone not enable that... Same as filter library (I'm talking to you, my crappy hosting, I hate you). Back to the topic, I don't think symfony (or its cache) is the problem here, since it can not even load the core

[symfony-users] Re: How to execute a stored procedure on a remote db server throught symfony?

2009-10-02 Thread Gareth McCumskey
This article is what I read when I needed to setup and manage multiple databases in symfony: http://www.lampjunkie.com/2008/04/using-multiple-databases-in-symfony-with-propel/ The best bet to see how custom queries run is to look at the Propel documentation itself on the doSelectRS statement if

[symfony-users] Re: JobeetJobTable class vs JobeetJob class

2009-10-02 Thread Gareth McCumskey
Propel does the same thing. Pretty much its to seperate any of your own methods designed to be called as static functions that will perform just quick queries on the database where you don't need to work on instanced version necessarily to get what you need. Otherwise you would have to instantiate

[symfony-users] Re: Component- Templating

2009-10-02 Thread Gareth McCumskey
Whats wrong with magic in symfomy? Perhaps point out to him that at anytime you can go and see exactly what symfony does in its magic. Also, I'd rather have symfony auto-generate code for me where a far larger number of developers have tested, used, implemented and stressed that magic code for

[symfony-users] Re: About embed forms

2009-10-02 Thread Francisco José Núñez Rivera
But all the opinions have the same features. Feature - id , desc 1,Feature 1 ; 2, Feature2... Opinion shows all the features.. Feature 1 -Score: Feature 2 - Score: OpinionFeature - opinion_id , feature_id , score I only insert a row here when im scoring a feature. I think my schema is right...

[symfony-users] Upgrading to 1.2 on PHP 5.1

2009-10-02 Thread Gareth McCumskey
Hi all, We are currently running a project on the symfony 1.1 release. Not ideal I know but we do have some issues regarding upgrading PHP to 5.2.4 (minimum requirements for symfony 1.2 and up) and so I was wondering if anyone was able to get symfony 1.2 running on a machine with PHP 5.1

[symfony-users] Re: Upgrading to 1.2 on PHP 5.1

2009-10-02 Thread david
It would require some patching but you might be able to use 1.2 in conjunction with some of the PEAR libs. I know there's a PEAR compat lib that's designed to help with this type of issue. On Fri, 02 Oct 2009 13:11:34 +0200, Gareth McCumskey gmccums...@gmail.com wrote: Hi all, We are

[symfony-users] Re: Upgrading to 1.2 on PHP 5.1

2009-10-02 Thread Fabian Lange
You dont need much of PEAR Fabian On Fri, Oct 2, 2009 at 1:40 PM, david da...@inspiredthinking.co.uk wrote: It would require some patching but you might be able to use 1.2 in conjunction with some of the PEAR libs. I know there's a PEAR compat lib that's designed to help with this type of

[symfony-users] Re: Upgrading to 1.2 on PHP 5.1

2009-10-02 Thread Gareth McCumskey
Would you be able to elaborate at all? :P On Fri, Oct 2, 2009 at 1:42 PM, Fabian Lange fabian.la...@symfony-project.com wrote: You dont need much of PEAR Fabian On Fri, Oct 2, 2009 at 1:40 PM, david da...@inspiredthinking.co.uk wrote: It would require some patching but you might be

[symfony-users] project:disable not working

2009-10-02 Thread Steve Sanyal
Hi, I'm trying to use project:disable when I perform app maintenance, but it doesn't seem to work. I see the following output: xxx [~/x/myapp]# ./symfony project:disable frontend prod file+ /home//myapp/data/frontend_prod.lck enablefrontend [prod] has been DISABLED But

[symfony-users] Re: project:disable not working

2009-10-02 Thread Gábor Fási
http://www.symfony-project.org/reference/1_2/en/04-Settings#chapter_04_sub_check_lock On Fri, Oct 2, 2009 at 15:39, Steve Sanyal steve.san...@gmail.com wrote: Hi, I'm trying to use project:disable when I perform app maintenance, but it doesn't seem to work.  I see the following output:

[symfony-users] Re: project:disable not working

2009-10-02 Thread Steve the Canuck
Thanks! On Oct 2, 9:41 am, Gábor Fási maerl...@gmail.com wrote: http://www.symfony-project.org/reference/1_2/en/04-Settings#chapter_0... On Fri, Oct 2, 2009 at 15:39, Steve Sanyal steve.san...@gmail.com wrote: Hi, I'm trying to use project:disable when I perform app maintenance, but

[symfony-users] schema design

2009-10-02 Thread mbernasocchi
Hi I've a question regarding how to design a feature of my project. my project has a question/answer section, a forum section and a tutorial section. I want to add a flag as inapropriate functionality to each of the tables (question, answer, forum, forum_comment, recipe, recipe_comment). I want

[symfony-users] Re: sfGrid and Custom query

2009-10-02 Thread LvanderRee
Hi Alex, sorry I completely missed this thread! Last week however I implemented a extenstion on sfDataSourcePropel, that allowed me to perform a custom query (not only by defining criteria, but also by overruling PropelBasePeer to define my own inner- queries, with nested select-queries). I

[symfony-users] Global validation: Propel unique validator issue

2009-10-02 Thread yengama...@gmail.com
Hi, I have an application that has Volunteers, each one belonging to an Organisation with an assigned code. I need to check that there cannot be duplicated volunteers' codes within an organisation, so I used a sfValidatorPropelUnique passing code and organisation id as arguments. When i log in

[symfony-users] Re: schema design

2009-10-02 Thread david
Consider writing a behavior - which you can then attach to whatever tables you wish. Checkout: http://www.doctrine-project.org/documentation/manual/1_1/en/behaviors On Fri, 02 Oct 2009 16:11:23 +0200, mbernasocchi mbernasoc...@gmail.com wrote: Hi I've a question regarding how to

[symfony-users] Re: Global validation: Propel unique validator issue

2009-10-02 Thread yengama...@gmail.com
BTW, a hidden input does the job, buy i have the risk of a user trying to change organisation id with a custom request. So, how can i prevent it? On Oct 2, 6:10 pm, yengama...@gmail.com yengama...@gmail.com wrote: Hi, I have an application that has Volunteers, each one belonging to an

[symfony-users] a form to create multiple objects

2009-10-02 Thread MoUeTtE
Hi everybody, I'm currently developing an application in which I have to create objects that is linked to a week day. Up to now, I select the weekday for every object, but most of the time every field in the object is the same except this weekday. What would be the best practice to have the user

[symfony-users] iCalender support in Symfony

2009-10-02 Thread DEEPAK BHATIA
A plugin for the same would do wonders for Symfony...Please share your thoughts --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

[symfony-users] Re: schema design

2009-10-02 Thread Gareth McCumskey
Your first solution is nice and simple but it has one big flaw. Because you use enum if you want to add another type later that means you now have to edit database schema to accomplish it. One tactic which might work better is instead of enum'ing a few types just use the table name as the type

[symfony-users] How to know if an object has been modified

2009-10-02 Thread Ignacio Bergmann
Hello, this is my first message to the list... hope it isn't a silly question. I'm using Doctrine, and I have a class in my model which has a field that stores the name of a file (a picture). I have automated the deletion of those files when the corresponding record is delete using the

[symfony-users] Re: Prebuild cache?

2009-10-02 Thread Eno
On Fri, 2 Oct 2009, Martin wrote: After deployment on production server there is always the delay on first request. To switch to a new version I change the symlink from the old to the new project directory. Can I prebuild the yml- and routing-cache somehow before symlinking?

[symfony-users] Re: schema design

2009-10-02 Thread Eno
On Fri, 2 Oct 2009, david wrote: Consider writing a behavior - which you can then attach to whatever tables you wish. Checkout: http://www.doctrine-project.org/documentation/manual/1_1/en/behaviors +1 -- --~--~-~--~~~---~--~~ You received this

[symfony-users] Re: a form to create multiple objects

2009-10-02 Thread david
Storing representation of dates, while not complex, really comes down to what you want to do with them and the granularity you wish to work at. You have several options - and different people have different personal preferences and it boils down to where you want to do the processing.