Would love to see you cover Domain Driven Design in PHP with Aggregates and maybe Event Sourced Persistence, You explain the topics so well. Every video i watch from you I learn something new, even if I watch a video of a topic that i know really well. Anyways, cheers and thanks for the content!
I cannot overstate how happy I am that dynamic properties are getting the boot. As someone who's working on a 20+ year old code base, finding out what properties an object even has can take up to 3 hours.... Thank god this awful feature is being removed.
PHP is very much alive. And now NumPower is recently released. I hope you make tutorial or review of this power toolm Quoting the creator below Today I'm releasing the first preview (0.1.0) version of the NumPower library, inspired by NumPy and Torch. NumPower library was created to provide the foundation for efficient scientific computing in PHP, as well as leverage the machine learning tools and libraries that already exist and can benefit from it. This C extension developed for PHP can be used to considerably speed up mathematical operations on large datasets and facilitate the manipulation, creation and operation of N-dimensional tensors. The area of image processing and computer vision will also be able to benefit from this library. Some features of NumPower are: * GPU and CPU compute support * Dozens of different operations for manipulation, arithmetic, linear algebra, statistics and etc. * Single precision float points (float32) for improved memory usage * Custom CUDA kernels for almost all operations * AVX2 support when available on hardware * Support for GD images in RGB format for easy image manipulation
I learned to write code with PHP version 3. 25 years later I am writing MIPS and AVR assembly, and use C a lot. But, whenever I have to write an API, or build a website, I ALWAYS come back to PHP.
It is still relevant & will be for the next few years. I still upload new videos to the course, we are working on a final project now. The course is split in 3 sections + project section, first section goes over the basics of the language where the version does not really matter much, we start with 7.4 & quickly move to php 8. We then upgrade to 8.1 in 2nd section and going forward are using 8.1, we will upgrade to 8.2 as well once 8.2 is released. You can start from the beginning right here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sVbEyFZKgqk.html and watch the first video, then jump around the videos depending on your experience or watch it entirely from start to end. Here is the outline of all the videos with titles to browse & search lessons: github.com/ggelashvili/learnphptherightway-outline
I have not worked with dbf files so cant really recommend much about it, I would look into www.php.net/manual/en/ref.dbase.php and see if that is something you can use
Hello. It's explained well in the RFC, read through the Motivation part: wiki.php.net/rfc/null-false-standalone-types and here is the one for true type: wiki.php.net/rfc/true-type
Thanks for the feedback. Honestly, I liked the music that's why I picked it and didn't bother anyone else seems like. Also I'm 90s kid so there's that 😁
The more crap they pile up in it, the less I'm interested in learning them. Soon i'll head back to CGI and run my own C/C++ binaries. WAAAAY faster than PHP (and closed source). Had to be type independent, easy and fast enough to develop server side stuff, but in 5.x series and up something took a wrong turn. OO is a cool feature added, but bugs that accompany it and constant updates are making it a nonsense (like this BS here: 10:40).
Are you joking with C/C++? Each language has its strengths and appropriate use cases and PHP is still one of the best and fastest languages for web development. BTW PHP is written in C and there are very good reasons why the creators did not endorse pure C as a language for building web applications... re 10:40, there is also a ton of crap in C/C++ which could have been better designed.
@@depafrom5277 For PHP the fact it got written in C has nothing to how fast it is in real time. It still has to read input scripts, decode and translate them to something "CPU digestible", in flight. This process will always remain SLOW! Yes, it can be closed t some "binary" (ion-cube), but that brick is even heavier. True resource killer. 2nd I would be cautious about stating bugs in C/C++ itself (standard). So called "undefined behavior" can be an issue (if one can't grasp stuff in time). Yes, I fell into that deep black hole too (we all learn). The other thing is whether people can write own things from scratch or relay on others works (because they want things to be done quickly and place where design bugs kick in)... I can give you an example of bussines I worked for (warehouse depot). They accept on-line orders made by local grocery stores, on-line shops etc. The program registering them in local ERP was PHP driven. It wasn't an issue back in days, (say 1 order every 10-20 seconds). The problem grew up when there were at least two orders in a second. The program simply couldn't handle it and the folder where files jumped in was getting big! Solution - I wrote one doing the same thing in C++ (windows service) that fired up every 5 minutes, just to digest entire directory of files in split of a second. Voila!
@@madyogi6164 every language has it's use case. Of course something written in pure C will be faster than in PHP but at the cost of develoment time and expensive. It's the matter of decision. In your example the PHP code was probably written in very old PHP or was not optimized properly, software I work on serves thousands of users at the same time making transactions every second and multiple transactions, don't have any issues and PHP is almost never the bottleneck. If written properly and optimized for whatever it needs to do PHP can be very powerful and have no issues serving simultaneous requests. I love C++ though and is a very powerful language, but I wouldn't use it to build a web based application mainly because it would take a lot longer to build, would be more expensive and harder to maintain due to being harder to hire C++ devs vs PHP. If I were building a desktop app or a game or something more sophisticated then sure. Even for a microservices I could use C++ to do something efficiently and still have PHP on the web facing platform. As I said, it mainly depends on the problems at hand and what matters more.