Showing posts with label 2015. Show all posts
Showing posts with label 2015. Show all posts

Thursday, July 9, 2015

PHP7 whats new ?

The name for the next major PHP version has been finalized! The winning proposal is to call the latest major version PHP 7.

With the planned date for PHP 7’s release rapidly approaching, the internals group is hard at work trying to fix our beloved language as much as possible by both removing artifacts and adding some long desired features.

The latest PHP version will be released later this year

The PHP 7 Timeline RFC was approved in a near unanimous vote, and aims to release PHP 7 in October 2015.
Time line

PHP Space Ships

PHP 7 will introduce a new operator <=> conveniently

Add a new operator (expr) <=> (expr), it returns 0 if both operands are equal, 1 if the left is greater, and -1 if the right is greater. It uses exactly the same comparison rules as used by our existing comparison operators: <, <=, ==, >= and >.

[DEMO]


Return Type Declarations & Scalar Type Hints

 
PHP 7 will allow developers to declare what kind of return type a function is expected to have – similar to argument Type Hints.
In addition, argument type hints and the new return-type declarations now support new scalar types, allowing developers to denote that they’re expecting strings, floats, ints or bools to be passed or returned

PHP 7 Performance


PHP 7 is based on the PHPNG project (PHP Next-Gen), that was led by Zend to speed up PHP applications.

PHP 7 is 2X faster

Since PHPNG was open sourced and later merged into PHP 7, its performance more than doubled in many cases, and we’re continuing to improve it all the time.

What is PHPNG



phpng's key benefits are around performance and memory utilization. Detailed performance benchmarks against previous (and current) versions of PHP, as well as hhvm,

What is hhvm

HHVM is an open-source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining the development flexibility that PHP provides.




Monday, June 29, 2015

Best plugin for wordpress ( Part:2 )

W3 Total Cache – The fastest and most complete WordPress performance optimization plugin. After you use the w3 total cache plugin you won’t go back to using WP Super Cache. 
 
WP Super Cache – WP Super Cache is a static caching plugin for WordPress. It generates html files that are served directly by Apache without processing comparatively heavy PHP scripts. By using this plugin you will speed up your WordPress blog significantly. 
 
Contact Form 7 – Contact Form 7 can manage multiple contact forms, plus you can customize the form and the mail contents flexibly with simple markup. The form supports Ajax-powered submitting, CAPTCHA, Akismet spam filtering and so on.



Share This – This is a very useful plugin that allows your visitors to share a post/page with others. Supports e-mail and posting to social bookmarking sites.
 

Fat Free WordPress Social Share Buttons Plugin – This is a very simple and FAT FREE share button plugin that adds Google plus one, Facebook and Twitter share buttons to your blog posts.
 

Google Adsense Plugin – Google AdSense Plugin allows you to set parameters of the ads displaying, such as format (text ad, image, text with an image or link), size, color of the elements in the ad block, rounded corners and the ad block position on the website. 
 
Simple Google Adsense insertion – Easy to use WordPress plugin to insert Google Adsense to your posts, pages and sidebar. 

Adsense-Deluxe – Place Google AdSense ads in your WordPress Posts. Capable of handling complex adsense management.


Simple Photo Gallery – If you are looking for an effective, reliable, yet simple to use photo gallery plugin, then check this gallery plugin out. I use it whenever I need a photo gallery plugin.

NextGen Gallery – The most popular WordPress gallery plugin and one of the most popular plugins of all time. 
 
 

How to Host a Laravel Project on Hostinger’s hPanel: A Step-by-Step Guide

How to Host a Laravel Project on Hostinger’s hPanel: A Step-by-Step Guide If you're looking to host a Laravel project on Hostinger’s hPa...