J'aurais le plaisir de parler d'art génératif au prochain meetup AFUP Montpellier 🖼️
👉 Il reste encore quelques places ici : lnkd.in/dwueqiw9 (attention, ça se remplit vite !)
@GeorgeHoll_ well actually, first identify a bottleneck, then see how much refactoring it needed and compare it to the server costs. if something is easy fix ofc. if you have to refactor architecture to lets say a queue system and make everything async then it is more complicated
Follow-up, since Laravel people keep asking "Why core PHP"?
1. Framework Bootstrapping & Routing
Why it’s slower:
Every request in Laravel must bootstrap the entire framework - load service providers, configuration, middleware... before even dispatching your route.
@GeorgeHoll_@stanmenten@kcee0091 You can do bulk insert with pdo.
With extension like Swoole, you can parallelize queries, io operations, api calls and hudge processes.
With raw sql, or orm that allow you to control join result, you can do complex data retreiving in one requests...
I am pleased to present Small Swoole Entity Manager.
It is an ORM architected around Swoole (and OpenSwoole).
It supports asynchronous connections to MySQL, Postgres, Small Swoole Db
Watch out for Symfony bundle next few days.
…oole-entity-manager.small-project.dev
Small Swoole Symfony Http Client 1.0.0
This is a swoole-based Symfony HTTP client implementation that conforms to the Symfony HttpClientInterface for high-performance asynchronous HTTP requests.
git : git.small-project.dev/lib/small-swoo…
packgist : packagist.org/packages/small…
🔒 The PHP project has decided to extend security support for versions from one to two years.
💡 The same RFC clarifies a few other items, such as when minor features can be introduced during the release process.
📜 You can read the updated document at: github.com/php/policies/b…
Here is small/forms 1.0
An api form validation class. It include compatibility with Symfony validation attributes.
Git : git.small-project.dev/small-forms
Small Swoole Db 1.1.0 released
- Added method addOrderBy Allows sorting the selector result.
- Added method limit Allows sampling the result.
- Added method paginate Allows managing pagination by passing a page number and page size.
#php#swoole#openswoole