|
|
||
|
I'm making this up! |
||
|
Gadgets are code pieces I've had to make up because I couldn't find them
anywhere else. Most of the stuff you'll find here you won't easily find
elsewhere. I don't know why. But this is a collection of things I've
crafted over the past few years to help me do my job. So far, they're all in C, Perl or Java, because those are the tools that are used on the Web. Perl and Java, in particular, have adapted themselves well to most things Web-related. (You'll probably soon see some PHP3 tools here, as this site relies heavily on it. It's quite a tool!) This collection will continue to grow. If you'd like to see something not currently here, please drop me a line. Please write also if you know a better way to do something, or you have some code you want to share. Complete code for everything is available. Enjoy. User Authentication Using Java servlets, JSP pages and the powerful HttpSession interface, you can contol access to every page on your web site. Public-key crypto Cryptography demystified! Step-by-step how to encrypt and mail or save data from a Web form using PGP or Gnu Privacy Guard. We even show you how to batch-decrypt a whole pile of encrypted data. ENV CGI programs know how to grab "the environment variables." But what are those variables, and where do they come from? HTTP More instructive than utilitarian, these gadgets help you see inside the HTTP protocol that Web browsers and servers use to communicate. Regex I think regular expressions are one of the most important fundamentals of programming for the Web. Here I build a (nearly) bullet-proof date validator. More regex A set of regular expressions that will insert user data back into HTML form elements. Included are text inputs, check boxes and radio buttons, drop-down select menus and textareas. Robots Here's a Perl tool based on Gisle Aas' LWP library that faithfully updates your IP address on dynamic name mapping services like DHS or TSX. Snarfs Also known as a screen scraper. This handy tool (also based on LWP) grabs data straight off a Web screen. SSL Probably the best tutorial on the Web (or anywhere) for learning how to use the OpenSSL libraries. Make SSL posts without a browser. Write code to set up SSL connections between remote servers. Finally understand how the damn stuff works! Stepper What do you do when your CGI takes so long to run that users hammer on the submit button, sending multiple copies of the form data?
|
||
|
Home | Gadgets | Code | Links | Reads | Contact Copyright © 1999, 2001, 2002 by John H. Byrd All rights reserved. |