Home > readwriteweb > Photon: A PHP Micro Framework Built with Mongrel2 and ZeroMQ

Photon: A PHP Micro Framework Built with Mongrel2 and ZeroMQ

February 25th, 2011 02:15 admin Leave a comment Go to comments

PHP logoPhoton is an open source PHP “micro framework” using Mongrel2 and ZeroMQ. It was created by Loïc d’Anterroches, who claims that Photon is 3-10 times faster than frameworks such as Zend. “Photon does not try to do everything, the core is small, easy to understand and without magic,” d’Anterroches writes.

As an example, d’Anterroches posted the code for a real-time chat application built with Photon. “This is effectively the entire “server side” views handling the jsSocket connection,” he wrote on Hacker News. “The front end is a copy/paste of the chat available in the Mongrel2 examples.”

Mongrel2 is a Web server built from the ground up to be extremely fast. It was founded by Zed Shaw, who also created Mongrel, but it is a complete departure from the original Mongrel.

ZeroMQ is a messaging layer that d’Anterroches claims enables Photon to be extremely flexible yet high performance.

Since Photon is so minimal, additional components will soon be available through what d’Anterroches calls the Particles Project.

Source: Photon: A PHP Micro Framework Built with Mongrel2 and ZeroMQ

Related Articles:

  1. Vulnarb.com: A New Approach to Security Disclosures
  2. First Teleportation of Multiple Quantum Properties of a Single Photon
  3. Two-Photon Walk a Giant Leap For Quantum Computing
  4. Ambiq Micro Closes $2.4 Million Seed Round For Efficient Micro-controllers
  5. Gamma-Ray Photon Observations Indicate Space-Time Is Smooth
blog comments powered by Disqus
YOYOYOOYOYOYO