.

DevSael Blog. C, CPP, C++, PHP, .NET Programming BLOG! advanced, MySQL, MongoDB, RDBMS.

Browsing "Older Posts"

Browsing Category "best coding"

PHP Mongodb Indexing: It is not so hard to make index in Bigdata database such like MongoDB. Take look following bellow. <?php $c = new MongoCollection($db,...

MongoDB indexing in PHP

By Game Changer → Thursday, February 25, 2016

PHP isset() equiv JavaScript isset() funciton: Often I am get asked from junior developers that, Is there any isset() function in Javascript? Ha ha...

JavaScript isset() equivalent PHP isset()

By Game Changer → Thursday, December 17, 2015

Date and time manipulation is an unavoidable part of programming; there will inevitably be a part of a project that requires a date to be modified....

PHP DateInterval Class

PHP DateInterval Class

By Game Changer → Friday, December 11, 2015

We have two PHP5 objects and would like to merge the content of one into the second. There are no notion of subclasses between them so the solutions...

The best method to merge PHP objects

The best method to merge PHP objects

By Game Changer → Wednesday, December 9, 2015

Choosing a database wrapper in you development project. Moving an application from one database to another isn't very common, but sooner or...

 PDO or MySqli: The pros and cons

PDO or MySqli: The pros and cons

By Game Changer → Tuesday, December 8, 2015

Do you need call a dynamic function? Defined in your script.. Need Calling Dynamically? Use call_user_func() instead: //for normal function...

Call PHP function from string stored in a Variable

Call PHP function from string stored in a Variable

By Game Changer → Sunday, December 6, 2015

Differences in ASCII: URLENCODE: Calculates a start/end length of the input string, allocates memory Walks through a while-loop, increments until...

URLENCODE vs RAWURLENCODE

URLENCODE vs RAWURLENCODE

By Game Changer → Saturday, December 5, 2015