arpeggios.wordpress.com
Using a module from another project | symfony 1.x scales and arpeggios
https://arpeggios.wordpress.com/2008/10/10/using-a-module-from-another-project
Symfony 1.x scales and arpeggios. A symfony 1.x development blog by Nicolas Martin. Using a module from another project. October 10, 2008 in Uncategorized. The MVC paradigm, adopted in symfony from top to bottom, brings highly decoupled components meant to be used independently. In a symfony application, modules are flexible and allow complex manipulations like :. Forwarding to another module/action and delegate request processing. Rendering a module/action in isolation (like an email generation module).
arpeggios.wordpress.com
Extending the default module action | symfony 1.x scales and arpeggios
https://arpeggios.wordpress.com/2008/08/20/extending-default-module-actions
Symfony 1.x scales and arpeggios. A symfony 1.x development blog by Nicolas Martin. Extending the default module action. August 20, 2008 in Scales. Often in a project, module actions have to manage the same common kind of functionalities :. Any other general job. You end up with actions that implements each functionality, maybe into separate methods :. Let’s extract these jobs and use them in all your modules. Let’s create the. Implement your general methods here. Simply init a module :. Thank you for th...
arpeggios.wordpress.com
Creating an Ajax update-only form using the default validators | symfony 1.x scales and arpeggios
https://arpeggios.wordpress.com/2008/08/20/creating-an-ajax-update-only-form-using-the-default-validators
Symfony 1.x scales and arpeggios. A symfony 1.x development blog by Nicolas Martin. Creating an Ajax update-only form using the default validators. August 20, 2008 in Scales. The new form system is very powerful and decoupled. It means that the form creation code and the validation code can be used independently. Here is the default generated code for an update action :. The action automatically binds the product request parameter which correspond to a entire product form. Id‘, ‘name‘ ). You are commenti...
linux-attitude.fr
Bashrc collaboratif - Linux Attitude
http://linux-attitude.fr/post/Bashrc-collaboratif
Le libre est un état d'esprit. Laquo; « Fond d’écran animé. Multi-écran sur plusieurs machines. Raquo; ». Aujourd'hui c'est vous qui écrivez l'article. Retrouvez le vimrc collaboratif. Il s'agit d'écrire un fichier .basrhc idéal avec toutes les fonctions et tous les alias qui vous semblent indispensables. Je commence par un minimum et par quelques choses que j'ai déjà écrites puis je rajouterai vos parties avec votre nom au fur et à mesure des commentaires. Bash -i -c ll. Si vous avez aimé, il y a aussi :.
arpeggios.wordpress.com
Reusing form validators in isolation | symfony 1.x scales and arpeggios
https://arpeggios.wordpress.com/2008/08/12/reusing-form-validators-in-isolation
Symfony 1.x scales and arpeggios. A symfony 1.x development blog by Nicolas Martin. Reusing form validators in isolation. August 12, 2008 in Scales. Sometimes you need to validate a specific data using a form validator. Instead of binding the entire form, let’s just use the existing validator of the field we want to update :. Get the validator for the ‘name’ field and clean/validate input. Laquo; Creating a custom logging event. Leave a Reply Cancel reply. Enter your comment here. Phil on Enabling pagina...
arpeggios.wordpress.com
Handling several Propel packages | symfony 1.x scales and arpeggios
https://arpeggios.wordpress.com/2008/09/04/handling-several-propel-packages
Symfony 1.x scales and arpeggios. A symfony 1.x development blog by Nicolas Martin. Handling several Propel packages. September 4, 2008 in Scales. When working on complex applications, it is mostly common to deal with several database connections. The main database is often built and adminstrated by yourself, but you sometimes need to handle external databases, probably with a read-only access. Symfony and propel allows you to easily manage these ‘externals’ connections. Skipping sql code generation.
arpeggios.wordpress.com
symfony 1.x scales and arpeggios | A symfony 1.x development blog by Nicolas Martin | Page 2
https://arpeggios.wordpress.com/page/2
Symfony 1.x scales and arpeggios. A symfony 1.x development blog by Nicolas Martin. Enabling pagination with raw SQL queries. February 2, 2009 in Arpeggios. SfPager is an abstract class that lets you deal with pagination at a high level. The symfony core comes with two concrete implementations of sfPager : sfPropelPager and sfDoctrinePager (one for each ORM). The benefit of this abstraction is that you can reuse the business-logic of pagination and apply it to anything, without reinventing the wheel.
arpeggios.wordpress.com
Events functional testing | symfony 1.x scales and arpeggios
https://arpeggios.wordpress.com/2008/11/12/events-functional-testing
Symfony 1.x scales and arpeggios. A symfony 1.x development blog by Nicolas Martin. November 12, 2008 in Solfège. Like many components of the framework, Events. A real world example : an email logger, which I already covered here. We want to test the integration of this functionality throughout the application. You may wonder, what belongs to unit or functional testing? To understand the difference, let’s ask the good questions :. To answer these questions, write Unit Tests. Now we talk business logic...
arpeggios.wordpress.com
[REFACTORED] Enabling pagination with raw SQL queries | symfony 1.x scales and arpeggios
https://arpeggios.wordpress.com/2009/08/27/refactored-enabling-pagination-with-raw-sql-queries
Symfony 1.x scales and arpeggios. A symfony 1.x development blog by Nicolas Martin. REFACTORED] Enabling pagination with raw SQL queries. August 27, 2009 in Arpeggios. In my previous post. I explained how to use sfPager to paginate through raw SQL queries, introducing the statementPager class. Even if this class helped me to solve problems, I’ve never been so proud of it since this class does not behave like a real pager. In fact, I should have named it statementChunker. WHERE other field LIKE. Laquo; En...