PHP Classes
elePHPant
Icontem

PHP Tutorials

Recommend this page to a friend!

Articles to teach about PHP matters and related topics

  All package blogs All package blogs   Blog PHP Classes blog   Blog PHP Tutorials   Post article Post article  
  153 - 144   ...   133 - 124   123 - 114   113 - 104   103 - 94   93 - 84   83 - 74   73 - 64   63 - 54   53 - 44   43 - 34   33 - 24   23 - 14   ...   3 - 1  

322. Read and Write Microsoft Excel Files in PHP Part 1: Reading XLS files for Download

Posted on:

Microsoft Excel is the most popular spreadsheet program in the world. This is why many Web applications need to provide means to export or import files in Microsoft format.

In general reading and writing Excel files is not a trivial task. However Ignatius Teo had a brilliant idea of using PHP streams to read and write Excel files just and simple and reading and writing arrays of data.

Read this article to learn how to use the MS-Excel Stream Handler class to read and write Excel files from the xls:// stream.


Blog More ...   Post a comment Post a comment   See comments See comments (10)   Trackbacks (0)

321. PHP 7 Performance Improvements May Increase if You Optimize it to Your Application using to PGO

Updated on: 2015-10-19

Posted on:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (6)   Trackbacks (0)

318. PHP 7 Anonymous Classes Tutorial

Posted on:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (5)   Trackbacks (0)

316. Create Microsoft Word DOCX files from HTML in PHP Part 2: More Complex Documents

Posted on:

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.


Blog More ...   Post a comment Post a comment   See comments 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:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (25)   Trackbacks (0)

310. The Benefits of Using Git in Your Software Projects Part 2: Collaboration, Web Platforms and Migration

Posted on:

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.


Blog More ...   Post a comment Post a comment   See comments 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:

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.


Blog More ...   Post a comment Post a comment   See comments 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:

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.


Blog More ...   Post a comment Post a comment   See comments 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:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (1)   Trackbacks (0)

305. How to Make Better Reuse of PHP Code using Traits Part 1: Basic Code Reuse

Posted on:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (11)   Trackbacks (0)

  153 - 144   ...   133 - 124   123 - 114   113 - 104   103 - 94   93 - 84   83 - 74   73 - 64   63 - 54   53 - 44   43 - 34   33 - 24   23 - 14   ...   3 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Blog PHP Tutorials   Post article Post article