Scott Mattocks has posted the next in his "LUCID development" series of posts with the next letter in the acronym, "C" for Configurable:As code moves through the software development process, it moves through different environments. In many cases, the full details of then environment may not even be known at the time development starts. Getting your code to change its behavior on the fly is only possible if you have carefully and thoughtfully interleaved configuration parameters into your code.He talks...
Recent releases from the Packagist:bt51/textile-serviceprovider (1.0.2)
ocramius/ocra-cached-view-resolver (0.1.0, 0.1.1)
dms/twig-extension-bundle (v1.0.1, v1.0.0)
symfony/symfony (v2.1.4, v2.0.19)
When I started using Symfony one of the aspects that really caught my eye was Twig, it really got me back into using a template engine and I don't think i can ever go back to mixing my html and PHP again.
Twig's extensibility is also something truly awesome and powerful when developing for Symfony, it allows me to easily whip up an extension that get information from the right place in the right way without having to pollute the controller with excessive interactions, or quickly provide a filter to...
Popular posts from PHPDeveloper.org for the past week:PHPMaster.com: Debugging and Profiling PHP with Xdebug
Josh Adell: Migrating to Dependency Injection
Community News: Packagist Latest Releases for 11.24.2012
thePHP.cc: Do No Enter!
PHP.net: PHP 5.4.9 and PHP 5.3.19 released!
Community News: Packagist Latest Releases for 11.25.2012
Community News: Packagist Latest Releases for 11.23.2012
Chris Jones: How (and when) to move users to mysqli and PDO_MYSQL?
Ulrich Kautz: PHP Validation & Sanitization...
Create.js and VIE were recently added to the core of Drupal 8. Just like with TYPO3 Neos, I'll write a longer post on how things went later.
The German PHPmagazin was already fast enough to interview me on that at VIE und Create.js: Warum In-place Editing so erfolgreich ist.While there were many interesting CMSs already using Create -- including OpenCms, Symfony CMF, Midgard, and Neos -- I can understand why the integration with Drupal has received so much notice. After all, the system is estimated to...
In my research and writings that I've already done, I've noticed something about trying to share helpful security advice to fellow developers - you can provide all of the code examples and describe the threats all you want, but the problem really boils down to two words:
Much like other development-related issues, there's a lot of things you have to take into consideration when thinking about the security of your application. Code security by itself is good, and there's some best...
It's been a while since I last updated this blog (September 2009 to be exact). Time flies! Anyway, here comes the actual content: updated imagick binaries for PHP 5.3 and PHP 5.4. The download package also includes ImageMagick 6.8.0 binaries compiled with VC9 (Visual Studio 2008). I noticed that the official ImageMagick builds are now Visual Studio 2010 and that wouldn't work well with PHP compiled with 2008.
I am not sure if I am violating any license in distributing ImageMagick binaries but if I do,...
Anthony Ferrara has posted his second video tutorial to his site today introducing encryption for those not familiar with it. (The first video is here, "Paradigm Soup")Encryption can be a complex beast of mathematical operations. In this video, we explore the evolution of modern cryptography and some of the basic underlying principles that it uses to keep data secure.You can watch it in-page or head over to YouTube for the larger version. You can also follow his playlist to keep up with his future videos.
In this new post to her site Lorna Mitchell shares a handy tip for those using Ubuntu (or a Debian-based distribution) about how to manage your PHP 5.4 extensions and the "php5enmod" tool.My shiny new VPS* runs Ubuntu 12.10 (official subtitle: Quantal Queztal. Local nickname: Quirky Kestrel) and therefore has PHP 5.4 installed. It's very new so every command I type is missing, and today I realised that included a PECL module (pecl_http, of course). [...] What's happened here is that all debian-flavoured...
The Aura Project for PHP 5.4 is happy to announce its first release of 1.0.0 stable library packages. The packages include: Aura.Autoload Aura.Cli Aura.Di Aura.Http Aura.Marshal Aura.Router Aura.Signal Aura.Sql Aura.View Aura.Web In addition, we have initial beta releases of four a€¦ Continue reading a†'
If you've been mystified by regular expressions in the past and want to learn more about their effective use, you should check out these two webcasts from Qafoo - "Black Magic with Regular Expressions" and "Understanding Regular Expressions".We are happy to announce the availability of my second Regular Expression webinar recording. It was a fun event, which I used to explain all the attendees a little bit more about the PCRE Regular Expression engine available in PHP and some other languages. I am...
On PHPMaster.com today there's a new post (by Remi Woler) that looks at abstraction and keeping functionality out of the framework and more decoupled in case the need for switching environments/frameworks comes up.Of course you develop using the latest technologies and frameworks. You've written 2.5 frameworks yourself, your code is PSR-2 compliant, fully unit-tested, has an accompanying PHPMD and PHPCS config, and may even ship with proper documentation (really, that exists!). When a new version of your...
Recent releases from the Packagist:bt51/stash-serviceprovider (1.1.0)
Here's what was popular in the PHP community one year ago today:PHPMaster.com: Introduction to Git, Part 1
PHPMaster.com: Defining and Using Functions in PHP
Richard Miller's Blog: Symfony2: Integrating elasticsearch
NetTuts.com: Wrangling with the Facebook Graph API
Joshua Thijssen's Blog: Compatible code: starting with symfony2
Gonzalo Ayuso's Blog: Playing with the new PHP5.4 features
Tom Schlick's Blog: Wrench for FuelPHP
Community News: PHP Advent 2011
DZone.com: Speed Up Your PHP Like Facebook
Maps (the non-digital variety)
Thursday, November 29th 2012, 13:00 GMT
As you probably know, I am pretty much into OpenStreetMap and digital maps. I have always found (paper) maps, and different visualisations fascinating. I found myself at London GeoMob last Thursday where I encountered two types of non-digital, non-paper maps.
The first one, was a 1800s style rendering of London from Wellingtons Travel - fully hand-drawn. I found them quite beautiful, and would be happy to have one on my...
We are happy to announce the availability of my second Regular Expression
webinar recording.It was a fun event, which I used to explain all the attendees a little bit more
about the PCRE Regular Expression engine available in PHP and some other
languages. I am covering some slightly advanced topics, like subpattern
options, unicode and backtracking aka. greediness and performance.
My shiny new VPS* runs Ubuntu 12.10 (official subtitle: Quantal Queztal. Local nickname: Quirky Kestrel) and therefore has PHP 5.4 installed. It's very new so every command I type is missing, and today I realised that included a PECL module (pecl_http, of course). So I aptitude install php5-pear and then get tangled in dev packages (clue: look which libcurl you have already installed to figure out which of a long list of -dev packages to choose), managing finally to emerge with a pecl install http that...
Ulrich Kautz has recently taken a look at validation and sanitization of data in PHP applications. He talks about several different methods - both in core PHP and in various frameworks.Validation and sanitization are extremely important topics, any developer should be aware of. Especially with powerful, modern frameworks, people seem to forget about the underlying concepts and wrongly assume it's already solved somehow. Correctly used and early on integrated, both play the central role in defending...
When reading documentation, manuals, narratives, instructions, tutorials, and the like, I frequently see phrases like: a€oIf you want to do X, simply a€¦a€¯ and then several steps of instructions. Or, a€oIn order to do Z, just do this, that and a€¦ Continue reading a†'
Encryption can be a complex beast of mathematical operations. In this video, we explore the evolution of modern cryptography and some of the basic underlying principles that it uses to keep data secure.Read more A»
Latest PHP Tweets