Two weeks ago Taco, Patrick and I went on a trip to the US of A to visit Philadelphia for the first ever WordCamp US. There are a lot of topics to cover, but in this article I'll highlight some of my experiences as a developer taking part in WordCamp US and the WordPress Community Summit.
I was honored to be invited to the Community Summit. If you don't know what it is, the WordCamp US website explains it very well:
... the Community Summit is a smaller, work-focused event. ... The participant pool will be people who most actively contribute to the WordPress project.
It is also a safe space, so while I won't share things we've discussed in depth, I will talk about my own experience.
The topics that people proposed are publicly available on the WordCamp US website, all topics were very interesting so it was almost impossible to choose which I wanted to participate in. Discussing important topics with fellow WordPress contributors was very enlightning and educating. It gave me new perpectives that I hadn't considered before and it really humanizes to have someone discuss their views with you.
On the community summit working day, everyone came in, sat down and started working. It felt like everybody in that room knew how to do what they came to do. I wanted to discuss something with Taco a few times but he and the other members of the polyglot team were so concentrated that I decided to talk with him later, because I didn't want to interrupt them.
The JS documentation is very poor, but that's because the inline documentation in WordPress is poor. I digged into the code to find out what we need to fix and prepared a make/core post containing my results and some suggestions for improvement. Because of the auto reparsing of my mirror we can easily see improvements once we improve the inline documentation.
WordCamps are an awesome place to meet new people and to greet friends. WordCamps are just as awesome for ideas, getting new ideas or reinforcing old, lingering ones. When you start visiting WordCamps you will mainly be introduced to new ideas, but if you've been to a lot of WordCamps already, most ideas will be things you have already heard before but haven't given enough thought yet.
Introduction to WordPress unit testing
This talk by Carl Alexander dug up an already existing idea and made it stronger. I expected this talk to be about integration testing. This is because most WordPress unit testing isn't actually unit testing. With unit testing you're testing a small unit of code to verify it works as you expect it to. Integration testing tests more parts in the code. The first time I realized this was when I watched Ptah Dunbar's talk: Unit Testing like a Pirate at the first WordCamp Europe.
Luckily for me this talk wasn't about integration testing, it was making the same point as I just did: WordPress and most WordPress plugins have integration tests but lack unit tests.
What is unit testing? It's testing at the smallest scale.
This is something I have been thinking about for a long time and something we also struggle with at Yoast. Currently the Yoast SEO tests take 14s on my really fast laptop and that is nothing compared to the WordPress test suite, but how long does it take for a developer to check their timeline while they're waiting?
Improving speed and consistency of our tests is something we definitely want to improve. This way we will be able to remove the WordPress dependency from our unit tests in the future.
After seeing the talk "Robots Write the Docs" by Luke Woodward, I was really inspired to start working on the parser again. When he showed up at the contributor day and wanted to work on the parser as well, I was overjoyed. He already had a patch ready to support namespaces in the parser and after some changes I merged that into the parser.
Eric Mann was working on making it possible to import JSDoc output into WordPress as post types, because that is how DevHub works right now. The reason for custom post types is also clear to me now. I guess people want to work in WordPress since they have experience in that. In contrast to the flat HTML files that phpdocumentor and JSDoc produce, a WordPress site with posts is much more approachable for most WordPress developers.
WordCamp US was a very productive conference where I learned a lot, met a ton of interesting people and had a lot of fun. This was the first community summit I attended and it was a blast. It really highlighted the part of the WordPress community I love: People focused. WordPress is the community.
Coming up next!
- Stay tuned Keep an eye on our site and social media to stay up-to-date. See where you can find us next »
- Stay tuned Keep an eye on our site and social media to stay up-to-date. All Yoast SEO webinars »