Select Page

Author: Perry

How Not to Script HTML Form Validation

Douglas Crockford has dubbed Javascript “the world’s most misunderstood programming language.” If he is correct, and I believe he is, then it should be no surprise that a good deal of Javascript development is tainted by “AntiPatterns”. An AntiPattern quite simply is what does not work. Let’s consider what this means on a couple of different levels, within the context of validating form data with Javascript. First lets consider specific code that “does not work”. Recent books have gotten better at avoiding the following sort of thing, but it remains widespread to this day (to keep this example as...

Read More

Overview of XML encryption

XML encryption classifies a course of action for encrypting plain text data, generating ciphertext, and decrypting the ciphertext to retrieve the plaintext data. Both the and are optional i.e. the sender and receiver may agree on the encryption method and key in advance. Several elements use the definitions from the DSIG. If the recipient does not know the decryption key in advance, then the sender generates and sends it. The key can be protected in transit by encrypting method or key agreement. If the plaintext data to encrypt is an XML element or content, you encode it using UTF-8...

Read More

Introduction to Perl Scripting

What is it? Perl was one of the first computer languages every written, through it’s years of existance the contributers of the language have made it one of the the most robust and powerful languages there are. Perl is short for Practical Extraction Report Language, because that’s what it is. It creates and extracts data on the fly with remarkable speed.You will often times hear the words Perl and CGI together as if they’re one and the same. It’s safe to think this, as CGI is a module built for Perl, the main difference is CGI is typically OOP (object-oriented programming) while Perl itself usually is not. CGI is short for Common Gateway Interface which is a great name because it’s Perl’s interface to work on the web. For more on a definition of Perl, please check out this post by Web Hosting Dorks. What does it do? Since this is one of the fastest languages there are, this makes a great report processing and retrieval language. You can parse hundreds of thousands of lines of code from a text file in just a few seconds (I typically can get around 80,000 lines returned in a fraction of a second). Some very common uses for Perl/CGI: Data extraction, encryption, contact forms, guestbooks, full ecommerce sites, web parsers and web bots, search engines, image manipulation, security. What can’t it do?...

Read More

Getting Started with the MEAN Stack

A very popular JavaScript stack is the MEAN stack. It’ll let you do everything you could do with a LAMP stack, and you’ll only use JavaScript. This article has a compilation of useful resources that will help you get started with MEAN. Introduction to the MEAN Stack Development An Introduction To Full-Stack JavaScript This Smashing Magazine article will give you an overview of why full-stack JavaScript might be right for you and how it works its magic. Getting MEAN This is a great 1-hour video from the Google development team that covers the basics of MEAN. It starts with...

Read More