Backend - 100 Revisions

I've been working on backend, a PHP framework the last couple of months, and it's really starting to take shape. I've learned a lot about what one can do by coding smarter and the advantages open source code gives on.

Update on Backend

Bakend: PHP framework, as it's now called, now has it's own website! Check it out at http://backend-php.net.

Follow backend on Twitter at @backend_php!

backend: PHP Framework

In the past few years I've been working on a PHP framework / backend. Sometimes out of frustration with copying and pasting code, but usually because I'm to lazy to write a lot of code, so decide to write a little bit of code to do a lot... And then I write some more code, to do a little bit more, and before you know it, it's yet another PHP framework.

My take on single or multiple returns

Originally posted on StackOverflow

I force myself to use only one return statement, as it will in a sense generate code smell. Let me explain:

Code Filter

I've installed Code Filter, which converts code in your posts to syntax highlighted code... Cool!

An example:

<?php
function test($param) {
   
$arr = array('one' => 1, 'two' => 2);
    echo
implode(' - ', $arr);
    return
$arr;
}
?>
Syndicate content