Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Event-Driven PHP Framework? [closed]

Tags:

I'm wondering if there are any completely event-drive frameworks out there for PHP which are based around dependency injection for decoupling. I know there are some frameworks that make use of these patterns - but in the end the entire life-cycle of the application is still pre-defined and linear in style.

For example, most frameworks are built to receive, process, and return results from HTTP requests. An event drive framework would have handlers for that, but also be able to be used for new purposes like background processing, command line interaction, or other non-standard use cases.

like image 789
Xeoncross Avatar asked Jan 13 '12 20:01

Xeoncross


People also ask

Is CodeIgniter still used?

CodeIgniter is still exist but the name of this framework has become synonymous with a low-quality solution that is why we advise you Laravel as a better alternative. Both Laravel and CodeIgniter are open-source PHP framework.

What is the most popular PHP framework and the least popular?

Launched in 2011, Laravel has become the most popular free, open-source PHP framework. It can handle complex applications securely, at a much faster pace compared to other frameworks.

How many PHP frameworks are there?

It's difficult to get a definitive list of PHP frameworks. Wikipedia lists 40 PHP frameworks, but some of those are better described as content management systems, and undoubtedly there are many more. Early PHP frameworks include PHPlib, Horde, and Pear. Most of the big names now launched in 2005 or later.

What PHP framework does WordPress use?

The Themosis framework is a custom WordPress stack. It provides an object oriented development structure to code professional WordPress applications and is bundled with helper classes built on top of some of the most popular PHP packages: Symfony, Illuminate and more.


1 Answers

It sounds to me like the Photon framework fits closest to your description - the key point is that you can't have event-driven code without php running in a daemon-like process. Your choice of webserver in fact dictates whether what you ask is possible or not - photon is dependent on mongrel2.

like image 192
AD7six Avatar answered Sep 17 '22 15:09

AD7six