Feed aggregator

Brandon Savage: When To Write Bad Code

PHPDeveloper.org - Tue, 29/01/2013 - 19:14

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

Planet-PHP - Tue, 29/01/2013 - 18:58
I have been working whole day today on writing this rest client library for php developers to communicate with Openshift REST api. OpenShift is a fantastic Polyglot PaaS (Platform-as-a-Service) brought to you by RedHat. To perform various operations with your … Continue reading
Categories: Open Source, PHP Community

Symfony Blog: Symfony Live 2013 tour: time to start the new season!

PHPDeveloper.org - Tue, 29/01/2013 - 18:50

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 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

PHPDeveloper.org - Tue, 29/01/2013 - 17:37

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.

When To Write Bad Code

Planet-PHP - Tue, 29/01/2013 - 14:00
Have you ever had this situation before? You have a problem to solve and no idea how to solve it. You want to sit down and do it “the right way”, but “the right way” involves writing tests, designing objects and generally working out something that’s far more complex than you need to get a [...]
Categories: Open Source, PHP Community

Comfortable PHP Editing With VIM -9-

Planet-PHP - Tue, 29/01/2013 - 09:32
After telling you about my completely reworked VIM setup and the awesome VIM plugins I'm using in it, this blog post deals to share with some snippets and settings I'm using to make all that stuff work round.
Categories: Open Source, PHP Community

Vacature: senior PHP developer bij Siyou

Scriptorama - Sun, 09/01/2011 - 09:28
Siyou Internet Solutions B.V. is een internet ontwikkelbureau, gespecialiseerd in technische ontwikkeling van internettoepassingen. Siyou onderscheidt zich door de inzet van ervaren mensen en een goede beheersing van het (ontwikkel)proces, waardoor opdrachtgevers niet voor verrassingen komen te staan. Dit in een plezierige werkomgeving, met aandacht voor goede onderlinge relaties. Siyou is gevestigd in het Noord-Hollandse Wormer, [...]
Categories: Open Source, PHP Community

Vacature PHP programmeur / webdeveloper omgeving Alkmaar

Scriptorama - Fri, 10/12/2010 - 15:51
Webvanced B.V. is een full service internetbedrijf dat sinds 1999 actief is. Sinds 2008 zijn wij gevestigd op industrieterrein “De Mossel” te Noord-Scharwoude. Wij ontwikkelen hoogstaande, kwalitatieve websites en webapplicaties voor de zakelijke markt. Daarnaast verzorgen wij domeinregistraties, hosting (zo hosten wij al enkele jaren Scriptorama!), e-mail oplossingen (spam- en virusfiltering), colocatie, dedicated servers, virtuele [...]
Categories: Open Source, PHP Community

Zend komt met PHP 5.3 certificatie

Scriptorama - Sun, 10/10/2010 - 11:54
PHP 5.3 is al een behoorlijke tijd uit en het lijkt er op dat een volgende versie van PHP nog even op zich gaat laten wachten. Daarom heeft Zend besloten dat PHP 5.3 genoeg nieuwe features heeft (late static binding, closures, namespaces) om een nieuwe certificatie uit te geven. Je kunt je nu dus certificeren als [...]
Categories: Open Source, PHP Community

Ook interessant

Scriptorama - Sat, 09/10/2010 - 09:49
Dit was óók interessant, de afgelopen weken: FakeApp - De maker van FluidApp heeft een nieuwe app uitgebracht voor Mac OSX waarmee je browser taken kunt automatiseren. Webkit CSS3 Cheatsheets - Handig, cheatsheets voor alle onderdelen van CSS3 die WebKit ondersteunt. PHP needs to die, what will replace it? - Een developer kijkt naar de toekomst, en omschrijft [...]
Categories: Open Source, PHP Community

Google presenteert nieuw image formaat: WebP

Scriptorama - Sat, 02/10/2010 - 09:46
Een van de dingen die ik erg interessant vindt aan Google is dat ze proberen bezig te zijn met het daadwerkelijk verbeteren van (de infrastructuur van) het web. Dat is gezien hun producten én hun formaat natuurlijk (ook) gewoon eigen belang, maar aangezien de meeste van die projecten ook nog eens opensource zijn kan iedere [...]
Categories: Open Source, PHP Community

PHP-next: wat zit er aan te komen?

Scriptorama - Sun, 26/09/2010 - 11:48
Het is alweer een tijdje geleden dat PHP 5.3 uit kwam. De verwachting was dat hierna PHP 6.0 met de langverwachte unicode ondersteuning afgemaakt zou worden. Echter lijkt het er op dat we daar nog even op zullen moeten wachten. De ontwikkelaars hebben zich in eerste instantie gefocussed op het ontwikkelen van andere interessante features, [...]
Categories: Open Source, PHP Community

Drupal user group meeting on Internationalization

PHP Belgium - Thu, 30/07/2009 - 17:39

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)

Categories: PHP Community

PHPBelgium meeting June

PHP Belgium - Mon, 08/06/2009 - 17:25
La Haute École de la Communauté française en Hainaut
I.S.I.Ms

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:


Agrandir le plan

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

Categories: PHP Community
Syndicate content