PHP Levenshtein distance

Levenshtein distance is a way of calculating how different two strings are. This function is extremely helpful in determining if a user made a mistake in entry, trying to find similar inputs, or comparing strings for any reason. The Levenshtein distance is a numeric value of how many changes are necessary to turn the one string into the other. There are default weights assigned to different operations like Capitalizing a letter or...

Read More

Javascript Minification

Javascript is an interpreted language, meaning it’s not pre-compiled.  This has a few drawbacks, like keeping coding logic secret, but it’s good for quick changes and building scripts on the fly using another language.  Compiling is meant to speed up execution.  There is something you can do to speed up execution.  It’s called minification.  It does nothing but make your existing script take up the least amount of space...

Read More