How to use optional parameters in URI path in Yii framework

Posted by Stanislav Furman on July 10, 2014
Read about how to use optional parameters in URL manager in Yii framework

Securing a directory with 777 or 775 permissions

Posted by Stanislav Furman on July 6, 2014
Read how to secure a directory with 777 or 775 permissions

Shared web hosting Vs VPS hosting Vs dedicated servers

Posted by Stanislav Furman on June 22, 2014
Which hosting is right for You? Comparison of different web hosting options: shared, vsp and dedicated.

Responsive website Vs standalone mobile version

Posted by Stanislav Furman on June 16, 2014
Let's try to compare responsive website design and standalone mobile website. What is better?

Regular expressions? What's that? Part 2.

Posted by Stanislav Furman on June 2, 2014
A good example of how NOT to code.

How to update fields from another table in MySQL

Posted by Stanislav Furman on May 28, 2014
Read how to update a bunch of fields from another table in MySQL

Ebay asks its users to change passwords

Posted by Stanislav Furman on May 21, 2014

Ebay asks its users to change passwordseBay Inc., the world's largest Internet auction site, just reported a successful attempt of a hacking attack on its servers. Hackers gained access to that part of the eBay database, where website users store their password hashes. The company's specialists claimed that personal data and financial information remains inaccessible to hackers - that type of data is kept separate and well encrypted.

According to the preliminary investigation, the results of which were published on the corporate blog, the attack happened in late February / early March of this year. Hackers gained access to stored user names, password hashes, emails, home address and phone numbers, as well as dates of birth. 

It's been reported that within next 24 hours eBay users should receive an official notification with information about the attack and recommendations on how to reset password on all eBay websites where the user has used the same password.


Important things you must know before register a domain name

Posted by Stanislav Furman on May 16, 2014
10 important things you should know before you register a domain name with a registrar

PHP NG, significant speed-up features coming in PHP 6

Posted by Stanislav Furman on May 15, 2014

Some exciting and promising coming changes in PHP 6 or 7 have been anounced recently by Dmitry Stogov from Zend. A detailed article has been postd here http://news.php.net/php.internals/73888

Briefly, Zend is working on PHP NG (next generation) which will bring better performance and better memory management. According to Dmitry, the PHP application execution typically takes a significant part of the execution time dealing with memory allocations, and that affects PHP performance significantly as well.

I spent a significant amount of time experimenting with JIT, and even created a PoC of transparent LLVM based JIT compiler embedded into OPCache. The results on bench.php was just amazing – (0.219 seconds against 2.175 – *10 times speedup of PHP 5.5*), but on real-life apps we got just few percent speedup., - says Dmitry in his report.

According to his tests PHP developers can gain up to 20% more requests per second (in case with Wordpress for example).

So far it looks like upgrading to PHP NG should be painless (that's the idea). However, some of PHP extensions wil might require some "massage".

Looking forward to test the new PHP 6. Or maybe 7? ;)


Huawei introduces the Ascend P7, its new flagship Android phone

Posted by Stanislav Furman on May 7, 2014
The Ascend P7 from Huawei is going to compete with its rivals from Samsung and Apple.