PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 5761 to 5780 of 6889

Padraic Brady's Blog: Nanosecond Scale Remote Timing Attacks On PHP Apps: Take Them Seriously?

Padraic Brady's Blog: Nanosecond Scale Remote Timing Attacks On PHP Apps: Take Them Seriously?
In a new post to his blog Padraic Brady takes a look at remote timing attacks that happen on a nanosecond scale and whether or not we, as application developers, should take them seriously. Timing attacks involve gleaning information off of systems based on the response and execution time.I've been following the progress of Remote Timing Attacks with a lot of interest over the years, during which time there has been an obvious trend in improving the technique. The most recent reported cases of Remote...

Paul Reinheimer's Blog: Open the field to find the paths

Paul Reinheimer's Blog: Open the field to find the paths
Paul Reinheimer has posted something to think about for both developers and those planning out projects and features - the paths the users will take through the application, not just the features they'll have available.There's a popular turn of phrase "pave the cow paths", which was introduced to me by my friend Chris Shiflett in one of his talks. The essence (as I understand it) of paving the cow paths is that it's easier to positively encourage users to act they way they already want to, than to have...

Internationalized domain names, are you ready?

Internationalized domain names, are you ready?
Since may 11 TLD's (top-level domainnames) have been added. In order for this to work successfully, a lot of applications will have to be fixed. Many email-validation scripts might use an approach like this:$ok = preg_match('/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i', $email);This one is pretty simple, it matches the most common address formats, as long as the tld (.com, nl, .uk, etc) is under 6 characters. For a bit more sophistication you might want to ensure that the tld is a bit more valid:$ok =...

ZendCasts.com: Unit Testing Zend_Form

ZendCasts.com: Unit Testing Zend_Form
On the ZendCasts.com site today there's a new screencast posted about using the unit testing functionality that comes with the Zend Framework to unit test your Zend_Form instance.This screencast will show you how to build a form for changing user passwords with 100% code coverage.To follow along you can download the source code for this specific example or the entire project to see how it all fits in. If you're interested in other unit testing related topics, see their unit testing section.

Ben Scholzen's Blog: Modern Application Design - Part 2

Ben Scholzen's Blog: Modern Application Design - Part 2
Ben Scholzen is continuing his serial about modern application design. As base of this serial he is using his blog source for demonstration. This time around, he discusses Form processing, Service Layers, and Data Mapping.

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:Aext.net: CodeIgniter and jQuery - Real Live Search with Pagination Daniel Cousineau's Blog: Doctrine Migrations Proper Brandon Savage's Blog: Five Cool PHP Array Functions Code Beach Blog: PHP IDE Roundup Hasin Hayder's Blog: Using new PECL Memcached extension for storing session data DeveloperTutorials.com: Writing A Simple Twitter Client Using the PHP Zend Framework's OAuth Library Johannes Schluter's Blog: PHP 5.3.1RC2 Giorgio Sironi's...

PHPNW10: Conference Audience

PHPNW10: Conference Audience
Another year, another great PHP North West conference organised by Jeremy Coates and his team at Magma Digital and the PHP North West User Group. This year, I went along with my camera to try my hand at conference photography for the first time, in between attending plenty of great talks. These are my best shots of the audience from Track 1 (there were three tracks in total) in the main auditorium. These are my last shots from the conference. I hope you've enjoyed them. I've also posted my thoughts...

Accelerate Page Loading: Unusual Site Speedup Techniques: Part 1

Accelerate Page Loading: Unusual Site Speedup Techniques: Part 1
Accelerate Page Loading: Unusual Site Speedup Techniques: Part 1 By Manuel Lemos In the latest weeks, several measures have been implemented to provide dramatic improvements to the speed of this site. This article is the first of several that describe those measures and how you can also apply to your sites too. On the first part it is described how to make Web pages load much faster when there is heavy content slowing down the page loading, such as advertising or widgets retrieved from other sites.

The EAV Data Model

The EAV Data Model
One problem many developers encounter while defining and analysing data requirements is the situation where a number of different attributes can be used to describe an object, but only few attributes actually apply to each one. One option is to create a table with a column representing each attribute; this is suitable for objects with a fixed number of attributes, where all or most attributes have values for a most objects. However, in our case we would end up with records where majority of columns would...

File uploads with Adobe Flex and Zend AMF

File uploads with Adobe Flex and Zend AMF
Zend AMF is an implementation done in PHP to work with the communication protocol binary AMF (Action Message Format) and is part of ZendFramework. I had to implement a system to upload files that were a little different than what is typically used in Flash, with this feature had to be integrated into the Zend AMF .

Community News: PHP North West 2010 Wrap-ups

