[symfony-devs] Re: Strange error after project deployment

2011-10-07 Thread weaverryan
FYI, this was also just reported by another user: https://github.com/everzet/capifony/issues/60 I've not seen this error personally, but it seems like there's an edge situation somewhere that's causing it... On Oct 4, 4:00 am, grinch wrote: > i have the exact same problem on my webspace. but it

[symfony-devs] Re: Bug in assetic

2011-06-13 Thread weaverryan
Hey guys- With the commits that fixed this bug, I now have missing assetic routes in my project (not filter tags being used). I've created a PR (https://github.com/kriswallsmith/assetic/pull/75) that partially addresses the problem, but I'm a bit stuck. Is anyone else having assetic route problems

[symfony-devs] Re: Proposed removal of DI extension-consumed parameters from DI extension resources

2011-01-26 Thread weaverryan
t. As Fabien said, the > options > > exposed by a DI extension should be configured and "never" the > parameters > > located in any resource loaded by the DI extension. The point is, if you > > need to override the parameters from a DI extension, you

[symfony-devs] ChoiceField options and rendering - some extra stuff?

2011-01-17 Thread weaverryan
Hey guys- A few things as I'm going through the form component. At the very least, I wanted to make sure I'm reading the intended behavior correctly. * The "separator" option on ChoiceField doesn't appear to be used. Instead, a separator parameter is passed when rendering the field: {{ form_fiel

[symfony-devs] Constraint constructor - a bit too magic?

2011-01-15 Thread weaverryan
Hey guys- I don't care for the constructor for the Constraint (https:// github.com/fabpot/symfony/blob/master/src/Symfony/Component/Validator/ Constraint.php) class. It takes one argument ($options), which can have various effects: * If it's an unindexed array, it iterates through and sets prope

[symfony-devs] Automatic merge of _locale for route generation

2011-01-02 Thread weaverryan
Hey guys- Currently, when the route parameter "_locale" is matched, that value is set as the session's locale. However, when generating URLs, the session's locale is not automatically used as the _locale routing default if none is specified. Has this feature been purposefully omitted or are we ju

[symfony-devs] Injecting variables into the layout

