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  
  1988 - 1979   ...   528 - 519   518 - 509   508 - 499   498 - 489   488 - 479   478 - 469   468 - 459   458 - 449   448 - 439   438 - 429   428 - 419   418 - 409   ...   8 - 1  

402. Notable PHP package: Axync

Updated on: 2016-06-19

Posted on:

Cooperative multitasking is a way to execute multiple tasks concurrently.

Only one task runs at each moment but it gives the turn to the next task in the list of concurrent tasks, for instance when it needs to wait for some I/O operation to complete, like accesses to files, databases, or network connections.

This class implements a manager for cooperative multitasking in pure PHP.

It takes advantage of generators introduced in PHP 5.5 to let one task decide when it can give the control to the next task.

Read this article to learn more details about how this notable PHP package works.


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

401. Built-in Protection Against CSRF Security Attacks in PHP 7.1 - Lately in PHP podcast episode 72

Updated on: 2016-12-23

Posted on:

Cross-Site Request Forgery (CSRF) are a type of security attacks that may cause user accounts to be abused, so attackers can make users perform actions inadvertently in a vulnerable site and cause serious problems to the users and the sites.

There is a new proposal for PHP 7.1 to provide built-in semi-automatic protection against CSRF attacks, so it will be easier for PHP developers to protect the sites they develop against this type of exploit.

That was one of the main topics discussed by Manuel Lemos and Arturs Sosins in the episode 72 of the Lately in PHP podcast hangout.

They also talked about other proposals for PHP 7.1, as well the election of two release managers that will take care of the steps necessary to release PHP 7.1 later this year on the planned schedule.

This article includes a transcript of the podcast summary.

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


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

1. Why Reactive Programming is the Evolution of Web Development

Updated on: 2016-06-14

Posted on:

Blog: PHP Nuclear Reactor package blog
Package: PHP Nuclear Reactor

Reactive programming is a paradigm that allows applications to be developed in such way that they consume less resources, can respond faster, and deal with much more information.

Read this article to learn more about Reactive programming, how it can be implemented in PHP integrating MVC frameworks.


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

400. Notable PHP package: PHP Nuclear Reactor

Updated on: 2016-06-09

Posted on:

Asynchronous programming is a way to create programs that can execute multiple parallel tasks faster in the same process by executing code while other parts if the programs wait for I/O operations to finish, like database accesses, file accesses, network accesses, etc..

ReactPHP is a low level library similar to JavaScript Node.js that can be used to implement asynchronous programming in PHP, so you can write PHP code that can efficiently access multiple files, databases, or network computers in parallel, making everything faster.

The PHP Nuclear Reactor is library based on PIMF micro-framework that implements the MVC design pattern on top of ReactPHP.

This way you can continue to write PHP MVC components the way you are used to do, and still work well in an asynchronous programming environment based on ReactPHP.

Read this article to learn more details about how this notable PHP package works.


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

399. How to Automate Actions on Apple Mac OS X using a PHP Shell Script for Automator

Updated on: 2016-06-08

Posted on:

Automator is an applications for Apple's Mac OS X that can automate tasks using scripts for performing many types of automated routines.

Automator can be configured to automate tasks using scripts of several possible languages.

Read this article to learn how to automate tasks with Automator using PHP as scripting language to implement those tasks.


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

1. How to use Corcel Laravel WordPress API to create Web Applications

Updated on: 2016-06-07

Posted on:

Blog: Corcel (Laravel + WordPress) package blog
Package: Corcel (Laravel + WordPress)

WordPress is certainly the most popular PHP application ever. However, many PHP developers do not like to develop on top of its code because it is in great part not based on object oriented code and does not follow the latest PHP framework trends.

Nowadays many developers love newer frameworks like Laravel to build their applications.

The Corcel framework brings the two worlds: WordPress and Laravel or other modern frameworks.

Read this article to learn how you can use the Corcel framework to build applications on the top of WordPress backend.


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

398. Notable PHP package: PHP Time Zone Mapper

Updated on: 2016-06-06

Posted on:

Many Web sites are accessed by users from around the world, each one in at a different time zone.

Sometimes it is necessary to schedule a event or otherwise tell the time when something important is going to happen at a specific time of the day at the user's location.

Since the time of the day at the users location will be different according to the user time zone, it is necessary to know the time zone on which the location of the users are.

This class can solve that problem using the user's geographic coordinates: latitude and longitude.

These coordinates can usually be determined from the IP address of the computer the user is using to access the site, using services like IP to location.

This way it is possible to determine the time where the user is located, departing from the IP address and using this class to determine the time zone from the IP address location.

Read this article to learn more details about how this notable PHP package works.


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

397. Notable PHP package: WordPress Hosted Content Importer

Updated on: 2016-06-01

Posted on:

WordPress is as we all know a very popular program thanks to the many plugins that allow to expand its capabilities to produce and edit content.

Sometimes you need to use content in posts obtained from other sources.

This package is a plugin that makes it easy to import content into posts from sources like local files including those in Markdown format, database query results, Wikipedia excerpts and even the requests of calls to remote APIs.

Read this article to learn more details about how this notable PHP package works.


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

396. Using Microsoft Visual Studio as PHP IDE with the PHP Tools extension: Part 2 Developing a CRUD application with a noSQL database

Updated on: 2016-06-01

Posted on:

There are many IDEs for PHP development. All of them provide common features but when we get closer we notice that there are some that provide different features that make them better for our purposes.

Thanks to the PHP Tools extension it is possible to use Microsoft Visual Studio for PHP development and benefit from some of Visual Studio features for this purpose.

Read this tutorial article to learn about the way it works for developing a practical PHP application, in this case a CRUD application based on a noSQL JSON file database.


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

1. PHP ORM Pros and Cons

Updated on: 2016-05-31

Posted on:

Blog: Tiny PHP ORM Framework package blog
Package: Tiny PHP ORM Framework

Object-Relational Mapping (aka ORM), as you may know, is an approach to manipulate information in relational databases as if they are objects.

There are many packages that implement different approaches to ORM, each as its own advantages and disadvantages.

Read this article to learn about what things are recommended or not when implementing an efficient ORM package in PHP.


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

  1988 - 1979   ...   528 - 519   518 - 509   508 - 499   498 - 489   488 - 479   478 - 469   468 - 459   458 - 449   448 - 439   438 - 429   428 - 419   418 - 409   ...   8 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article