While PHP is an excellent language for building complex web application, it imposes certain limitations. Writing code that performs low-level, computationally intensive tasks in PHP is generally impractical--it'd simply be too slow. The QB extension addresses this particular weakness of PHP. By translating Zend opcodes and executing them through a statically typed virtual machine, QB offers an order-of-magnitude gain in performance. The added power allows PHP programmers do things they were unable to do before, such a complex, pixel-level image manipulation.
Version 2.2 brings support to FreeBSD, Solaris, and the 32 bit ARM architecture. It also addresses a number of critical bugs. The extension should be much more stable compared to version 2.1.
The Compulab Utilite is a mini desktop computer powered by an ARM processor. Unlike many machines of this type, it comes with Ubuntu instead of Android. Configuring it as a LAMP server is therefore extremely easy. In this post, I'll look at what kind performance we can get out of the tiny box.
Here's another script ported from Pixel Bender. It generates a monochrome Mandelbrot fractal.
An oft encountered image effect on the Internet is one which makes a photograph looks like it's a handdrawn cartoon. This article discusses how your could build such a filter in PHP+QB.
A key improvement brought by QB 2 is the support for multi-core processors. Converting a script from single-thread execution to multi-threading is very easy. This article will guide you through the process.
Here is a good demonstration what QB is capable of. The script renders a three-dimensional Mandelbulb fractal. I have no idea what that is exactly, but the generated images are certainly interesting.
After months of hard work, Basia is finally ready to be seen by the general public! For the time being, binary packages are only available for 64-bit Ubuntu and Windows. I’ll cover a fuller range of platforms once the inevitable kinks are ironed out. You can, of course, always build QB from the source.
Page 1 of 4