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…
An Alternate Way To Bypass Javascript’s Same-Origin Policy
Filed under HTML, Javascript
If you have worked with AJAX at all, you know that there is this thing called the Same-Origin policy which makes it nearly impossible to send AJAX requests to 3rd party domains. There are workarounds such as going through a proxy. I don’t like that and think it’s messy. However, sometimes it’s the only way to go about getting the job done. This post is not about going through a proxy, instead, it is about using a little trick I learned from Yahoo. 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…
Making Flash Obey Z-Index
Filed under HTML
A common problem with Flash is that it usually will not listen to the z-index of the page. This causes drop down navigation items to appear under the flash. However, there is a neat way to make flash behave correctly while respecting the XHTML standard. More…