Programming Tips 💡
54.3K subscribers
66 photos
8 videos
30 files
339 links
Programming:
Tips 💡
Articles 📕
Resources 👾
Design Patterns 💎
Software Principles

🇳🇱 Contact & Ads: @MoienTajik
Download Telegram
Service boundaries identification example in e-commerce

The code residing in system services might be perfect, but it doesn’t really matter if service boundaries are identified incorrectly, since there is no Business-IT alignment, that both DDD and SOA are striving for. And it means inevitable project failure ...


[ Article ] : kutt.it/BContext

〰️〰️〰️〰️〰️〰️
#DDD #BoundedContext #Architecture
@ProgrammingTip
Event Modeling: What is it

Story telling is something that enables humans to pass knowledge on to subsequent generations and relies heavily on how we store memories - whether logical, visual, auditory or other. This is important because there is a parallel with how information systems were constructed. There is a “memory” of all your visits to the doctor. It’s the ledger of the forms that are filled in with each visit. 🧠

Specifications by example are a way to show how something is supposed to work. This can be seen in successful practices in software such as Behaviour Driven Development. This works well because we communicate by stories more effectively. It ties back to story telling as a way to keep information in society. Our brains are built for it more than they are built for flow-charts and other formats.


[ Article ] : kutt.it/EventModel

〰️〰️〰️〰️〰️〰️
#EventModeling #EventStorming
@ProgrammingTip
Understanding The Mindset of Event Sourcing 🧠

As Event Sourcing (ES) becomes more and more mainstream, usually bundled with DDD and CQRS, it's important for domain modellers, application architects and etc to understand the paradigm behind the recipe.

In the 'classical' approach, the domain state is seen as a data structure or a collection of data structures (entities data). 🗂

In ES we see the domain state as a collection of changes. ♻️

You may wonder how we've got here and why this is the preferred way of working for many DDD practitioners ⁉️


[ Article ] : kutt.it/Es

〰️〰️〰️〰️〰️〰️
#EventSourcing
@ProgrammingTip
Never Serve Raw Chicken! 🍗

The issue with raw chicken is that you might get sick from eating it. Chefs serving raw chicken are generally considered unprofessional. 🤷🏻‍♂️

That’s why professional chefs don’t deliver raw chicken. Professional chefs don’t want to harm their customers and their business. Professional chefs take pride in what they do!

If the restaurant was a Scrum Team, the owner would be the Product Owner, the chefs would be the Development Team and the businesswoman would be their user.

The raw chicken burger would be an Increment of a product that isn’t done. Development Teams delivering Increments that aren’t “Done” are generally considered unprofessional.

[ Read More ] : kutt.it/raw-chicken

〰️〰️〰️〰️〰️〰️
#Scrum #Agile #DoD
@ProgrammingTip
Bounded Context Canvas V3: Simplifications and Additions

How do we break a large system into smaller, more manageable modular components? This article describing a workshop recipe you can use. 🗂

In Domain-Driven Design, a large system is decomposed into bounded contexts, which become natural boundaries in code as microservices and as teams in the organisation. 🏢

There is no shortcut to identifying good boundaries. Both a wide and deep knowledge of the business and domain is essential.


[ Article ] : kutt.it/bc-canvas

〰️〰️〰️〰️〰️〰️
#DDD #BoundedContext
@ProgrammingTip
EasyCompressor 📦

EasyCompressor is an open-source compression abstraction library that supports and implements many compression algorithms such as Zstd, LZMA, LZ4, Snappy, Brotli, GZip and Deflate. 🗂

It is very useful for using along with Distributed Caching or storing files in database.

[ GitHub ] : github.com/mjebrahimi/EasyCompressor

〰️〰️〰️〰️〰️〰️
#Compression #CSharp #DotNet
@ProgrammingTip
Domain-Driven Design: A Recipe for a Pragmatist 🦒

Why are DDDs usually approached from the wrong side? And which side do you want? What do giraffes and platypuses have to do with all this?

In this article, I will tell you what Domain-Driven Design is and what is its essence.

[ Article ] : kutt.it/ddd-recipe

〰️〰️〰️〰️〰️〰️
#DDD
@ProgrammingTip
Blazor WebAssembly 3.2.0 now available 🚀

I’m thrilled to announce that Blazor WebAssembly is now officially released.

This is a fully-featured and supported release of Blazor WebAssembly that is ready for production use.

Full stack web development with .NET is now here! ⚡️

