|
Sponsored Link
|
On the PHPClasses.org blog today there's a new post looking at the security vulnerability that effected not only PHP but lots of other languages making them susceptible to attack from the outside.In PHP and several other languages used to implement Web applications, arrays are used to store the values of request variables such as $_GET, $_POST, $COOKIE, etc.. IF you receive a request with a large number of request values, until recent versions PHP may run into trouble.He goes on to explain why there's an...
Here's what was popular in the PHP community one year ago today:Smashing Magazine: Keeping Web Users Safe By Sanitizing Input Data
CodeFury.net: CodeIgniter/PHP + IIS + MySQL + MSSQL: It Works!
Enrise.com: Using MemcacheQ as Message Queue
Developer.com: 9 More Crazy, Experimental PHP Development Projects
Christopher Bledsoe's Blog: PHP Dependency Injection (Inversion of Control)
Test.ical.ly Blog: PHP 5.3 and the Symfony2 UniversalClassLoader - Where to load?
Working Software Blog: Parsing the output of...
I lost inspiration for coding a while ago and had this idea I was sitting on for a while, I'm often stuck at the design stage before I write a line of code and I will refuse to continue without a clear picture in my head on how an app is going to work. After the Christmas break I got my inspiration back and started to formulate pretty quickly how Shazzer might work. Once I was happy with the design then I started to code it pretty quickly, it was like a jigsaw and everything just fitted nicely together....
PHP Vulnerability May Halt Millions of Servers
By Manuel Lemos
A security vulnerability found in PHP and many other programming languages may allow attackers to halt servers with vulnerable PHP installations.
Read this article to learn more about this vulnerability and what you can do to avoid that your servers running PHP may be brought down due to this problem.
Over the last few weeks I had been quite silent, but that's about to change: Over the next few weeks I'll give a few presentations. Feel free to join any of those.
January, 18th: Erstellung hochperformanter PHP-Anwendungen mit MySQL (German)MySQL Webinar, Online
February, 9th: MySQL Konnectoren (German)OTN Developer Day: MySQL, Frankfurt, Germany
February 24th/25th: PHP under the hood (English)PHP UK Conference, London, UK
When I started teaching myself scripting languages, I started
with Perl. One Perl motto is "TMTOWTDI" -- "There's
More Than One Way To Do It," and pronounced "tim-toady." The idea
is that there's likely multiple ways to accomplish the very same
thing, and the culture of the language encourages finding novel
ways to do things.
I've seen this principle used everywhere and in just about every
programming situation possible, applied to logical operations,
naming conventions, formatting, and even project...
When I started teaching myself scripting languages, I started
with Perl. One Perl motto is "TMTOWTDI" -- "There's
More Than One Way To Do It," and pronounced "tim-toady." The idea
is that there's likely multiple ways to accomplish the very same
thing, and the culture of the language encourages finding novel
ways to do things.
I've seen this principle used everywhere and in just about every
programming situation possible, applied to logical operations,
naming conventions, formatting, and even project...
Following on the heels of the PHP
5.3.9 release, I've bundled OCI8 1.4.7 for PECL. The PECL OCI8 1.4.7 code is the same as
included in PHP 5.3.9. The release notes are here. There are several bug fixes; upgrading is recommended.
Today I needed to get a client application up and running on my local system. This application uses the Geoip PECL package, so I needed to get this up and running. This turned out to be slightly more difficult than just a PECL install, as you're missing some libraries by default, so here is my log of things to do to get it up and running.
On the Udemy blog there's a new post with a large infographic showing "who reigns supreme" comparing Ruby, Python and PHP (don't worry, this isn't flamebait...it's actual good stats comparing the state of these three languages).Just as the Japanese, Spanish and French languages are uniquely different, programming languages also have their variations, some more popular and easier to use than others. With the recent introduction of some new ones, there is a 'war' of modern day languages. What's easier and...
We are giving PECL/mysqlnd_qc a second chance. PECL/mysqlnd_qc is a query cache plugin for mysqlnd. It can cache any query issued by any PHP MySQL extension using storage handler for process memory, APC, Memcache and SQLlite. Its default invalidation strategy is Time to Live (TTL). Using a more sophisticated invalidation strategy is possible. Of course, its transparent to use and inherits all the other advantages of a driver based approach.
Award-winning technology: Oxid loves the query cache
View...
On the ServerGrove blog today there's a new post about using their TranslationEditorBundle (Symfony2) to handle multilingual support for your site.We have been working a lot with Symfony2 translations lately (we translated our website to Spanish and we are in the process of translating our control panel too). Dealing with multiple translation files is not difficult, but it takes time, lots of copy & paste. We have found that is quite easy to make mistakes, create duplicate lines, etc... in short, it's...
In this latest post to his blog Justin Carmony shares some of his experience using Redis and Solo to asynchronously run queries and return data without the user having to wait.Sometimes there are situations when you want to parallel process things. Other times you might have a list of tasks to accomplish, and you don't want to make the user wait after pressing a button. This is where "Workers" can come in. They are independent scripts that run along side of your application, performing tasks, or...
Brian Swan has posted another in his "unit testing on Azure" posts to his blog today. This time he shows how to get VisualPHPUnit running on your Windows Azure installed code.Last month, I wrote a post that outlined 3 ways to test PHP applications in Windows Azure, and since then I've covered two of those approaches: Running PHPUnit in Windows Azure (uses RDP) and Automating PHPUnit Tests in Windows Azure. In this post I'll cover how to use a web-front end (VisualPHPUnit specifically) to run tests in...
Lukas Smith has a new post to his blog today with his own take on the MicroPHP manifesto that was posted by Ed Finkler recently. Lukas shares his thoughts on when he sees each type of framework (micro/full stack) has its place and how the project or development team can influence this choice.Ed's recent blog post labeled the The MicroPHP Manifesto got a lot of attention. [...] In general I totally agree with Ed on the point that we need more decoupled components in the PHP world. The timing seems a bit...
The PHP development group has officially announced the release of PHP 5.3.9, the latest in the 5.3.x series.The PHP development team would like to announce the immediate availability of PHP 5.3.9. This release focuses on improving the stability of the PHP 5.3.x branch with over 90 bug fixes, some of which are security related.Bugfixes and updates in this release include the max_input_vars directive, an autoloading issue with is_a and changes to the FPM SAPI module. You can see the full list of changes...
The astute reader has noticed that our framework hardcodes the way specific
"code" (the templates) is run. For simple pages like the ones we have created
so far, that's not a problem, but if you want to add more logic, you would be
forced to put the logic into the template itself, which is probably not a good
idea, especially if you still have the separation of concerns principle in
mind.
Let's separate the template code from the logic by adding a new layer: the
controller: The controller mission is to...
Stream IO
Rapid MySQL
Power Process
ImageOperations
mobile Detection
Image Operations
Google Image Download
mysqli class
IsPrime
Is Prime
PHP Slice image into HTML table
PayPal Refund API
Ed's recent blog post labeled the The MicroPHP Manifesto got a lot of attention. Personally I feel like Ed's way of expressing himself feels mostly like the rants of an angry person and not really a way of expressing a clear message. That is why I appreciate a much saner formulated follow up by Kris Jordan. In general I totally agree with Ed on the point that we need more decoupled components in the PHP world. The timing seems a bit odd since exactly that seems to be an emerging trend with all the...
ContractLib is a simple-to-use PHP component for easily enforcing programming contracts throughout your PHP components. These programming contracts can go a long way to helping you, and the users of your components, develop more robust code.
ContractLib is loosely inspired by Microsoft Research's work on the Code Contracts Library for .NET.
What Are Programming Contracts?
Programming contracts are tests around functions and methods, and they are normally used:
to catch any a€˜bad' data that has been...
|
|