321. PHP 7 Performance Improvements May Increase if You Optimize it to Your Application using to PGO
Updated on: 2015-10-19
Posted on: 2015-10-18
One of the greatest improvements of PHP 7 is the increase performance of the code in general aspects.
However, a little known fact is that PHP 7 performance can be increased further by optimize itself for specific applications using Profile-Guided Optimization (PGO) support.
In a recent article Intel researchers announced that PHP 7 built with PGO support may run WordPress about 7% or 8% faster when compared to PHP 7 built the using default way.
Read this article to learn more about PGO and how you can benefit from this optimization to make PHP 7 run even faster than it already runs.
More ... Post a comment See comments (6) Trackbacks (0)
However, a little known fact is that PHP 7 performance can be increased further by optimize itself for specific applications using Profile-Guided Optimization (PGO) support.
In a recent article Intel researchers announced that PHP 7 built with PGO support may run WordPress about 7% or 8% faster when compared to PHP 7 built the using default way.
Read this article to learn more about PGO and how you can benefit from this optimization to make PHP 7 run even faster than it already runs.
More ... Post a comment See comments (6) Trackbacks (0)
318. PHP 7 Anonymous Classes Tutorial
Updated on: 2015-10-13
Posted on: 2015-10-13
PHP 7 has introduced a new class feature called the Anonymous Class which allow us to create objects without the need to name them.
Read this article to learn about the concept behind anonymous classes and how we can use them in your PHP projects.
More ... Post a comment See comments (5) Trackbacks (0)
Read this article to learn about the concept behind anonymous classes and how we can use them in your PHP projects.
More ... Post a comment See comments (5) Trackbacks (0)
316. Create Microsoft Word DOCX files from HTML in PHP Part 2: More Complex Documents
Updated on: 2015-10-07
Posted on: 2015-10-07
In the first part of this article it was presented the class VsWord as a means to create Microsoft Word DOCX articles from HTML.
Read this article to learn how to compose more complex documents either using HTML or calls to the class that can insert document elements programmatically.
More ... Post a comment See comments (14) Trackbacks (0)
Read this article to learn how to compose more complex documents either using HTML or calls to the class that can insert document elements programmatically.
More ... Post a comment See comments (14) Trackbacks (0)
315. PHP Word Document Generator to Convert HTML to DOCX Part 1: Using VS PHP Word HTML class or PHPDocX Example
Updated on: 2017-05-20
Posted on: 2015-10-01
Many PHP applications require to export documents in Microsoft Word formats. However, most PHP developers only have experience in generating HTML Web pages.
Read this article to learn how to quickly create Microsoft Word DOCX format using HTML templates.
More ... Post a comment See comments (28) Trackbacks (0)
Read this article to learn how to quickly create Microsoft Word DOCX format using HTML templates.
More ... Post a comment See comments (28) Trackbacks (0)
310. The Benefits of Using Git in Your Software Projects Part 2: Collaboration, Web Platforms and Migration
Updated on: 2015-08-25
Posted on: 2015-08-25
Nowadays working with a version control application like Git is mandatory for all software developers, even those that work alone in private projects that are not going to be published anywhere.
In the first part of this article we covered the basic benefits of working it explaining some of the most commonly used features, some very well known, others not so much.
Read this part the article to learn how use Git in projects the involve collaboration between multiple developers, how to take advantage of existing Web platforms that support Git, and how to migrate from older version control applications like SubVersion.
More ... Post a comment See comments (3) Trackbacks (0)
In the first part of this article we covered the basic benefits of working it explaining some of the most commonly used features, some very well known, others not so much.
Read this part the article to learn how use Git in projects the involve collaboration between multiple developers, how to take advantage of existing Web platforms that support Git, and how to migrate from older version control applications like SubVersion.
More ... Post a comment See comments (3) Trackbacks (0)
309. The Benefits of Using Git in Your Software Projects Part 1: Important Advantages
Updated on: 2015-08-20
Posted on: 2015-08-19
Git is a very popular source version control application but not every software developer uses it.
Even many developers that already use Git sometimes do not quite realize all the benefits it provides.
Read this article to learn about the most important advantages of using Git and how you can benefit from them to have greater quality in your software projects of any language.
More ... Post a comment See comments (5) Trackbacks (0)
Even many developers that already use Git sometimes do not quite realize all the benefits it provides.
Read this article to learn about the most important advantages of using Git and how you can benefit from them to have greater quality in your software projects of any language.
More ... Post a comment See comments (5) Trackbacks (0)
308. How to Make Better Reuse of PHP Code using Traits Part 2: Advanced Traits Usage Explained
Updated on: 2015-08-19
Posted on: 2015-08-18
In the first part of this article we learned how to use PHP traits to organize better functionality to be reused by multiple unrelated classes.
Read this article to learn more about advanced features of traits like solving conflicts when using traits that define the same properties, changing the visibility of a trait method in the class that uses it, reusing traits within traits, examples of packages that provide general purpose traits for use by many other packages.
More ... Post a comment See comments (1) Trackbacks (0)
Read this article to learn more about advanced features of traits like solving conflicts when using traits that define the same properties, changing the visibility of a trait method in the class that uses it, reusing traits within traits, examples of packages that provide general purpose traits for use by many other packages.
More ... Post a comment See comments (1) Trackbacks (0)
306. How to Create a PHP C Extension to Manipulate Arrays Part 2: Adding ArrayAccess and Traversable interfaces
Updated on: 2016-06-22
Posted on: 2015-08-13
In the first part of this article we learned how to create an extension for PHP written in C to create a class that works like arrays. However, to make the class objects really behave as arrays you need to implement certain interfaces in the class.
Read this article to learn how to make a PHP class defined by a C extension implement ArrayAccess and Traversable interfaces, as well understand how to solve problems that you may encounter that can make your extension slower than you expect.
More ... Post a comment See comments (1) Trackbacks (0)
Read this article to learn how to make a PHP class defined by a C extension implement ArrayAccess and Traversable interfaces, as well understand how to solve problems that you may encounter that can make your extension slower than you expect.
More ... Post a comment See comments (1) Trackbacks (0)
305. How to Make Better Reuse of PHP Code using Traits Part 1: Basic Code Reuse
Updated on: 2015-08-12
Posted on: 2015-08-12
When you want to share common methods across multiple unrelated classes, in PHP, traits are the way to go.
They contain the power of an abstract class with the added ability to resolve conflicts which makes them the perfect place to store your favorite methods to quickly use in any project.
Read this article to learn what are traits using simple analogies and how you can use them to make better reuse of your code in multiple classes for very different purposes.
More ... Post a comment See comments (11) Trackbacks (0)
They contain the power of an abstract class with the added ability to resolve conflicts which makes them the perfect place to store your favorite methods to quickly use in any project.
Read this article to learn what are traits using simple analogies and how you can use them to make better reuse of your code in multiple classes for very different purposes.
More ... Post a comment See comments (11) Trackbacks (0)
304. How to Create a PHP C Extension to Manipulate Arrays - Part 1: Basic Array Class Extension
Updated on: 2015-08-13
Posted on: 2015-08-11
In PHP projects, arrays are used every where because they are useful and flexible to store all sorts of data structures.
However, when you need to maximize the performance the manipulation of arrays for specific purposes, you can achieve great gains if you implement a PHP extension written in the C language.
Read this tutorial to learn how to build your own basic array manipulation extension in C.
More ... Post a comment See comments (3) Trackbacks (0)
However, when you need to maximize the performance the manipulation of arrays for specific purposes, you can achieve great gains if you implement a PHP extension written in the C language.
Read this tutorial to learn how to build your own basic array manipulation extension in C.
More ... Post a comment See comments (3) Trackbacks (0)