PHP Classes
elePHPant
Icontem

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  
  507 - 498   ...   387 - 378   377 - 368   367 - 358   357 - 348   347 - 338   337 - 328   327 - 318   317 - 308   307 - 298   297 - 288   287 - 278   277 - 268   ...   7 - 1  

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

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.


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

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.


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

303. How to create a simple PHP CMS with SEO friendly links

Posted on: 2015-08-06

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 (15)   Trackbacks (0)

302. Top 10 PHP Tips Every Developer Should Know

Posted on: 2015-08-04

Being a good PHP developer means that you apply many good practices that show that you know what you are doing and that reflects in the quality of the PHP projects that you work on.

You may give more importance to some practices than others because your criteria may be different from other developers.

Read this article to learn and see an infographic about what are the top 10 good practices that every PHP developer should know (IMHO of course).


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

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

Posted on: 2015-07-29

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)

1. How to Render 3D Surfaces in PHP using 2D Contour Plots

Posted on: 2015-07-27
Blog: PHP Contour Plot package blog
Package: PHP Contour Plot

Contour plots are graphics that render lines that connect points in a geographic region that have the same value, for instance points in a terrain with the same altitude. They are useful for instance to represent 3D features of a terrain in a 2D image.

Read this article to learn more about contour plots and how to render them using the PHP Contour Plot package.


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

300. Using PHP Object Interfaces

Posted on: 2015-07-22

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)

299. Can PHP Run Faster as Module of NGINX? - Lately in PHP podcast episode 61

Posted on: 2015-07-21

A recent article in the NGINX blog claims that its thread pools feature can enhance the performance by 9 times of that Web server.

PHP core developers have been debating the pros and cons of implementing a new SAPI to make PHP work as NGINX module and hopefully take advantage of the thread pools feature to enhance PHP request serving performance.

This was one the topics commented by Manuel Lemos and Arturs Sosins in the episode 61 of the Lately in PHP podcast.

They also commented on the latest PHP 7 alpha and beta versions, PHP 5.4 EOL and PHP 5.5 releases going into security fixes mode, the 20 years of PHP and 16 years of the PHP Classes site, and many interesting PHP articles and book reviews published recently.

Listen to the podcast, or watch the hangout video, or read the transcript to learn more about these interesting PHP topics.


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

2. Improving PHP Password Authentication Robustness of a PHP Framework

Posted on: 2015-07-20
Blog: PHP User Credentials package blog
Package: PHP User Credentials

The PHP User Credentials package provides several means to make password generation and the user authentication process more robust, helping to prevent several types of security problems.

Read this article to learn how to use this class as a plugin to improve the security capabilities of a PHP framework, in this example the OpenBiz-Cubi Framework.


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

298. PHP and JavaScript Innovation Award Report July 2015 Edition - April 2015 nominees

Posted on: 2015-07-16

This is the July 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 April 2015.

Listen to the podcast, or watch the hangout video, or read the transcript 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)

  507 - 498   ...   387 - 378   377 - 368   367 - 358   357 - 348   347 - 338   337 - 328   327 - 318   317 - 308   307 - 298   297 - 288   287 - 278   277 - 268   ...   7 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article