2010-10-27 Thread weaverryan
Hey guys- I've another "best-practice" question for Symfony2. What's the best way to inject variables into a layout? The topic was covered briefly earlier (http://groups.google.com/group/symfony-devs/browse_thread/ thread/e46e5bb74fc3a78b/d2aefa40603d1dc6? lnk=gst&q=layout#d2aefa40603d1dc6) where

[symfony-devs] Best practices for configuration, DI Extensions

2010-10-24 Thread weaverryan
Hey guys- I'd like to get some opinions regarding DI extensions. So far, I think this is the most daunting obstacle facing a new Symfony2 developer. Here are some thoughts and questions: 1) Shouldn't each DI extension have a unique namespace/alias (with respect to other extensions)? I believe the

[symfony-devs] Re: security / credentials in Symfony2

2010-09-27 Thread weaverryan
Hey Lucas- See the conversation that was started here: http://groups.google.com/group/symfony-devs/browse_thread/thread/27e6ef93e5e155b3/0dab6d06473eac57? Thanks On Sep 27, 11:35 am, Lucas Stephanou wrote: > great news! > > can I ask you about what is the goal? > > a port of sfGuard or maybe a

[symfony-devs] Re: Plugin README - Markdown broken?

2010-06-24 Thread weaverryan
Yes, all of README files now have garbled php code in their README's (http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin). Is there now a different way that code blocks should be specified? Can we turn off the escaping inside pre tags? Thanks On Jun 24, 1:55 pm, Bicou wrote: > I think

[symfony-devs] Re: Replacing a dead plugin

2010-05-02 Thread weaverryan
Hey guys- I hope I'm not hijacking the thread - I have a similar need for sfThemePlugin. The plugin does not appear to have any commits: http://www.symfony-project.org/plugins/sfThemePlugin The code for my plugins is tested and found at: http://github.com/weaverryan/sfThemePlugin I hate t

[symfony-devs] Cross-Application Cache Clearing directly through sfCache

2009-11-09 Thread weaverryan
Hey guys- The cache clearing mechanism seems to be sick and I'm not even sure exactly how things are supposed to work. The basis for this begins with the following section from the book: http://www.symfony-project.org/book/1_2/12-Caching#chapter_12_sub_clearing_cache_across_applications_new_in_

[symfony-devs] sfForm::offsetGet? Why not use sfFormFieldSchema::offsetGet?

2009-09-22 Thread weaverryan
Hey guys- I'm trying to make deep, zen-like sense of the form framework setup. Something that's been troubling me: Why does sfForm::offsetGet() not just call ::offsetGet() on its own sfFormFieldSchema object()? For example: public function offsetGet($name) { $formFieldSchema = $this->getFormF

[symfony-devs] Re: About symfony 1.3 optimizations

2009-09-22 Thread weaverryan
I ran a quick test locally on a fairly large 1.3 site with production data. Results indicated a 2.7% increase in response time for the requests. I do have a solid-state hard-drive locally, which may be skewing the difference between the tests. When I release the next version of this site, I'll d

[symfony-devs] Re: Symfony Mailer

2009-09-19 Thread weaverryan
Ah, it got me too! The sfSwiftPlugin was removed from symfony's lib/ plugins directory, but of course updating the externals locally doesn't actually remove the directory. I had an "extra" Swift and didn't even realize it. Love that we've got an official solution for email finally :) On Sep 16,

[symfony-devs] Re: sfYaml commit has broken symfony 1.3 checkout

2009-09-12 Thread weaverryan
I like this change too - but it also killed me temporarily. The upgrade script is very vague as to watch changes need to be made to those yaml files. Also, the initial effect was that, after an update, a working project of mine went crazy: cache was on when it should've been off, security went cra

[symfony-devs] Re: Symfony 2 Testing Framework

2009-08-01 Thread weaverryan
I'm with Kris - I just noticed Lime 2 in there the other day, had no idea we were rebuilding Lime. I'm definitely excited to see where it's all going. On Aug 1, 7:04 am, Kris Wallsmith wrote: > Hi Bernhard, > > Lime 2.0 looks like a pretty big development effort. Nice work! Can   > you share som

[symfony-devs] Re: Symfony 2 Testing Framework

2009-08-01 Thread weaverryan
I'm with Kris - I just noticed Lime 2 in there the other day, had no idea we were rebuilding Lime. I'm definitely excited to see where it's all going. On Aug 1, 7:04 am, Kris Wallsmith wrote: > Hi Bernhard, > > Lime 2.0 looks like a pretty big development effort. Nice work! Can   > you share som

[symfony-devs] Symfony 2 Testing Framework

2009-07-31 Thread weaverryan
Hey guys- Will Symfony 2 continue using Lime or will there be a shift to phpunit? I always like to do things the "symfony" way and for our big project I just want to make sure the Lime way isn't about to change in the future. Thanks! --~--~-~--~~~---~--~~ You rece

[symfony-devs] Re: Symfony Dev's - How are Branches Sync'ed

2009-05-23 Thread weaverryan
ymfony-project.com > Portland, Oregon USA > > http://kriswallsmith.nethttp://twitter.com/kriswallsmith > > On May 23, 2009, at 7:12 AM, weaverryan wrote: > > > > > Hey guys- > > > Apologies if this doesn't belong here - it's a SVN question really, > > but I'd l

[symfony-devs] Symfony Dev's - How are Branches Sync'ed

2009-05-22 Thread weaverryan
Hey guys- Apologies if this doesn't belong here - it's a SVN question really, but I'd like to know how the Symfony devs handle a particular situation. Here's a typical commit done by Kris Wallsmith: http://trac.symfony-project.org/changeset/18498 How did Kris do that? Did he manually modify tho

[symfony-devs] Re: About sfCompat10Plugin

2008-09-10 Thread weaverryan
+1 Agreed, let's keep that option available On Sep 10, 4:27 am, "Thomas Rabaix" <[EMAIL PROTECTED]> wrote: > +1 > > I hope it will not a 'reason' to activate sfCompat10Plugin > > Thomas > > > > On Wed, Sep 10, 2008 at 10:19 AM, Bernhard Schussek <[EMAIL PROTECTED]> wrote: > > I agree. +1 > > > O

[symfony-devs] Rendering Help Message and Labels independently of the form field

2008-09-10 Thread weaverryan
Hey guys- A question came up in the forum - "How do I render the help message of a form"? Looking at the code, we came to this solution: getWidgetSchema()->getFormFormatter()- >formatHelp($form->getWidgetSchema()->getHelp('field_name')) ?> Shouldn't there be a better way to do this? Why aren't

[symfony-devs] sfWidgetFormSelect Option Attributes

2008-01-21 Thread weaverryan
Hey guys- I've noticed that, when using sfWidgetFormSelect and setting an attribute, that attribute is automatically applied to all of the form tags as well. For example: $widget = sfWidgetFormSelect(array('choices'=> $my_choices),array('onchange'=>"alert('some js function')); echo $widget->ren

[symfony-devs] Re: symfony 1.1 : I really need everybody's opinion

2008-01-06 Thread weaverryan
+1 I just ran into the problem of not being able to prepend my routes from my plugins - I hate it! (but I love everything else 1.1). I agree with Carl Vondrick: if we're breaking compatability, let's do it now. Plus, I can think of no good solution to the registering routes of plugins, except some

[symfony-devs] Re: table widget

2007-12-18 Thread weaverryan
Well I don't have a lot of input for you - but I thought i'd chime in with words of encouragement. I too would love to see this - I hate tables and I hate having to do things like alternate their row colors. However, it's often a great way to display data and seems like it should be just as easy a