The blog of COil: PHP, PEAR, symfony1, Symfony2 & iWeb2.0+

Strangebuzz...?

» Collapse all «

» Une semaine symfonique #264 - du 16 au 22 janvier 2012

Post original: A week of symfony #264 (16->22 January 2012)


Cette semaine, les composants Form et Validator ont connu l'activité la plus importante de la branche master. Tout d'abord, la CollectionValidator a introduit les nouvelles contraintes "Optional" et "Required". Ensuite, la validation des formulaires imbriqués a été rendue configurable, c'est à dire que ces derniers ne sont désormais plus validés par défaut. (changement non rétrocompatible)

Développement Symfony2, l'essentiel:

Branche 2.0:
  • cacc880: [Locale] fixed incomplete Locale data loading (sublocales returned only incomplete results for getDisplayCountries(), getDisplayLanguages() and getDisplayLocales())
  • 959614b: use reflection to determine the correct path for component validation.xml file
  • a1317c3: [Locale] fixed breaking tests if 'intl' extension is not installed
  • 1f733e1: updated Serbian translation for validators


Branche "Master":
  • 6641f3e, bf59018, 509c7bf, e6e3da5: [Validator] added constraints Optional and Required for the CollectionValidator
  • 0c70a41, 43293f4: [Form] made validation of form children configurable. Set the option cascade_validation to true if you need it
  • 0c18324: [HttpKernel] added extra information when collecting data from an object if that object implements a __toString()
  • 693d1ec: [Form] do not render default ID attribute on empty form name
  • 15c666b, d2a0c74, 9e55cda: added a recover-timeout option to allow recovering messages that have taken too long to send
  • 0b7e2e0: support for DELETE method in forms
  • 0513eb1: [Form] pass translation domain to the sub-forms when choice list is expanded


Nouveaux plugins symfony1:

  • asJqueryTreePropelManager: (no description)
  • sfCpGrid: is a javascript based backend for Symfony. It loads the recordset from the db via ajax, can sort it on the fly, it checks periodically if there is something new, it allows filtering and search, and to have custom buttons and related actions.


Plugins symfony1 mis à jour:

sfGearman:
  • allow to namespaces function for mutualized gearmand
apostrophe:
  • slight change in linkage on aImage placeholders
  • fixed bug with placeholder clicker box that looks for the choose button url in the correct place for both slots in areas and singleton slots
  • smart slideshow passes new 'clickToSelect => false' option to placeholder, which prevents a 404 if you click the placeholder area on a smart slideshow
  • factored out the slideshow slot code that relinks the related media items into a separate method so it can be easily called from overrides
apostropheBlog:
  • slot help text doesn't need to get output to logged out visitors
  • changed the check to editor privileges


Ils s'en ont parlé:


» Une semaine symfonique #263 - du 9 au 15 janvier 2012

Post original: A week of symfony #263 (9->15 January 2012)


Cette semaine la branche master de Symfony2 s'est vue commité un important changement concernant la sécurité, celui-ci n'étant pas rétrocompatible: moved user comparison logic out of UserInterface. De plus, les gagnants des "Symfony Community Awards" ont été annoncés !

Continue reading...

» Une semaine symfonique #262 - du 2 au 8 janvier 2012

Post original: A week of symfony #262 (2->8 January 2012)


Cette semaine la future version 2.1 de Symfony a supprimé le DoctrineBundle puisqu'il a été migré dans l'organisation Doctrine. Pendant ce temps, la toute nouvelle documentation des composants Symfony2 a mise en ligne. Finalement, la version de maintenance 2.0.9 de Symfony a été publiée, elle corrige quelques problèmes mineurs introduits par la précédente version.

Continue reading...

» Extending the Symfony2 session

Hi symfonians ! :)

