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
I had an opportunity to attended React Native EU 2017 conference last month. This 2 days long event took place in my hometown Wrocław, Poland. It was a very interesting experience for me because I’m a frontend developer. I don’t have any working experience with React Native and the only mobile project I worked on was built using Apache Cordova. Anyway, I found many of the talks very attractive and I wanted to highlight some of them in this post.
Continue reading React Native EU 2017 – my selective recap
Visiting Japan is definitely a unique experience. With my wife, we went there directly from the trip to Sri Lanka in July 2016. We have been travelling between numerous cities for 10 days. First we rode between Tokyo and Kobe by the famous bullet train Shinkansen. Then we spent one night in an historical Ryokan with hot springs in the Arima Onsen area located behind the Mount Rokko. We also visited two old capital cities Kyoto and Nara. Finally we had a chance to see Mount Fuji hidden behind the clouds from a Shinkansen car’s side window on our way back to Tokyo.
Continue reading Central Japan with Shinkansen
Software testing helps protect code from incoming bugs and improves general quality of the functionalities exposed to the users. When you look at it from the developer’s standpoint the first thing that comes to mind is unit testing. However it turns out tests come in many flavors. I have already shared in the recap from Advanced TDD workshop with Uncle Bob what kinds of tests a professional team should use to ensure that the application remains intact. The following items create a hierarchy:
Continue reading Different types of software testing