It’s been a while since I gave a talk at the WordSesh APAC online conference in March 2020. Initially, I had nearly the same presentation prepared to deliver on the stage at the first-ever WordCamp Asia event a few weeks earlier. Unfortunately, the conference got canceled due to the COVID-19 pandemic concerns, and I didn’t have a chance to visit Bangkok, Thailand.
Continue reading WordSesh APAC 2020
My lighting talk from the WordCamp India online event is now available on YouTube. I presented how to make the most of the scaffolding command, which will let you save hours when building the first block. I also talked about the set of WordPress block development tools from the team behind Gutenberg that was designed to make the whole experience more streamlined.
The presentation was largely inspired by an article published on my blog two months ago. If you prefer reading, check out the How to Start Block Development with Scaffolding post.
Continue reading WordCamp India 2021
Can you believe that it’s been two years already when Gutenberg got included in the WordPress core? In the meantime, the block editor has matured significantly. Using blocks steadily remains the primary approach to enrich the way users create content with WordPress. Some new exciting options let you defer the decision to build custom blocks. Those are among others Block Directory, block patterns, or the preexisting reusable block feature. Indeed, they speed up the process of publishing posts and pages. However, I don’t plan to discuss here these types of capabilities.
Instead, I want to focus on the case when you decide to build a block. You might ask, why would you want to do it? Before anything else, it can be just for fun or to learn what the block editor has to offer. Later, it usually doesn’t take much time to discover that the WordPress core is missing a service integration you want or a layout element you often use. In the future, possibilities will become endless when the block-based full site editing rolls out.
Continue reading How to Start Block Development with Scaffolding
A first WPBlockTalk live event happened two weeks ago, and it was a blast! You could see speakers from all across the WordPress community, from theme designers to plugin developers to the people who’ve been key to designing and developing the block editor itself. I played my role in it, and you can already watch two talks where I appeared.
Continue reading WPBlockTalk April 2020
Continue reading Adding Formatting Buttons to the Block Toolbar in Gutenberg
We explored how to customize format controls like bold or italics and extend the block toolbar with your control allowing to change the color of the selected text.
WordPress has always been recognized as a very welcoming platform for developers at any level of expertise. The block editor introduced in WordPress 5.0 release is not only an entirely new editing experience for users, but it also redefines the way plugins and themes are developed.
Continue reading Starter kit and reusable scripts
- Simpler API, less boilerplate code.
- Flexible and easy configuration.
- Test files executed in isolation.
- Advanced watch mode.
- Snapshots support = easier start with testing.
- Code coverage.
- Another migration.
- Mocha has still a bit better performance (according to my quick tests).
My analysis got very positive feedback, with only a few little concerns, so I got encouraged to take action and verify the assumptions stated. I picked two different projects to play with to ensure both of them will uniformly benefit from using Jest.
Continue reading Migrating to Jest test runner