Tag Archives: php

PHP vs. Node.js: An epic battle for developer mind share | InfoWorld

It’s a classic Hollywood plot: the battle between two old friends who went separate ways. Often the friction begins when one pal sparks an interest in what had always been the other pal’s unspoken domain. In the programming language version of this movie, it’s the introduction of Node.js that turns the buddy flick into a grudge match: PHP and JavaScript, two partners who once ruled the Internet together but now duke it out for the mind share of developers. In the old days, the partnership was simple. JavaScript handled little details on the browser, while PHP managed all the server-side tasks that existed between port 80 and MySQL. It was a happy union that continues to support many of the crucial parts of the Internet. Between WordPress, Drupal, and Facebook, people can hardly go a minute on the Web without running into PHP.

PHP vs. Node.js: An epic battle for developer mind share | InfoWorld

It’s a classic Hollywood plot: the battle between two old friends who went separate ways. Often the friction begins when one pal sparks an interest in what had always been the other pal’s unspoken domain. In the programming language version of this movie, it’s the introduction of Node.js that turns the buddy flick into a grudge match: PHP and JavaScript, two partners who once ruled the Internet together but now duke it out for the mind share of developers. In the old days, the partnership was simple. JavaScript handled little details on the browser, while PHP managed all the server-side tasks that existed between port 80 and MySQL. It was a happy union that continues to support many of the crucial parts of the Internet. Between WordPress, Drupal, and Facebook, people can hardly go a minute on the Web without running into PHP.

which data structure stores data in "type:length:value" triplets?

Salam (means Hello) :)

parsing output of a third party script, which was stored in a MySQL database, I encountered data structures almost like JSON, but in a triplets of:

key_type:key_length:key_name;
value_type:value_length:value_contents;

this is a example of it:

a:1:{
    s:5:"title";
    s:28:"<div>This is item title</div>";
    s:9:"permalink";
    s:31:"http://example.com/post-88.aspx";
    s:7:"content";
    s:31:"<div>This is item content</div>";
    s:4:"meta";
    a:1:{
        s:4:"tags";
        s:22:"these, are, some, tags";
    }
}

I just want to know is this a common standard structure or something conventional created by this script developers?

Simple PHP Cache Class | Fast PHP Caching Class

The PHP high-performance object caching system. phpFastCache is a high-performance, distributed object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. phpFastCache dropped the database load to almost nothing, yielding faster page load times for users, better resource utilization.

Simple PHP Cache Class | Fast PHP Caching Class

The PHP high-performance object caching system. phpFastCache is a high-performance, distributed object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. phpFastCache dropped the database load to almost nothing, yielding faster page load times for users, better resource utilization.