Hi there, this is my livelihood so I cannot afford to give my courses away. I'm sure you will be very happy with any course you enroll in at M.academy!
Holy smoly it seems SOOO overwelming in the start of the video, I been used to work with shopify, that is much more intuitiv. But now due to a new job, I am going to learn Magenta 2, as they use that system, so I am prepping as MUCH I can before I start officially working. So I am SUPER thankful for this video - I subscribed immidiatly, and till binge watch what ever i can find on your channel that is relevant for my understanding of Magento 2
Thanks for the kind words Amaya! This is truly meant as a quick "jumpstart" just to get the engine running. I highly recommend checking out my school at M.academy, specifically the University, which will get you to hit the ground running really, really quickly and also comes with an AI tutor bot that is really revolutionary in helping to understand these topics. Glad you like it, and I hope to have many more videos out on TH-cam soon!
Hey Mark, great video. Ive got an interview with a tech company which uses Magento and is a certified developer as well. What would you recommend i learn first just to show the company that I have a basic knowledge of Magento?
Hi Jack, I think this video is a great start! If you wanted to dig deeper into the topics covered within it or really want to expand your Magento skills, I'd recommend the M.academy University (m.academy/university/). It includes access to the Magento 2 Coding Kickstart course, which is a great way to really get going with Magento and cover all of the base fundamentals that you need to know for the interview. I think this will give you up to speed really quickly. Good luck! -M
Hi Mark, thank you for your attention, I have a question, I have often seen in the Magento documentation the following command specifically what it performs: composer --no-ansi --no-interaction install --no-progress --prefer-dist --optimize-autoloader I have seen that after localization they recommend that command, best regards
Hey Aurelio, If you remove all of the flags/arguments of this command, it's basically just "composer install". The "no-ansi no-interaction" tells composer to not prompt the user for anything, which basically runs a headless composer install command which doesn't require your interaction to proceed. The "no-progress" flag doesn't display the progress output of running this command. The "prefer-dist" flag means that it prefers a distribution (tarball) of a package rather than retrieving it from source code, and the "optimize-autoloader" builds a file->class mapping which speeds up loads on production. Note that you probably don't want to run any of these flags in developer mode, as "composer install" is just fine and is the preferred method in development. So these flags are specific to production and may vary from environment to environment. Cheers, -M
Hi Mark, I have another question, What do you consider the best practice to install an extension in Adobe Commerce on cloud; push or upload both composer.json and composer.lock files or just the composer.lock file from my local environment. Thank you for your attention
Adobe Commerce or Magento OS, you should always commit both the composer.json and composer.lock files. Composer.json keeps track of the package versions, and the lock file "pegs" to an exact installed package/version, which ensures consistency between environments.
Hi @mark, Awesome tutorial thanks for posting such a grt content.. I have one doubt regarding how to setup magento development workflow like I do development locally and push code to dev, stage and then prod environments, In couldnt find any article or document around this hence requesting can you help ?
Hi Tejas, thanks for the kind words! I've heard this request a ton, so I'll see what I can do. The basics come down to writing a solid script that executes on each deploy/push, and then have it kicked off on that push. You can accomplish this with something like BitBucket Pipelines or GitHub Actions.
So @mark, i come from drupal background and in drupal we have never push vendor directory to the git repo, but when i see Magento i see they have vendor directory also pushed to github making the repo too heavy in terms of package size, secondly drupal has a config management system which help export all the configs entities into yml file and this ensure all the environment of a specific drupal site are similar so do we have something similar in magento or everytime we relia on db imports ...
@@tejasshah79 Hey Tej, I come from Drupal too! The vendor directory should never be committed to version control under any circumstances and for any project, including Magento. You can confirm this because it is listed in the .gitignore file of the repo: github.com/magento/magento2/blob/2.4-develop/.gitignore#L70. Magento also has an EXTREMELY comprehensive and fully-featured config/environment setup that is like Drupal's (just more powerful). A little on that at m.academy/article/magento-2-configuration-settings-fallback-process/
It's been a long while since I've tried to use ece-tools, but generally, docker-magento provides you with more flexibility to do exactly what you want, and the underpinnings of the Docker images and config are vary transparent and customizable. I don't think ece-tools match up (unless something changed recently).
Great video Mark, I'd be really interested in learning about Magento database tables structure schema. Also best practice deployment between staging and production environments whilst maintaining minimum downtime and subsequently synchronizing sales data during any downtime. Whilst the production server is still live during updates and testing. Especially when rolling out Magento core updates which require server infrastructure and dependencies changes. This seems to be an unspoken area of Magento 2 Have any info/ tutorials guides you can point me to? Thanks
Hey Darren, thanks! My Magento 2 Coding Kickstart course (m.academy/kickstart/) goes into the database layer in extreme detail. I've had a lot of requests for Magento deployment strategies, so that is pretty high up in my queue of courses to work on (and blue/green deployments, which is similar to what you are talking about!). I don't have much info on that topic, but Jisse has a nice blog about it www.yireo.com/blog/2023-05-18-magento-blue-green-deployment. You're right, it's not talked about much but I think it can be pretty powerful.
Hi Mark, I came from China, and have a development team to work on magento project for 5 years Do you know where I can receive magento development projects?
Hi Chung, since there were changes to the XML, you will need to flush the cache with "bin/magento cache:flush". Magento uses something called a "full page cache" to avoid needing to rebuild this giant XML layer with every request. So by purging the cache, Magento will regenerate this big XML tree and then you should see your block 👍
hii, is there any way to connect my firebase social app with magento with the help of custom module ? i want to connect to firebase app and in firebase documentation , i found out some javascript code , but when i add js in my module , its actually not able to read the script and showing firebase is nnot defined ...so is there any way to connect with firebase through js??plz help.....
You’ll need to be familiar with how RequireJS works and how to potentially reformat files into AMD format. This goes beyond a simple post, but I cover this all in my JS Fundamentals course at m.academy/courses/javascript-development-fundamentals-magento-2/
Hi Joe, the course assumes you already have a running instance of Magento set up. If you do not, I have a completely free course for that as well, and it is available at m.academy/courses/magento-2-development-environment-docker/
I don’t recommend any Jetbrains IDEs. Visual Studio Code is more predictable and free. There’s no point in buying Jetbrains products as they are very annoying in many ways. They often do that you don’t want them to do.
The standard way to download Magento these days is with Composer. Info on how to do that is at courses.m.academy/courses/set-up-magento-2-development-environment-docker/lectures/8974570
Great idea. The AI tools out there should be able to do this very, very soon... I'm keeping a beat on it. When that happens, I'll most likely create a Spanish-only channel, as 90%+ of my audience on this TH-cam channel is English. Stay tuned.
You definitely need a running instance of Magento for development first. I have a free course for that available at m.academy/courses/set-up-magento-2-development-environment-docker/
You can also enroll in the course at M.academy to track course progress and leave comments on lessons at m.academy/courses/magento-2-coding-jumpstart/
You are the best magento educator. Please post Magento JavaScript tutorial on youtube.
Appreciate it -- I'll see what I can do! 👍
That was epic Mark, Please Allow us to Learn from you , Please post Magento full course on TH-cam 🙏🙏. as Thousands of Students cann't afford.
Hi there, this is my livelihood so I cannot afford to give my courses away. I'm sure you will be very happy with any course you enroll in at M.academy!
Excellent tutorial
Thanks Tem!
Perfect and really helpful tutorial, it helps me a lot. thank you.
You're very welcome! 🤗
Perfect as always!😎
Thanks Roman, always appreciate your support ❤
Quality of content is awsome ❤ best Magento tutorial in the universe
Thanks so much Nishan! 🥰
Excellent content, enjoyed learning the course,😃
thank you
Thank you, appreciate it!
Appreciated Efforts🎉
Thanks a lot 😊
Awesome Video 🎉🎉
Thanks 😁
Holy smoly it seems SOOO overwelming in the start of the video, I been used to work with shopify, that is much more intuitiv. But now due to a new job, I am going to learn Magenta 2, as they use that system, so I am prepping as MUCH I can before I start officially working. So I am SUPER thankful for this video - I subscribed immidiatly, and till binge watch what ever i can find on your channel that is relevant for my understanding of Magento 2
Thanks for the kind words Amaya! This is truly meant as a quick "jumpstart" just to get the engine running. I highly recommend checking out my school at M.academy, specifically the University, which will get you to hit the ground running really, really quickly and also comes with an AI tutor bot that is really revolutionary in helping to understand these topics. Glad you like it, and I hope to have many more videos out on TH-cam soon!
Hey Mark, great video. Ive got an interview with a tech company which uses Magento and is a certified developer as well. What would you recommend i learn first just to show the company that I have a basic knowledge of Magento?
Hi Jack, I think this video is a great start! If you wanted to dig deeper into the topics covered within it or really want to expand your Magento skills, I'd recommend the M.academy University (m.academy/university/). It includes access to the Magento 2 Coding Kickstart course, which is a great way to really get going with Magento and cover all of the base fundamentals that you need to know for the interview. I think this will give you up to speed really quickly. Good luck! -M
@@MarkShust Thanks Mark, really appreciate the advice. I'll take a look into it :)
Hi Mark, thank you for your attention,
I have a question, I have often seen in the Magento documentation the following command specifically what it performs:
composer --no-ansi --no-interaction install --no-progress --prefer-dist --optimize-autoloader
I have seen that after localization they recommend that command,
best regards
Hey Aurelio,
If you remove all of the flags/arguments of this command, it's basically just "composer install". The "no-ansi no-interaction" tells composer to not prompt the user for anything, which basically runs a headless composer install command which doesn't require your interaction to proceed. The "no-progress" flag doesn't display the progress output of running this command. The "prefer-dist" flag means that it prefers a distribution (tarball) of a package rather than retrieving it from source code, and the "optimize-autoloader" builds a file->class mapping which speeds up loads on production. Note that you probably don't want to run any of these flags in developer mode, as "composer install" is just fine and is the preferred method in development. So these flags are specific to production and may vary from environment to environment.
Cheers,
-M
@@MarkShustthank you so much for your reply. 😃
@@aurelioflores4571 sure thing!
Hi Mark, I have another question,
What do you consider the best practice to install an extension in Adobe Commerce on cloud;
push or upload both composer.json and composer.lock files or just the composer.lock file from my local environment.
Thank you for your attention
Adobe Commerce or Magento OS, you should always commit both the composer.json and composer.lock files. Composer.json keeps track of the package versions, and the lock file "pegs" to an exact installed package/version, which ensures consistency between environments.
@@MarkShust thank so much, Sr.
Hi @mark, Awesome tutorial thanks for posting such a grt content.. I have one doubt regarding how to setup magento development workflow like I do development locally and push code to dev, stage and then prod environments, In couldnt find any article or document around this hence requesting can you help ?
Hi Tejas, thanks for the kind words! I've heard this request a ton, so I'll see what I can do. The basics come down to writing a solid script that executes on each deploy/push, and then have it kicked off on that push. You can accomplish this with something like BitBucket Pipelines or GitHub Actions.
So @mark, i come from drupal background and in drupal we have never push vendor directory to the git repo, but when i see Magento i see they have vendor directory also pushed to github making the repo too heavy in terms of package size, secondly drupal has a config management system which help export all the configs entities into yml file and this ensure all the environment of a specific drupal site are similar so do we have something similar in magento or everytime we relia on db imports ...
@@tejasshah79 Hey Tej, I come from Drupal too! The vendor directory should never be committed to version control under any circumstances and for any project, including Magento. You can confirm this because it is listed in the .gitignore file of the repo: github.com/magento/magento2/blob/2.4-develop/.gitignore#L70. Magento also has an EXTREMELY comprehensive and fully-featured config/environment setup that is like Drupal's (just more powerful). A little on that at m.academy/article/magento-2-configuration-settings-fallback-process/
@@MarkShust Ohh Awesome ill read through it , thanks for directing to that document I was looking for it :)
Thanks Again!
Sure thing 👍
Great Video @mark
Thanks Vijay 🙏
How is docker-magento when compared to ece-tools provided by adobe commerce?
It's been a long while since I've tried to use ece-tools, but generally, docker-magento provides you with more flexibility to do exactly what you want, and the underpinnings of the Docker images and config are vary transparent and customizable. I don't think ece-tools match up (unless something changed recently).
Super content ❤
Thanks Nitish!
@@MarkShustI'm looking for certification, what will the best approach
@@MarkShust happy birthday 🎂
@@nitishkesarwani342 not for a few more days, but I'll take it! Thanks! 😁
Great video Mark, I'd be really interested in learning about Magento database tables structure schema. Also best practice deployment between staging and production environments whilst maintaining minimum downtime and subsequently synchronizing sales data during any downtime. Whilst the production server is still live during updates and testing. Especially when rolling out Magento core updates which require server infrastructure and dependencies changes. This seems to be an unspoken area of Magento 2 Have any info/ tutorials guides you can point me to? Thanks
Hey Darren, thanks! My Magento 2 Coding Kickstart course (m.academy/kickstart/) goes into the database layer in extreme detail. I've had a lot of requests for Magento deployment strategies, so that is pretty high up in my queue of courses to work on (and blue/green deployments, which is similar to what you are talking about!). I don't have much info on that topic, but Jisse has a nice blog about it www.yireo.com/blog/2023-05-18-magento-blue-green-deployment. You're right, it's not talked about much but I think it can be pretty powerful.
@@MarkShust Thanks Mark I'll take a look at those links. Look forward to the deployment strategies. Keep up the good work👍
Hi Mark,
I came from China, and have a development team to work on magento project for 5 years
Do you know where I can receive magento development projects?
Sorry, I don't as I've been out of Magento contracting/consulting work for some time. Good luck!
@@MarkShust many thanks for the reply, keep in touch, have a good weekend!
May i know why the phtml cannot be shown in the page after follow the step -> Display a template in a block? No error shows in the page
Hi Chung, since there were changes to the XML, you will need to flush the cache with "bin/magento cache:flush". Magento uses something called a "full page cache" to avoid needing to rebuild this giant XML layer with every request. So by purging the cache, Magento will regenerate this big XML tree and then you should see your block 👍
hii, is there any way to connect my firebase social app with magento with the help of custom module ? i want to connect to firebase app and in firebase documentation , i found out some javascript code , but when i add js in my module , its actually not able to read the script and showing firebase is nnot defined ...so is there any way to connect with firebase through js??plz help.....
You’ll need to be familiar with how RequireJS works and how to potentially reformat files into AMD format. This goes beyond a simple post, but I cover this all in my JS Fundamentals course at m.academy/courses/javascript-development-fundamentals-magento-2/
I wish this tutorial started with how to install Magento or, at least, a link to a guide.
Hi Joe, the course assumes you already have a running instance of Magento set up. If you do not, I have a completely free course for that as well, and it is available at m.academy/courses/magento-2-development-environment-docker/
@@MarkShustAmazing thank you!
what code editor do you use for this?
I use PhpStorm, and have been doing so for many years. Highly recommend it 👍
I don’t recommend any Jetbrains IDEs. Visual Studio Code is more predictable and free. There’s no point in buying Jetbrains products as they are very annoying in many ways. They often do that you don’t want them to do.
Wow!
Glad you've enjoyed it Timmy! 🙌
where can I download magento open source??
The standard way to download Magento these days is with Composer. Info on how to do that is at courses.m.academy/courses/set-up-magento-2-development-environment-docker/lectures/8974570
Yayyyyy🎉
Glad you like it! 🙌
Hello, could you make a tutorial in Spanish, thank you
Great idea. The AI tools out there should be able to do this very, very soon... I'm keeping a beat on it. When that happens, I'll most likely create a Spanish-only channel, as 90%+ of my audience on this TH-cam channel is English. Stay tuned.
It gives some useful basic idea of the infrastructure of the framework, but around 40min of it explains generic PHP concepts.
Tried to make it very entry-level, but do have a PHP 101 course available that goes into the details of PHP! m.academy/courses/php-101/
How can you say this a tutoril you havent as you havent teach the installation and setup . How a beginner can understand what you are saying
You definitely need a running instance of Magento for development first. I have a free course for that available at m.academy/courses/set-up-magento-2-development-environment-docker/
Did he just pronounce 'ETC' as Etsy? Oh my lord.
Flows off the tongue better 😛
Thays how it is called in tech
@@howardanddennis1776 Nope
I thought that Magento was a CMS system. And this turned out to be a framework. Very confusing and too verbose. Why anybody may need this? 🤦♂️
Magento is an eCommerce framework. If you're wondering why you would need this... you don't.