mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

811
active users

#designpatterns

0 posts0 participants0 posts today

See how to iterate a composite dataset without exposing its internal logic. Its a combination of the composite and Iterator design patterns while implementing an office furniture system. It uses workstation as a composition of office chair, desk and cabinet.

Read More...👇
muwangaxyz.medium.com/composit

Composite and Iterator Design Pattern Combination in TypeScript — Mohammed Muwanga — Web Development
Medium · Composite and Iterator Design Pattern Combination in TypeScriptBy Mohammed Muwanga

Create maintainable and scalable code using a strongly typed Typescript by combining abstract factory method and proxy design pattern. I have just implemented them using an online office furniture system with chairs, desks and sofa creation.

Here is how👇

muwangaxyz.medium.com/combinin

Combining Abstract Factory Method and Proxy Design Pattern Using TypeScript — Mohammed Muwanga
Medium · Combining Abstract Factory Method and Proxy Design Pattern Using TypeScriptBy Mohammed Muwanga

We have a "rules engine" in a database. Another application uses it for a specific task.

The rules are ranked just like a "search engine".

There's no real apparatus to regression test this thing when you update a rule.

Did it break another rule? I don't know. I can't manually test all possible permutations of each rule. That's what automation is for.

I need something .. to test all this.

Recommendations?

Feels like this is designed....bad