Marius Pantea

Marius Pantea

MaravelQL | Equivalent constant torque

About

Creator of MaravelQL Creator of maravel-rest-wizard / laravel-crud-wizard-free lib suites Definer of Equivalent constant engine torque

Badges

Tastemaker
Tastemaker
Gone streaking 10
Gone streaking 10
Gone streaking
Gone streaking
Gone streaking 25
Gone streaking 25
View all badges

Maker History

Forums

Maravel-Framework 10.64 Brings Resolving Events Cache And FormRequest to Maravel

Because Maravel-Framework is a DI centered framework, the efficiency of its container is crucial.

Version 10.64 introduces FormRequest in Maravel Micro-Framework 10.52.25.

Version 10.64 of Maravel-Framework removed the \Illuminate\Foundation\Providers\FormRequestServiceProvider, leading to faster registration and boot times.

Please note that using $app->resolving or $app->afterResolving events, the speed of the container decreases because for each resolve, all events are looped to search via === or instanceof for the ones that need to be triggered.

Maravel-Framework 10.63.5 finished moving 24.7k lines of code to maravel-framework-dev

  • 10.8k dev commands

  • 10.2k test classes

  • 3.7k remaining test classes in v10.63.5

The tests using these MOVED classes must be updated with \MacropaySolutions\MaravelFrameworkDev\ instead of Illuminate\ FQN prefix.

The old tests will fail for sure because of this but production code should not if it does not use fake/test code/classes.

Maravel-crud-wizard-free lib suite got new speed improvement

Versions 2.0.0 of laravel-crud-wizard-decorator-free and version 7.1.0 of laravel-crud-wizard-free introduce an important response time improvement by eliminating useless json_decode and json_encode calls between the controller and the middlewares.

Because the controller resolves the JsonResponse from DI, the CrudProvider registers a binding for it in which the json_encode is skipped when the data needs decoration.

This follows Maravel-Framework s design of DI first logic and it works also in Laravel and Lumen.

View more