[symfony-devs] [Routing] How to dynamically add requirements to routes.

2012-10-17 Thread Mario Alberto Alvarez Garcia
Hi, I'm trying to find a way to modify the routes requirement of my application, according to a parameter in the service container. I'd like to know if there is an event, and which is, that is called before dumping the routes to the cache. What I'm trying to achieve is before dumping the rou

[symfony-devs] Symfony 1.4 - Error Routing Frontend - backend

2012-09-16 Thread Alberto
Good afternoon, I have a problem with Symfony 1.4, I did one application with two forms, one in the frontend (cars) and one in the backend (Client). The issue is that when I start Apache and called one of the two environments from the browser, this is linked up again to restart apache or pc. fo

[symfony-devs] Re: Paris SFLive session videos/screencasts?

2012-07-18 Thread Mario Alberto Alvarez Garcia
The videos are not available yet, AFAIK El martes, 17 de julio de 2012 17:56:09 UTC-4, Michael Cole escribió: > > Hi, > > I was looking on the SFLive Paris site, and didn't see any videos, > screencasts, or slides posted from the sessions. > > Is there some place they're archived, but I'm missi

[symfony-devs] Re: Symfony 2.1 release

2012-07-06 Thread Mario Alberto Alvarez Garcia
That will be an awesome command! I also hope we can have in the future a command which develop my entire application Fun apart, there are things that must be done by hand. El jueves, 5 de julio de 2012 21:19:57 UTC-4, Joshua Nankin escribió: > > Looking for an easy way to at least upgrade t

Re: [symfony-devs] Re: Symfony 2.1 release

2012-06-12 Thread Mario Alberto Alvarez Garcia
Yes, sure will be available soon. El lunes, 11 de junio de 2012 14:32:40 UTC-4, jaimesuez escribió: > > I saw that, it's appears: "First 2.1 beta release after the hacking day > at Symfony Live Paris". > > On Mon, Jun 11, 2012 at 2:17 PM, Mark Badolato wrote: > >> http://symfony.com/blog/toward

[symfony-devs] Re: Symfony 2.1 release

2012-05-24 Thread Mario Alberto Alvarez Garcia
It seems like we are waiting for the Form component to be ready. El miércoles, 23 de mayo de 2012 14:02:42 UTC-4, Klaus Silveira escribió: > > So, any updates on the decision? > > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You

[symfony-devs] Re: asigancion de roles y perfiles a un usuario

2012-05-15 Thread Mario Alberto Alvarez Garcia
Hola Mateb, El Bundle que existe actualmente para el manejo de usuario es el FOSUserBundle. Con el puedes crear/registrar usuarios, eliminarlos y asignarle roles. Echale un vistazo: http://knpbundles.com/FriendsOfSymfony/FOSUserBundle Otro detalle, este grupo es para los desarrolladores, la du

Re: [symfony-devs] timeline for 2.1

2012-04-27 Thread Mario Alberto Alvarez Garcia
It will be reverted only the BC breaks for the Form/Validator components, but all others will remain. The main point is that left a while to stabilize this components and they don't want to make BC breaks in both versions (2.1 and 2.2). El viernes, 27 de abril de 2012 09:55:52 UTC-4, Johannes

Re: [symfony-devs] timeline for 2.1

2012-04-27 Thread Mario Alberto Alvarez Garcia
I have read somewhere that LTS version will be 2.2 which will be released on July/August of this year, as stated by @fabpot here: https://github.com/symfony/symfony/pull/3378#issuecomment-5377420 There are many new features which are on master for quite a long time but not on 2.0, so I guess th

Re: [symfony-devs] timeline for 2.1

2012-04-26 Thread Mario Alberto Alvarez Garcia
But that is just for the Form/Validator components or for all component with BC changes? El jueves, 26 de abril de 2012 13:06:32 UTC-4, Lukas Smith escribió: > > > > On 26.04.2012, at 18:32, Fabien Potencier < > fabien.potenc...@symfony-project.com> wrote: > > > On 4/26/12 3:27 PM, Lukas Kahwe S

