2009 advent calendars : daily treasures for web developpers
This month, hunt for daily chocolates and articles !
24 ways is the advent calendar for web geeks. Each day throughout December we publish a daily dose of web design and development goodness to bring you all a little Christmas cheer.
… symfony 2009 advent calendar, a set of 24 tutorials about advanced symfony topics, published day-by-day between December 1st and Christmas 2009. All tutorials are available in five languages: English, French, Spanish, Italian, and Japanese.
These tutorials have also been published by Sensio Labs Books, under the title of More with symfony 1.3 & 1.4.
Christmas is upon us once again, and it’s time to have a look at what’s under the PHP Advent tree. Join us each day as our wonderful authors provide presents of tips, tricks, & tidbits to usher in the new year.
Guide to Doctrine migrations by Dennis Benkert aka Denderello
The new Guide to Doctrine migrations which will try to give you an introduction of how to use Doctrine’s migrations in your symfony 1.3 and 1.4 projects.
Performance Advent Calendar 2009 by Stoyan Stefanov
Our young performance community would benefit from a year-end heartwarming bunch of articles, maybe some motivational, some wrapping up interesting ideas and techniques that popped up in the past year, this kind of stuff.
Thanks all authors for this huge amount of work and knowledge sharing.
Please, if you are aware of other good web advent calendars, please let me know.
Les emails avec symfony 1.3 et 1.4
Cet article est mon premier, merci de bien vouloir être indulgent si j’ai fait des erreurs.
La sortie de symfony 1.3 & 1.4 approche à grand pas et contient une grande nouveauté très attendue par la communauté : une vraie bonne gestion des emails.
Premiers pas :
Afin d’envoyer un email, il faut tout d’abord configurer votre factories.yml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | mailer: class: sfMailer param: logging: %SF_LOGGING_ENABLED% charset: %SF_CHARSET% delivery_strategy: realtime transport: class: Swift_SmtpTransport param: host: localhost port: 25 encryption: ~ username: ~ password: ~ |
J’ai choisi delivery_strategy: realtime afin de pouvoir envoyer l’email en temps réel.
Nous verrons les autres possibilités par la suite.
Dans notre actions.class.php rajoutons la logique d’envoi de l’email :
Read the rest of this entry »
