day is a Wordpress query string variable that can used to request archive of posts published on a certain day, across months and years. day global variable stores day of the current post. It is set in the function setup_postdata($post) defined in [wordpress root folder]/wp-includes/functions.p [Continue]
JavaScript is now main stream, thanks to the popularity and extensive acceptance of AJAX. In fact, AJAX is considered to be a core part of Web 2.0. Acceptance of a technology by the industry has been a subject of its scanning under the security microscope, which has caused delays in accepting new things. [Continue]
This post has already been published on code::gallery blog which now has been merged into this blog. These are mechanisms in object oriented programming languages to identify the funciton/method to be invoked. The dispatch in the nomenclature is about dispatching messages to objects, as it is said in Smalltalk. [Continue]
This post has already been published on code::gallery blog which now has been merged into this blog. Michael Feathers illustrates nicely the problem of overcautious coding. The following should probably be coding principles: Spurious null checks are a symptom of bad code. [Continue]
This post has already been published on code::gallery blog which now has been merged into this blog. Roy Osherov has created Regulator - a regular expression generator. And it has a nice visual interface to specify the data and the parsing rules that creates the regular expression. [Continue]
This post has already been published on code::gallery blog which now has been merged into this blog. I think Javaref (via Ajaxian) displays one of the best uses of AJAX. It has injected usability and ease in refering to the Java documentation. [Continue]
This post has already been published on code::gallery blog which now has been merged into this blog. Dr. Dobb’s Portal has an article on code quality improvement via coding standards conformance. [Continue]
This post has already been published on code::gallery blog which now has been merged into this blog. Software programs have to deal with resources (memory, files, mutexes, semaphores, database connections, …) that a computer provides. To be able to make sure that the resources are available to all the programs and optimally used, following steps are required to use a resource: Acquire a resource Use the resource Release the resource By acquiring and releasing the program stakes its claim to the resource. [Continue]
The global variable posts stores the results of a Wordpress query as a single dimensional array. It is set in the method register_globals() of class WP. Plugin and theme developers can use this global variable to access results of the query outside the loop. [Continue]
This post has already been published on code::gallery blog which now has been merged into this blog. I had come across two exceptional conversations on C++ between two visionaries - Bill Venners and Bjarne Stroustrup. They are dated 2003, but are very much valid even today. [Continue]