[ Article ]: https://devblogs.microsoft.com/aspnet/blazor-webassembly-3-2-0-now-available/

〰️〰️〰️〰️〰️〰️
#Blazor #DotNet #Core
@ProgrammingTip
Bootstrap 5 alpha! 🎉

Bootstrap
is one of the open source that many developers love, including me. So what do we expect of the new changes when Bootstrap 5 is released?

Features :
• jQuery removed
• Updated forms
• Enhanced grid system
• CSS custom properties by dropping support for Internet Explorer

Comming soon: RTL, offcanvas, and more 💎

Head to https://v5.getbootstrap.com to explore the new release. 🔥

〰️〰️〰️〰️〰️〰️
#Bootstrap #CSS
@ProgrammingTip
The S.O.L.I.D Principles in Pictures 🤖

There are so many great articles online about SOLID but I rarely see any examples with pictures. This makes it a bit difficult for visual learners like me to learn while staying engaged.

So the main aim of this article is to get a better understanding of these principles using illustrations and emphasizing the goal for each principle. 🌈

[ Article ] : kutt.it/solid

〰️〰️〰️〰️〰️〰️
#SOLID #Principles
@ProgrammingTip
Why I created another React component library 🌈

[ Article ] : https://kutt.it/ARC
[ Github ] : https://github.com/sha-el/sha-el-design

〰️〰️〰️〰️〰️〰️
#React #JavaScript
@ProgrammingTip
Secrets of a .NET Professional 👾

In this post, we’ll go through technical and non-technical ideas that have helped me through some of my toughest projects.

[ Article ] : https://kutt.it/DotSec

〰️〰️〰️〰️〰️〰️
#DotNet
@ProgrammingTip
Awesome Microservices .NET Core Resources 😎

The best resources for Microservices in .NET Core 👾

[ Github ] : kutt.it/dotnet-aws

〰️〰️〰️〰️〰️〰️
#DotNet #DotNetCore #AspNetCore #Microservice
@ProgrammingTip
PLURALSIGHT FREE WEEK IS HERE! 💎

In honor of our annual technology skills conference Pluralsight LIVE, we’re making our full library of video courses on machine learning, IT Ops, software development, security, cloud and more free for the week.

Sign up now to create your free Pluralsight account and get ready for your week of unlimited upskilling. 🔥

Your free Pluralsight access will expire Sunday, October 18th at 11.59 p.m. MT.

https://www.pluralsight.com/free

〰️〰️〰️〰️〰️〰️
#Pluralsight #Course
@ProgrammingTip
Working with Expression Trees in C# 🗂

Expression trees is an obscure, although very interesting feature in .NET. Most people probably think of it as something synonymous with object-relational mapping frameworks, but despite being its most common use case, it’s not the only one. There are a lot of creative things you can do with expression trees, including code generation, transpilation, metaprogramming, and more.

In this article I will give an overview of what expression trees are and how to work with them, as well as show some interesting scenarios where I’ve seen them used to great effect.

[ Article ] : kutt.it/exptree

〰️〰️〰️〰️〰️〰️
#CSharp #Expressions
@ProgrammingTip
Why You Shouldn’t Use OFFSET and LIMIT For Your Pagination

[ Article ] : kutt.it/paginate

〰️〰️〰️〰️〰️〰️
#SQL #Pagination
@ProgrammingTip
DDD, Hexagonal, Onion, Clean, CQRS, … How I Put It All Together 🚀

I start by recalling EBI and Ports & Adapters architectures. Both of them make an explicit separation of what code is internal to the application, what is external, and what is used for connecting internal and external code.

Furthermore, Ports & Adapters architecture explicitly identifies three fundamental blocks of code in a system:

What makes it possible to run a user interface, whatever type of user interface it might be.

- The system business logic, or application core, which is used by the user interface to actually make things happen.

- Infrastructure code, that connects our application core to tools like a database, a search engine or 3rd party APIs.


[ Article ] : kutt.it/Archs

〰️〰️〰️〰️〰️〰️
#Architecture #Design
@ProgrammingTip
How to roll your own VPN | WireGuard Tutorial 🔐

WireGuard® is a fast, free, and open-source VPN connection protocol. By hosting your own VPN with Wireguard and Linode, you have total control over your security and privacy.

[ YouTube ] : youtube.com/watch?v=Q1I6-clkQmQ

〰️〰️〰️〰️〰️〰️
#VPN #WireGuard
@ProgrammingTip