Starting PHP: Looping Basics
Filed under PHP
I was searching the internet for PHP tutorials and quickly found out that the majority of are badly written, have errors in the example code, contain security holes, or are just outright outdated. This makes learning PHP hard for someone just starting out. The question I get a lot is about looping through arrays. More…
Open Source PHP Data Validation Class
Filed under PHP
I have created a PHP5 class that handles all POST and GET variables. It performs almost all of the validations functions you could need. In addition, it makes accessing the variables very convenient. More…
Optimizing Dynamic Content With Memcached
Filed under PHP
I have posted before on how to use Memcached to reduce database load, but I failed to give a sound example. Hopefully this will rectify that. Please read this post to catch up if you haven’t already. otherwise I will assume you have experience with Memcached. More…
Simple Solution To Minify Data From Different Locations
Filed under PHP
Lets say you use a forum software and a blogging software as the backend of your website. Lets also say that you want to create profiles for your members, but neither the forum or the blog software have the support you in, and in addition you need info from both the blog and the forum. More…
Ajax Username Validation with The Most Popular JS Frameworks
Filed under HTML, Javascript, PHP
It seems like every site these days uses some form of Ajax to validate form fields. One thing I cannot stand is websites that do not use Ajax to check usernames (or other data) as you type. Because a lot of sites are lacking this one feature, I thought it would be nice to throw together a few examples of how to do it correctly with the most popular of JS frameworks. More…