اما به نظرم من یکی از جالب ترین هاش Concurrency هست. حالا Concurrency چرا جالبه؟ اینو که همه فریمورک ها دارن! نکته اش اینجاست که زبان #php اصلا چنین قابلیتی نداره و single thread اجرا میشه! پیاده سازی اشو ندیدم ولی فکر میکنم بر اساس swoole این ویژگی رو پیاده سازی کردند. اگر خواستید بهش سر بزنید. چیز جالبیه:
از بقیه جذابیت های #لاراکان بگم براتون:
– مشکل N + 1 رو بلاخره حل کردند و شما دیگه نیاز نیست حواستون بهش باشه.
– چند تا قابلیت بدرد بخور و کارآمد به cache اضافه کردند.
– یک helper function اضافه شده به اسم defer که میتونید به وسیله اون کد هاتونو در background اجرا کنید، response رو به کاربر بفرستید. بعد هر وقت کداتون اجرا شد، نتیجه به سمت browser فرستاده میشه.
– inertia نسخه ۲
– و اینکه یه پلتفرمی قراره بدن به اسم laravel cloud که به نظر من Taylor رو خیلی پولدار میکنه 😅 یه چیزی فراتر از forge!
ترجمه:
Very good features were introduced in #Laracon2024.
But in my opinion, Concurrency is one of the most interesting. Now, why is Concurrency interesting? This is what all frameworks have! The point is that the #php language does not have such a feature at all and it runs single thread! I didn’t see its implementation, but I think they implemented this feature based on Swoole. Visit it if you want. An interesting thing:
Let me tell you about the other attractions of #Larakan:
– The N + 1 problem was finally solved and you don’t need to worry about it anymore.
– Added some useful and efficient features to the cache.
– Added a helper function named defer that you can use to run your code in the background and send the response to the user. Then, whenever your code is executed, the result will be sent to the browser.
– inertia version 2
– And that they are going to build a platform called laravel cloud, which I think will make Taylor very rich 😅 Something beyond forge!
But in my opinion, Concurrency is one of the most interesting. Now, why is Concurrency interesting? This is what all frameworks have! The point is that the #php language does not have such a feature at all and it runs single thread! I didn’t see its implementation, but I think they implemented this feature based on Swoole. Visit it if you want. An interesting thing:
Let me tell you about the other attractions of #Larakan:
– The N + 1 problem was finally solved and you don’t need to worry about it anymore.
– Added some useful and efficient features to the cache.
– Added a helper function named defer that you can use to run your code in the background and send the response to the user. Then, whenever your code is executed, the result will be sent to the browser.
– inertia version 2
– And that they are going to build a platform called laravel cloud, which I think will make Taylor very rich 😅 Something beyond forge!