The HttpKernel component provides a structured process for converting a Request into a Response by making use of the EventDispatcher component. It's flexible enough to create full-stack frameworks, micro-frameworks or advanced CMS systems like Drupal. Every HTTP web interaction begins with a request and ends with a response. Your job as a developer is to create PHP code that reads the request information (e.g. the URL) and creates and returns a response (e.g. an HTML page or JSON string). Typically, some sort of framework or system is built to handle all the repetitive tasks (e.g. routing, security, etc) so that a developer can build each page of the application. Exactly how these systems are built varies greatly. The HttpKernel component provides an interface that formalizes the process of starting with a request and creating the appropriate response. The component is meant to be the heart of any application or framework, no matter how varied the architecture of that system.

Features

  • Symfony gives the application a Request object
  • The application generates a Response object using the data of the Request object
  • The server sends back the response to the browser
  • The browser displays the resource to the user.
  • The HttpKernel component provides an interface that formalizes the process of starting with a request and creating the appropriate response
  • The component is meant to be the heart of any application or framework, no matter how varied the architecture of that system

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow HttpKernel Component

HttpKernel Component Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of HttpKernel Component!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Symmetric Multiprocessing (SMP) Software

Registered

2021-07-26