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  
  259 - 250   ...   129 - 120   119 - 110   109 - 100   99 - 90   89 - 80   79 - 70   69 - 60   59 - 50   49 - 40   39 - 30   29 - 20   19 - 10   9 - 1  

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)

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

Updated on: 2015-08-12

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)

304. How to Create a PHP C Extension to Manipulate Arrays - Part 1: Basic Array Class Extension

Updated on: 2015-08-13

Posted on:

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.


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

303. How to Create a Simple PHP Custom CMS Tutorial in 2019 Way with PHP SEO Friendly URL Generated HTML Links

Updated on: 2019-10-08

Posted on:

Nowadays search engines like Google value more and more the user experience provided by the sites to rank their site pages well. So, SEO (Search Engine Optimization) often means making the sites more user friendly.

One aspect that contributes to Web site pages being ranked well is to have friendly URLs that allow the user to know what pages are about just looking at the URLs.

Read this tutorial to learn how to create a simple content management system that uses user friendly URLs for the content pages, so you can implement in your own projects without having to use other large CMS systems.


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

301. What You Should Do Before Pushing PHP Code to your Production GIT Repository

Updated on: 2015-07-29

Posted on:

Every time you commit new code to a Git repository, there is a great chance that the code has problems that were not detected with your usual batch of tests.

Read this article to learn how to integrate PHP Code Sniffer with your project Git commit process to inspect your PHP code automatically and prevent that code with problems is committed.


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

300. Using PHP Object Interfaces

Updated on: 2015-07-22

Posted on:

When you are sharing code with closely related objects, you use class abstraction. When you want to provide class templates for broadly related objects, you use Object Interfaces.

Read this tutorial to learn the different ways to implement interfaces and set up interface dependencies in PHP.


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

  259 - 250   ...   129 - 120   119 - 110   109 - 100   99 - 90   89 - 80   79 - 70   69 - 60   59 - 50   49 - 40   39 - 30   29 - 20   19 - 10   9 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Blog PHP Tutorials   Post article Post article