PHP Nuclear Reactor

25. Januar 2017

0 Kommentare

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.

¬ geschrieben von gjerokrsteski in News und Trends, PIMF

Checkout PIMF Starter Book

28. April 2016

0 Kommentare

This is a hands-on book. You won’t be able to complete it by reading it in a metro on a way to work. You’ll have to read this book while in front of a computer getting your hands dirty. You will learn developing console and web applications as well as micro services. This book is interesting for intermediate developers as well as beginners.

Learning PIMF

One of the best ways to learn PIMF is to read through the entire of its documentation. This guide details all aspects of the framework and how to apply them to your application.

Read the PIMF Starter book almost anywhere. Available as a PDF, EPUB and MOBI. You can now read it on all devices, as well as offline:

Eventually, you might get stuck and in need of help. Or you might want to write a review or comment on the book’s content. Please post your thoughts on this blog post. If you prefer one-on-one discussion, feel free to send me an email to, and I’ll give my best to help you out.

¬ geschrieben von gjerokrsteski in News und Trends, PIMF

PIMF vs. Silex

27. November 2015

1 Kommentar

This performance comparison was done by TechEmpower, Inc. CA. They made the benchmark of many web application frameworks executing fundamental tasks such as JSON serialization, database access, and server-side template composition. Each framework is operating in a realistic production configuration. Results are captured on physical hardware. The test implementations are largely community-contributed and all source is available at the GitHub repository.

In the following tests, TechEmpower have measured the performance of several web application platforms, full-stack frameworks, and micro-frameworks (collectively, „frameworks“). For more information, read the introduction, motivation, and latest environment details.


Peak: Dell R720xd dual Xeon E5-2660 v2 (40 HT cores) with 32 GB memory; database servers equipped with SSDs in RAID; switched 10-gigabit Ethernet


Current versions of: Linux, PHP-FPM, nginx on Linux, MySQL on Linux

Single query test

In this test, each request is processed by fetching a single row from a simple database table. That row is then serialized as a JSON response.

Best (bar chart)
Single query Best (bar chart)

Data table
Single query Data table

Single query Latency

Framework overhead
Single query Framework overhead

Multiple queries test

In this test, each request is processed by fetching multiple rows from a simple database table and serializing these rows as a JSON response. The test is run multiple times: testing 1, 5, 10, 15, and 20 queries per request. All tests are run at 256 concurrency.

20-queries (bar)
Multiple queries 20-queries (bar)

Data table
Multiple queries Data table

Multiple queries Latency

Framework overhead
Multiple queries Framework overhead

¬ geschrieben von gjerokrsteski in PIMF

Präsentation über PIMF PHP Micro Framework

2. Juli 2014

0 Kommentare

Wer am 6 Juni nicht bei der PHPUG Köln/Bonn dabei sein konnte – kann sich hier die Präsentation über „PIMF PHP Micro Framework“ anschauen. Ihr könnt mehr über die Entstehungsgeschichte lernen und bekommt ein Überblick über die gängigen PIMF Framework Features.

Danach könnt ihr euch eins der PIMF-bündel anschauen. Das sind PHP-App-Bündel die PIMF zusammen mit gängige Web Technologien wie: MySQL, SQLite oder Twig einsetzen. Probiert es aus und schreibt mir ein Feedback. Viel Spaß!

Hier der Link zu der Präsentation

¬ geschrieben von gjerokrsteski in PIMF

Powered by Wordpress • Abonniere den RSS Feed