Пікірлер
@itachielarbi3304
@itachielarbi3304 10 күн бұрын
Php fast than python i create Many test alway php is fast
@gamingwolf3385
@gamingwolf3385 17 күн бұрын
Can laravel server side react ? Laravel can server side html, css and js only , when next is compiling all the feact code to html css js , and hydrate it then dehydrate it on the client a long run Dont compare laravel with next they don't do the same work
@sphaWildWeb
@sphaWildWeb 18 күн бұрын
Have you tried HTMX yourself?
@i.am.rossalex
@i.am.rossalex 28 күн бұрын
You should test hyperf coroutine and swoole support of dbs and queues. Thats where it performs better.
@networkaddict5115
@networkaddict5115 Ай бұрын
the github is not accessible
@code-for-me
@code-for-me Ай бұрын
just disovered that it was private, now should be accessible. thanks for pointing it out.
@realestek
@realestek Ай бұрын
Which robot vacs are supported? I currently have the dreame z10
@code-for-me
@code-for-me Ай бұрын
dreame, the one I showed in the video. please try and tell us.
@sohamjobanputra2914
@sohamjobanputra2914 Ай бұрын
This video was great, can you also create a tutorial on how to measure performance of an MVC webapp using that jmeter, I want to learn that with basics.
@code-for-me
@code-for-me Ай бұрын
Jmeter tutorial is a very good idea, thanks. I need to find the time for it.
@duartecancela
@duartecancela 2 ай бұрын
Subscribed!
@TricoliciSerghei
@TricoliciSerghei 2 ай бұрын
Thanks for the comparison, really nice to see a different perspective.
@covagio5289
@covagio5289 2 ай бұрын
I don't see a map (at 3:40) to create a room. I want to use "Google home" to connect your app, can I? I have Xiaomi Vacuum Mop S10+ Pls help me! Tks!
@thereal-ghost
@thereal-ghost 2 ай бұрын
if I wanted to not make money I'd build systems in PHP. I'm too busy actually being financially happy working with NodeJS / Go / Rust. No one uses NextJS anymore for things except hobby stuff.
@user-jj5mi1yl6p
@user-jj5mi1yl6p 2 ай бұрын
Try Spiral Framework with RoadRunner.
@user-xj5gz7ln3q
@user-xj5gz7ln3q 2 ай бұрын
Nah, this guy is just spreading misinformation. None of his arguments are valid or make sense. Everyone is moving back to server-side rendering with frameworks like Remix and Next.js gaining popularity. I have been using Angular and React for over 7 years, and HTMX actually makes development enjoyable again because it's simple; anyone can do it. We don't need front-end developers and back-end developers as two different groups. Merge the two teams and cut your budget in half, lay off the other half. That's what my company did, and we are still more productive than before. This is the real reason all the front-end developers don't like HTMX.
@michael_ibeh
@michael_ibeh 2 ай бұрын
nice content, straight to the point, please keep doing more videos like this
@sergeyzatsepin513
@sergeyzatsepin513 2 ай бұрын
Well, compare maybe some more difficult operation that just count. Like matching regexp in big html file and wrap it with loop
@alisunjaya
@alisunjaya 2 ай бұрын
as an engineer who runs 1 million valuation tech company, i don’t recommend Symfony, worst framework and worst docs
@devinsider305
@devinsider305 2 ай бұрын
The choice of the language depends on the goals. What language can you advise?
@alisunjaya
@alisunjaya 2 ай бұрын
@@devinsider305 as you said, it depends on the goal, I did not say PHP is bad, Symfony is (base on my experience)
@code-for-me
@code-for-me 2 ай бұрын
Claiming that Symfony is the worst framework indicates a lack of expertise. Experienced engineers who have worked with Symfony and other frameworks recognize that each framework has its strengths. Symfony excels in web development, performance, and documentation.
@user-py5xd3je7h
@user-py5xd3je7h 2 ай бұрын
make your head bigger plz
@code-for-me
@code-for-me 2 ай бұрын
what you mean?, is it ironic
@dggd1442
@dggd1442 3 ай бұрын
Hello, thank you for the video. I tried to do as you mentioned, but when I ask the chat something, it keeps loading, t but nothing happens it doesn't answer . Do you know why? Please advise.
@code-for-me
@code-for-me 3 ай бұрын
I will first open the debugger console and check the network tab for the chat response. In the var/log directory there should be helpful logs. this can be that openAI gpt3.5 turbo model is outdated, in that case the client needs to be updated. however GPT4 introduce function calling, that will reduce the effort of parsing the GPT response, I will try fixing it soon.
@fidaeariyan9376
@fidaeariyan9376 3 ай бұрын
so helpful ty
@halyapin
@halyapin 3 ай бұрын
So agree with you. I don't understand why everybody like htmx.
@konstantinpaul8301
@konstantinpaul8301 2 ай бұрын
Because you don't duplicate adaption (resp. "transformation") logic like every "modern" JS framework like React, Svelte, Vue, ... is doing. His arguments are mostly invalid or could be countered (see below comment). Even the XSS is not a problem with HTMX is a validation problem on the server side! (which you have to take care off in any web application). Responsibilties can be distributed I mean someone has to write the HTML-template, or the CSS or custom JS (if needed). Everyone likes HTMX, because it makes a thing which are frameworks trying to solve simple, "writing reactive web application with a declarative approach" (which is ironically the name of react, which it sucks to do) .
@halyapin
@halyapin 2 ай бұрын
@@konstantinpaul8301 Are there any examples of complex htmx applications? Cause as I understand it so much harder to use it in complex UI app rather than JS frontend frameworks.
@user-py7tp8pl5c
@user-py7tp8pl5c 3 ай бұрын
Is learning PHP /symfony good for future? Tech tools are eveolving
@code-for-me
@code-for-me 3 ай бұрын
I acknowledge that AI is making strides in various fields. However, every feature still requires a secured server, data processing, storage, and business logic. Symfony offers an efficient solution for handling much of this work. So, yes, it is worth it.
@OnlinePseudonym
@OnlinePseudonym 3 ай бұрын
Great video. I think you might want to update or even take down your previous video - many devs will just watch the first video and be left with a misleading impression of the performance results, many won't scroll to the comments like I did to find the link to this vid.
@code-for-me
@code-for-me 3 ай бұрын
Thanks, it's now down.
@dontcallmethat7240
@dontcallmethat7240 3 ай бұрын
what could possibly be wrong with this benchmark? :)
@GemulChannel
@GemulChannel 3 ай бұрын
I've done a simple benchmark. the code is simple, just a simple loop incrementing n 1 billion times, no output. PHP8 (without JIT compiler) real 0m5.904s user 0m5.866s sys 0m0.037s PHP8 (with JIT compiler) real 0m2.137s user 0m2.104s sys 0m0.033s Python3 real 1m28.308s user 1m28.125s sys 0m0.028s Even on second run, the python3 doesn't seem to improve much: real 1m14.155s user 1m14.112s sys 0m0.004s
@ScriKidding-eg6vn
@ScriKidding-eg6vn 4 ай бұрын
skill issue
@haneefaani276
@haneefaani276 4 ай бұрын
I cant find the clean the kitchen app on play store, can you help me?
@code-for-me
@code-for-me 4 ай бұрын
play.google.com/store/apps/details?id=com.mohsno.alexa_clean_the_kitchen
@PratikShahEditor
@PratikShahEditor 14 күн бұрын
@@code-for-me Still cant open the link
@UmairAli
@UmairAli 4 ай бұрын
Laravel is life ♥
@ibrahimouhamou9732
@ibrahimouhamou9732 4 ай бұрын
السلام عليكم ورحمة الله وبركاته شكرا على الفيديو
@code-for-me
@code-for-me 4 ай бұрын
وعليكم السلام ورحمة الله وبركاته. الشكر لكم على المتابعه.
@MurderByProxy
@MurderByProxy 4 ай бұрын
0 helpful
@code-for-me
@code-for-me 4 ай бұрын
Thanks for the feedback, what kind of help did you expect?
@alimajidian1974
@alimajidian1974 4 ай бұрын
There is no Symfony jobs in our IRAN.
@code-for-me
@code-for-me 4 ай бұрын
I am sorry, but a quick Googling showed few opportunities in Iran, and even if there were none, the internet opens up opportunities beyond borders. Many companies hire remotely, online platforms and job boards could broaden your search and connect you with opportunities worldwide. Begin by mastering your skills. the future will illuminate your path.
@coriassphenix
@coriassphenix 4 ай бұрын
Yo boss, I have a project. What is the best email to reach you at ? Please let me know. Thank you
@abghany4761
@abghany4761 4 ай бұрын
This was great !❤ I have a little out of context question for you Your English accent is very good mashallah how did you improve it? I'm arab also and spent a lot of time learning English and I'm doing pretty well i can understand pretty much everything i read or hear but i struggle to speak without lagging and weird accent .
@code-for-me
@code-for-me 4 ай бұрын
Thank you so much! AlhamduliLah and Honestly, my accent still needs improvement too, but one trick I find helpful is using Google Text-to-Speech. If I feel unsure about how a word sounds or if I sound a bit off, I type the phrase into the tool to hear the pronunciation. It's a handy way to practice and refine your pronunciation.
@FrankenLab
@FrankenLab 4 ай бұрын
Great video, just subscribed. I like details but don't like it when content creators ramble on and repeat themselves, thanks for not doing that. I would like to see links to the exact boards/parts that were used though.
@code-for-me
@code-for-me 4 ай бұрын
Thanks for subscribing and feedback, I adjusted the description.
@bdhaliwal24
@bdhaliwal24 4 ай бұрын
Excellent video. It would be interesting to see a laser that can trace the shape of an object it can detect.
@code-for-me
@code-for-me 4 ай бұрын
Thanks! Theoretically, that would be doable. However, the challenge we'll encounter is determining the specific shape. For instance, tracking the shape of a moving object with a stationary camera is relatively straightforward and doesn't necessitate machine learning. On the other hand, if our goal is to track predefined shapes-let's say a triangle-that would require a trained model. This model would take the current picture as input and output the coordinates of the three points defining the triangle.
@AlterraLaboratories
@AlterraLaboratories 4 ай бұрын
This channel is really underrated ngl
@code-for-me
@code-for-me 4 ай бұрын
Thanks, this motivates me!, I'm grateful for my current subscribers, and I believe my current rating is fair, as there's still much to learn and enhance.
@niklasbaack7238
@niklasbaack7238 4 ай бұрын
Your cutting style is pretty good :)
@code-for-me
@code-for-me 4 ай бұрын
Thanks!
@zzzbyyy
@zzzbyyy 4 ай бұрын
I would say JS frameworks good for front ... pushing this technology to the backed where are really good choices already is kinda strange. Nevertheless I read that PHP is faster than some of very popular backed languages ... especially if we talk about API design.
@gillesashley9314
@gillesashley9314 4 ай бұрын
I believe the main problem concerning the debate against PHP and it's related frameworks is that, lot's of developers still see PHP as the PHP of 10-15 years ago, which causes them to make wrong judgements. PHP has evolved drastically and has really proven to be so stable and reliable. It has been able to stand the test of time with so so many server applications still running PHP.
@user-jj5mi1yl6p
@user-jj5mi1yl6p 2 ай бұрын
The main problem of PHP and it's related frameworks they are still staying 10-15 ago. Look on Spiral Framework and you'll see that in performance aspect it's 10 times faster than Laravel or Symfony or hyperF because of model of request/response processing.
@NickPoulos
@NickPoulos 5 күн бұрын
Spiral is vendor locked into RoadRunner - non starter for 95% of people.
@joanlluismudarrabarros402
@joanlluismudarrabarros402 4 ай бұрын
Hello! Is this method available for Spain and iOS? Thanks!
@code-for-me
@code-for-me 4 ай бұрын
Hey, I am sorry, i still didn't add IOS support, but with Android should work in Spain.
@anaszwawi17
@anaszwawi17 4 ай бұрын
Very happy to see a Tunisian covering these topics ♥
@code-for-me
@code-for-me 4 ай бұрын
Thank you! 🇹🇳
@aronlilland7638
@aronlilland7638 4 ай бұрын
I dont know that this speed test is a fair comparison, nextjs is a UI framework that can do backend, and i cant tell from your video what you are actually doing to compare the two IE what payload is being passes, it does not seem like an apples to apples test. Also forever is not exactly the best option to run your nodejs watchers, pm2 is definitely better for performance. forever is something popular for UI apps.
@code-for-me
@code-for-me 4 ай бұрын
Hello! I appreciate your feedback. Next.js is indeed a full-stack framework, and it utilizes Express.js under the hood. The use of forever was based on Express.js Process Managers documentation as it is the first option suggested. I ensured both applications in the video were under the same load, and despite multiple retests, Laravel consistently showed better results.
@TheJobCompany
@TheJobCompany 4 ай бұрын
I have no doubt that NextJS has poor performance, however I feel like this performance test isn't really fair because the way that you tested the NextJS server isn't typically how NextJS apps are deployed - from my experience, most users host Next on Serverless or Edge runtimes, so the actual timing of the requests could be much slower or way faster, depending on many factors, such as whether the lambda function is warm or cold, the number of instances of the function that are running, how much of the actual response is cached, etc. In many cases Next can _feel_ faster because although it may take longer and require more resources to render the response, the actual response, or at least part of it, is pre-rendered, cached and served directly from a CDN, so none of the JS code has to run.
@code-for-me
@code-for-me 4 ай бұрын
Your insightful comment is appreciated! I ensured a fair comparison by using two similar servers. However, even when considering a serverless runtime, I believe the performance results would likely align with what I presented. Although serverless offers easy setup without explicit infrastructure management, performance characteristics are still influenced by the application's consumption and the availability of server resources.
@user-ek2jc1xf3y
@user-ek2jc1xf3y 12 күн бұрын
well but in that case PHP would've also been required to be deployed on the edge / serverless (bref)...
@alkadoHs
@alkadoHs 5 ай бұрын
How can you dare to compare Laravel with Nextjs, Laravel has Authentication, Cron Jobs, Notifications, Sending Email, Powerful ORM, Server Monitoring tools, Queues, Testing all built-in. Nextjs has none of these built-in. It doesn't make sense to compare elephant with a rate
@code-for-me
@code-for-me 4 ай бұрын
Valid points! Laravel indeed comes with a robust set of built-in features making it a comprehensive framework. my goal was centered around performance and response time, not the presence of specific features.
@kirilkirkov5462
@kirilkirkov5462 5 ай бұрын
good video! yes, php is much faster.. i like very much next14+prisma, but php is still best for web (cheap hosting, best performance, fast development, best comunity, etc.) ;)
@davidconnelly
@davidconnelly 5 ай бұрын
Respectfully, this is a waste if time with bells on top. It's a long established and demonstrable fact that Laravel is the slowest and most frequently rewritten of all the PHP frameworks. Whatever Laravel may have going for it, it's certainly not benchmarks. Now, OF COURSE it'll go faster f you take stuff out. So what!? A VW Polo can beat a Porsche if you throw out enough parts. Throwing stuff out to make a framework faster doesn't impress me. So, yet again we have yet more Laravel suckage from KZbin. By all means, enjoy the continuing suckage, Laravel developers, but let's get rid of the pretence that Laravel is some misrepresented underdog. It's not. It's a bloated, over-engineered and frequently rewritten turd of a framework.
@code-for-me
@code-for-me 5 ай бұрын
Laravel has a great community, and I respect that you hate it, but do you please have concrete evidence that supports your claim that Laravel is the slowest? And please what you mean with "Throwing stuff out"? I really was neutral in my comparison.
@zzkevinlim
@zzkevinlim 4 ай бұрын
stay mad brahhh
@codokit
@codokit 5 ай бұрын
Prisma ORM has bad performance, probably problem is there. Maybe you can try something more lightweight like Drizzle ORM.
@user-ek2jc1xf3y
@user-ek2jc1xf3y 12 күн бұрын
the most fair would be to use the pg driver in both
@gillesashley9314
@gillesashley9314 5 ай бұрын
Could you please do same with Django vs Nextjs.
@snoudev
@snoudev 5 ай бұрын
Awesome video, really love your editing
@code-for-me
@code-for-me 5 ай бұрын
Thank you so much!
@1764230
@1764230 5 ай бұрын
Awesome! I was working with symfony 2.3 in 2016 and already forgot everything 😊 Thank you for reminding so fast how to make it all🎉 Cheers from 🇺🇦
@florinmiu469
@florinmiu469 5 ай бұрын
1. I have worked on a lot of projects in my life but never on a project where FE work was completely isolated from BE work. Not all projects are that big 2. You can add client-side validation on top of server-side validation (see your example with the password confirmation) HTMX + Alpine.js goes a long way.