PHP Classes

PHP Classes blog

Recommend this page to a friend!

Latest PHP Classes blog posts

  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article  
  1987 - 1978   ...   427 - 418   417 - 408   407 - 398   397 - 388   387 - 378   377 - 368   367 - 358   357 - 348   347 - 338   337 - 328   327 - 318   317 - 308   ...   7 - 1  

1. Improving Your PHP Project Structure with Dependency Injection Part 1: How it Works?

Updated on: 2015-11-03

Posted on:

Blog: PHP Dependency Injection Container package blog
Package: PHP Dependency Injection Container

Dependency injection is a design pattern that is implemented in many of the modern PHP frameworks because it helps organizing better the code of multiple components that depend on the same service of information or behavior.

Read this article to learn what is dependency injection and inversion of control and how it can be implemented in PHP to benefit your projects' structure.


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

326. PHP Articles and Book Reviews Report October 2015 Edition

Updated on: 2015-10-29

Posted on:

This is the October edition of the podcast hangout recorded by Manuel Lemos and Arturs Sosins to comment on the latest outstanding PHP Articles and Book Reviews published recently.

They commented on articles about improving your PHP code performance, creating an AJAX based PHP shopping cart, get Twitter direct message images in PHP with the OAuth API, and starting long server PHP scripts and monitor their status.

They also commented on reviews of a video named "Up to Speed with PHP 7" and the books "WooCommerce Cookbook" and "Learning PHP Design Patterns".

Listen to the podcast, or watch the hangout video to learn more about these PHP articles and book reviews.


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

325. PHP 7 Nested Anonymous Classes Tutorial

Updated on: 2015-10-28

Posted on:

PHP 7 has introduced a new class feature called the Anonymous Class which will allow us to create objects without the need to name them. Anonymous classes can be nested, i.e. defined inside other classes.

Read this article to learn how to defined and use anonymous classes nested inside other classes.


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

2. Tracking PHP API Accesses using Google Analytics Part 2: Recording API Accesses

Updated on: 2015-10-27

Posted on:

Blog: PHP Google Analytics API Metrics Tracker package blog
Package: PHP Google Analytics API Metrics Tracker

In the first part of this article it was presented a solution to retrieve statistics data from Google Analytics API using PHP but this API also allows recording events.

This can be useful to record accesses to a PHP API that you are providing in your site.

Read this article to learn how to use Google Analytics PHP to track the accesses to a PHP API of your own.


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

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)

323. PHP and JavaScript Innovation Award Report October 2015 Edition - July 2015 nominees

Updated on: 2015-10-29

Posted on:

This is the October edition of the Innovation Award podcast hangout recorded by Manuel Lemos and Arturs Sosins to comment on the outstanding features of all the past month nominees and winners PHP and JavaScript packages, the prizes that the authors earned, starting with the nominees from the month of July 2015.

Listen to the podcast, or watch the hangout video to learn why the nominated packages were considered to be innovative.


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

1. Tracking PHP API Accesses using Google Analytics Part 1: Retrieving Access Statistics

Updated on: 2015-10-20

Posted on:

Blog: PHP Google Analytics API Metrics Tracker package blog
Package: PHP Google Analytics API Metrics Tracker

Google Analytics is a popular tool used by many sites to keep track of the statistics of the visitors of the sites.

However, it also provides an API that lets you do more than that, like for instance keeping track of the accesses to the APIs of your own sites, as well building custom user user interfaces to view the access statistics in the way that is most convenient for the site managers.

Read this part of the article to learn how to use the Google Analytics API to retrieve and display your site statistics that you need to generate custom reports.


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

320. O'Reilly OSCON Europe with Great PHP and JavaScript Talks

Updated on: 2015-10-18

Posted on:

OSCON is one of the most traditional Open Source conferences that O'Reilly organizes since many years ago.

The Europe edition will take place in Amsterdam on October 26 through 28 and it includes great talks from well known speakers of the PHP and JavaScript community.

Read this article to learn more about the event, as well a special low cost pass that includes access to some technical sessions, the Sponsor Pavillion access and Ignite talks.


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

  1987 - 1978   ...   427 - 418   417 - 408   407 - 398   397 - 388   387 - 378   377 - 368   367 - 358   357 - 348   347 - 338   337 - 328   327 - 318   317 - 308   ...   7 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article