Community News: PHP North West 2010 Wrap-ups
In the wake of the PHP North West conference, several of the attendees (and speakers alike) have posted their summaries and thoughts about the two day event. Here's a few so far: John Mertic's Deployable applications slides Lorna Mitchell's Teach a Man to Fish Lorenzo Alberton's slides Stuart Herbert's posts on Jeremy Coates, the Saturday speakers, track 1, Friday social As others pop up, they'll be added to the list. Don't see yours here? let me know!

Paul Jones' Blog: PHP Framework Benchmarks on Github

Paul Jones' Blog: PHP Framework Benchmarks on Github
For those that have been interested in the benchmarking that Paul Jones has done in the past on benchmarking the various frameworks but didn't want to mess with the Google Code repository for it, you can now grab it easier since he's moved it to Github. This also helps to make any collaboration simpler.As part of "trying new things," I have moved my web frameworks benchmark project over to Git on Github and away from Subversion on Google Code. This project is often imitated and occasionally adopted. For...

Nanosecond Scale Remote Timing Attacks On PHP Applications: Time To Take Them Seriously?

Nanosecond Scale Remote Timing Attacks On PHP Applications: Time To Take Them Seriously?
This article concerns the concept of a Timing Attack (described below) performed remotely over the internet or a local area network. Specifically, it addresses Remote Timing Attacks based on timing differences from a few microseconds to as little as 1 nanosecond (one billionth of a second), a timescale which has been assumed to be impossible to detect over the internet due to the interference of aonetwork jittera. In the article, I will be summarising some of the recent developments in the area with the...

Michelangelo van Dam's Blog: Preparing for php 5.3 certification exam

Michelangelo van Dam's Blog: Preparing for php 5.3 certification exam
Michelangelo van Dam had done some preparation for when he took the PHP 5.3 certification exam - he passed - and has written up a new post to his blog to talk about some of the things he did to help him study and prepare himself for the exam.Before starting the exam, I had to sign a non-disclosure contract with Zend Technologies, Inc. to keep the contents to myself, so don't ask me what questions were asked. I can write a short article on how I prepared myself to pass the exam and what you can do to...

Open the field to find the paths

Open the field to find the paths
There's a popular turn of phrase "pave the cow paths", which was introduced to me by my friend Chris Shiflett in one of his talks. The essence (as I understand it) of paving the cow paths is that it's easier to positively encourage users to act they way they already want to, than to have them change their behaviour. Twitter has some great examples of paving the cow paths. Look at @replies, not a feature they built into the service, just something that developed through use. Later developers included...

Zend Developer Zone: Create APIs with FRAPI

Zend Developer Zone: Create APIs with FRAPI
New on the Zend Developer Zone is a tutorial from Trevor Morse about creating an API with the help of FRAPI, a tool built to make creating API interfaces simple and easy by providing a framework to build on top of rather than rolling your own.You have been asked to create a RESTful API to allow access to all the great features of your application. Of course there are a few options; you could write the code yourself to handle all the new API functionality, or you could use an existing framework that...

Vance Lucas' Blog: Practical Uses for PHP 5.3 Closures

Vance Lucas' Blog: Practical Uses for PHP 5.3 Closures
By now everyone's heard about one of the more powerful and major advancements made in the PHP 5.3.x series of the language - closures. You might have read a description of them and been left wondering what a practical application might be to help drive the point home. Vance Lucas has written up a post to help with just that.If you're like me, you might be wondering what the practical uses for these new features are before you can rightly justify diving in and using them in new or existing projects. I...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Table Designer UserAuthMgr GearScore Calculator User Auth Mgr Search file in directory OPC Data Grid Gear Score Calculator File INI Thumb and Watermark Generator INI handler WS Client Builder EMail Logger

PHPNW10: Saturday Speakers, Track 1

PHPNW10: Saturday Speakers, Track 1
Another year, another great PHP North West conference organised by Jeremy Coates and his team at Magma Digital and the PHP North West User Group. This year, I went along with my camera to try my hand at conference photography for the first time, in between attending plenty of great talks. These are my best shots of the speakers from Track 1 (there were three tracks in total) in the main auditorium. I'll post my last shots from the conference tomorrow. I've also posted my thoughts on being a...

Preparing for php 5.3 certification exam

Preparing for php 5.3 certification exam
Today was a joyful day as I passed the Zend PHP 5.3 certification exam at Global Knowledge, a Pearson Vue exam center here in Mechelen. Since I announced this happy moment on Twitter, I got lots of congratulations from the community but also a lot of questions from PHP developers who were thinking about taking the exam.Before starting the exam, I had to sign a non-disclosure contract with Zend Technologies, Inc. to keep the contents to myself, so don't ask me what questions were asked.I can write a short...

Latest PHP Tweets