[symfony-users] Re: Symfony2 configuration types - which one to choose?

2011-06-03 Thread Dmitry Bykadorov
Jun 3, 5:04 pm, Christophe COEVOET wrote: > Le 03/06/2011 14:56, Dmitry Bykadorov a crit :> Hello all! > > > What we have for configuration? > > > - YAML (default in Symfony standard distribution) > > - XML (in my opinion most powerfull option - with validation via DT

[symfony-users] Symfony2 configuration types - which one to choose?

2011-06-03 Thread Dmitry Bykadorov
Hello all! What we have for configuration? - YAML (default in Symfony standard distribution) - XML (in my opinion most powerfull option - with validation via DTD & XSD but more complex to human) - PHP (ugly but native )) - Annotations (looks very cool in file but... maybe hard to debug, no valida

[symfony-users] Re: how to update between 2.0 versions

2011-05-28 Thread Dmitry Bykadorov
+1 i'm new in git and interested in solution On May 28, 2:18 pm, spider wrote: > Hello, > > with 1.4x I used for my project SVN versioning with "externals" for Symfony > and other library I needed. When a new 1.4x version was out I was able to > update it just changing the reference and doing a

[symfony-users] Re: Symfony / Symfony2 coding standards

2011-05-26 Thread Dmitry Bykadorov
e 26/05/2011 13:16, Dmitry Bykadorov a crit :> ci.symfony.com uses sismo? or > something else? > > It uses Jenkins. Sismo is not a full featured CI system. > > -- > Christophe | Stof -- If you want to report a vulnerability issue on symfony, please send it to security at symfony

[symfony-users] Re: Symfony / Symfony2 coding standards

2011-05-26 Thread Dmitry Bykadorov
ci.symfony.com uses sismo? or something else? On May 26, 3:01 pm, Christophe COEVOET wrote: > Le 26/05/2011 12:48, Dmitry Bykadorov a crit :> Hi there! > > > I'm looking for Symfony / Symfony2 coding standards configurations for > > PhpStorm and PHP Code sniffer. Tel

[symfony-users] Symfony / Symfony2 coding standards

2011-05-26 Thread Dmitry Bykadorov
Hi there! I'm looking for Symfony / Symfony2 coding standards configurations for PhpStorm and PHP Code sniffer. Tell me, such a configuration exists at all? Ang give me please a link, if exists... -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-p

[symfony-users] Re: docs

2011-05-14 Thread Dmitry Bykadorov
Hello, Luis! I have the same problem with docutils py when trying to convert *.rst documentation to html. Did you find any solution? On May 8, 8:45 am, Luis Cordova wrote: > Hi just wondering if you guys have replacements for the extension > components for compiling the docs that I can use, or

[symfony-users] Re: Symfony2 localized homepage

2011-05-14 Thread Dmitry Bykadorov
gt; Tél: +33 1 40 99 80 80 > > On 5/14/11 9:37 PM, Dmitry Bykadorov wrote: > > > > > > > > > Env: > > > app/config/config.yml: > >      session: > >          default_locale: en > >      translator: { fallback: en } > > > src\VendorBund

[symfony-users] Symfony2 localized homepage

2011-05-14 Thread Dmitry Bykadorov
Env: app/config/config.yml: session: default_locale: en translator: { fallback: en } src\VendorBundle\Resources\config\routing\configurator.xml VendorBundle:Main:index en en|ru But homepage without locale (/) return 404. /en/ or /ru/ works fine. What i'm doin

[symfony-users] Re: Symfony blog quotes and cyrilic blog

2011-05-04 Thread Dmitry Bykadorov
Sorry, i have many articles and translations )) On 4 май, 16:53, Dmitry Bykadorov wrote: > Sorry for offtop, > > I have a blog with couple articles about symfony & symfony 2 (on > russian, UTF-8). But when "Symfony blog quotes" adds my article - it > break encoding.

[symfony-users] Symfony blog quotes and cyrilic blog

2011-05-04 Thread Dmitry Bykadorov
Sorry for offtop, I have a blog with couple articles about symfony & symfony 2 (on russian, UTF-8). But when "Symfony blog quotes" adds my article - it break encoding. Who can help me with this issue (e.g. Fabien? ))? I'm not sure where the problem - on my side or blogs aggregator. Thanks. --

[symfony-users] Re: Pre-execute under SF2

2011-04-19 Thread Dmitry Bykadorov
gt;getController(); >             if (isset($aController[0])) { >                 $Controller = $aController[0]; >                     $Controller->preExecute(); // also you should > check if method_exsist >             } >         } >     } > > } > > On 20 Kwi, 07:42, Dmitry Bykadorov wr

[symfony-users] Re: Symfony2 validation: file constraint and mime type

2011-04-19 Thread Dmitry Bykadorov
I'm on windows7 x64 - development machine. On LAMP env i have not tested because this feature not works on win On Apr 1, 3:19 pm, Bernhard Schussek wrote: > Hi Dmitry, > > What operating system do you use? > > Bernhard -- If you want to report a vulnerability issue on symfony, please send it to

[symfony-users] Re: Pre-execute under SF2

2011-04-19 Thread Dmitry Bykadorov
Can you provide any simple example? I have the same question ) On Apr 19, 10:47 pm, Szymek wrote: > You should > usehttp://symfony.com/doc/2.0/book/internals/kernel.html#oncorecontrolle... > > On 17 Kwi, 21:04, kassel wrote: > > > > > > > > > Hi All, > > At last i need not to repeat some method

[symfony-users] Re: Strange distribution problem (PR10, PR11)

2011-04-18 Thread Dmitry Bykadorov
Yes, ZIP version unpack successfully... Strange thing ) On 18 апр, 12:33, mysth wrote: > Hello, > I had the same problem but try to unpack the tar.gz version and then > unpack the .zip version. > Say 'Merge..' when it asks to.. > It works for me...It's not a beautiful solution but it's better t

[symfony-users] Strange distribution problem (PR10, PR11)

2011-04-16 Thread Dmitry Bykadorov
Hello! I'm using window7 at my desktop pc. In PR10-PR11 I found strange thing: after unpacking .tar.gz (with winrar 3.8) in distribution folder (in vendors dir) present some files with cutted extensions. ~15-20 files with extension .ph and one xml schema file with extension .xs (vendor\symfony\src

[symfony-users] Re: Doctrine2: custom entity repository error

2011-04-16 Thread Dmitry Bykadorov
I'm using following solution now: $userRepo = $em->getRepository('VendorMyBundle:User'); Namespace doesn't working. On 14 апр, 04:56, Christophe COEVOET wrote: > Le 12/04/2011 17:02, Dmitry Bykadorov a crit : > > > > > > > > > Hello!

[symfony-users] Doctrine2: custom entity repository error

2011-04-13 Thread Dmitry Bykadorov
Hello! I have YAML entity description: Vendor\MyBundle\Entity\User: type: entity table: user ... repositoryClass: Vendor\MyBundle\Repository\UserRepository And i have generated entity with console tool. Great. In controller: $em = $this->get('doctrine.orm.entity_manager');

[symfony-users] Symfony2 validation: file constraint and mime type

2011-03-31 Thread Dmitry Bykadorov
Hello all! Can anyone give a hint with file constraint? The problem: - form with FileField: Code: $this->add(new FileField('photoFile', array( 'required' => false, 'secret' => 'wwewewewew' ))); - form request class: Code: /** * @validation:File(