User Profile
Collapse
-
You probably need the CPAN module Data::Compare. -
Web Form Autofocus JavaScript
If you have any interest in Web form usability, you may find my Web form autofocus JavaScript snippet useful. The idea is simple: if a user is presented with a form, they should be able to start typing right away in the most appropriate place. As you know if you've dealt with poor attempts at handling this, it's not that simple to do well; this script deals with the most common problems encountered and several uncommon ones. This is a drop-in script,... -
A not-uncommon cause of slowdowns like this as a small site becomes more established is database design that works well when there are 20 rows in the table but not so well when there are 2 million. It may be worthwhile to look at what queries you're doing on slow-running pages and make sure that fields you're doing lookups on are indexed.Leave a comment:
-
I typically do like so:Code:open(FH, $file) or die "$!"; my $sdpString = join('', <FH>); close FH; print $sdpString;
Leave a comment:
-
You should include some examination of denial of service attacks. While a lot of those are network issues outside of the scope of what a software developer can or should deal with, there are ways that software issues can make you vulnerable to DoSing. For instance, if your web site allows a user to start a very resource-intensive process, and there's nothing to prevent them from performing more requests and starting more processes, performing a...Leave a comment:
No activity results to display
Show More
Leave a comment: