MySQL – technical definition

A very popular open source, relational DBMS for both Web and embedded applications from MySQL AB, Uppsala, Sweden (, which was acquired by Sun in 2008. Pronounced “my S-Q-L,” it runs under Linux/Unix, Windows and Mac. The free MySQL Community Edition is available under the GNU license, and more than 100 million copies have been downloaded worldwide. MySQL Enterprise is the more comprehensive, paid version.

Extensive Language Support
Applications using MySQL are written in PHP, Perl, Python, Ruby, Java, C/C++, C# and Visual Basic. The MySQL programming interface (API) is a superset of the C language API for mSQL, which was developed by David Hughes in 1994.


PHP – technical definition

(PHP Hypertext Preprocessor) A scripting language used to create dynamic Web pages. With syntax from C, Java and Perl, PHP code is embedded within HTML pages for server side execution. It is commonly used to extract data out of a database and present it on the Web page. NT/2000 and Unix Web servers support the language, and it is widely used with the mSQL database. PHP was originally known as “Personal Home Page.”

Adaptive Images

Adaptive Images detects your visitor’s screen size and automatically creates, caches, and delivers device appropriate re-scaled versions of your web page’s embeded HTML images. No mark-up changes needed. It is intended for use with Responsive Designs and to be combined with Fluid Image techniques.

Check here

IE10 CSS Hacks

@media -ms-high-contrast Hack

This one comes from a gist by German developer Alex Kloss. It takes advantage of two things: 1) The fact that IE10 supports media queries; and 2) The fact that IE10 supports -ms-high-contrast as a media query option, which IE9 doesn’t support.

  1. @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  2.    /* IE10-specific styles go here */
  3. }

According to Alex, this targets IE10 in both high contrast and default mode, which will evidently cover all stable versions of IE10.

This hack doesn’t work in older Platform Preview releases, because it seems that -ms-high-contrast wasn’t supported in those. I can confirm that it doesn’t work in IE10PP2.

Also, as Alex points out in the comments on the gist, this will also target IE11, so again this may not be a great choice.

@media Zero Hack

Finally, this one will target both IE9 and IE10, but nothing else. Not exactly ideal, but it’s an option if you need it.

  1. @media screen and (min-width:0) {
  2.     /* IE9 and IE10 rule sets go here */

This one might eventually be the best choice, but maybe not at the moment. Eventually, IE9 users are supposed to get notified via Windows Update to upgrade to IE10. This is supposed to include Windows 7 users. If this happens (and I’m not holding my breath), eventually IE9′s market share will be taken over by IE10, the same way this happens with other browsers that auto-update.

And in addition to that, if this parsing bug is fixed in IE11, then that means it will also be future proof. But we won’t know until IE11 is released.

Create Custom Post Type with category

A custom post type can be added to WordPress via the register_post_type() function. This function allows you to define a new post type by its labels, supported features, availability and other specifics.

function postype() {
$labels = array(
'name' => _x('Postype', 'post type general name'),
'singular_name' => _x('Postype', 'post type singular name'),
'add_new' => _x('Add New Postype', 'New Postype'),
'add_new_item' => __('Add New Postype'),
'edit_item' => __('Edit Postype'),
'new_item' => __('New Postype'),
'view_item' => __('View Postype'),
'search_items' => __('Search Postype'),
'not_found' =>  __('Nothing found'),
'not_found_in_trash' => __('Nothing found in Trash'),
'parent_item_colon' => ''

$args = array(
'labels' => $labels,
'public' => true,
'publicly_queryable' => true,
'show_ui' => true,
'query_var' => true,
'menu_icon' => get_stylesheet_directory_uri() . '/article16.png',
'rewrite' => array('slug' => 'postype'),
'capability_type' => 'post',
'hierarchical' => false,
'menu_position' => null,
'supports' => array('title','editor','page-attributes','thumbnail','custom-fields','excerpt','comments'),
'taxonomies' => array('post_tag'),
'has_archive' => true
register_post_type( 'postype' , $args );

// Creating custom Taxanomy
add_action( 'init', 'create_postype_category' );

function create_postype_category() {
$labels = array(
'name' => _x( 'Location', 'taxonomy general name' ),
'singular_name' => _x( 'Location', 'taxonomy singular name' ),
'search_items' =>  __( 'Search Location' ),
'all_items' => __( 'All Location' ),
'parent_item' => __( 'Parent Location' ),
'parent_item_colon' => __( 'Parent Location:' ),
'edit_item' => __( 'Edit Location' ),
'update_item' => __( 'Update Location' ),
'add_new_item' => __( 'Add New Location' ),
'new_item_name' => __( 'New Location' ),

'hierarchical'  => true,
'show_ui'         => true,
'labels'         => $labels