Re: [symfony-users] Re: Symfony Filter
Hi in my view . if you place your filter below the security filter --- In security filter, symfony will check whether the user is logged in or not and if the user is not logged in, it will be redirected to home page as specified by yourself then again the whole cycle repeats but now the request url is home page. first goes to security filter then it goes to your filter, and then user is automatically logged in and user is on the home page but if you place your filter above the security filter --- first it will automatically logged in by your filter then it goes to security filter, the user is already logged in so no redirections will be there. On Mon, Jan 25, 2010 at 6:34 PM, Mohammad Asif Ali wrote: > Any suggestions on my filter execution flow? > > > On Jan 23, 4:53 pm, Asif Ali M wrote: > > Hello Symfonians, > > > > I am working on symfony 1.0 application. Its a kind of Software as > > Service model. > > > > When a user registers he will get his own site (frontend/backend). The > > users can signup for a 30 days trails. And we have a help document > > which is having backend page links. > > > > In the Backend application we are using a filter to auto detect the > > site.If its in trail mode the filter will do auto login and redirected > > to the accessed page. > > > > But this is working when we put our filter in the following way > > ( Above security filter ). If I put the below security its > > automatically logged in but landed on admin homepage instead of the > > accessed page > > > > I would like to know putting a filter above the Security will be a > > problem for the application. > > > > Please share your views > > > > rendering: ~ > > web_debug: ~ > > > > trail_site_login: > > class: trailSiteLoginFilter > > > > security: ~ > > > > # generally, you will want to insert your own filters here > > > > # instead of putting here I put the filer above the security > > > > cache: ~ > > common:~ > > flash: ~ > > execution: ~ > > > > Thanks > > -Asif > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@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. > > -- Regards, Dheeraj -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] Re: Doctrine + PostGreSQL
Ok, this is weird. I tried changing the schema name, table name, and column names to all lowercase, then it works. But I'm not allow to change the database. Does anyone know why this is happening? How can I work around this issue without changing the database? Also, symfony doctrine:build-schema does not generate relations in the schema.yml. How can I get it to generate? Much appreciated. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] Logs almacenados en una tabla con sql incluido
vale gracias si bueno halle la solucion entrando a fondo aunque no me hubiera gustado otras opiniones los postee en el grupo de symfony-es si a alguien le interesa -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] problem d'installation ( creation de la structure FRONTEND)
English here :-) Il te manque le nom de l'app à la fin de ta commande. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Jan 26, 2010 at 12:48 AM, Moi wrote: > bonjour > mon problem c'est que quand je tape > $ php symfony generate:app --escaping-strategy=on > j'ai se resultat > > > the execution of task ''generate:app'' failed. > - Not enough arguments. > symfony generate:app [--escaping-strategy=''.."] [--csrf-secret=".."] > app > > > quelqu'un peut m'orienter pour trouver la solution a ça svp. > et merci > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@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. > > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] problem d'installation ( creation de la structure FRONTEND)
bonjour mon problem c'est que quand je tape $ php symfony generate:app --escaping-strategy=on j'ai se resultat the execution of task ''generate:app'' failed. - Not enough arguments. symfony generate:app [--escaping-strategy=''.."] [--csrf-secret=".."] app quelqu'un peut m'orienter pour trouver la solution a ça svp. et merci -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] Re: Message size of an email...
Your mail is a Swift_Message instance, it has a toString() method. On Tue, Jan 26, 2010 at 00:22, nghtstr wrote: > I know I am bumping this, and that is frowned upon. However, I really > need to know how to do this. I would think that it should be simple, > but I don't see anything in the documentation that says where the > final email is stored, or anything like that. Any and all help would > be greatly appreciated!! > > Thanks!! > > Mike > > On Jan 25, 12:46 pm, nghtstr wrote: >> Is there a function that will generate the message size of the email >> that was just sent/going to be sent? If not, is there a way to access >> the variable that the message was stored into? > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@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. > > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] Re: Definitive guide for 1.3 and 1.4
On 1/25/10 6:00 PM, Javier Garcia wrote: Hi, Thanks Fabien for your words. I think every software should have its official manual updated even if NOBODY is reading it. lol I think 1600 open tickets are too much tickets. Many/most of these tickets are for plugins not maintained by the core team. You are most than welcomed to help us as much as you can. I think every user should help the community constructively in one way or another. Fabien I think maybe 1.3 and 1.4 could wait some?. Javi On 01/25/2010 04:52 PM, Fabien Potencier wrote: On 1/25/10 4:45 PM, Skyblaze wrote: So i don't understand if you (Fabien) will release/publish the updated defenitive guide this week even if chapters 8 and 10 are not yet updated? Or You will publish it only when these two chapters are also updated by the community? I will commit the updated book this week (without the updates to chapters 8 and 10), so that the community can step in and help me polishing this new version. Fabien -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] Changes in models?
On 1/25/2010 12:04 PM, Pax95 wrote: I have a book writing about Symfony 1.0 and tricks written there doesn't work anymore in 1.4. What is equivalent of ModelPeer::doSelect ()? Code: $this->Welcome = PgNewTable::doSelect( new Criteria ); Error: Fatal error: Call to undefined method PgNewTable::doSelect() in D: \Serwer\www\palmgames\apps\palmgames\modules\news\actions \actions.class.php on line 26 You will need to check specific ORM manual, this changes are not related to Symfony (I think maybe I'm wrong ;) ), see the changes maded to the API and so on. -- Cheers ReynierPM -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] Problems while trying to create a new project and using --installer option
Hi every: I need to create a installer for a project and I run this command for accomplish this task: D:\WebServer\varwww\sfwebacula>symfony generate:project sfwebacula "ReynierPM" --installer=./installer.php But get this error: The installer "./installer.php" does not exist. What I'm doing wrong? Thx in advance -- Cheers ReynierPM -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] Changes in models?
I have a book writing about Symfony 1.0 and tricks written there doesn't work anymore in 1.4. What is equivalent of ModelPeer::doSelect ()? Code: $this->Welcome = PgNewTable::doSelect( new Criteria ); Error: Fatal error: Call to undefined method PgNewTable::doSelect() in D: \Serwer\www\palmgames\apps\palmgames\modules\news\actions \actions.class.php on line 26 -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] Re: Definitive guide for 1.3 and 1.4
Hi, Thanks Fabien for your words. I think every software should have its official manual updated even if NOBODY is reading it. I think 1600 open tickets are too much tickets. I think maybe 1.3 and 1.4 could wait some?. Javi On 01/25/2010 04:52 PM, Fabien Potencier wrote: On 1/25/10 4:45 PM, Skyblaze wrote: So i don't understand if you (Fabien) will release/publish the updated defenitive guide this week even if chapters 8 and 10 are not yet updated? Or You will publish it only when these two chapters are also updated by the community? I will commit the updated book this week (without the updates to chapters 8 and 10), so that the community can step in and help me polishing this new version. Fabien -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] symfony tickets to be patched
Here are some tickets i have found that are quite easy to implement. If you want to fix them, please let the list know what ticket are you trying to fix in order not to have 2 patches for the same ticket. After the patch upload, please let me know. I will try checking them ASAP and come with further details (invalid patch / patch ok / ready for the core team) Feel free to check this link http://trac.symfony-project.org/report/1?sort=ticket&asc=1 , and let us know if you are trying to fix another ticket. Beginers: http://trac.symfony-project.org/ticket/7941 http://trac.symfony-project.org/ticket/5380 -- doc update http://trac.symfony-project.org/ticket/6608 -- an IE 8 printsceen is required http://trac.symfony-project.org/ticket/6711 -- that box should be deleted or the url changed from "comment/list" to "comment". To be investigated the step: 2 http://trac.symfony-project.org/ticket/7567 -- check & provide patch for the README http://trac.symfony-project.org/ticket/7718 -- there is a typo in the doc. http://trac.symfony-project.org/ticket/8142 -- there is a typo in the doc. http://trac.symfony-project.org/ticket/8149 -- there is a typo in the fr doc http://trac.symfony-project.org/ticket/8107 -- there is a typo in the doc. http://trac.symfony-project.org/ticket/8091 -- there is a typo in the doc. http://trac.symfony-project.org/ticket/8073 -- there is a typo in the doc. http://trac.symfony-project.org/ticket/8054 -- there is a typo in the doc. http://trac.symfony-project.org/ticket/8045 -- there is a typo in the doc. http://trac.symfony-project.org/ticket/8023 -- there is a typo in the doc. Advanced: http://trac.symfony-project.org/ticket/7925 http://trac.symfony-project.org/ticket/8110 To be analised: http://trac.symfony-project.org/ticket/7968 -- Have a nice day! Alecs As programmers create bigger & better idiot proof programs, so the universe creates bigger & better idiots! I am on web: http://www.alecslupu.ro/ I am on twitter: http://twitter.com/alecslupu I am on linkedIn: http://www.linkedin.com/in/alecslupu Tel: (+4)0722 621 280 -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] Re: Open an Excel file
Thanks everyone for these advices. I decided to use phpExcel plugin. With this I managed to do everything I wanted, except displaying the file in an Excel window. I only manage to open it in my web page -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] Re: Definitive guide for 1.3 and 1.4
On 1/25/10 4:45 PM, Skyblaze wrote: So i don't understand if you (Fabien) will release/publish the updated defenitive guide this week even if chapters 8 and 10 are not yet updated? Or You will publish it only when these two chapters are also updated by the community? I will commit the updated book this week (without the updates to chapters 8 and 10), so that the community can step in and help me polishing this new version. Fabien -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] Re: Definitive guide for 1.3 and 1.4
So i don't understand if you (Fabien) will release/publish the updated defenitive guide this week even if chapters 8 and 10 are not yet updated? Or You will publish it only when these two chapters are also updated by the community? On Jan 25, 4:28 pm, Fabien Potencier wrote: > On 1/25/10 4:18 PM, Alexandru-Emil Lupu wrote: > > > If Fabien wants and allows me, i could try to restart the > > "1Day1Ticket" project, but for that i would need some users that are > > willing to help. > > I think that there is no need for a 1Day1Ticket initiative to start > helping. Asking people to fix 1 ticket a day is bound to fail. I would > rather prefer to have a large number of people helping from time to > time, the best they can. > > Let's take one simple example, related to the Definitive guide: there is > a ticket (somewhere) that ask for the screenshots that illustrate the > definitive guide to be updated (for new symfony versions and to have > images in color). That's something very easy to do, for anyone willing > to help. And it provides great value to the book. Sure, it takes a lot > of time, but that's a good starting point if you want to help us improve > symfony. > > Fabien -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] Re: Definitive guide for 1.3 and 1.4
About i have told a little bit earlier, i already have started to try select some tickets that needs to be checked or are a little bit simple. Unfortunately, even i would want to help (which i did in the past), i cannot due to a thight shedule and a second job. I will try however to select some tickets that are from plugins made by the sf Team or core that a little bit easy, and i will try to make a new thread and see if anyone id bidding for. This might help you and your team focus on SF 2. Alecs On Mon, Jan 25, 2010 at 5:28 PM, Fabien Potencier wrote: > > On 1/25/10 4:18 PM, Alexandru-Emil Lupu wrote: >> >> If Fabien wants and allows me, i could try to restart the >> "1Day1Ticket" project, but for that i would need some users that are >> willing to help. > > I think that there is no need for a 1Day1Ticket initiative to start helping. > Asking people to fix 1 ticket a day is bound to fail. I would rather prefer > to have a large number of people helping from time to time, the best they > can. > > Let's take one simple example, related to the Definitive guide: there is a > ticket (somewhere) that ask for the screenshots that illustrate the > definitive guide to be updated (for new symfony versions and to have images > in color). That's something very easy to do, for anyone willing to help. And > it provides great value to the book. Sure, it takes a lot of time, but > that's a good starting point if you want to help us improve symfony. > > Fabien > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@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. > > -- Have a nice day! Alecs As programmers create bigger & better idiot proof programs, so the universe creates bigger & better idiots! I am on web: http://www.alecslupu.ro/ I am on twitter: http://twitter.com/alecslupu I am on linkedIn: http://www.linkedin.com/in/alecslupu Tel: (+4)0722 621 280 -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] Re: PATH in CSS
Ok, works. Thanks -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] Re: Definitive guide for 1.3 and 1.4
On 1/25/10 4:18 PM, Alexandru-Emil Lupu wrote: If Fabien wants and allows me, i could try to restart the "1Day1Ticket" project, but for that i would need some users that are willing to help. I think that there is no need for a 1Day1Ticket initiative to start helping. Asking people to fix 1 ticket a day is bound to fail. I would rather prefer to have a large number of people helping from time to time, the best they can. Let's take one simple example, related to the Definitive guide: there is a ticket (somewhere) that ask for the screenshots that illustrate the definitive guide to be updated (for new symfony versions and to have images in color). That's something very easy to do, for anyone willing to help. And it provides great value to the book. Sure, it takes a lot of time, but that's a good starting point if you want to help us improve symfony. Fabien -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] Re: Definitive guide for 1.3 and 1.4
Hi all, I am totally agree with Fabien, but i would like to add some completion on what Fabien said. Is true.. i still feel that something has not been said. Even that is a lot of documentation available, and there is one nice tutorial (Jobeet) which is available for sf 1.3 and 1.4, the people still asking (on the list or on IRC) different things that are already in the documentation, and from here i can conclude just one thing: not all the people is reading the documentation before start asking around different things. I am not saying that the all documentation should be neglected, but i would suggest more than that. The members to help the core team more than they are doing it now. For example, there are around 1600 opened tickets to various symfony versions that are expecting a resolution from the core team. Of course, as Fabien pointed ... the day has only 24 hours ... If it would have 48, we would complaining the same situation. I know that writing this i might "steal this topic", but, if we "all" would help a little bit by fixing the tickets there would give us an insight of the symfony core, and might help us to understand better some of the symfony parts. If you cannot fix (as in "i do know 0 symfony"), you could help other fix them by point them and also maybe providing functional / unit tests to replicate the issue / or provide patches for documentation typo and other small stuff. having a little number of tickets opened, symfony core may focus on the new version. Another way of helping, might be trying to do (a) "my first symfony project ", in which you can try provide the team and others users any problems encountered while you have developed the application. Making this, would help sfCore to "see" what else should be specified in the documentation. This way, (any of) you give back something to symfony framework. If Fabien wants and allows me, i could try to restart the "1Day1Ticket" project, but for that i would need some users that are willing to help. Regards, Alecs On Mon, Jan 25, 2010 at 4:22 PM, Fabien Potencier wrote: > Hi all, > > I'm listening... but I needed some time to think about the topic a bit more > before answering. Here are my thoughts. > > But before I start "ranting" about the definitive guide, remember that all > the work done on symfony is benevolent. It's true for my work, but also for > the work of the many volunteers that help build the symfony community (all > the core team members, the translators, the great people answering questions > on the mailing-list, forum and IRC, people using symfony and spreading the > word about it in their companies, people blogging or tweeting about it, and > many more). But as days are only made of 24 hours unfortunately, we need > even more help. > > Please, read ALL the information contained in this email BEFORE replying ;) > > The symfony core team, some great authors, and the translation teams spent a > lot of time writing and translating documentation for the latest versions of > symfony. And as a matter of fact, the symfony 1.3/1.4 versions are probably > the most documented versions of symfony, ever. > > Want to get started with symfony? read the "Getting started" guide. > > Want to learn symfony step by step? read the "Practical symfony" book. > > Want to find everything about configuring symfony? Browse the "Reference > guide" book. > > Want to learn what changed in the recent versions? Read the "What's new?" > and "How to upgrade" tutorials. > > That's already a lot of documentation for beginners and advanced users. > > If you have a closer look, almost all the information found in the > Definitive guide is available in one form or another in another piece of > documentation I've just mentioned. > > But people keep asking me about the definitive guide. I don't really > understand why, perhaps because of the title, or because it was the first > available book. I really don't know... (ok, I'm lying a bit here) > > That said, I hear the complaints. And so, last week-end, I have re-read the > definitive guide cover to cover. > > From my point of view, here are the main pros of the definitive guide book: > > * More time is spent describing the philosophy of the framework in the > first two chapters (introduction to the MVC model, ...). > > * Each feature has its own chapter or section in the book. Looking for a > specific feature documentation is easier (in Practical symfony for instance, > it's more difficult to find things are they are described in the context of > an application creation). > > and the main cons: > > * Difficult to learn symfony with the definitive guide as there is not a > single example described from start to finish - only snippets of code are > shown (the Practical symfony book is better in that respect). > > * Slightly outdated best practices (the Ajax chapter for instance, globally > installing symfony with PEAR, and many other small things): the web evolves > fast and things that were true four
[symfony-users] Contextual partial cache removal
When removing a partial from the cache, using an internal cache id (like mentioned on http://www.symfony-project.org/book/1_2/12-Caching#chapter_12_sub_clearing_selective_parts_of_the_cache), the operation fails if the partial is contextual. I checked out the symfony cache dir, it seems symfony caches contextual partials as actions (outside the partial cache directory and in module/action folder). However, clearing the action cache doesn't seem to work either. Is this a bug? And in either way, is there any way to clear the symfony cache for a contextual partial using the internal ID (i.e. without manually deleting the files)? Thanks, - J -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] OpenID Server
Hello everybody, I'm looking for an OpenID server to setup an internal SSO system. I'm wondering if is there an OpenID Server based on Symfony, I searched the web but no luck. Anybody knows ? Thanks -- Simone -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] Re: Definitive guide for 1.3 and 1.4
Hi Fabien, Thank you for the complete and descriptive response; we really do appreciate it. Just to give my take on why the Definitive Guide is so good. Its for one of the reasons that you mentioned, that its easier to find a description of the various aspects as the Practical guide looks at symfony from the perspective of a single application. One of the biggest reasons I like the Definitive Guide isn't because it was 100% definitive (so feel free to change the name if you like) but the fact that it at the very least covers most of the symfony framework even if it references to another source to get more complete information. The Definitive Guide is something you can read from start to finish. Its a great way to get "clued up" on what symfony's capabilities are and not necessarily every implementation of the framework. Its a far more general look at what makes symfony tick, rather than the very application specific nature of the practical guide, but also doesn't go too deep into implementation that people feel a little lost, like the Advent calendar and API documentation can be. If I just read through the Definitive guide I'll understand in better detail what the Advent calendar documentation is referring to, as well as understand why a specific feature of the Practical Guide application was coded a specific way, to all the way into understanding the various interactions between the classes described in the API docs better without having to guess as much. We in fact still use the Definitive Guide to train new developers into the world of symfony. Thanks for taking the time to work on it and I will definitely look into how I can contribute updating it further. On Mon, Jan 25, 2010 at 4:22 PM, Fabien Potencier wrote: > Hi all, > > I'm listening... but I needed some time to think about the topic a bit more > before answering. Here are my thoughts. > > But before I start "ranting" about the definitive guide, remember that all > the work done on symfony is benevolent. It's true for my work, but also for > the work of the many volunteers that help build the symfony community (all > the core team members, the translators, the great people answering questions > on the mailing-list, forum and IRC, people using symfony and spreading the > word about it in their companies, people blogging or tweeting about it, and > many more). But as days are only made of 24 hours unfortunately, we need > even more help. > > Please, read ALL the information contained in this email BEFORE replying ;) > > The symfony core team, some great authors, and the translation teams spent a > lot of time writing and translating documentation for the latest versions of > symfony. And as a matter of fact, the symfony 1.3/1.4 versions are probably > the most documented versions of symfony, ever. > > Want to get started with symfony? read the "Getting started" guide. > > Want to learn symfony step by step? read the "Practical symfony" book. > > Want to find everything about configuring symfony? Browse the "Reference > guide" book. > > Want to learn what changed in the recent versions? Read the "What's new?" > and "How to upgrade" tutorials. > > That's already a lot of documentation for beginners and advanced users. > > If you have a closer look, almost all the information found in the > Definitive guide is available in one form or another in another piece of > documentation I've just mentioned. > > But people keep asking me about the definitive guide. I don't really > understand why, perhaps because of the title, or because it was the first > available book. I really don't know... (ok, I'm lying a bit here) > > That said, I hear the complaints. And so, last week-end, I have re-read the > definitive guide cover to cover. > > From my point of view, here are the main pros of the definitive guide book: > > * More time is spent describing the philosophy of the framework in the > first two chapters (introduction to the MVC model, ...). > > * Each feature has its own chapter or section in the book. Looking for a > specific feature documentation is easier (in Practical symfony for instance, > it's more difficult to find things are they are described in the context of > an application creation). > > and the main cons: > > * Difficult to learn symfony with the definitive guide as there is not a > single example described from start to finish - only snippets of code are > shown (the Practical symfony book is better in that respect). > > * Slightly outdated best practices (the Ajax chapter for instance, globally > installing symfony with PEAR, and many other small things): the web evolves > fast and things that were true four years ago are not true anymore nowadays. > > * Far from being complete or definitive. A lot of things are just not > covered by the definitive guide (the mailer comes to my mind, but many other > things are not even mentioned). > > That said, the book is not that outdated. And for good reasons. The symfony > core team have spen
Re: [symfony-users] Re: Definitive guide for 1.3 and 1.4
Hi all, I'm listening... but I needed some time to think about the topic a bit more before answering. Here are my thoughts. But before I start "ranting" about the definitive guide, remember that all the work done on symfony is benevolent. It's true for my work, but also for the work of the many volunteers that help build the symfony community (all the core team members, the translators, the great people answering questions on the mailing-list, forum and IRC, people using symfony and spreading the word about it in their companies, people blogging or tweeting about it, and many more). But as days are only made of 24 hours unfortunately, we need even more help. Please, read ALL the information contained in this email BEFORE replying ;) The symfony core team, some great authors, and the translation teams spent a lot of time writing and translating documentation for the latest versions of symfony. And as a matter of fact, the symfony 1.3/1.4 versions are probably the most documented versions of symfony, ever. Want to get started with symfony? read the "Getting started" guide. Want to learn symfony step by step? read the "Practical symfony" book. Want to find everything about configuring symfony? Browse the "Reference guide" book. Want to learn what changed in the recent versions? Read the "What's new?" and "How to upgrade" tutorials. That's already a lot of documentation for beginners and advanced users. If you have a closer look, almost all the information found in the Definitive guide is available in one form or another in another piece of documentation I've just mentioned. But people keep asking me about the definitive guide. I don't really understand why, perhaps because of the title, or because it was the first available book. I really don't know... (ok, I'm lying a bit here) That said, I hear the complaints. And so, last week-end, I have re-read the definitive guide cover to cover. From my point of view, here are the main pros of the definitive guide book: * More time is spent describing the philosophy of the framework in the first two chapters (introduction to the MVC model, ...). * Each feature has its own chapter or section in the book. Looking for a specific feature documentation is easier (in Practical symfony for instance, it's more difficult to find things are they are described in the context of an application creation). and the main cons: * Difficult to learn symfony with the definitive guide as there is not a single example described from start to finish - only snippets of code are shown (the Practical symfony book is better in that respect). * Slightly outdated best practices (the Ajax chapter for instance, globally installing symfony with PEAR, and many other small things): the web evolves fast and things that were true four years ago are not true anymore nowadays. * Far from being complete or definitive. A lot of things are just not covered by the definitive guide (the mailer comes to my mind, but many other things are not even mentioned). That said, the book is not that outdated. And for good reasons. The symfony core team have spent a lot of time during the last few years updating its content for each new version of symfony. So, it's mostly already up-to-date for symfony 1.2. The good news is that symfony 1.3/1.4 is not that different from symfony 1.2 either. So, today, I decided to spend some time to update the definitive guide for symfony 1.3/1.4. The good news is that I have already updated most of the book content. I still need to work on Chapter 3 and 8 before committing this new version of the book, probably later this week (or even today if you give me some encouragement ;)). The following chapters are more tricky to update as they need a lot more work: * Chapter 8 - Inside The Model Layer: It only talks about Propel, and about a slightly outdated version of it. We also probably need to add a similar chapter for Doctrine. And the Propel vs Doctrine problem is also present in a lot of other sections of the book. * Chapter 10 - Forms: This chapter must be rewritten from scratch to describe the new form system. So, here is my proposal if you want to help us. As said before, I will update all the chapters, except 8 and 10. This version will be made available as a starting point for a more collaborative approach to the update. From there, if people want to give a hand at updating the book, please subscribe to the symfony documentation mailing-list (http://groups.google.com/group/symfony-docs), where we will coordinate the efforts (I cross-post this to the doc ml). You don't need to be symfony fluent to help updating the book. We need people for a lot of different tasks: * help proof-read the modifications * test snippet of code with symfony 1.3/1.4 * spot missing things * spot things that are not true anymore * ... Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sen
RE: [symfony-users] How to force the Doctrine behaviour Timestampable values in a main table when embedded data are updated
I'm not very experimented with events usages. I'll try it soon the "postUpdate" event. Thanks for your fast reply. Olivier > -Message d'origine- > De : symfony-users@googlegroups.com [mailto:symfony- > us...@googlegroups.com] De la part de FlyLM [ML] > Envoyé : lundi 25 janvier 2010 15:03 > À : symfony-users@googlegroups.com > Objet : Re: [symfony-users] How to force the Doctrine behaviour > Timestampable values in a main table when embedded data are updated > > > Hi, > > > > Perhaps it's not the best method, but you can use the method > > "postUpdate" of the Doctrine model class of "Organism" to update the > > "Profile". > > Just the opposite in ur case, use the "postUpdate" method of the > "Profile" model class to update "Organism". > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@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. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] How to force the Doctrine behaviour Timestampable values in a main table when embedded data are updated
> Hi, > > Perhaps it's not the best method, but you can use the method > "postUpdate" of the Doctrine model class of "Organism" to update the > "Profile". Just the opposite in ur case, use the "postUpdate" method of the "Profile" model class to update "Organism". -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] How to force the Doctrine behaviour Timestampable values in a main table when embedded data are updated
2010/1/25 Olivier LOYNET : > Hi, > > I've two tables : > - "Profile" table > - "Organism" table with an embedded relation (1,1) > The "Profile" table have Timestampable behaviour like this schema : > > Profile: > tableName: profile > actAs: > Timestampable: ~ > columns: > id: > type: integer(4) > primary: true > autoincrement: true > name: > type: string(255) > notnull: true > > Organism: > tableName: organism > columns: > id: > type: integer(4) > primary: true > autoincrement: true > profile_id: > type: integer(4) > notnull: true > name: > type: string(255) > notnull: true > relations: > Profile: > local: profile_id > foreign: id > foreignType: one > > > My problem is : > > If I only update some information in "Organism" table, the updated_at column > is not modified. It's normal because the behavior don't detect any modified > value in "Profile" table. > > How to mention to the "Profile" table that some data have change and to > update the column "updated_at" with the current value. > > What is the best method ? Is by extending the doctrine events ? To put some > code in doSave or else ? Another ? > Hi, Perhaps it's not the best method, but you can use the method "postUpdate" of the Doctrine model class of "Organism" to update the "Profile". Fabien > > Regards, > Olivier > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@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. > > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] Re: Module folders
Friend i dont htink there is any problem with the folders as the symfony itself handles all the validations and u have just to appl them via form -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] How to force the Doctrine behaviour Timestampable values in a main table when embedded data are updated
Hi, I've two tables : - "Profile" table - "Organism" table with an embedded relation (1,1) The "Profile" table have Timestampable behaviour like this schema : Profile: tableName: profile actAs: Timestampable: ~ columns: id: type: integer(4) primary: true autoincrement: true name: type: string(255) notnull: true Organism: tableName: organism columns: id: type: integer(4) primary: true autoincrement: true profile_id: type: integer(4) notnull: true name: type: string(255) notnull: true relations: Profile: local: profile_id foreign: id foreignType: one My problem is : If I only update some information in "Organism" table, the updated_at column is not modified. It's normal because the behavior don't detect any modified value in "Profile" table. How to mention to the "Profile" table that some data have change and to update the column "updated_at" with the current value. What is the best method ? Is by extending the doctrine events ? To put some code in doSave or else ? Another ? Regards, Olivier -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] Re: related selects (dependant drop-down menus)
On Jan 24, 11:43 am, PachinSV wrote: > How can I do related (dependant) drop-down menus with symfony or using > a third party library like jquery? which is the best or the easiest > way to do it? thanks in advances for your answers. Please search in google BUILDING A DROP DOWN MENU IN PHP u will find the best option or goto this link ur problem is solved http://www.roscripts.com/Building_a_dynamic_drop_down_menu-216.html -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] Re: Different edit and new forms: what should i do with _form.php
Make two forms 1) Emp_Form 1st one a having widgets "name", "address", and "city" AND THAT form will extend your base form 2) Emp_edit_form 2nd form will extend ur sfForm or Doctrine form and there u give widget "name". then in the same module you can change in actions that executeEdit() { $this->form=new EmpEditForm(); } this will work for sure -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] Re: Symfony Filter
Any suggestions on my filter execution flow? On Jan 23, 4:53 pm, Asif Ali M wrote: > Hello Symfonians, > > I am working on symfony 1.0 application. Its a kind of Software as > Service model. > > When a user registers he will get his own site (frontend/backend). The > users can signup for a 30 days trails. And we have a help document > which is having backend page links. > > In the Backend application we are using a filter to auto detect the > site.If its in trail mode the filter will do auto login and redirected > to the accessed page. > > But this is working when we put our filter in the following way > ( Above security filter ). If I put the below security its > automatically logged in but landed on admin homepage instead of the > accessed page > > I would like to know putting a filter above the Security will be a > problem for the application. > > Please share your views > > rendering: ~ > web_debug: ~ > > trail_site_login: > class: trailSiteLoginFilter > > security: ~ > > # generally, you will want to insert your own filters here > > # instead of putting here I put the filer above the security > > cache: ~ > common: ~ > flash: ~ > execution: ~ > > Thanks > -Asif -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] Re: Definitive guide for 1.3 and 1.4
The question arose many times, but unfortunately there's no solution for now. Once I also asked if we can translate the book, since we already did it for the 1.0/1.1 version (it's in the wiki), but Fabien replied negatively. I think the book it's not in the plans of documentation anymore, maybe for "political" reasons? Of course, only Fabien can reply. I saw many moans in symfony forum about that I think we should do a collective effort to take this problem to attention of core team: we can keep to write here, but also write in forum and in the documentation group Massimiliano -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] PATH in CSS
Example 1 ul.ul-01 li {padding:2px 0 2px 25px; background:url("../design/ul-01.gif") 0 50% no-repeat; font-size:85%;} Where design directory is relative to the current directory of CSS File. Example 2 .formbutton5{ cursor:pointer; width:100px; border:outset 1px #ccc; background:#999; color:#666; font-weight:bold; padding: 1px 2px; background:url("/wbrt/web/tool_staging.php/web/images") repeat-x left top; } Here we specify the absolute path from the application location "wbrt". Let me know if you have any issues On Mon, Jan 25, 2010 at 5:02 PM, Pax95 wrote: > How to use imagepath in css files? > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@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. > > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] Different edit and new forms: what should i do with _form.php
On 01/25/2010 01:00 PM, Stéphane wrote: Do you use the admin-gen feature ? No, the module is ordinary (doctrine:generate-module). -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] Different edit and new forms: what should i do with _form.php
Do you use the admin-gen feature ? Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Jan 25, 2010 at 12:52 PM, Javier Garcia wrote: > Hi, > > i want different edit and new forms for a mudule, i mean they will not have > the same widgets. I want the first one only have "name", "address", and > "city", and the second one only "name". > > Shoud i create two _form.php? For example _form_edit.php and _form_new.php? > > Regards > > Javi > > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@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. > > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] Different edit and new forms: what should i do with _form.php
Hi, i want different edit and new forms for a mudule, i mean they will not have the same widgets. I want the first one only have "name", "address", and "city", and the second one only "name". Shoud i create two _form.php? For example _form_edit.php and _form_new.php? Regards Javi -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] PATH in CSS
How to use imagepath in css files? -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] Re: Definitive guide for 1.3 and 1.4
Yes, i agree completely. Javi On 01/25/2010 11:29 AM, Gareth McCumskey wrote: I understand, as well, that this is an open source project and that the community should pitch in to things like the documentation in order to update it but you see I am caught in a bit of a catch 22 situation. The book needs to be updated with all the latest changes, yet I need the book to know what all the latest changes are. Any word core team? On Mon, Jan 25, 2010 at 10:51 AM, Skyblaze wrote: I and others made this question several times but no real answer from the core team yet On Jan 25, 8:14 am, Gareth McCumskey wrote: Hi guys, I was just wondering if there was any word on whether the Definitive Guide books available for symfony 1.0, 1.1 and 1.2 will be updated and published to reflect the changes for the new versions? -- Gareth McCumskeyhttp://garethmccumskey.blogspot.com twitter: @garethmcc -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
Re: [symfony-users] Re: Definitive guide for 1.3 and 1.4
I understand, as well, that this is an open source project and that the community should pitch in to things like the documentation in order to update it but you see I am caught in a bit of a catch 22 situation. The book needs to be updated with all the latest changes, yet I need the book to know what all the latest changes are. Any word core team? On Mon, Jan 25, 2010 at 10:51 AM, Skyblaze wrote: > I and others made this question several times but no real answer from > the core team yet > > On Jan 25, 8:14 am, Gareth McCumskey wrote: >> Hi guys, >> >> I was just wondering if there was any word on whether the Definitive >> Guide books available for symfony 1.0, 1.1 and 1.2 will be updated and >> published to reflect the changes for the new versions? >> >> -- >> Gareth McCumskeyhttp://garethmccumskey.blogspot.com >> twitter: @garethmcc > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@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. > > -- Gareth McCumskey http://garethmccumskey.blogspot.com twitter: @garethmcc -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.
[symfony-users] Re: Definitive guide for 1.3 and 1.4
I and others made this question several times but no real answer from the core team yet On Jan 25, 8:14 am, Gareth McCumskey wrote: > Hi guys, > > I was just wondering if there was any word on whether the Definitive > Guide books available for symfony 1.0, 1.1 and 1.2 will be updated and > published to reflect the changes for the new versions? > > -- > Gareth McCumskeyhttp://garethmccumskey.blogspot.com > twitter: @garethmcc -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.