PHP 7 Why It’s Great and Our Compatible Extensions

We have great news at Extendware. Not only are we adding new Magento 2.0 extensions weekly, but we are also updating our extensions to PHP7. Many of them are available now so we thought we would share a little bit about PHP7 here in our blog!

Much Faster Speed

A great advantage of the new PHPNG engine is the significant performance improvement. The development team of PHPNG refactored the Zend Engine, and remarkably optimized memory usage. With PHP 7, not only your code will be executed faster, but you will also need fewer servers to serve the same number of users.

64-Bit Windows Systems Support

PHP is a prominent member of the LAMP stack which means its native environment is Linux, but it’s also possible to run it on a Windows system. PHP 7 introduces consistent 64-bit support which means both native 64-bit integers and large files will be supported, allowing you to confidently run the language on your 64-bit Windows system in the future.

The New Zend Engine

The Zend engine has been powering PHP since 1999 when it was introduced with the PHP 4 release. Zend PHP#NG-01-01(not to be confused with the Zend Framework) is an open source execution engine written in C that interprets the PHP language. PHP 7 receives an entirely new version of the engine coming under the code name of PHP#NG (Next Generation). The enhanced functionality of the initial engine and adds an extensible object model and a significant performance enhancement to the language.

Anonymous Classes

PHP 7 enables you to use anonymous classes, already a well-established practice in other object-oriented languages like C# and Java. An anonymous class is a class without a name. The object it instantiates has the same functionality as an object of a named class.

The syntax is the same as what we are used to in traditional PHP classes, only the name is missing. If anonymous classes are used well, they can speed up coding as well execution time. Anonymous classes are excellent when a class is used only once during execution and in cases when a class doesn’t need to be documented.

Error Handling

Handling fatal and catchable fatal errors have never been an easy task for PHP coders. The new Engine PhP image 2-01Exceptions will allow you to replace these types of errors with exceptions. If the exception is not caught, PHP will continue to return the same fatal errors as it does in the 5.X series.

The new Engine Exception objects don’t extend the Exception Base Class. This ensures backward compatibility and results in two different kinds of exceptions in error handling: traditional and engine exceptions. To enable programmers to catch both, PHP 7 introduces a new shared Parent Class under the name of Base Exception.

New Spaceship and Null Coalescing Operators

The Spaceship operator runs under the official name of Combined Comparison Operator. The notation of the new operator looks like this: <=> (kind of like a simplified spaceship, if you imagine it right). The Spaceship Operator returns 0 if both operands are equal, 1 if the left is greater, and -1 if the right is greater. It’s also called a three-way comparison operator, and it already exists in other popular programming languages like Perl and Ruby.

The Null Coalescing operator is denoted with two question marks ( ?? ). You can use it when you want to check if something exists and return a default value, in case it doesn’t. The coalesce operator returns the result of its first operand if it exists and is not null, and the second operand in any other cases

Enables Accurate Type Declarations

Have you ever wanted to prevent unintended return values by declaring the return type of a function? PHP 7 enables developers to enhance the quality of their code with the help of return type declarations.

Imports from the Same Namespace

The new Group Use Declarations feature will be crucial for those who want to import many classes from the same namespace. The new syntax cuts verbosity, makes your code tidier and easier on the eyes, and saves you a lot of typing time. It will also be easier to read through and debug codes, as group use declarations help you identify the imports that belong to the same module.

Frees Up Space

The goal of PHP 7 was to free up the space to enable improvement, so it was necessary to get rid of many deprecated functionalities and old and unsupported Server APIs and extensions.  All the removed items have been deprecated for a while in PHP 5 so most likely you haven’t used them for a long time. However please note if you have a legacy app running on older PHP versions the new PHP 7 can potentially break the code.

Check out some of our updated PHP7 compatible extensions!

LLucene-Searchucene Search

Increase revenue and customer satisfaction with faster, more relevant search results. Lucene Search is a powerful and flexible search solution that helps ensure your customers can always find the products they want.

 

Full Page CacheFull-Page-Cache-(Web)

Full Page Cache reduces your Magento store’s First Byte Time, Increases your web server request rate, reduces database load, and makes your store much more responsive

 

 

CacCache-Crawlerhe Warmer

