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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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