PHP Classes

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  
  274 - 265   ...   134 - 125   124 - 115   114 - 105   104 - 95   94 - 85   84 - 75   74 - 65   64 - 55   54 - 45   44 - 35   34 - 25   24 - 15   ...   4 - 1  

324. Read and Write Microsoft Excel Files in PHP Part 2: Writing XLS files

Updated on: 2015-10-29

Posted on:

The first part of this article talked about reading an XLS file and downloading it using PHP a XLS stream handler.

Read this article to learn how to do the opposite, writing an Excel file using Ignatius Teo's XLS stream handler class to write spreadsheet rows as arrays to files.


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

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

Updated on: 2015-10-21

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

Updated on: 2015-10-13

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

Updated on: 2015-10-07

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 (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:

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)

  274 - 265   ...   134 - 125   124 - 115   114 - 105   104 - 95   94 - 85   84 - 75   74 - 65   64 - 55   54 - 45   44 - 35   34 - 25   24 - 15   ...   4 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Blog PHP Tutorials   Post article Post article