-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi jab,

one of our customers just went online with http://www.joiz.ch/
all shiny new symfony2.

cheers,
david

Am 29.03.2011 20:23, schrieb Jab..:
> Any real time websites built with symfony that I could look at to
> understand its capability
> 
> On 29-Mar-2011 11:15 PM, "Pete Sisson" <petes...@gmail.com
> <mailto:petes...@gmail.com>> wrote:
>> Hi folks
>>
>> I've been trying to move my bundle from importing the config in to the
>> apps config.yml with imports (which I have working fine), to using a
>> container extension. With
>>
>> # /app/config/config.yml
>>
>> foo:
>> data1: stuff
>> data2: morestuff
>>
>> and a FooExtension class in
>>
>> # /src/Bar/FooBundle/DependencyInjection/FooExtension.php
>>
>> which has a public load method implemented, I've tried a number of
>> things but can't get away from an error:
>>
>>> Fatal error: Uncaught exception 'InvalidArgumentException' with
> message 'There is no extension able to load the configuration for "foo"
> ....'
>>
>> I think I don't really understand how Symfony2 locates the extension
>> class, so I don't know if I have missed registering it somewhere, or
>> is there a naming convention I need to follow? I've tried a large
>> number of things based on browsing the core bundles, but I am missing
>> something for sure.
>>
>> I have the following before I declare the class in FooExtension.php
>>
>> //
>> namespace Bar\FooBundle\DependencyInjection;
>> use Symfony\Component\DependencyInjection\ContainerBuilder;
>> use Symfony\Component\Config\Definition\Processor;
>> use Symfony\Component\HttpKernel\DependencyInjection\Extension;
>> use Symfony\Component\DependencyInjection\Loader\YmlFileLoader;
>> use Symfony\Component\Config\FileLocator;
>> //
>>
>> I have been following the docs here
> http://symfony.com/doc/2.0/book/service_container.html
>> so far, but when they get to this section they don't really say "how"
>> you do it. Just that you can, and should, do it, if you want to
>> distribute your bundle.
>>
>> That's not a dig at the docs btw - considering Symfony2 isn't even
>> released yet the docs are great.
>>
>> Can anyone point me in the right direction with this issue?
>>
>> Thanks
>>
>> Pete
>>
>> --
>> If you want to report a vulnerability issue on symfony, please send it
> to security at symfony-project.com <http://symfony-project.com>
>>
>> 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@googlegroups.com
> <mailto:symfony-users@googlegroups.com>
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
> <mailto:symfony-users%2bunsubscr...@googlegroups.com>
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en
> 
> -- 
> 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 users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en

- -- 
Liip AG // Agile Web Development // T +41 26 422 25 11
CH-1700 Fribourg // PGP 0xA581808B // www.liip.ch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2S9ckACgkQqBnXnqWBgIvV9ACguC5qmMxoAuxI2rCIc66gexET
AoYAoLia55fRu4PMRdm80LdijUibonN2
=XgtR
-----END PGP SIGNATURE-----

-- 
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to