Re: [symfony-devs] timeline for 2.1

2012-04-26 Thread Mario Alberto Alvarez Garcia
But there are many of these BC changes which introduces nice features, like in the Form component. This new strategy means that they won't be in the 2.1 release? El jueves, 26 de abril de 2012 09:27:23 UTC-4, Lukas Smith escribió: > > > On Apr 26, 2012, at 15:26 , Fabien Potencier wrote: > >

[symfony-devs] Re: Jobeet for Symfony 2.1

2012-03-12 Thread Mario Alberto Alvarez Garcia
There is already an excelent book, writed by Javier Eguiluz, with Jobeet-like style. You can check it here: http://symfony.es El lunes 12 de marzo de 2012 08:34:42 UTC-5, jaimesuez escribió: > > Hi all > > It's planned to do some documentation in the Jobeet style for Symfony 2.1 > release? > >

[symfony-devs] Re: Doctrine generator - crud, forms but no views.

2012-02-29 Thread Mario Alberto Alvarez Garcia
Why would you like to generate views by commands? Why not just create the files? The generator is just a tool for ease the development, but at the end you'll have to edit the views...but you can generate the CRUD and copy the views and delete the controller. El miércoles 29 de febrero de 2012

[symfony-devs] Re: Think different. Use one button mouse, Fabien!

2012-01-10 Thread Mario Alberto Alvarez Garcia
This is not the right place to make such comments... If you go agains Fabien, many people will be against you. But, what's the problem with using that bundle? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this messag

Re: [symfony-devs] Official AdminGenerator?

2011-10-31 Thread Mario Alberto Alvarez Garcia
I'm think the same than @jaime. Right now, I develop simple monolithic applications, with a simple frontend and backend. On ocassion I have think to switch to CodeIgniter, because is simpler than symfony, but the realitity is that with symfony, I can generate the backend completly, almost witho

[symfony-devs] Official AdminGenerator?

2011-10-28 Thread Mario Alberto Alvarez Garcia
Hi, There are any news about an implementation of an official AdminGenerator bundle for any Symfony2 version? I know that SonataAdminBundle is a great tool, but AFAIK is not official, like Symfony1 AdminGenerator. Well, I'm sure many peopel have this same question. Regards. -- If you want t

[symfony-devs] Re: Problema con las entidades y los formularios.

2011-10-24 Thread Mario Alberto Alvarez Garcia
https://groups.google.com/forum/#!forum/symfony2 Esta es la direccion del grupo que te comentaba -- 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 develo

[symfony-devs] Re: Problema con las entidades y los formularios.

2011-10-24 Thread Mario Alberto Alvarez Garcia
Hola Fidel, Este no es el lugar correcto para este tipo de pregunas, para preguntas de este tipo, debes remitirte al grupo de Symfony-users. Este es el grupo donde los desarrolladores debaten acerca de las funcionalidades del framework. Pero bueno, para orientarte en tu pregunta, si en la clase

Re: [symfony-devs] Assetic javascripts: How to pass an array of js files