The Magento Full Page Cache Crawler / Warmer will ensure your Full Page Cache solution is always “warmed” and ready to serve your store pages at the fastest speed possible. The extension is efficiently coded to reduce bandwidth, CPU, and crawling time.

 

 Image OptimizationImage-Optimization-(Web)

Images are very important for online stores, but unnecessarily large images can slow down the user experience and reduce search engine rankings. Image Optimization will optimize your images and reduce their size without sacrificing image quality, so that your site images are faster loading.

 

Auto-Translate-(for-web)Auto Translate

Increase your stores potential customer base by allowing users to translate the page to their preferred language. Ensure advertising campaigns and feeds targeting certain languages will automatically translate to that languageMinify 1.0

 

Product-Labels-(For-web)

Product Labels

Automatically highlight your special offers, featured products, sales, and more. Multiple images / labels per products supported, flexible rules, and many, many options to empower you to market your products the best way possible.

The Magento Tools You Need to Succeed at Any Level

Stop Reinventing the Wheel

Only an idiot keeps trying to reinvent the wheel – so why would you venture out on your own to make your own mistakes trying to find the right tools for your Magento store?

Phrase

Many others – including us – have already made all those mistakes for you. All you have to do is just listen to the hard-won “wisdom” we all have learned the hard way.

TestAt Extendware, we are out here – every single day – learning what works and what doesn’t work with Magento and the Magento eco-system. We’re testing various CRM Systems, Customer Service Tools, Magento extensions and plugins, Magento hosting solutions, you name it, we’ve likely tried it.

We know it feels better to always try out something on your own, hoping you’ll stumble on some great new tool that others haven’t found yet. Maybe you’ll find the next ConvertKit before anyone else does, but more likely you’ll end up wasting time and money on something that doesn’t fit your company or goals…(we’re looking at you, ZenDesk)

Trust us, we’ve been there…and now, after years of testing different tools, we’ve settled on a few products and services that we believe are best for our customers and we use them on a daily basis for everything we do.

Best of Breed Magneto Resources

One of the first things that we wish we had when we started working on Magento was a list of “Best of Breed” tools and utilities to help us optimize our Magento installation and make our store “just work better.” Now that we’ve been through years of figuring these things out, we wanted to share what we’ve learned in multiple blog posts and collect all of that information into one resource for our community.

We’ve put together our own Extendware Resources Page where we list out exactly what tools we use, why we use them, and someweb other tips and tricks to help with your Magento store configuration and implementations.  We have tested and relied upon every recommendation on our Resources page for at least 6 months or more. Many of the resources listed there are crucial to running our business (or were crucial to developing Extendware to where it is today).

We hope this resource helps you cut down on searching for the right tools and brings you success faster than you would have otherwise. As always, send us any suggestions or ideas to [email protected], we love to hear from you.

That’s it for today, Extendware Community! Thanks for tuning in. Have an profitable and resourceful week!

Extendware Now Accepts Stripe (and BitCoin) Payments

Extendware Accepts Stripe PaymentsNot that everyone doesn’t just absolutely love Paypal, but we also wanted to give our customers another option for when Paypal just isn’t the right answer.

Therefore, we are now accepting Stripe as an authorized payment processor for all Extendware orders!

Stripe is one of our favorite payment processors and is much more modern and user-friendly than Paypal. As such, Stripe is now our preferred payment provider and we encourage you to try it next time you shop at Extendware.com.

What is Stripe?

Stripe is a suite of APIs that powers commerce for businesses of all sizes. The company received initial funding and seed monty from Y CombinatorPeter Thiel, Sequoia Capital, and Andreessen Horowitz – just to name a few influential people.

With Stripe, Extendware can accept payments from almost any credit card and debit card, no matter where you live, so long as your business is based in one of the countries Stripe supports:

  • Australia
  • Canada
  • Denmark
  • Finland
  • Ireland
  • Norway
  • Sweden
  • United Kingdom
  • United States
  • Beta Version Countries : Austria, Belgium, France, Germany, Italy, Japan, Netherlands, Luxembourg, Spain
  • Private Beta Version Countries : Brazil, Mexico, Portugal, Singapore, and Switzerland

For an up to date list of Strip’s International support, you can always visit Stripe’s International Support Page.

Stripe also accepts BitCoin payments, for those who prefer digital currencies.

You can learn more about Stripe here at their home page.