A common web task in web application development is to validate data input by a user. This is usually done to ensure that the type of data entered matches the expected data types for an underlying database. It is also a good security practice to limit the data that a web based form will accept. While it is common in web 2.0 applications to use client side code such as Javascript to validate form fields, this should not be relied on for a number of reasons. Some users disable Javascript so you want to provide a working… View full post »
Archive for the ‘web development’ category
7 Must Have Firefox Extensions for Web Developers
February 4th, 2011 Leave a commentWeb development has become increasingly more complicated as web sites utilize more technology to do more. Debugging has become more involved and figuring out how other sites work in order to learn new techniques has become far more difficult. One of the greatest features of Firefox browser is its robust support of extensions. The scores of plugins now available for Firefox are a prominent factor in making it the most popular browser on the net. In this post, I am going to present 7 Firefox extensions aimed at simplifying web development. These are must-have for both beginner… View full post »
reCAPTCHA with CakePHP Forms Tutorial
January 14th, 2011 Leave a commentUnfortunately, as a developer today, you have to consider the possibility of spammers using automated scripts to submit the forms on your web site. One popular method for preventing this is to use a CAPTCHA. A CAPTCHA is an image that contains words or an alphanumeric code. The image is often slightly distorted. The user must correctly enter the words or code for the form to be considered valid. This prevents scripts from submitting forms since the CAPTCHA is not readable by automated systems. The most popular system for implementing CAPTCHA is reCAPTCHA by Google. … View full post »
Convert HTML to PDF with PHP and html2pdf
January 3rd, 2011 Leave a comment 3 commentsThere are cases when a web application may need to create a custom PDF file. There are several methods for accomplishing this as well. Recently, I worked on a project that involved an employment application. For this project, I needed to provide a HTML preview of the completed application as well as a PDF. Since I was going to be formatting the application with HTML anyway, I wanted to find a method to turn this into a PDF. The solution I found was html2pdf, a series of scripts for turning an HTML page into a… View full post »
CakePHP Installation & Configuration
December 15th, 2010 Leave a comment 1 commentIn the past, we have discussed the importance of application frameworks. Frameworks make it easier to write maintainable code and they also provide a shortcut for rapidly developing new web applications. One of the more popular frameworks for use with PHP is CakePHP. CakePHP is a model-view-controller style framework. Structurally, it has many similarities to Ruby based Ruby on Rails web framework. CakePHP is one of the oldest and most robust and stable PHP frameworks on the market. CakePHP is free and open source. They have a manual called the Cookbook that provides… View full post »
Best jQuery Plugins for Your Website – Our Top 10 Choices
December 7th, 2010 Leave a comment 1 commentWeb design, like any type of design, moves through times when certain styles and paradigms are popular. Creating some of the currently popular visual effects can be a difficult task. Added to this challenge are a number of common problems that web developers encounter. Here are 10 jQuery plugins that will help you create stunning visual effects on your web sites and solve many common web application challenges. Google Feed API Plugin http://plugins.jquery.com/project/jgfeed One common web development task is to include content from another web site or blog on a page. Often this is done in a sidebar or… View full post »
Introducing HTML5 Book Review
November 17th, 2010 Leave a commentHTML5 is the developing new standard for HTML. It has received a lot of attention lately due to Apple providing some impressive demos of its capabilities. For the Apple iPad, HTML 5 is being offered as the alternative to Flash. As a result, a lot of hype and myths abound about HTML 5, its capabilities and browser support of it. I often read books on new and emerging technologies to keep my own skills sharp. Recently, one of these books was Introducing HTML5 (Voices That Matter) by Bruce Lawson and Remy Sharp. New Structural Elements I would… View full post »
HTML5 Intro: Use It Today!
November 14th, 2010 Leave a commentEver since Apple announced that they would not be supporting Flash in favor of the multimedia features of HTML5, there has been a lot of media attention on HTML5. Unfortunately, along with the media coverage there has been a tremendous amount of myth and misrepresentation regarding the level of browser support for HTML5. I’ve even heard some designers say that HTML5 won’t be ready until 2012 and that we should all sit tight and wait for it! The truth is that many of the elements of HTML5 are available for use today and browser support is pretty… View full post »
Blueprint CSS – Framework for Grid Based Design
November 5th, 2010 Leave a commentCreating CSS for a web site can be a complicated affair. There are many different compatibility issues and various fixes and hacks to make different browser behave properly. Many web site designs are based on a grid. CSS frameworks abstract the common elements of grid based design into a series of CSS classes to simplify the creation of stylesheets. These frameworks also incorporate the most common browser fixes and hacks to make the process of writing cross-browser CSS transparent. One of the more popular CSS frameworks is Blueprint. What is Grid Based Design? Grids are a frequently… View full post »
PHP 5: Your Visual Blueprint for Creating Open Source, Server-Side Content Book Review
November 3rd, 2010 Leave a commentI am often asked for book recommendations by friends and associates wanting to learn new technologies or programming languages. The request I get most often though is for a good book to learn PHP. Recently, I read PHP 5: Your Visual Blueprint for Creating Open Source, Server-Side Content by Toby Joe Boudreaux. I figured it might make a good review for me on the changes in PHP 5 and it looked like a book that I could potentially recommend to new PHP programmers. Visuals This book takes a rather unique approach to teaching PHP 5. It’s part of Wiley’s… View full post »