If you are used to symfony1, you probably noticed that you don't have a myUser class to handle the user session. It's generally useful so you don't have to handle directly with session attributes and you can also have shortcuts. Well it's quiet easy to have such a class in Symfony2:
Declare your own session class as the framework level in your app/config.yml config file:


And now create your own mySession class which extends the default Symfony2 session class:


And your done. :)

PS: The class can be stored in another location, I'm not sure which is the best ?
PS2: The service could also be loaded at the Bundle level.

» Une semaine symfonique #261 - du 26 décembre 2011 au 1 janvier 2012

Post original: A week of symfony #261 (26 December 2011 -> 1 January 2012)


La dernière semaine de l'année a vu voir le jour de la version 2.0.8 de Symfony ainsi que l'ajout de la fonctionnalité "réponses en flux continu" (Si vous avez une meilleure traduction !?) à la future version 2.1 de Symfony.

Continue reading...

» Une semaine symfonique #260 - du 19 au 25 décembre 2011

Post original: A week of symfony #260 (19->25 December 2011)


Cette semaine, la branche master de Symfony2 s'est concentré sur une importante refactorisation du DoctrineBridge. De plus, un nouveau composant a été créé pour la classe Filesystem. Enfin, la branche 2.0 a été rendue compatible avec la future version 1.5 de Twig.

Continue reading...

» Une semaine symfonique #259 - du 12 au 18 décembre 2011

Post original: A week of symfony #259 (12->18 December 2011)


Cette semaine le développement Symfony2 s'est accéléré. Tout d'abord sa branche 2.0 s'est vue corrigé de nombreux bug et ajouté de nouveaux tests. Pendant ce temps la branche master a ajouté un nouvel événement kernel.terminate et a introduit une nouvelle gestion de SwiftMailer permettant d'optimiser l'envoi des emails. Pour finir, la 16ème version de symfony 1.4 a été publiée: elle corrige quelques bugs mineurs.

Continue reading...

» Une semaine symfonique #258 Du 5 au 11 décembre 2011

Si vous suivez assidument l'actualité symfony, vous ne pouvez pas rater le post "A week of symfony" de notre ami Javier Equiluz. Il nous concocte donc toute les semaines un condensé du microcosme #symfony. Déjà 258 éditions ! Ça en fait du boulot, encore merci à toi Javier. ;) (Muchas gracias Javier por tu trabajo !). Comme il n'y a pas de raison que ce soit toujours les mêmes qui trinquent, je me suis proposé pour faire la version française de ces articles. Ça ne peut pas faire de mal... trêve de blablas. :)

Continue reading...

» The new Google applications Look and Feel is ugly ?

That's what I said when I discovered the new GMail look. I felt so uncomfortable with it that I switched back to the old interface. But now that the new interface is the default, I had to look why it looked so ugly, there must be a reason !! :x

Indeed, there was a good reason, the parameter "Display density" was set to "Comfortable" ("Normal" in French) which has the consequence to have far less emails displayed on the screen than before. I think this parameter did not exist in the past (Anyone can confirm ?), but the standard value for this parameter on the old interface was "Compact" ("Elevé" in French). When you are used to the "Compact" layout it's quiet hard to use the "Comfortable" one, it should be named "Uncomfortable". :p To conclude I would say that one have to search a little before making early conclusions. So, my apologies mister Google, your new look & feel is not ugly. :)

Google mail


PS: Up to now, the old interface is still available is the parameters.

» symfony1 sfToolsPlugin 1-0-0 released

Hi symfonians ! :)

Today I released a new plugin; the sfToolsPlugin , it's probably the smallest one I released as it only has one class and 3 main functions. In fact it contains a class I use to copy in every project I am working on. Sometimes with different names... Bored with this, even it's more a snippet than a plugin, I made the symfony1 plugin so I can call it the same way in every project I am working on and install it as a SVN external.

As the name of this plugin is very generic, feel free to send me your contribution requests for something you feel like it could be in it. ;)


sfToolsPlugin

- page 1 of 5