[symfony-devs] Re: some ideas for 1.1 improvements

2007-07-12 Thread Matthias N.
On 12 Jul., 18:25, "Matthias N." <[EMAIL PROTECTED]> wrote: > * Separate filter chain into "request filters" and "module/action > filters" and separate the execution of them > --> This would make it much clearer what happens when >- for example the rendering filter is on the first place

[symfony-devs] Re: mod_rewrite, routing, and matching every file extension...

2007-07-12 Thread Francois Zaninotto
Ian, Now that I think about it, this is even possible without the trick I told you about. Simply terminate your rule with '.', it will mean that you want to ignore the current suffix: news_asset: url: /news/asset/:news_id/:filename. param: { module: news, action: viewasset } requirements:

[symfony-devs] Re: How to use two i18n file formats?

2007-07-12 Thread Fabien POTENCIER
It's just a generic example on how to use the class. As of now, you will have to create your own sfI18N class (extending the base sfI18N class) and override the setMessageSource() method. But I'm open to better ideas ;-) Fabien P.S.: I fixed the sfExecutionFilter typo, thanks. Matthias N. wr

[symfony-devs] Re: How to use two i18n file formats?

2007-07-12 Thread Matthias N.
On 12 Jul., 18:59, Fabien POTENCIER <[EMAIL PROTECTED] project.com> wrote: > $sources = array(); > > $sources[] = sfMessageSource::factory('XLIFF', ...); > $sources[] = sfMessageSource::factory('SQlite', ...); > ... add as many as you need > > $messageSource = sfMessageSource::factory('Aggregate',

[symfony-devs] Re: How to use two i18n file formats?

2007-07-12 Thread Fabien POTENCIER
$sources = array(); $sources[] = sfMessageSource::factory('XLIFF', ...); $sources[] = sfMessageSource::factory('SQlite', ...); ... add as many as you need $messageSource = sfMessageSource::factory('Aggregate', $sources); The sfMessageSource_Aggregate message source will take the first message

[symfony-devs] some ideas for 1.1 improvements

2007-07-12 Thread Matthias N.
Hi, I have some ideas related to performance & more flexibility: * Cache all existing actions once (as with autoload) to speedup sfController->actionExists() * Separate filter chain into "request filters" and "module/action filters" and separate the execution of them --> This would make it mu

[symfony-devs] Re: mod_rewrite, routing, and matching every file extension...

2007-07-12 Thread Ian P. Christian
Francois Zaninotto wrote: > I committed a patch. Can you please test it and report if it works? You're a very loverly man Francois ;) Works perfectly, thanks! -- Ian P. Christian ~ http://pookey.co.uk signature.asc Description: OpenPGP digital signature

[symfony-devs] Re: mod_rewrite, routing, and matching every file extension...

2007-07-12 Thread Francois Zaninotto
I committed a patch. Can you please test it and report if it works? -Message d'origine- De : symfony-devs@googlegroups.com [mailto:[EMAIL PROTECTED] De la part de Ian P. Christian Envoyé : jeudi 12 juillet 2007 15:06 À : symfony-devs@googlegroups.com Objet : [symfony-devs] Re: mod_rewrit

[symfony-devs] Re: mod_rewrite, routing, and matching every file extension...

2007-07-12 Thread Ian P. Christian
Francois Zaninotto wrote: > Then it's a bug, and it is weird, because I thought there was a unit test on > this case that passed. > > Can you update your ticket accordingly? I'll try to have a look at it. > > François Thanks Francois, updated! -- Ian P. Christian ~ http://pookey.co.uk sig

[symfony-devs] Re: mod_rewrite, routing, and matching every file extension...

2007-07-12 Thread Francois Zaninotto
Then it's a bug, and it is weird, because I thought there was a unit test on this case that passed. Can you update your ticket accordingly? I'll try to have a look at it. François -Message d'origine- De : symfony-devs@googlegroups.com [mailto:[EMAIL PROTECTED] De la part de Ian P. Chris

[symfony-devs] Re: mod_rewrite, routing, and matching every file extension...

2007-07-12 Thread Ian P. Christian
Francois Zaninotto wrote: > Ian, > > Not sure if it answers your need, but with the routing branch, you can do > this: > > url: /news/asset/:news_id/:filename.:format > > So can you explain me again why would you use wildcard extension? Thanks for your post - for a moment, I thought it solved

[symfony-devs] Re: mod_rewrite, routing, and matching every file extension...

2007-07-12 Thread Francois Zaninotto
Ian, Not sure if it answers your need, but with the routing branch, you can do this: url: /news/asset/:news_id/:filename.:format So can you explain me again why would you use wildcard extension? François -Message d'origine- De : symfony-devs@googlegroups.com [mailto:[EMAIL PROTECTED]

[symfony-devs] Re: mod_rewrite, routing, and matching every file extension...

2007-07-12 Thread Ian P. Christian
Ticket created: http://trac.symfony-project.com/trac/ticket/1971 -- Ian P. Christian ~ http://pookey.co.uk signature.asc Description: OpenPGP digital signature