PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 2381 to 2400 of 6889

Paul Reinheimer's Blog: The Danger of Hooks

Paul Reinheimer's Blog: The Danger of Hooks
Paul Reinheimer has a recent post to his blog talking about the danger of "hooks" in your development - the functionality several frameworks and other tools come with to allow you to add functionality to the core without having to change the main source.I ran into hooks rather simultaneously with two very different frameworks: Code Igniter and Lithium. In both cases I was using a rather nifty hook to handle ensuring that users were properly authenticated and authorized before accessing a page. [...] One...

PHPClasses.org: PHP Vulnerability May Halt Millions of Servers

PHPClasses.org: PHP Vulnerability May Halt Millions of Servers
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...

Site News: Blast from the Past - One Year Ago in PHP

Site News: Blast from the Past - One Year Ago in PHP
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...

Introducing Shazzer: A shared online fuzzer

Introducing Shazzer: A shared online fuzzer
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

PHP Vulnerability May Halt Millions of Servers
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.

Upcoming talks

Upcoming talks
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

Why Conventions Matter

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...

Why Conventions Matter

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...

PHP OCI8 1.4.7 is available on PECL

PHP OCI8 1.4.7 is available on PECL
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.

Installing the Geoip PECL package for Zend Server on OSX

Installing the Geoip PECL package for Zend Server on OSX
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.

Udemy Blog: Code Wars: PHP vs Ruby vs Python - Who Reigns Supreme [Infographic]

Udemy Blog: Code Wars: PHP vs Ruby vs Python - Who Reigns Supreme [Infographic]
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...

PECL/mysqlnd_*: CCC - cloud, cluster, caching!

PECL/mysqlnd_*: CCC - cloud, cluster, caching!
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...

ServerGrove Blog: Easily manage multilingual sites with the new TranslationEditorBundle for Symfony2

ServerGrove Blog: Easily manage multilingual sites with the new TranslationEditorBundle for Symfony2
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...

Justin Carmony's Blog: PHP Workers with Redis & Solo

Justin Carmony's Blog: PHP Workers with Redis & Solo
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's Blog: Running VisualPHPUnit in Windows Azure

Brian Swan's Blog: Running VisualPHPUnit in Windows Azure
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's Blog: My take on the MicroPHP manifesto buzz

Lukas Smith's Blog: My take on the MicroPHP manifesto buzz
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...

PHP.net: PHP 5.3.9 Released!

PHP.net: PHP 5.3.9 Released!
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...

Create your own framework... on top of the Symfony2 Components (part 5)

Create your own framework... on top of the Symfony2 Components (part 5)
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...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
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

My take on the MicroPHP manifesto buzz

My take on the MicroPHP manifesto buzz
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...

Latest PHP Tweets