376 reputation
28
bio website
location Quebec City, Canada
age 31
visits member for 3 years, 8 months
seen Jul 16 at 14:26

Web developper

  • PHP (Zend Framework)
  • MySql
  • Javascript
  • XHTML / CSS

Hobbyist

  • Python

Feb
11
answered how to check email address exist or not in php
Dec
9
answered How is DRY principle ( applied at class level ) related to SRP?
Dec
9
revised How is DRY principle ( applied at class level ) related to SRP?
Clarification of acronyms used in the text and link to wikipedia references
Dec
9
suggested suggested edit on How is DRY principle ( applied at class level ) related to SRP?
Dec
9
revised Open Close Principle (OCP) vs Dependency Inversion Principle (DIP)
Clarification of some terms (use of full terms), added links to references and general question formatting
Dec
9
suggested suggested edit on Open Close Principle (OCP) vs Dependency Inversion Principle (DIP)
Jun
13
comment Pros of start learning programming with Python if what I really want is Javascript?
Really good point, more managers should see programming as such. The only point I am not totally with you is using a meta-programming language as a learning base (CoffeeScript)
Dec
27
answered Where do the parser and service objects fit in MVC?
Dec
12
accepted Best way to throw exception and avoid code duplication
Dec
12
comment Best way to throw exception and avoid code duplication
The PHP code is making a shit toward this since you can have your function and force parameters to be arrays or instances of classes/interfaces, but since int, strings and other simple stuctures aren't managed through objects, you can't validate them based on type like in : function myFunction(array $myArray, myClass $object)
Dec
12
comment Best way to throw exception and avoid code duplication
I am not trying to write Java code in PHP, I used it only as an exemple, what I'm really trying to do is to make sure that all the pre condition for the function are met to make sure that I have a stable result and an higher traceability of the differents bugs that can occur du to bad method usage
Dec
12
asked Best way to throw exception and avoid code duplication
Nov
9
answered CSS naming guildlines with elements with multiple classes
Nov
2
comment In PHP, what are the different design patterns to implement OO controllers as opposed to procedural controllers?
Symfony 2 (base for the micro framework Silex), Zend Framework 2 are two of the many good php frameworks that works with the MVC design pattern and both have a dependancy injection container at their heart. If you want a standalone dependancy injection you can take a look at pimple
Jul
16
comment What is a good toy example to teach version control?
This link provide a good text example to explain how mercurial works hginit.com/01.html
Jun
4
comment Applicability of the Joel Test to web development companies
@vartec : The site was required to work without JS when the "degrades beautifully" was the mantra for Web development, now it has switched to "progressive enhancement", which mean that without css, images and JS you should get 100% of the content and most of the features working properly. With each layer being icing that had visual structure, interactivity and even some more advanced functionnalities.
May
16
comment TDD adding simple properties
@Chad: You don't need to have a 100% code coverage to have valid TDD, if your core logic is tested and your interface behave as expected you have a pretty good chance that these properties are covered. If you still really want to test thoses, you could test that the output contains the description value. (still using web development as example) To achieve that you could mock the request that will return a predictable content and then check for specific parts by traversing the sections you want to test (do the content of div#user .description = expected value)
May
16
comment TDD adding simple properties
@gnat: The PHP template for jenkins still relies on Apache Ant jenkins-php.org for build automation
May
16
revised TDD adding simple properties
deleted 112 characters in body
May
16
answered TDD adding simple properties