2011-06-06 Thread Mario Alberto Alvarez Garcia
Hi @Kris Is not possible to me to use git, so I wait until Beta4 to test what you told me, and of course it was the first thing I did today when I see the Beta4 release. But now I have this exception being thrown: An exception has been thrown during the rendering of a template ("Route "_assetic_

Re: [symfony-devs] Assetic javascripts: How to pass an array of js files

2011-06-03 Thread Mario Alberto Alvarez Garcia
Ok, thanks a lot for your time Kris -- 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 this group, send email to symfony-de

Re: [symfony-devs] Assetic javascripts: How to pass an array of js files

2011-06-03 Thread Mario Alberto Alvarez Garcia
Symfony Standard Vendor Beta3 -- 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 this group, send email to symfony-devs@goog

Re: [symfony-devs] Assetic javascripts: How to pass an array of js files

2011-06-03 Thread Mario Alberto Alvarez Garcia
@Kris, when I do that, I receive this error: Fatal error: Maximum function nesting level of '100' reached, aborting! This is muy bundle code: class EnfrigoWebAppBundle extends Bundle { public function boot() { $am = $this->container->get('assetic.asset_manager'); $am->set(

Re: [symfony-devs] Assetic javascripts: How to pass an array of js files

2011-06-03 Thread Mario Alberto Alvarez Garcia
Yes yes!! Thank you a lot, that really help. -- 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 this group, send email to s

Re: [symfony-devs] Assetic javascripts: How to pass an array of js files

2011-06-03 Thread Mario Alberto Alvarez Garcia
@Kris, @stof, thanks for so fast answers! @Kris, I have no idea how can I do what you say, can you put an example, or at least give me a clue? Thank you very much. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this me

[symfony-devs] Assetic javascripts: How to pass an array of js files

2011-06-03 Thread Mario Alberto Alvarez Garcia
Hi! When using the assetic's javascripts tag with Twig, I like to pass dynamically the files, and also the output. This is because my app is built using js, and I like to built a compressed js per user, only with the files that user have access. I think that this is posible, but I don't now how

[symfony-devs] Symfony-Beta2: When?

2011-05-19 Thread Mario Alberto Alvarez Garcia
Several weeks has pass since Beta1 was published, and in that time, the plan was to release a weekly beta, just like with PR, but we continue with Beta1. Why Beta2 is not here yet? The plan was changed? Any news would be appreciated! Greetings! -- If you want to report a vulnerability issue

Re: [symfony-devs] Disable WebDebugToolbar

2011-05-17 Thread Mario Alberto Alvarez Garcia
Hi Paul, I have exactly the same problem, because I'm doing an application with ExtJS too. I publish a thread some time ago about this, but nobody pay attention to it. The solution you are proposing have a big drawback: You can't use the profiler with Ajax request below url with /app. That's b

[symfony-devs] Thoughts about disabling WebToolbar

2011-05-05 Thread Mario Alberto Alvarez Garcia
Hi everyone! If I disable the webtoolbar in my app for any reason, I can't use the profiler because this exception is thrown in the webprofiler. An exception has been thrown during the rendering of a template ("You have requested a non-existent service "web_profiler.debug.toolbar".") in WebPro

Re: [symfony-devs] How to: Web toolbar enable-disable

2011-05-04 Thread Mario Alberto Alvarez Garcia
Hi Christophe, I disable the toolbar in config_dev.yml, but when I try to use the profiler this exception is thrown: An exception has been thrown during the rendering of a template ("You have requested a non-existent service "web_profiler.debug.toolbar".") in WebProfilerBundle:Profiler:layout.

[symfony-devs] How to: Web toolbar enable-disable

2011-05-04 Thread Mario Alberto Alvarez Garcia
Hi friends, My question is if it's posible disabling the web toolbar, but keep it in the profiler? Let me try to explain what I want: My application view layer is developed only with javascript, with ExtJS. In the view layer I don't want to see the view layer, because is javascript and affect m

[symfony-devs] Re: Question related with Security

2011-05-03 Thread Mario Alberto Alvarez Garcia
Hi Henrik I already solve the problem. Before implementing my User, I look at FOSUserBundle, and I saw that the eraseCredential function set $this->plainPassword to null. I blindly do the same, but with password, and in the equals function I compare $this->password !== $user->getPassword(). Thi

[symfony-devs] Re: Question related with Security

2011-04-30 Thread Mario Alberto Alvarez Garcia
Thanks @Henrik for the answer, but the user I talk, have a ROLE_ADMIN. Seems rare to me, but change the ROLE_ADMIN to ROLE_USER, and the problem still there. I check the profiler, and find that, when the Securiy Component go to the login_check, the Authenticated flag is true, but for some reas

[symfony-devs] Question related with Security

2011-04-29 Thread Mario Alberto Alvarez Garcia
Hello everyone! I have a question related to the security component. I'm not sure this is the right place to ask, but here I go. While testing the security component, I try the demo in AcmeDemoBundle and the in_memory user, and all works fine. When I type the user and pass, authentication is r

[symfony-devs] Re: Will Symfony2 have an official Admin Generator?

2011-04-29 Thread Mario Alberto Alvarez Garcia
I't will be an official Admin generator, but its deferred to Symfony 2.1. -- 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 t

Re: [symfony-devs] [Symfony2] IRC meeting week 17

2011-04-29 Thread Mario Alberto Alvarez Garcia
I'm with Greg. Thanks a lot for share the logs. -- 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 this group, send email t

Re: [symfony-devs] Re: week 13 IRC meeting agenda

2011-04-08 Thread Mario Alberto Alvarez Garcia
If the meeting was finally celebrated, could someone post the logs? Thanks! -- 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

[symfony-devs] Re: RFC: Controllers in Symfony 2: Feedback after a week of testing

2010-03-30 Thread alberto
Hi, Fabien > But when it comes to testing, things are much more complex. Because the > templating needs a loader, helpers, and some more services. So, > re-creating the dependency graph (with mock objects or not) is a more > difficult. At this point, you will probably just use the container in > y

Re: Controller creation (was Re: [symfony-devs] RFC: Controllers in Symfony 2 (version 2))

2010-03-22 Thread alberto
Approach 2 superseeds Approach 1, and I like that it is explicit and adheres to the Principle of Least Surprise, unlike 3-4. Just looking at the injection rules gives you a hint it's going to surprise some people. If injecting the constructor solves the heavy-dependency problem with approach 2 I d

[symfony-devs] Re: RFC: Controllers in Symfony 2

2010-03-22 Thread alberto
On 22 mar, 10:47, Lukas Kahwe Smith wrote: > however again .. proxy magic would require that the proxy class has access to > the service container and then you might as well give the action class itself > access to the service container .. which is what we have right now .. which i > think i

[symfony-devs] Re: RFC: Controllers in Symfony 2

2010-03-22 Thread alberto
On 22 mar, 10:52, Fabien Potencier wrote: > On 3/22/10 10:47 AM, Lukas Kahwe Smith wrote: > > >> But the mailer is already a proxy in the sense that the connection to the > >> SMTP server is only done when you send an email. > > > right .. and i assume making a mailer instance even if its not nee

[symfony-devs] Re: RFC: Controllers in Symfony 2

2010-03-22 Thread alberto
Well, I was just using the MailService as an example of an expensive to create service, as it was mentioned before, not as a concrete case. On 22 mar, 10:35, Fabien Potencier wrote: > On 3/22/10 10:24 AM, alberto wrote: > > > What I was proposing is injecting a proxy object in

[symfony-devs] Re: RFC: Controllers in Symfony 2

2010-03-22 Thread alberto
wrote: > > > On 3/22/10 1:28 AM, alberto wrote: > > >> If you really need an expensive-to-create service which is only needed > >> for not all of your actions, and it really belongs there, (like the > >> mailing service you are discussing) then I think it sho

[symfony-devs] Re: RFC: Controllers in Symfony 2

2010-03-22 Thread alberto
On 3/22/10 1:28 AM, alberto wrote: > > > Hi guys. I would like to give my opinion on the subject. You could > > basically sum it up essentially as "please don't reinvent the wheel". > > > Favor constructor injection for all required services. With the use of

[symfony-devs] Re: RFC: Controllers in Symfony 2

2010-03-22 Thread alberto
take care of that, maybe something at the container level could be implemented to be able to indicate that when wiring the service. I think it could be done via dynamic proxies (in the same way Doctrine does, if I am not mistaken). alberto On 21 mar, 18:10, Jordi Boggiano wrote: > On