Author Archives: EbenShapiro

Openssl Encryption

If you were ever curious about how the encryption part of the ssl protocol worked then you should check out this great tutorial: http://www.devco.net/archives/2006/02/13/public_-_private_key_encryption_using_openssl.php It shows you how to create a private and public key using the RSA algorithm and … Continue reading

Posted in Uncategorized | Leave a comment

Lists and MySQLdb for Python

I’ve been working with the MysqlDB object made for python. I want to make a note that if you make a select statement that returns no records, when you fetch it in python you’ll get an empty list. The way … Continue reading

Posted in Uncategorized | Leave a comment

Apache and PHP

Today I want to remind myself of what the relationship between Apache and PHP is. Support for PHP can probably be compiled into Apache but it’s more flexible if you simply configure Apache to support loadable modules. PHP can be … Continue reading

Posted in Computer Information | 2 Comments

Where WP meta data comes from

With the use of Xdebug and Netbeans I finally found where it all happens. First the posts are retrieved by the WP_Query object using the get_posts() member. Towards the end of the function, around line 2742, a function called update_post_caches … Continue reading

Posted in Computer Information, Wordpress | Leave a comment

Xdebug, Netbeans and WordPress!

Today I’d like to sing the praise for a library extension for php called Xdebug created by Derick Rethans. This allows you to debug a php program. And Netbeans is able to provide an easy interface for traversing the code … Continue reading

Posted in Computer Information, Wordpress | Leave a comment

Where does the meta data come from in WordPress?

So I’ve been looking into how post information is retrieved in WordPress but I can’t seem to pin at what point the post meta data is retrieved. From a high level, the user fetches some posts and loops through its … Continue reading

Posted in Uncategorized | Leave a comment

WordPress Core Debugging

I just thought of a basic debugger plugin. And the code goes like this: <?php /** Plugin Name: Test Zone */ function testZone(){ } add_shortcode(‘testZone’,'testZone’); ?> } And it’s just that simple. Now you can place whatever code you want … Continue reading

Posted in Computer Information | Leave a comment

Note on the WP_Query object

The WP_Query object contains the query() member that feeds the parameters given it to get_posts() member which does a whole bunch of stuff including making a call to parse_query(). Perhaps knowing this will make it easier to understand the full … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

How jQuery Works

Hi World! I want to start my blog by talking about jQuery. I like jQuery but I’m not satisfied with the whole ‘black box’ notion that one doesn’t have to know how it works to use it. Because of that … Continue reading

Posted in Computer Information | Tagged , , | 1 Comment