Jason Corradinoand I am a
I am living right outside
Chicago, so if you are looking for a web developer on a
freelance project, please feel free to Contact Me by phone, or email.
The following is the code that makes up this website as well as other code I have created and would like to share. Please note that any code displayed here can be used on your project as long as you attribute the work to my and source this website.
Please click one of the links below to view the code in php. Please feel free to let me know if you have any questions.
As I continue cleaning up the code I use on this site, more will become available.
Hash Authentication - php
I came across this article about an awesome way to run authentication on a website; but I really didn't like the way he was recommending it, so I wrote my own version. This obfuscates the authentication process between two tables that have no actual relation to eachother other than the user-entered password - so without it, there is no way to relate items. If I were to use this in production, I would probably set it to create a random number of fake hashes before and after the legit one to make it harder to guess which ones are live and which are fake, throwing off a brute force attack.
WPGet - bashscript
After downloading wordpress several dozen times, I finally had enough and decided to build a script that handles everything for me, this was the result. Following the instructions in the comments on the top will allow you to open up command line and type wpget in any directory, triggering the script and installing a fully working version of wordpress. If you are trying to mirror a not-so-up-to-date production environment, it is just as easy. All you have to do is tell wpget what version you are trying to download like so: "wpget 3.2.1"
This is the first bash script I have written in a good while, so please let me know if you see anything that can be done better!
Active Navigation powers your ajax-driven site, allowing simple calls to class methods to update navigation and call the proper location, all without losing back-button functionality. It also supports direct pathing without hash-tags with a simple .htaccess modification. YourSite.com/share/path/to/page will target the same ajax call as YourSite.com/#/path/to/page. That hash would be generated by calling activeNavigation.navUpdate(array("path","to","page"));
- PDO Database Connection Class - php (github)
The PDO (PHP Data Objects) class allows you to make quick and efficient calls to your database using the more secure and faster PDO method rather than the old mysql method. This class has built-in security, forcing you to feed an extra array of arguments into the query in order to pass certain types of queries - read: the kinds powered by users - and will fail without it. This class requires very little setup. Just require the class file, instantiate the class, and use it to your heart's content (point at the "query" method for built-in exception handling). As stated next to the class name, this is available on github, so please be sure to grab the code from there, as the version on here may not be the newest.
- Main Function - php
- Database Class - php
- Query Class - php
- Cleaner Class - php
- RSS Reader Class - php
- Authorize.net Payment Processor Class - php