On Oct 24, 4:38 pm, Lukas Kahwe Smith wrote:
> its there to ease development by providing methods for common tasks. its not
> about giving you auto completed access for every possible service,
Router is not some possible service, it's a generic term to describe a
feature of core Symfony functio
Yeah, but I thought Router was a core Symfony (or web framework)
concept?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to
Why the dynamic $url = $this->get('router')->generate(...)
Why not getRouter()? A typo can thus be caught at compile time, not at
runtime!
This concerns all entities in the container.
I can see that getRequest() & getDoctrine() do exist.
--
If you want to report a vulnerability issue on symfon
Just started learning 2.0 after a long break from 1.0. Any thoughts of
getting rid of leading underscores? They just look horrible:
_welcome:
pattern: /
defaults: { _controller: AcmeDemoBundle:Welcome:index }
and anywhere else in the code. It's a really awkward way of doing
The tutorial shows that the new form subframework is absolutely
AMAZING! Keep up the good work, Fabien! Now it competes quite well
with PEAR's HTML_QuickForm/DB_Table. This is what should have been in
Symfony long ago and what would have saved us from frustration for the
past 8 months of trying to
I'm using setAttribute/getAttribute in the MyUser class extending from
sfBasicSecurityUser (and MyUser is defined in project config/
factories.yml. Think of setAttribute('foo') as a global variable that
persists (thanks to sessions).
all
user:
class: MyUser
--~--~-~--~~
I really think such common functionality as sortable data grids with
paging should be supported by a web framework, and not by a 3rd party
extension. Otherwise many people will have to write the same thing
from scratch over and over again.
--~--~-~--~~~---~--~~
You
You get what you pay for, man! People aren't paid for what they do for
Symfony, they're only doing it out of free will, thus you can only
guess how much experience they have. Although I do agree with you that
many plugins are of low quality or yet immature. Take it or leave it.
And we shouldn't fo
On Nov 22, 11:29 am, Fabien POTENCIER <[EMAIL PROTECTED]
project.com> wrote:
> validate/*.yml are not needed anymore because all the validation stuff
> is managed by the validator schema of the form class.
>
This reminds me of how e.g. HTML_QuickForm/DB_Table duet work, which
automate the dirty jo
It follows that __construct() should call initialize() itself because
it's no good to use a logically uninitialized object.
$obj = new sfAnything($foo, $bar);
instead of
$obj = new sfAnything;
$obj->initialize($foo, $bar); // might be forgotten
--~--~-~--~~~---~--~
It would be great if, for instance, form select boxes could be
validated based on what values can be submitted by them (a la PEAR
DB_Table/HTML_QuickForm). Now this requires handcrafting the code.
--~--~-~--~~~---~--~~
You received this message because you are sub
On Sep 26, 5:03 pm, "Francois Zaninotto" <[EMAIL PROTECTED]
project.com> wrote:
> Hi list,
>
> When I look at the trunk version of symfony, I see a lot of new and exciting
> stuff, among which:
>
> - New CLI task system
> - New plugin system
> - New mixin/event system
> - Improved caching system
>
On Sep 22, 11:58 pm, Bernhard Schussek <[EMAIL PROTECTED]> wrote:
> A third option would be to check whether the uri has been modified
> during action execution and if yes, throw a ConfigurationException
> informing the user to turn off the cache when modifying the request
> parameters (as the pa
The YAML validation is currently broken: see ticket #1617 which is
scheduled to be fixed in 1.0.8. It seems Symfony 1.1 will have a whole
new validation sub-framework , it's about time. Having to validate
*any* field manually is a perfect argument for the inclusion of
validation inside the core we
> > This, and all other configuration bugs, are embarrassing! Why not
> > first take Symfony out of its pre-alpha stage, and _then_ start
> > advertising its support of numerous unrivaled features!! :-(((
On Aug 16, 6:00 pm, Kiril Angov <[EMAIL PROTECTED]> wrote:
> Did you check if there is a con
%SF_DATA_DIR%/config/factories.yml has
default:
view_cache:
class: sfFileCache
param:
automaticCleaningFactor: 0
cacheDir:%SF_TEMPLATE_CACHE_DIR%
my config/factories.yml has
all:
view_cache:
class: sfSQLiteCache
param:
automaticCleaningFactor:
On Aug 14, 5:27 pm, Martin Kreidenweis <[EMAIL PROTECTED]> wrote:
> Hi,
>
> rihad wrote:
> >http://trac.symfony-project.com/trac/ticket/2091
>
> > I've attached a small "works-for-me" type patch to arrayDeepMerge
> > implementing the chan
http://trac.symfony-project.com/trac/ticket/2091
I've attached a small "works-for-me" type patch to arrayDeepMerge
implementing the change.
given array(0 => 'Partial', 1 => 'Cache', 2 => 'Form'], you can:
- use [-*, Form] to result in array(0 => 'Form')
- use [-Cache] to result in array(0 => 'Pa
On Aug 14, 12:33 am, Martin Kreidenweis <[EMAIL PROTECTED]> wrote:
> Maybe some "magic values" like "-*" that can remove array items would be
> a better idea. It is already done for HTML
> assets:http://www.symfony-project.com/book/trunk/07-Inside-the-View-Layer#Fi...
Great! I had a flashback a
On Aug 14, 12:33 am, Martin Kreidenweis <[EMAIL PROTECTED]> wrote:
>
> Maybe some "magic values" like "-*" that can remove array items would be
> a better idea. It is already done for HTML
> assets:http://www.symfony-project.com/book/trunk/07-Inside-the-View-Layer#Fi...
Great! I had a flashback
> foreach
> (array_unique(array_merge(array_keys($args[0]),array_keys($args[1]))) as $key)
Sorry: array_keys() is the problem code, it should be
array_merge($args[0],$args[1]) because it operates on keys, not
values.
--~--~-~--~~~---~--~~
You received this m
On Aug 13, 4:49 pm, Martin Kreidenweis <[EMAIL PROTECTED]> wrote:
> > When you ask
> > array_merge() to merge these two arrays it overwrites original lhs
> > array elements with same keys of rhs array.
> That's not true.
You're absolutely right, excuse this wording mistake and simply
pretend I
On Aug 13, 1:42 pm, Alexander Deruwe <[EMAIL PROTECTED]>
wrote:
> On 13 Aug 2007, at 08:20, rihad wrote:
>
> > There's a bug in the way Symfony parses YAML configuration files
> > containing arrays as values. The problem is described in this ticket:
> >http://t
There's a bug in the way Symfony parses YAML configuration files
containing arrays as values. The problem is described in this ticket:
http://trac.symfony-project.com/trac/ticket/2091
In short: the array_merge PHP primitive that lies in the heart of
"configuration cascade" won't let you override a
> Would you be able to share your partial hydration solution?
>
I'd hate to disappoint you, but it's... SQL views! Say you have a
"Books" and "Author" tables with relevant model classes:
Book: the table itself
BookSummary: the view containing some identifying columns of Book,
meant for "list" vie
> With arguments like this, how can argument?
Symfony's Propel 1.2 is awful, it does everything possible to kill the
performance of your app. That said, I hear Propel 1.3 is a bit better
with respect to performance (read about changes here:
http://propel.phpdb.org/trac/wiki/Users/Documentation/1.
On Aug 5, 7:54 pm, deresh <[EMAIL PROTECTED]> wrote:
> On Jul 30, 7:21 am, Fabien POTENCIER <[EMAIL PROTECTED]>
> wrote:
>
> > Doctrine won't be included in symfony 1.1 because Doctrine won't be
> > stable enough and requires php 5.2.X.
>
> ok, but will you use new propel 1.3, because it's repor
> 2.- I prefer implementing a Query-Assaby Cache, so the queries (with
> criterias and stuff) get build only once. (so you don't have to
> hardcode sql)
I'm not sure such cpu/memory task is the performance bottleneck, it's
orders of magnitude faster than disk/network access, which IS the
bottlene
Why not make the CRUD/validation as transparent and a breeze to use as
in RoR, or CakePHP, without their worst sides? PHP is too verbose,
true. But CakePHP still manages to hide the language complexity for
the majority of cases (although Cake's own code is _awful_, not too
far from spaghetti code
29 matches
Mail list logo