Custom Backend and API in WordPress

Building a Custom Backend and API with WordPress

David Welch API Development, Articles, JavaScript, Programming, Tutorial Leave a Comment

You love frontend JavaScript frameworks, but your client wants a WordPress website… Don’t worry, you can do both! Let’s build a custom backend and API with WordPress!

WordPress provides an out-of-the-box CMS solution that can be customized very easily to fit many different types of projects. You’re not just stuck with blog posts and web pages, either.

In this post, I’m going to show you how you can use a very popular plugin called Advanced Custom Fields (ACF) plus some custom code to create your own content and API endpoints for your fancy new frontend to consume while allowing your client to keep using what they love.

Dynamically Localizing a WPF Application at Runtime

Tim Williams Articles, Programming, Tutorial Leave a Comment

Today, almost every facet of life deals with technology. Because of this, there is a necessity for applications to be accessible and usable by all people around the world. This means that software developers write need to provide a tailored experience for the end-users that is easy to use, provides output, and effectively captures user input. One important part of that process is localization, which will be explained later on.

The main focus of this article is to provide a solution for localizing a WPF application at runtime. This allows users of the application to change the culture/language of the UI elements through interactions, such as button clicks or menu items.

Using Equivalence Class Partition and Boundary Value Analysis while Unit Testing

Joseph Pasmore Articles, Programming, Testing Leave a Comment

The value of writing tests for code, especially unit tests, is clearly evident. Testing enhances software quality, improves security, inspires customer satisfaction, and most of all, saves the company money. Catching errors in the development phase before they reach production can save a company thousands.

I wanted to share a couple of the strategies I’ve followed in my career when it comes to writing unit tests. We’ll start with Equivalence Class Partitioning and finish with Boundary Value Analysis. While they are different, they can be used together to help make sure you’re writing the best unit tests you can write.

C# 10 new features

LINQ Improvements in C# 10

Adam Wright Articles, C#, Development Technologies & Tools, Programming Leave a Comment

C# 10 was released in November of 2021, and it came with a host of new features. Some of the features that you may have heard of include file-scoped namespaces, global usings, target-type new expressions, record improvements, and many more. Several new extension methods have been added to LINQ as well including MaxBy, MinBy, DistinctBy, IntersectBy, ExceptBy, and UnionBy.

In this post, we will take a look at the aforementioned new C# 10 features and how they work.

JASMINE SPIES UNIT TESTING

Unit Testing Using Jasmine Spies

Todd Leininger Articles, Development Technologies & Tools, Programming, Testing, Tutorial Leave a Comment

Unit testing is an important part of the development process. It gives us the ability to know that our code is working as intended and can also let us know if we may have broken something that we didn’t even think of.

With the help of Jasmine Spies, we can make our test setup easier, and we can give ourselves more options for what we can test against. Hopefully, this will give you a good starting point for all your Jasmine spying needs!