bitexpert / adrenaline Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] A PSR-7 micro framework built on top of the Adroit middleware to speed up your development ;)
License: Apache License 2.0
[DEPRECATED] A PSR-7 micro framework built on top of the Adroit middleware to speed up your development ;)
License: Apache License 2.0
After upgrading Stratigility and running the unit tests the following warning shows up:
Usage of error middleware is deprecated as of 1.3.0, and will be removed in 2.0.0; please
see https://docs.zendframework.com/zend-stratigility/migration/to-v2/ for details on how
to update your application to remove this message.
Looks like we need to change our implementation a bit.
Since Twig 2.0 just got released we should upgrade the dependency in composer.json.
In JsonResponder the status set in payload is not respected, since it's implemented like that:
return $response->withStatus(200);
This should be fixed by using the same logic used in other responders:
$status = $payload->getStatus() ?: 200;
return $response->withStatus($status);
See mwop's blog post about the PSR-7 Request and Method Utilities.
Since Adrenaline uses the Payload interface of Adroit internally but we use getStatus() and getValue()
in our responders, we should introduce an Adrenaline interface for payload inheriting from Adroit's Payload interface to ensure presence of these functions.
Given PSR-15 is an accepted standard, the package needs to migrated to support PSR-15.
As it turns out the current implementation of Adrenaline::__invoke() is not compatible with Adroit::__invoke() as the latter does return the Response and Adrenaline does not. How do we want to address this issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.