Feed aggregator
Brandon Savage: When To Write Bad Code
Brandon Savage has posted some of his thoughts on when it's okay to write bad code in your development lifecycle:
I've been there myself. I recently needed to prototype something. As I sat down to work on it, I had absolutely no idea how I was going to write the component I was working on. And so, I started working - without a plan, without writing tests, without designing an architecture, and without really knowing how the component was going to end up. You know what? The component came out working, but when I was done it was ugly. Totally ugly. The code was bad. But I had a solution, and a solution that worked.He points out that sometimes, doing things "the right way" can stifle creativity and experimentation - two things that a developer needs to solve the problems they face day to day. He notes that refactoring is a part of their job and moving from a rough prototype to a finished product often improves this skill and can find issues not discovered before.
This does NOT mean that developers can push bad code into a repository. Nothing lives longer than temporary code; see to it that your finished code is always good.OpenShift PHP Rest Client Library
Symfony Blog: Symfony Live 2013 tour: time to start the new season!
As is mentioned in this new post to the Symfony Blog, it's "time to start a new season" of Symfony-related events (both at other events and Symfony Live).
I'm so happy to announce to all of you Symfony folks, the super exciting Symfony Live year that is waiting for you! This time I promise, this is going to be "Great News" for all of you!Events mentioned for this year (so far) are:
- The Symfony track at this year's SunshinePHP conference (happening next week!)
- The US edition of Symfony Live in Portland
- Three other Symfony Live events to happen in Eurpoe
The largest announcement, though, is the SymfonyCon Europe that will be new this year, an all Symfony conference to be held somewhere in Europe later in 2013.
PHPMaster.com: Dependency Injection with Pimple
On PHPMaster.com there's a new tutorial showing you how to use Pimple (the dependency injection container from the Symfony folks) in your application to manage objects and resources.
In application development, we try to create independent modules so that we can reuse code in future projects. But, it's difficult to create completely independent modules which provide useful functionality; their dependencies can cause maintenance nightmares unless they are managed properly. This is where Dependency Injection comes in handy, as it gives us the ability to inject the dependencies our code needs to function properly without hard coding them into the modules.They start with a look at the problem with working with "concerete dependencies", ones that are hard-coded into your classes making them not only hard to test but potentially difficult to maintain. They include an example of this (a "SocialFeeds" class and friends) and then one of two ways to fix the situation. They start with using constructor-based injection, injecting the Twitter service into the main feeds object. They also talk about another method - setter-based injection - where the objects are injected via specific methods on the object.
As a third alternative, though, they get to using Pimple to manage the objects, making it easier to inject just the one resource into your classes and extract the objects you need from there. There's also a bit of "advanced" usage of Pimple showing the use of the "share" and "extend" methods.
Community News: Packagist Latest Releases for 01.29.2013
- bugsnag/bugsnag (v1.0.6)
- scan/kss-bundle (v0.1.0, v0.1.1)
- igorw/config-service-provider (v1.1.2)
- scan/kss-php (v0.1.0)
- benjam1/symfttpd (2.1.1)
- andyfleming/handy (v1.1.4, v1.1.3)
- aip/aip (0.9.11, 0.9.10, 0.9.9)
- gavroche/ups-api (v0.1.4)
- itbz/inroute (0.1.1)
- italiansubs/resque-enqueuer (0.1.3)
- phpmyfaq/phpmyfaq (2.8.0-beta3)
- thorsten/phpMyFAQ (2.8.0-beta3)
- dpn/xml-sitemap-bundle (v1.0.0)
- xiphe/html (2.0.8)
- simonjodet/gumdrop (1.3.3)
- kbrw/riak-bundle (1.0.3)
- kunstmaan/node-bundle (v2.1.8, v2.1.7)
- kupivkredit/kupivkredit (0.1.0)
- triagens/ArangoDb (v1.1.0)
- icecave/chassis (0.2.0)
Community News: Latest PECL Releases for 01.29.2013
When To Write Bad Code
Comfortable PHP Editing With VIM -9-
Vacature: senior PHP developer bij Siyou
Vacature PHP programmeur / webdeveloper omgeving Alkmaar
Zend komt met PHP 5.3 certificatie
Ook interessant
Google presenteert nieuw image formaat: WebP
PHP-next: wat zit er aan te komen?
Drupal user group meeting on Internationalization
On August 24, 2009 a Drupal user group meeting will be held at the RSNB, Royal Sport Nautique de Bruxelles 1865 located on the Vilvoordsesteenweg 170 in Brussels.
The meeting starts at 19:00 and will finish around 21:00.
The topic of the meeting is Internationalization. In a workshop you'll learn Drupal's features for building multilingual websites. If you bring your laptop you can follow the workshop and build your own multilingual website.
Besides this workshop you will have plenty of opportunity to meet fellow Drupaleers.
More information:
http://groups.drupal.org/node/24490 (en)
http://drupal.be/evenement/drupal-user-group-meeting-over-meertaligheid (nl)
PHPBelgium meeting June
We are pleased to announce our first meeting in Mons! The event will be recorded and available in live streaming at: http://www.isims.be/phpbelgium.html
Schedule: 19:30h Welcome & drink 20:00h PHP & the MVC Pattern - Patrick Allaert Patrick Allaert is Competence Center Architect at AUSY where he brings 10 years of PHP development experience. Patrick is also known by the community for developing APM as well as evangelizing for Free and Open Source Software 21:00h Break 21:10h PHP 5.3: new features - Davide Mendolia Davide is a veteran PHP developer working at AUSY as a PHP Software Architect. In his spare time, Davide works on APM too as well as contributing to the PHP project with benchmarking tests 22:00h Quizz to win goodies/conference tickets 22:15h Socializing and networking Venue: Registration:The event is free, no registration is required.
Sponsors:We'd like to thank this meeting's sponsors: La Haute École de la Communauté française en Hainaut and the I.S.I.Ms for the location and the drinks. If you are interested in sponsoring a PHPBelgium meeting or event, contact us!
We're looking forward seeing you there,
The PHPBelgium Team

