A web developer's blog. PHP, MySQL, CakePHP, Zend Framework, Wordpress, Code Igniter, Django, Python, CSS, Javascript, jQuery, Knockout.js, and other web development topics.

Monthly Archives: December 2008

This is a test post. WordPress 2.7 CPU usage is crazy!!!

Lorem Ipsum. WordPress is teh

Posted in General | Tagged | Leave a comment

WordPress CPU Usage is crazy!

A few days ago, I my account was suspended. I am on a shared hosting and get about 300 unique visits a day. That is fairly a small amount of traffic to cause a problem on a shared hosting environment. … Continue reading

Posted in General | Tagged , | 2 Comments

PHP: Various ways of sending email

This is quoted from the source: Most newcomers to PHP were initially attracted to the language due to its low barrier of entry. After all, adding dynamic data to a web page by using PHP (the current date, for instance) … Continue reading

Posted in General | Tagged , , , | 6 Comments

Another Bill Karwin post that I want to share

This time, it is about SQL Antipatterns. http://karwin.blogspot.com/2008/04/sql-antipatterns-slides.html Make sure you download the slide!

Posted in General | Tagged | Leave a comment

Bill Karwin: ActiveRecord does not suck

This is an old post by Bill Karwin. But nevertheless, a very good read. Waste no time and read the post here. I found this article very enlightening that I decided to add his feed to my list. I know … Continue reading

Posted in General | Tagged , , | Leave a comment

jQuery: Using AutoComplete on dynamically created elements

This is a common problem wherein you dynamically create your DOM elements using jQuery. The $(document).ready(function(){}); would already be initialized — without the newly created DOM. So to go around this issue, I have posted this sample code as reference: … Continue reading

Posted in General | Tagged | 1 Comment

jQuery: A quick and dirty tutorial on DOM traversing using parent() and classname selectors

Here is a quick tutorial on DOM traversing using jQuery. I am using class selectors $(‘.classname’) here. <div class="dynamically_created_div"> <input type="button" class="click_button" id="click_button_01" value="Click Me!" /> <input type="hidden" class="hidden_stuff" value="First one!" /> </div> <div class="dynamically_created_div"> <input type="button" class="click_button" id="click_button_02" value="Click … Continue reading

Posted in General | Tagged , | Leave a comment

PHP: RESTful Tips

I found this. What is REST? REST is an architectural style, or set of conventions, for web applications and services that centers itself around resource manipulation and the HTTP spec. Web apps have traditionally ignored the HTTP spec and moved … Continue reading

Posted in General | Tagged , , , , , | Leave a comment

Let Google host your jquery.js file

The author does it like this: &lt; script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"&gt;&lt; / script&gt; &lt; script type="text/javascript" &gt; $(document).ready(function() { // This is more like it! }); &lt; / script &gt; A very interesting read. Check it out here.

Posted in General | Tagged , , | Leave a comment

Why you should upgrade your WordPress to 2.7 RC

Not only that the admin side looks wayyyyy better, you can also Upgrade to the latest version automatically. Yep, no more downloading the latest release zip file. You do not have to unzip and choose which directory to upload. All … Continue reading

Posted in General | Tagged | 1 Comment