Is It Time To Encrypt All Personal User Data?

It’s become common for websites and software systems to be hacked. Just this past week I read about Google production servers being hacked. It’s not just the Googles of the world. Reports indicate that about 30,000 sites are hacked each day. Personal information about users is regularly being leaked as well. While there were big examples like Adobe, where millions of users information came out, there is a long tail of sites being hacked and user information getting out.

Continue Reading »


Introducing the OpenStack SDK for PHP

OpenStack has become the go to way to build open source public or private clouds. PHP is one of the most popular programming languages on the planet and the dominating server side language of the web.

What if you want to marry PHP and OpenStack? To have PHP work with OpenStack APIs using services or managing them? Until recently the efforts have focused on SDKs and language bindings for companies like Rackspace and HP. The libraries from these companies may support some of OpenStack but have been focused on the stacks provided by these companies rather than all of the options.

With the OpenStack SDK for PHP this changes. This SDK is meant to be by the community and for the community. It will be able to work with clouds from a variety of vendors or vanilla OpenStack setups.

Continue Reading »


Practical Guide To PSR-0 and PSR-4

When the PHP Framework Interoperability Group (FIG) came out with a second recommendation for autoloading code without deprecating the first it caused some confusion. Should I use PSR-4, the new recommendation, or keep using PSR-0? What was the practical difference? Was PSR-4 just for the case where I wanted to use the new features?

The practical path forward wasn't clear and when I started asking around I found differing opinions.

After talking with numerous people including gaining a little (official?) guidance from Larry Garfield and looking into some usage issues, here is my take on some practical guidance.

Continue Reading »


Converting Markdown to PDF with PHP

Recently, I had to take some content in markdown, specifically markdown extra, and convert it to a series of PDFs styled with a specific branding. While some will argue that PDFs are dead and “long live the web”, many of us still need to produce PDFs for one reason or another.

In this case I had to take markdown extra, with some html sprinkled in, clean it up, and convert it to a styled PDF. What follows is how I did that using QueryPath for the cleanup and DOMPDF to make the conversion.

Continue Reading »


Platforms Beat Programming Languages

The draw of a platform is an amazing thing. There are some good reasons Microsoft .NET, Drupal, Wordpress, and many other platforms have had such great success and developer devotion. I've even seen glimmers of this in why I like the Go programming language.

For a long time I didn't understand the draw of the platform. I was content to write my own libraries, craft my own patterns, and build some fun things with duct take and bailing wire. What I ended up creating was my own small platform built around my preferences.

When I realized that maintaining my own platform was too much work I moved on to Drupal. To many it's just a CMS you can extend. A product. But, there was more to it than that. There were add on modules showing the first glimmer of an ecosystem. Since I started using it there have been books written, companies with value added services, development tools, IDE plugins, and so much more. As the platform grew so did the community.

Continue Reading »


Other Recent Posts: