Home arrow DHTML arrow Completing a Noisy Image Application

Completing a Noisy Image Application

If you're searching for an approachable guide on how to build noisy images to help prevent automated submission of online forms, then look no further. Welcome to the final article of the series "Building Noisy Images." Over the course of this instructive series, you'll learn different approaches for including this kind of image quickly into your own web sites by using only a simple combination of basic markup and CSS styles, along with the assistance of PHP.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 5
May 16, 2007
  1. · Completing a Noisy Image Application
  2. · Reviewing the partial source code of the noisy image application
  3. · Defining a basic session handling PHP class
  4. · Completing the noisy image application

print this article

Completing a Noisy Image Application
(Page 1 of 4 )


Having already introduced you to the interesting terrain of developing noisy images, let me remind you of a few crucial topics that were covered in the second tutorial of the series. As you'll possibly recall, in that tutorial I showed you how to build the images in question by using an object-oriented approach. I used that approach specifically when it came to implementing the business logic required to generate random strings (remember that these were displayed in front of a tiny noisy background).

However, even when I initially went through the definition of a simple PHP class for handling the random values in a straightforward way, it must be admitted that the overall application lacked a crucial feature that makes it pretty useless when not properly implemented. As you'll remember, the corresponding random strings needed to be saved to a session variable. This was necessary so that they could be adequately verified on the web server after submitting the web form that originally included the noisy image.

As you can see, this characteristic is a must for this kind of application. Therefore, it needs to be properly addressed, in this case using the object-oriented paradigm. If you're not very familiar with working with classes and objects in PHP, fear not, because the random strings will be stored onto a session variable with the assistance of only one basic PHP class, which will handle this session-related process in a truly transparent way.

Hopefully, by the end of this series you'll have at your disposal a fully-functional noisy image application that simply uses a pair of basic PHP classes. The first one will be responsible for generating the required random values that will be included into the respective online form, and the second one will be tasked with saving these values to a session variable for further verification on the server.

Are you ready to tackle this last installment of the series and see how this noisy image application gets completed? Let's get started now!

blog comments powered by Disqus

- Text-Justify, Volume, and Other Style Sheet ...
- Ruby-Position, Size, and Other Style Sheet P...
- Padding, Pages, and More Style Sheet Propert...
- Marks, Orphans, and More Style Sheet Propert...
- Layouts, Margins, and Other Style Sheet Prop...
- Floats, Fonts, and Other Style Sheet Propert...
- Color, Filters, and Other Style Sheet Proper...
- Borders and More with Style Sheets
- Learning Style Sheet Properties
- Style Sheet Property Reference
- Completing a Noisy Image Application
- An Object-Based Approach to Building Noisy I...
- A Basic Method for Building Noisy Images
- Adding More Features to Sliders with the Scr...
- Using Sliders with the Scriptaculous Framewo...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials