Login   Register  
PHP Classes
elePHPant
Icontem

Site content newsletter

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Daily HTML version   Weekly HTML version   Daily text version   Weekly text version  

Hello this is the Weekly PHP Classes newsletter of Wednesday - 2015-05-27




  • Contents


    • Latest PHP Classes blog posts

    • PHP Multi-Factor Authentication for Web Development (5 days ago)

      Posted on: 2015-05-22
      Summary: When we need to provide our users access only to certain information, or limit access to features for authorized users only, we need to use user authentication.

      We can never be 100% certain users are who they claim to be. However we can get close using multiple authentication factors.

      Read this article to learn more about multi-factor authentication and when we should use them or not.
    • Extending PHP Classes and the Object Model (10 days ago)

      Posted on: 2015-05-17
      Summary: Nowadays many PHP developers use Object Oriented Programming (OOP). However not every PHP developer really understands why that is a good thing.

      Some use OOP just because they see others using it, without knowing very well its benefits nor how to create a consistent object model that addresses the needs of their applications.

      Read this article to learn how objects can represent the real world through classes and how you can create an object model for your PHP application.
    • Are You Ready for MySQL extension Removal from PHP - Lately in PHP podcast episode 59 (11 days ago)

      Posted on: 2015-05-16
      Summary: When PHP 7 will be released it will have the mysql extension removed from the core distribution. PHP 5.4 will stop being updated. Many PHP developers will have to move to PHP version 5.5 or higher, on which the mysql extension is deprecated. Many shared hosting providers already use PHP 5.5 without the mysql extension.

      Alternative solutions to deal with legacy code that relies on the old mysql extension was one the topics commented by Manuel Lemos and Arturs Sosins in the episode 59 of the Lately in PHP podcast.

      They also commented on proposals for future PHP versions like fixing the division by zero issue, adding static constructors to classes, the PHP RFC Watch site to keep up with new PHP proposals and voting.

      They also explained the new initiative to promote reviews of books of authors that have written books of interest for PHP developers, as well writing great PHP tutorial articles for the PHP Classes blog and being compensated for that. The latest tutorial articles were also reviewed here.

      Listen to the podcast, or watch the hangout video, or read the transcript to learn more about these interesting PHP topics.
    • PHP and JavaScript Innovation Award Report May 2015 Edition - February 2015 nominees (14 days ago)

      Posted on: 2015-05-13
      Summary: This is the May 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 February 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.
    • 3 Ways to Access Application Common Data in PHP (21 days ago)

      Posted on: 2015-05-06
      Summary: Every PHP application needs to use throughout its code, the same kinds of common data or functions, like for instance configuration values.

      Read this article to learn about the Gateway pattern, an additional way to access common application data besides better known ways that use global and static variables.
    • Have Your PHP Book Reviewed (21 days ago)

      Posted on: 2015-05-06
      Summary: The PHP Classes site is reviving its sections for book reviews and tutorial articles. This is an initiative to give more exposure to the work of those that can teach the PHP developers sharing their knowledge about important subjects.

      The PHP Classes site book reviews and blog articles are notified by email to over 400,000 PHP developers. This initiative is a great opportunity for authors to expose their work to the PHP community at large.

      Article authors and book reviewers may also receive be rewarded either monetarily or by getting free review book copies provided by their publishers.

      Read this article to learn how you can have your PHP book reviewed, or you can publish interesting blog articles and be compensated for sharing useful knowledge with the PHP community.

      If you are a book publisher you should also read the article to learn how you can reach out to have reviewed in PHP Classes site books of the interest of the PHP community.
    • Fix the AJAX Requests that Make PHP Take Too Long to Respond (28 days ago)

      Posted on: 2015-04-29
      Summary: Nowadays we develop applications that depend a lot on AJAX requests, in some cases close to 100% of the pages. Sometimes we notice that when a Web page sends two or more AJAX requests, PHP takes too much time to respond and then the responses are returned almost at the same time.

      Chances are that the problem may be caused by the way you handle PHP sessions. Read this article to understand this problem and what you can do to avoid it.

    Contents


    Top friends of the site

    Friends of the PHP Classes site is a initiative to provide recognition to the users that contribute to the growth of the site community.

    For more information on how to become a friend of the site look here.

    Rank Friend Referrals
    1 Arturs Sosins Latvia Latvia 25
    2 Alexander Skakunov Ukraine Ukraine 10
    3 Cesar D. Rodas Paraguay Paraguay 8
    4 Olaf Lederer The Netherlands The Netherlands 7
    5 Roberto Aleman Venezuela Venezuela 2
    6 Danish Satti Pakistan Pakistan 1
    7 De la Luz Ricardo Mexico Mexico 1
    8 solomongaby Romania Romania 1
    9 André Liechti Switzerland Switzerland 1
    10 Khaled Al-Shamaa Syria Syria 1

    Contents



    Browse all PHP User Groups by country

    If you make part of a regional PHP User Group not listed here, submit your user group .

    Contents


    Innovation award results

    Innovation Award winners Congratulations to Vladimir Zurita!


    Rank Class Author Score Points Prize
    1 PHP CACERT Self-Signed Certificate
    Generate self-signed digital certificates
    Vladimir Zurita Chile 22.50% 10 PhpStorm IDE personal permanent license
    2 XBenchmark
    Log time and resources during script execution
    Xavier Pérez Spain 20.00% 9 One downloadable copy of CodeLobster Professional
    3 Recursive Template Engine
    Template engine that can process nested templates
    Nadir Latif Pakistan 15.00% 8 One book of choice by Packt
    4 PHP HTTP Server Class
    HTTP server that can take virtual host requests
    wapmorgan Russian Federation 12.50% 7 One copy of the Zend Studio
    5 TAD
    Communicate with ZK time and attendance devices
    Jorge Cobis Venezuela 10.00% 6 One subscription to the PDF edition of the PHP Architect magazine
    6 The age of my dog
    Calculate dog relative age based on age and size
    Roberto Aleman Venezuela 7.50% 5 SourceGuarding PHP encoder tool
    7 PHP Virtual Slot Machine
    Emulate a slot machine
    Dave Smith United States 5.00% 4 One downloadable copy of PhpED Professional
    8 PHP Bind Zone File Parser
    Parse Bind configuration to extract DNS records
    Jan Altensen Germany 2.50% 3 One downloadable copy of Komodo IDE
    8 PHP Snake Game
    Manage and process the moves in a snake game
    Tomas Pavlatka Czech Republic 2.50% 3 One copy of VS.PHP
    8 PHP Exif Orientation Correction
    Correct orientation of wide images using Exif
    Pablo Matias Perrone Argentina 2.50% 3


    Award page

    Nominees to win the award of April of 2015

    Class: WordPress SEO less something Picture of Alessio Felicioni
    Description: Remove comments introduced by Wordpress SEO plugin
    Author: Alessio Felicioni
    Age: 33
    Country: Italy Italy

    Class: Maratus PHP Backup Databases Picture of Jasenko Rakovic
    Description: Backup many types of database to multiple storages
    Author: Jasenko Rakovic
    Age: 26
    Country: Bosnia and Herzegovina Bosnia and Herzegovina

    Class: frdl Autoloader Picture of Till Wehowski
    Description: Autoload classes with PSR-0, PSR-4, mapping, etc.
    Author: Till Wehowski
    Age: 36
    Country: Germany Germany

    Class: Horus Plus Picture of Mohammed Al Ashaal
    Description: Process asynchronous I/O in pure PHP like Node.js
    Author: Mohammed Al Ashaal
    Age: 21
    Country: Egypt Egypt

    Class: PHP Backup to WebDav Server Picture of Dmitry Mamontov
    Description: Backup files and a database to a WebDav server
    Author: Dmitry Mamontov
    Age: 24
    Country: Russian Federation Russian Federation

    Class: PHP Deprecated Function Checker Picture of Dave Smith
    Description: Find deprecated functions and suggest replacements
    Author: Dave Smith
    Age: 50
    Country: United States United States

    Class: Log4PHP ElasticSearch Appender Picture of Muhammad Arfeen
    Description: Append log messages to ElasticSearch using Log4PHP
    Author: Muhammad Arfeen
    Age: 37
    Country: Pakistan Pakistan

    Class: PHP Sentence Parser Picture of Samuel Adeshina
    Description: Parses and analyzes words in sentences
    Author: Samuel Adeshina
    Age: 16
    Country: Nigeria Nigeria

    Class: Quick PHP MySQL Parser Picture of Abius X
    Description: Parse MySQL queries into tokens
    Author: Abius X
    Age: 27
    Country: Iran Iran

    Class: PHP Singleton Trait Picture of Kiril Savchev
    Description: Implement the Singleton pattern as a trait
    Author: Kiril Savchev
    Age: 29
    Country: Bulgaria Bulgaria

    Class: PHP PRONOM drip Picture of Cyril Vazquez
    Description: Recognize file formats using PRONOM registry
    Author: Cyril Vazquez
    Age: ???
    Country: France France

    Class: PHP Azure Active Directory Picture of Mostafa Abd-El-Hamid
    Description: Manage users and groups of Windows Azure
    Author: Mostafa Abd-El-Hamid
    Age: 31
    Country: Egypt Egypt

    Class: PHP Inline Class Picture of Alex Lushpai
    Description: Combine several classes into a single PHP file
    Author: Alex Lushpai
    Age: 30
    Country: Russian Federation Russian Federation

    Class: Joomla Component Creator Picture of Max Stemplevski
    Description: Generate the files for a Joomla component
    Author: Max Stemplevski
    Age: 27
    Country: Belarus Belarus

    Class: CodeIgniter Develbar Picture of Simo
    Description: CodeIgniter library to show a developer toolbar
    Author: Simo
    Age: ???
    Country: Morocco Morocco

    Class: ExTemplate Picture of Matthew Knowlton
    Description: Extensible template engine with callable functions
    Author: Matthew Knowlton
    Age: 19
    Country: United States United States

    Vote

    Contents


    Latest support forum threads

    Subject Posted on Class
    test page requires shortopentags
    testpage requires deprecated php.ini shortopentag setting
    2015-05-26 Simple Authentication and Security Layer
    email with ics (calendar) shows type/text
    email with ics (calendar) shows type/text
    2015-05-25 MIME E-mail message parser
    correction to haversine package
    Haversine returns great-circle distance not straight-line
    2015-05-24 PHP Calculate Distance
    Worked like a charm, properly identified my configuration.
    Package rating comment
    2015-05-23 PHP User Agent Parser class
    Not Run
    Not Run
    2015-05-23 PHP User Agent Parser class
    Not working properly
    Stop working stream_context_set_option
    2015-05-21 PHP Push Notification Android and iOS
    Retrive Messages withou deleting them
    Retrive Messages withou deleting them does not work
    2015-05-20 PHP Email To DB

    Contents


    • Latest package entries

    • PHP Matrix Similarity

      Picture of Ghali Ahmed
      Author: Ghali Ahmed
      Date: 2015-05-26 (1 day ago)
      Groups: HTML, Algorithms, Math
      Description: This class can find similarities in a 2D tile matrix.

      It can generate a bidimensional array of a given size and populate it with random letters from a given set of values.

      The class can traverse the generated array to find similar sequences of values following a given set of directions of connected neighbor values.

      The class can also display the array in a Web page highlighting the similar connected values.
    • PHP Module Loader

      Picture of Nick Daniels
      Author: Nick Daniels
      Date: 2015-05-26 (1 day ago)
      Groups: PHP 5, Language
      Description: This class can load modular classes by name.

      It can take the name of a given module and loads the respective class from the modules directory.

      The module class object is instantiated and returned to the application.

      The class can also unload loaded modules, as well return the list of available modules.
    • Full DB-PDO abstraction

      Picture of Pierre Delporte
      Author: Pierre Delporte
      Date: 2015-05-25 (2 days ago)
      Groups: PHP 5, Databases
      Description: This package can store and retrieve database data as objects using PDO.

      It provides a base class that connects to a database using PDO.

      Other classes can query database tables and retrieve the results as objects with the variables set to the result column names.

      It is also possible to insert, update or delete records using the same or newly created objects set with the variables with values for the respective fields that are intended to be added or changed.
    • Authentic External

      Picture of wapmorgan
      Author: wapmorgan
      Date: 2015-05-25 (2 days ago)
      Groups: PHP 5, User Management, Web services
      Description: This package can authenticate users with OAuth providers.

      It implements the OAuth protocol to redirect the user to a provider page on which the user can authenticate and return tokens that can be used to send API calls to retrieve the user profile information like the user email address.

      Currently the package provides implementations to authenticate users with Google and GitHub.
    • Silex YAML Configuration Service Provider

      Picture of Rafael Espinosa
      Author: Rafael Espinosa
      Date: 2015-05-24 (3 days ago)
      Groups: PHP 5, Libraries, Configuration
      Description: This class can load and parse YAML configuration files for Silex.

      It extends the base Silex service provider class to load and parse and YAML file.

      The configuration values read from the YAML file are merged into the current configuration values after parameter substitution.
    • PHP Calculate Distance

      Picture of Anthony Amolochitis
      Author: Anthony Amolochitis
      Date: 2015-05-23 (4 days ago)
      Groups: PHP 5, Geography
      Description: This class can find the distance between two points using the Haversine formula.

      It takes the latitude and longitude coordinates of two points and calculates the straight line distance be the points using the Haversine equation formula.

      The distance between the two points is returned in terms of miles.
    • Local SOAP Client

      Picture of Mostafa Abd-El-Hamid
      Author: Mostafa Abd-El-Hamid
      Date: 2015-05-22 (5 days ago)
      Groups: PHP 5, Web services
      Description: This class is an example SOAP client class that mixes remote and local calls.

      It extends the SOAP client class to create a local SOAP server instance adding it a custom function.

      When a call is made to send a SOAP request, it will used the SOAP server object to handle the request and return the response.
    • Make SEO Links

      Picture of mohammad
      Author: mohammad
      Date: 2015-05-21 (6 days ago)
      Groups: HTTP, PHP 5
      Description: This is a simple class that can generate user friendly links from parameters.

      It can take a base URL path and an array of parameter values and generates a user friendly URL from the values separating them with slashes / .

      The class can also extract the base URL from a previously generates user friendly URL.
    • PHP Simple Cache

      Picture of Dmitry Stroganov
      Author: Dmitry Stroganov
      Date: 2015-05-21 (6 days ago)
      Groups: Files and Folders, Cache
      Description: This class can store and retrieve the current page from a cache file.

      It can compute an hash from the current page request URL to determine the name of a cache file on which the current page content will be stored.

      The class returns the the cache file contents if it already exists and if it was not created more than a given cache expiry timeout period.

      Otherwise the class can create a new cache file using the same file name based on the current request URL.

      The cache file directory path is based on the first letter of the cache file name and the base cache file path. If the cache directory does not exist, the class creates it.

      The cache file base directory path and the expiry time are configurable parameters.
    • PHP User Credentials

      Picture of Cyril Ogana
      Author: Cyril Ogana
      Date: 2015-05-20 (7 days ago)
      Groups: PHP 5, User Management, Security
      Description: This package can implement password authentication policies.

      It can perform several types of check to evaluate if user passwords and authentication procedures comply with security recommendations.

      The base class can take as parameters a user profile with details like user name, password, full name, password hash, list of password hashes used in the past, account state and policy information.

      The class can enforce password length rules, the use of upper and lower case letters, numbers and special characters, number of allowed failed authentication attempts until the account is locked for a period or blocked until further noticed, number of days to require a new password, and prevent reusing past passwords.
    • PHP Sudoku Solver

      Picture of Samuel Adeshina
      Author: Samuel Adeshina
      Date: 2015-05-20 (7 days ago)
      Groups: Algorithms, PHP 5, Games
      Description: This class can senerate and solve Sudoku puzzles.

      It takes a parameter that defines the size of the gride of a Sudoku puzzle that it will generate.

      The class can render the generated Sudoku puzzle in an HTML table.

      The class can also solve the puzzle determining the sequence of moves necessary to complete it.

    Contents


    Contents


    Contents