Do you know Magento 2 UI Components well enough?

  Рет қаралды 6,468

Max Pronko

Max Pronko

Күн бұрын

Magento 2 Developer Training, New York, May 23-24, 2019 - www.maxpronko....
Check my online course Payment Integration in Magento 2: www.maxpronko....
Subscribe to my channel for more videos!
--
Connect with me over the social channels:
Twitter: / max_pronko
Website: www.maxpronko.com
Instagram: / maxpronko
Medium: / maxpronko
Facebook: / maxpronkocom
Business Enquiries: www.pronkocons...

Пікірлер
@themrmichael187
@themrmichael187 5 жыл бұрын
Thank you, it is a good example! As far as I know we can not provide a standard "block" class in layout (\Magento\Framework\View\Element\Template) since Magento 2.2.2 if we're using view model feature. But for compatibility with early versions we should do that.
@MaxPronko
@MaxPronko 5 жыл бұрын
There are no limitations to whether you would like to use Block or ViewModel in layout. My preference is to get rid of blocks in my extensions as much as it is allowed. For Magento 2.1 support we would still have to use Blocks, however end of life 2.1 is pretty soon, couple of months from now.
@fxs2008
@fxs2008 5 жыл бұрын
Hi Max! Can you show how to create modals with Ui components? For example, when you create/edit product and click on add attribute the modal is shown, and when you create new attribute the second modal is shown. But these modals made partially by php classes, can you show how to do it with only Ui component xml? Thanks in advance!
@asmahawari2328
@asmahawari2328 4 жыл бұрын
that was so useful , thank you so much , can you please make a video for how to handle fields dependences ( when we have field depends on a specific select value in another field ) in Ui component , like the one in vendor/magento/module-catalog/view/adminhtml/ui_component/product_attribute_add_form.xml , i can't understand the js behind this behavior and the relation between the files ( strategy.js and input.js for example )
@farhansulman1956
@farhansulman1956 5 жыл бұрын
Hi max, can you please make a video on how we can use react js in magento 2+
@alfonzito3164
@alfonzito3164 5 жыл бұрын
Hello Max, great video, A quick question: I have a working problem with Magento 2.3 and I like to know if have crossed with this issue. After installing Magento 2.3 (Out of the box) created a feel of categories and products, add to cart and make a purchase, I try to make another purchase but the cart and checkout URLs given me a 404 error, I have to clean cache to the checkout work again! Do you know what is this happening? Thanks.
@thomasgrab
@thomasgrab 5 жыл бұрын
Do you have to push static-content every time you make changes to html file??? or is it best to work on the static html file itself ????
@MaxPronko
@MaxPronko 5 жыл бұрын
Not really, if you have a grunt configured on your dev environment, less files are updated automatically
@thomasgrab
@thomasgrab 5 жыл бұрын
Max Pronko Hi Max thanks for your reply, not quite what I meant though. I have grunt and working on less files isn’t a problem it’s just when I create html file for UI component, it doesn’t automatically appear in pub static ... etc folders, I have to push static content, then the file appears in pub static folders but, when I try to make changes to the html file located in my module, the changes are not reflected on the screen, the html file in pub static folder is not being updated, after I make changes to html file in module I then have to re push static files so that the one within pub static gets updated
@thomasgrab
@thomasgrab 5 жыл бұрын
So the question was, do I need to re push static content to update contents of html file all the time? Or best way is to work on the file inside of pub static folders directly and then just copy all code into the same file but inside module?
@dmitruksergiy5702
@dmitruksergiy5702 4 жыл бұрын
Thanks a lot!
@crazier192
@crazier192 5 жыл бұрын
Question: I see the @noEscape in your template, should we use escapseJs instead?
@themrmichael187
@themrmichael187 5 жыл бұрын
Good question
@MaxPronko
@MaxPronko 5 жыл бұрын
I am confident that the JSON data I've prepared is a valid JSON :). However feel free to use escapeJs() method.
@themrmichael187
@themrmichael187 5 жыл бұрын
Yes, it's true, I think escapseJs() is not needed. I have not even seen this escapseJs() method yet in Magento))
@SoftwareEngineerWhoCooks
@SoftwareEngineerWhoCooks 3 жыл бұрын
Can you please provide me with URLs to your videos where I can understand UiComponent. Especially the structure, how to work with UiComponent, create them, from basic?? I am absolutely lost with UiComponents -_-
@MaxPronko
@MaxPronko 3 жыл бұрын
Don't go to UI Component side, it is very complicated. Please search on KZbin for my other videos.
@Eskimoz
@Eskimoz 5 жыл бұрын
Merci
@vinittamoli8197
@vinittamoli8197 4 жыл бұрын
How to access config.xml value in ui admin form in magento 2 ? @max
@MaxPronko
@MaxPronko 4 жыл бұрын
From Stores - Configuration page
@vinittamoli8197
@vinittamoli8197 4 жыл бұрын
@@MaxPronko I want to do it with code
@MaxPronko
@MaxPronko 4 жыл бұрын
What exactly?
@vinittamoli8197
@vinittamoli8197 4 жыл бұрын
@@MaxPronko I have a system.xml file and I fix value of this file in config.xml and I want to access these value through code in ui form. How I can do this?
@MaxPronko
@MaxPronko 4 жыл бұрын
scopeConfig->getValue()
TOP 3 Features Shipping Suite Ultimate Extension
8:47
Max Pronko
Рет қаралды 303
Magento 2 View Model
15:14
Max Pronko
Рет қаралды 7 М.
Кровавый лидер #сталин #китай #мао
00:55
Послезавтра
Рет қаралды 3,5 МЛН
Strange dances 😂 Squid Game
00:22
عائلة ابو رعد Abo Raad family
Рет қаралды 29 МЛН
How to create Unit Tests for a Magento 2.3 module
14:26
Max Pronko
Рет қаралды 8 М.
The Magento Mini Cart UI: HTML, PHTML & KnockoutJS Customisation
24:59
Another Magento Dev
Рет қаралды 1,2 М.
All you need to know about Unit Tests and Magento 2
19:27
Max Pronko
Рет қаралды 4,9 М.
Get Hired in Magento 2! Joseph Maxwell Reveals 8 Tips for Job Interview Success!
15:09
SwiftOtter—support for eCommerce managers
Рет қаралды 1,3 М.
12VHPWR on RTX 5090 is Extremely Concerning
20:36
der8auer EN
Рет қаралды 17 М.
Magento 2 Color Swatches Custom Validation with JavaScript Mixin
21:01
5 key CONCEPTS to be a PROFESSIONAL Magento 2 developer
15:18
Max Pronko
Рет қаралды 12 М.
Elon Musk spectacularly confirms Department of Education no longer exists
6:23
Sky News Australia
Рет қаралды 2,1 МЛН
What if all the world's biggest problems have the same solution?
24:52