Giter Club home page Giter Club logo

http-kernel's Introduction

DriftPHP.

Welcome to DriftPHP, a PHP framework built on top of ReactPHP and Symfony components. Here you have a curated list of components, resources and interesting DriftPHP realted items, specifically designed for you to start using the framework the best and most optimal and efficient way.

Core Components

Adapters

Resources

Others

About us

DriftPHP is packed and maintained by @mmoreram and supported by the community. Don't hesitate to donate if you want this project to be funded.

http-kernel's People

Contributors

mmoreram avatar nivpenso avatar samnela avatar skydiablo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

http-kernel's Issues

Kernel instance UID

In order to be able to connect logs across different platforms, we could create a 7-alpha-chars UID for a kernel instance.

F62ABF5

We could expose this ID in the container by using the parameter kernel.uid

Update to Symfony 6.4 or higher

Are there any plans to update the Symfony packages to version 6.4 or higher? If so, when can the update be expected? The same question also for the packages drift/dbal-bundle and mmorean/base-bundle.

The background to my question is that support for Symfony 5.4 will expire in the foreseeable future. See https://symfony.com/releases

Thanks a lot

SensioFrameworkExtraBundle

it seems, the bundle handling is a little bit wired :S ? i have try to install the SensioFrameworkExtraBundle via compser (symfony/flex is also installed) but without success... some of the default behavior for extension handling is changed by drift. how should i install these old good bundle "SensioFrameworkExtraBundle" ?

Is there a way to pass a context across the layers?

Use case:

I want to introduce distributed tracing to my service. The main issue is that on every request I need to hold a context where I can store information provided by every layer (every layer is going to contribute to the distributed trace).

Problem:

The main issue is that most implementations for distributes tracing hold that context in a global state. This is not an issue for traditional web servers because every request happens in a execution where the global state is local to the request. When having async in place the problem is that the global state is share across the requests. Other languages (like golang for example) solve this by having a context object that can be passed from the controller to the all the involved entities (application service, domain service, repository, etc.) and that works because is a standard object part of the standard library.

Do you have any idea on how can this be addressed?

Disable cache

Cache is not useful anymore. In fact, it produces a lot of invalid and non expected behaviors (like having to work with dev or cleaning cache by hand each time we reload the server.

This task should be

  • Delete cache folder recreation, or, if that step is too complicated (in terms of code duplication), find a place where deleting the generated cache when it's completely filled.
  • Keep var/ folder for log files.

Dispatch new preload event

This kernel should be able to dispatch a brand new event called kernel.preload in order to allow components to preload whatever is needed just before first request.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.