- 61
- 288 036
Mark Shust
United States
Приєднався 31 гру 2006
Teacher at M.academy. The simplest way to learn Magento, PHP, Docker, OSS & more.
The EASIEST Way to Create Magento CSP Whitelists
Sick of generating csp_whitelist.xml files for Magento? There's an easier way.
Get the CSP browser plugin on GitHub at github.com/macademy/magento-csp-whitelist-generator
READY TO LEARN MAGENTO?
=======================================
🏫 Master Magento Development at M.academy - m.academy/?The%20EASIEST%20Way%20to%20Create%20Magento%20CSP%20Whitelists&
🎓 M.academy University - m.academy/university/?The%20EASIEST%20Way%20to%20Create%20Magento%20CSP%20Whitelists&
LINKS FROM THE VIDEO
=======================================
🛒 MAGENTO COURSE: JavaScript Development Fundamentals for Magento 2 - m.academy/courses/javascript-development-fundamentals-magento-2/?The%20EASIEST%20Way%20to%20Create%20Magento%20CSP%20Whitelists&
🆓 FREE LESSON: Add a host to the content security policy XML - courses.m.academy/courses/1123649/lectures/24078993?The%20EASIEST%20Way%20to%20Create%20Magento%20CSP%20Whitelists&
Ⓜ️ BLOG ARTICLE: Magento APSB24-40 Security Patch: CSP and Checkout Updates - m.academy/articles/magento-apsb24-40-security-patch-csp-checkout-updates/?The%20EASIEST%20Way%20to%20Create%20Magento%20CSP%20Whitelists&
👀 GOOGLE WHITEPAPER: CSP Is Dead, Long Live CSP! - static.googleusercontent.com/media/research.google.com/en//pubs/archive/45542.pdf
👩💻 GOOGLE CHROME PLUGIN: Magento CSP Whitelist Generator - chromewebstore.google.com/detail/magento-csp-whitelist-gen/jkaepigndllbkeedihpnhchadplfnafi
FOLLOW ME
=======================================
🧑💼 LINKEDIN: linkedin.com/in/MarkShust
❌ X: MarkShust
🐙 GITHUB: github.com/markshust
CHAPTERS
=======================================
00:00 - What is CSP?
00:49 - What not just disable CSP?
01:25 - CSP whitelists in Magento
02:29 - Magento CSP Whitelist Generator browser plugin
03:17 - Automatically build csp_whitelist.xml files
04:56 - Open Source love
#magento #php #ecommerce #opensource
Get the CSP browser plugin on GitHub at github.com/macademy/magento-csp-whitelist-generator
READY TO LEARN MAGENTO?
=======================================
🏫 Master Magento Development at M.academy - m.academy/?The%20EASIEST%20Way%20to%20Create%20Magento%20CSP%20Whitelists&
🎓 M.academy University - m.academy/university/?The%20EASIEST%20Way%20to%20Create%20Magento%20CSP%20Whitelists&
LINKS FROM THE VIDEO
=======================================
🛒 MAGENTO COURSE: JavaScript Development Fundamentals for Magento 2 - m.academy/courses/javascript-development-fundamentals-magento-2/?The%20EASIEST%20Way%20to%20Create%20Magento%20CSP%20Whitelists&
🆓 FREE LESSON: Add a host to the content security policy XML - courses.m.academy/courses/1123649/lectures/24078993?The%20EASIEST%20Way%20to%20Create%20Magento%20CSP%20Whitelists&
Ⓜ️ BLOG ARTICLE: Magento APSB24-40 Security Patch: CSP and Checkout Updates - m.academy/articles/magento-apsb24-40-security-patch-csp-checkout-updates/?The%20EASIEST%20Way%20to%20Create%20Magento%20CSP%20Whitelists&
👀 GOOGLE WHITEPAPER: CSP Is Dead, Long Live CSP! - static.googleusercontent.com/media/research.google.com/en//pubs/archive/45542.pdf
👩💻 GOOGLE CHROME PLUGIN: Magento CSP Whitelist Generator - chromewebstore.google.com/detail/magento-csp-whitelist-gen/jkaepigndllbkeedihpnhchadplfnafi
FOLLOW ME
=======================================
🧑💼 LINKEDIN: linkedin.com/in/MarkShust
❌ X: MarkShust
🐙 GITHUB: github.com/markshust
CHAPTERS
=======================================
00:00 - What is CSP?
00:49 - What not just disable CSP?
01:25 - CSP whitelists in Magento
02:29 - Magento CSP Whitelist Generator browser plugin
03:17 - Automatically build csp_whitelist.xml files
04:56 - Open Source love
#magento #php #ecommerce #opensource
Переглядів: 1 751
Відео
What's New in Magento 2.4.7
Переглядів 6 тис.9 місяців тому
Y'all probably like to know what's new with every Magento version... and 2.4.7 is no exception! Keep up to date with Magento by subscribing to my newsletter at m.academy/newsletter/?What's New In Magento 2.4.7& In this video, I touch base on all of main the new features and updates that happened in Magento 2.4.7, including updates to the GraphQL layer, Commerce Webhooks functionality, and a new...
5 Ways To Integrate Blockchain Into eCommerce
Переглядів 802Рік тому
What if your eCommerce store was integrated with blockchain tech? Could it take eCommerce to a whole new level? How could this be unique & innovative? If you'd like to learn more about Magento, check out my technical articles at m.academy/articles/?Ways To Integrate Blockchain Into eCommerce & It’s 2024, and it’s time to be more innovative and take some risks. Because if you don’t take any… tha...
Magento Tutorial For Beginners, Full Course (2024)
Переглядів 43 тис.Рік тому
Have you ever thought about learning Magento development, or becoming an M2 programmer? Here's a quick course, or rather, a "Jumpstart", to get your feet wet with Magento code. When you've conquered the Jumpstart... check out the Kickstart at m.academy/courses/magento-2-coding-kickstart/?Magento Tutorial For Beginners Full Course 2024& Enjoy this free 17 lesson course! READY TO LEARN MAGENTO? 😄...
Blindly Following Magento Best Practices? STOP NOW
Переглядів 1,1 тис.Рік тому
If you're anything like me, you started your Magento career by blindly following every best practice out there. But this can destroy your productivity. Watch this video to find out why. If you're ready to take your Magento skills to the next level, check it: m.academy/university/?Blindly Following Magento Best Practices STOP NOW& 00:00 - Intro 02:21 - Over-Engineering 05:26 - Premature Optimiza...
Are Magento Dev Interviews Failing? Let's Fix Them
Переглядів 2 тис.Рік тому
Tired of toxic Magento developer interviews with obscure trivia questions and unrealistic coding challenges? Gain Magento mastery by checking out my premium educational courses at m.academy/courses/?Are Magento Dev Interviews Failing Let's Fix Them& In this video, learn about the main problems plaguing tech hiring processes and get suggestions for improving interviews to better assess candidate...
Magento 2 Nightmare? My 5 Reasons to Avoid It
Переглядів 1,8 тис.Рік тому
Magento seems like the go-to ecommerce platform. But it comes with massive hidden costs for many online merchants. And if Magento is for you... never stop learning it. Learn more at m.academy/?Magento 2 Nightmare My 5 Reasons to Avoid It& In this video, we'll learn the critical signs Magento is wrong for your business. 00:00 - Intro 00:59 - Budget and Sales Too Low 02:57 - Customization Overkil...
Do You Really Know PHP Class Visibility Scopes?
Переглядів 1,6 тис.Рік тому
Visibility scopes in PHP classes often trip up even experienced developers. Learn the key principles you need to avoid major pitfalls. Gain a full understanding of PHP with my free, full course at at m.academy/courses/php-101-beginners/?Do You Really Know PHP Class Visibility Scopes& This quick video will explore how public, private, and protected scopes function in OOP classes and subclasses. ...
I Quit Magento. Here's Why I Came Back.
Переглядів 1,8 тис.Рік тому
After a year of struggle, I was ready to quit learning Magento for good. But something drew me back for one more try. Don't ever stop learning. Gain Magento dev mastery at m.academy/?I Quit Magento Heres Why I Came Back& This video is the story of my winding journey to finally mastering Magento and turning it into my life's purpose. 00:00 - Introduction 01:01 - My Background 02:37 - The Struggl...
Beginning Programmer? STOP Overwhelming Yourself
Переглядів 869Рік тому
That feeling of seeing complex code for the first time and having no clue where to even start. We've all been there as beginners! Start learning PHP completely free with my full course at m.academy/courses/php-101-beginners/?Beginning Programmer STOP Overwhelming Yourself& In this video, I share my proven techniques to stop overwhelming yourself when you're new to programming. Learn how to appr...
What Happened to All the Magento Developer Jobs?
Переглядів 9 тис.Рік тому
Magento developer roles seem to be disappearing in 2023. Don't ever stop learning. Gain Magento dev mastery at m.academy/?What Happened to All the Magento Developer Jobs& In this video, I'm sharing my insider perspective on what's going on in the job market, why it's happening, and tips to get yourself hired. 00:00 - Introduction 01:05 - Current Landscape 02:20 - Positive Signs 03:14 - Market S...
The Magento Community, Ecosystem, MM23NYC & more
Переглядів 924Рік тому
The Magento Community, Ecosystem, MM23NYC & more
The TRUTH About Third-Party Magento Themes
Переглядів 1,9 тис.Рік тому
The TRUTH About Third-Party Magento Themes
Meet Maggie, Magento AI Chatbot Powered by GPT-4
Переглядів 1,4 тис.Рік тому
Meet Maggie, Magento AI Chatbot Powered by GPT-4
Want to learn Magento? AI JUST CHANGED EVERYTHING
Переглядів 2,7 тис.Рік тому
Want to learn Magento? AI JUST CHANGED EVERYTHING
Bust Cache Assets w/ Disable Browser Cache #shorts
Переглядів 346Рік тому
Bust Cache Assets w/ Disable Browser Cache #shorts
Can You REALLY Install Magento 2 in 5 Minutes?
Переглядів 33 тис.Рік тому
Can You REALLY Install Magento 2 in 5 Minutes?
Use AI to Unlock Magento 2 Development SUPERPOWERS
Переглядів 5 тис.Рік тому
Use AI to Unlock Magento 2 Development SUPERPOWERS
Whats Magento Dependency Injection Doing? TRY THIS
Переглядів 2 тис.Рік тому
Whats Magento Dependency Injection Doing? TRY THIS
I told ChatGPT to be bin/magento and THIS HAPPENED
Переглядів 2,7 тис.Рік тому
I told ChatGPT to be bin/magento and THIS HAPPENED
Should You Learn Magento 2 Development in 2023?
Переглядів 3,7 тис.Рік тому
Should You Learn Magento 2 Development in 2023?
ChatGPT Made a Magento 2 Module YOU GOTTA SEE
Переглядів 8 тис.Рік тому
ChatGPT Made a Magento 2 Module YOU GOTTA SEE
5 Hidden Advantages of Adobe's Magento 2 Certifications
Переглядів 2,7 тис.Рік тому
5 Hidden Advantages of Adobe's Magento 2 Certifications
How to Apply a GitHub Commit to Magento Core Code
Переглядів 1,2 тис.2 роки тому
How to Apply a GitHub Commit to Magento Core Code
5 FREE Developer Tools Every Magento 2 Programmer MUST Have
Переглядів 10 тис.2 роки тому
5 FREE Developer Tools Every Magento 2 Programmer MUST Have
How To Build a Custom Router in Magento 2 for Dashes in URLs
Переглядів 2,2 тис.2 роки тому
How To Build a Custom Router in Magento 2 for Dashes in URLs
Get a Magento 2 Developer Job with NO EXPERIENCE
Переглядів 3,3 тис.2 роки тому
Get a Magento 2 Developer Job with NO EXPERIENCE
Generate Magento code really quickly in PhpStorm using Beeline
Переглядів 2,2 тис.2 роки тому
Generate Magento code really quickly in PhpStorm using Beeline
Well done Mark! Thank you :)
Sure thing, glad it was helpful!
This was exactly what I wanted. I had no experience in php but after watching this video I can solve my job tasks. Thank you very very much.🙏🙏❤
That's awesome, really glad you found it useful! 🤙
Don't know if I had the best night of sleep of my life or the course is way too good, but I managed to watch it in one sit following everything and practicing with custom examples of my own.
You’re my hero Rafael 🥹 So glad that I’ve caused you to miss sleep! 😂 For real, really super glad you liked it.
Hi Mark, Is there any tool/script (list of commands) (for Magento Open Source) to perform a deploy after installing a module (di:compile, clean cache setup:static-content:deploy)? As it exists in the cloud version
You’ll typically always want to use a standard deploy script that runs automatically on branch pushes and/or releases, just like Commerce Cloud. I don’t have one off the top of my head, but will try to make a lesson for this.
@@MarkShust Thank so much Mark
@@aurelioflores4571 sure thing Aurelio!
Thanks!
You're awesome Michael... thanks so much!!! 🧡
@@MarkShust You are welcome! Your docker configuration is huge time-saver, thanks for putting it out in the world.
@@michaelbarrett7079 appreciate it!
thank's for video
Glad you liked it!
Yeah, Magento's still around, but it's not what it used to be. If you browse job boards like Upwork, you'll see fewer and fewer companies looking for Magento developers. Most of the gigs are with agencies, and they're not exactly paying top dollar - I'm talking sub-$20 an hour for customizations. Honestly, unless you're running a massive business, bringing in millions in profit, Magento might not be the best choice these days. Shopify and WooCommerce are gaining serious ground, and they're much easier to use and way more affordable for most companies. Magento can still be a powerhouse for big players, but for the average business owner, it's probably not worth the hassle or the cost.
bro which theme is this one
This is Material UI. Though I’m switching to PhpStorm’s default Dark theme for new lessons.
very helpful, simple and easy to use Thank you Sir
Thanks for the kind words -- glad you found it useful!
Pretty neat!
Glad you liked it! I still use Beeline every day I work with Magento.
Nice tutorial! Quick question where did you get the Magento lamp? Want one for the office.
Thanks! I got the lamp at Meet Magento Florida, though it was only given to speakers you may be able to get your hands on one this year. The MageOS light is also super cool, and hope to shoot some new videos with this one in the background: mage-os.controlaltdelete.dev/product-overview
Good Job Man as usual.Thank you very much for your efforts.
Thanks so much Mohamed, glad you found it useful 👍
It's very helpful and easily understandable. Make life easier. Thank you for the wonderful tutorial 👏
So glad you found it useful -- appreciate it! 🤙 -M
Love this story about a career pivot and re-pivot - great video Mark!
Thanks Ivan. I believe in constant re-invention and exploration, so this will most likely happen a few more times in my lifetime.
Thank you for this video !!!!
Thanks, glad you liked it Marissa!
Hey Mark! This works really well just that my magento setup doesn't generate logs, I tried everything but nothing worked! Can you please guide me here?
Hi Pratik! I think I heard this from one or two devs, so I'd recommend checking out the open issues on GitHub and perhaps even filing a bug report about this at github.com/markshust/docker-magento/issues and it'll be looked into. FYI a new version of docker-magento (48.0.0) just got released a few days ago.
Your prediction was wrong no changes on the Market
It very much was... I don't have a crystal ball into the future! 🔮😅 I don't think "be persistent" and "keep learning" is ever bad advice though. Sitting on your ass isn't an option.
I love how straight forward this course is....i opened the video and boom...started writing some PHP code. Please keep up your work, and thankyou for this content.
Awesome, really glad you like my no-fluff stuff! All my lessons use this no-B.S. format 😄
Another Solid contribution to Magento, Thanks Mark
Really appreciate this Wade 🤗
Great comprehensive course, thanks
Thanks @brplijak1, appreciate it! 👍
broh what is the u using to run pseudocode
You can't "run" pseudocode (though GitHub Copilot can now write it out for you, which is amazing and works quite well).
Hey guys how to get a composer public and private keys
I have a lesson for doing exactly that! See courses.m.academy/courses/487758/lectures/8974570
It's crap, you cannot add (via update) security for software without updating php. Or I do don't understand that correctly?
This is talking about an application-level update (Magento), which is managed separately from the PHP daemon which has its own version and update process.
Me and my friend bought expensive Magento courses from magen2 TV and Yiero and learned a lot from them but today the situation is such that no one is ready to pay more than 40k INR... this much money doesn't even cover the course fees... it is better to buy a React course from Udemy for Rs. 500 INR and get a good job. That's why I say that Magento is a scam... only those who want to ruin their lives should work on it.
Yes you are right.I am going through this too😅
Mark, Magento jobs are not available in the market. Whoever I saw is moving to Shopify and Bigcommerce. I have 7 years of experience in Magento but currently I am working on Shopify/React. problem is not that I am not getting interviews, the problem is that I have had only 2 interviews in the last 3 months. Now you can guess from this. For me Magento is just a scam and nothing else.
You know what I mean? No!
I don't understand your comment 😂
Im not sure this is better, code golf is not always the best approach. I know zero php, but understood the first one while the second is relatively more opaque
Not sure what you mean by code golf, but the latter is nearly always preferred because it's more readable and less code (which means it is less prone to bugs). Most pushback I hear is from devs who just don't want to learn a new syntax. Same goes with constructor property promotion.
@@MarkShust code golf is writing as few lines of code for the sake of writing fewer lines. As i articulated, I dont think it's more readable and "fewer lines == fewer bugs" is laughably incorrect in my opinion But hey, it's your channel, and i think it's good that you're teaching people new things :)
@@Therealkevinkevinson I just realized you said you're not a PHP coder. That could be why. PHP is becoming increasingly terse, and additions like nullsafe and optional return types make knowing how ternaries work a requirement.
Can you help me install Magento 2 without Docker, I have tried until now but not successful :(
Sure, I created a full course just for this, which takes you through the process step-by-step: m.academy/courses/magento-2-development-environment-docker/
Вітання із України 🏳🌈
Ласкаво просимо зі США!
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.
I'm a business owner and I totally agree with what you said! I had Magento 1 with a theme from Envato and to be honest Envato customer service interface with their 3rd party developers sucked. If the person that developed the theme just dropped off the face of the earth Envato didn't stand behind anything and you were just left out in the cold. Your only option was to try to get another theme or pay someone to fix the problems. Now I'm on Magento 2 and I'm not even using a theme. It's all custom code.
Yea, definitely avoid these themes like the plague!
Understand easily ... Thanks
You're welcome, glad you liked it!
Thank you so much! Lesson content locked :S
Sorry about that... did some reorganizing and forgot about this one. Just unlocked it for you!
Can you run docker-magento in Windows?
Though I don’t officially support it, you can, and many have with WSL2. You can see the Discussion thread about it for more info at github.com/markshust/docker-magento/discussions/372
@@MarkShust Thank you for getting back to me!
@@sul-dev sure thing!
If you are having trouble checkout ddev. Got your setup up and running, however I switched over to ddev and that's been a bit easier to get stood up!
hello, it's very useful for me. Thanks! I have a question: when I reboot my computer, when I input the magento.test on the browser, it display 403 error. Every time I should execute the bin/setup magento.test?
Very well done, thanks mark to be part of this community !
Thanks a lot Florian!
Thank you so much for this ! You're making me save so much time !
Sure thing 😎
I was about to go download plugins to do this lol thanks Mark
Ha... I've done stuff like that before! 😅
Hi Mark. Here I am again with another question. My friend has an Abode Enterprise and he setup his local successfully. Then he zip his vendor folder and send me. Can I replace that with my vendor. Do I need to run any commands to make it works. I only use this for my local dev. Thank you very much
Hi Ethan, this is the entirely wrong workflow to use with Composer. There is no need to copy & paste the vendor folder around -- simply run "bin/composer install" from the command line. This will use the composer.json and composer.lock file to install the related modules.
@@MarkShust I mean I already install Magento following your tutorial. But my friend has Magento version Enterprise. So, I can simply copy his composer.json and composer.lock, then run command 'bin/composer install'. Does this work 😂
@@Ethan-n2z yep 😄. You’ll probably just need his composer auth.json info to authenticate against the enterprise repo.
@@MarkShust Ohhh, that's too bad, I don't have auth.json 😭😭😭 Is there a workaround that I can do with his vendor folder?
@@Ethan-n2z no, I'm not recommending that way because it makes no sense :) Get the auth.json from your coworker and set this up the right way! Copying the vendor directory around is all kinds of horribleness and wrong.
Hi mark, i am facing this issue in my container logs, [Error] APM: Locking APM for 300 seconds for reason: Cannot connect to the agent" can you please guide?
Hi Hallar, I'm sorry I have not had this issue, but it was reported in the past. Please see github.com/markshust/docker-magento/issues/700 and follow up with any additional info that would help us resolve this unique error. Thanks! -M
Give me step by step video
I have a completely free step-by-step course available at m.academy/courses/magento-2-development-environment-docker/
Hi Mark, Unbelievable job of yours , great! I get this error, what can i do? I am a real beginner. <3>WSL (10) ERROR: CreateProcessEntryCommon:505: execvpe /bin/bash failed 2 <3>WSL (10) ERROR: CreateProcessEntryCommon:508: Create process not expected to return
Hey Gerwin, thanks! There isn't official WSL support which is probably why 😅. However, many are running this setup with WSL2 and I'd recommend checking out the discussion on GitHub at github.com/markshust/docker-magento/discussions/372 for more info related to this setup. I don't run Windows, so I'm sorry that I won't be much help here. Hope this helps! -M
Would love to see a Deployment Course. Like setting up a proper git repository for your local development or development stage. Or even intro to headless?
A deployment course has been pretty highly requested by my students, so it's solidly in my queue of upcoming courses that I'll be building for my University students 👍
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!
thanks dude ,
Sure thing, you're welcome!
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 👍
Glad you like it Anand!