402. Notable PHP package: Axync
Updated on: 2016-06-19
Posted on: 2016-06-16
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.
More ...
Post a comment
See comments (0) Trackbacks (0)
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.



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: 2016-06-15
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.
More ...
Post a comment
See comments (0) Trackbacks (0)
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.



1. Why Reactive Programming is the Evolution of Web Development
Updated on: 2016-06-14
Posted on: 2016-06-14
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.
More ...
Post a comment
See comments (0) Trackbacks (0)
Read this article to learn more about Reactive programming, how it can be implemented in PHP integrating MVC frameworks.



400. Notable PHP package: PHP Nuclear Reactor
Updated on: 2016-06-09
Posted on: 2016-06-09
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.
More ...
Post a comment
See comments (0) Trackbacks (0)
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.



399. How to Automate Actions on Apple Mac OS X using a PHP Shell Script for Automator
Updated on: 2016-06-08
Posted on: 2016-06-08
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.
More ...
Post a comment
See comments (2) Trackbacks (0)
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.



1. How to use Corcel Laravel WordPress API to create Web Applications
Updated on: 2016-06-07
Posted on: 2016-06-07
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.
More ...
Post a comment
See comments (1) Trackbacks (0)
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.



398. Notable PHP package: PHP Time Zone Mapper
Updated on: 2016-06-06
Posted on: 2016-06-06
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.
More ...
Post a comment
See comments (0) Trackbacks (0)
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.



397. Notable PHP package: WordPress Hosted Content Importer
Updated on: 2016-06-01
Posted on: 2016-06-01
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.
More ...
Post a comment
See comments (0) Trackbacks (0)
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.



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: 2016-06-01
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.
More ...
Post a comment
See comments (0) Trackbacks (0)
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.



1. PHP ORM Pros and Cons
Updated on: 2016-05-31
Posted on: 2016-05-31
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.
More ...
Post a comment
See comments (17) Trackbacks (0)
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.


