TGViewer
Channel Public Channel
Programming & AI Tips 💡

Programming & AI Tips 💡

@programmingtip

Programming & AI:
Tips 💡
Articles 📕
AI & LLMs 👾
Design, Architecture, Principles ✅

🇳🇱 Contact: @MoienTajik
Subscribers
46.4K
Photos
67
Videos
11
Links
374

Showing posts older than #534 · Back to latest

Older Posts 20 shown
Post #533 27.7K
ASP.NET Core Developer RoadMap in 2019 🔥

Below you can find a chart demonstrating the paths that you can take and the libraries that you would want to learn to become a ASP.NET Core developer. ✨

I made this chart as a tip for everyone who asks me, " What should I learn next as a ASP.NET Core developer❓" ✅

If you like or are using this project to learn or start your solution, please give it a star. ⭐️ Thanks❗️


https://t.me/pgimg/191

[ Github ] : kutt.it/AspNetCore

〰️〰️〰️〰️〰️〰️
#AspNetCore #Roadmap
@ProgrammingTip
Telegram Programming Tips Resources
Post #532 23.5K
ddd_first_15_years.pdf26.6 MB
Domain-Driven Design: The First 15 Years ⚡️

Fifteen years after the publication of "Domain-Driven Design: Tackling Complexity in the Heart of Software" by Eric Evans, DDD is gaining more adoption than ever. 🔥

To celebrate the anniversary, we've asked prominent authors in the software design world to contribute old and new essays. 💎

〰️〰️〰️〰️〰️〰️
#DDD #DomainDrivenDesign
@ProgrammingTip
Post #530 18.5K
“You know nothing , Engineers” — HTTP [Patch] 🤷🏻‍♂️

I
believe, HTTP Patch is completely misunderstood by us ( At least by some of us ). 🤔

A PATCH request is one of the lesser-known HTTP methods, but I'm including it this high in the list since it is similar to POST and PUT. ↔️

The difference with PATCH is that you only apply partial modifications to the resource. ⚡️

The difference between PATCH and PUT, is that a PATCH request is non-idempotent (like a POST request). ✅


https://t.me/pgimg/190


[ Article ] : kutt.it/ptch

〰️〰️〰️〰️〰️〰️
#HTTP #PATCH
@ProgrammingTip
Telegram Programming Tips Resources
Post #529 18.9K
New horizons in CSS: Houdini and the Paint API 🌈

The way we write CSS is about to change. No, I don’t mean you have to change how you write your styles, but we as developers are about to get a lot more control. 💪🏻

What am I talking about❓That would be the CSS Houdini spec and the new browser APIs that are coming out as a part of it. ✅


https://t.me/pgimg/189


[ Article ] : kutt.it/papi

〰️〰️〰️〰️〰️〰️
#CSS #PaintAPI
@ProgrammingTip
Telegram Programming Tips Resources
Post #527 19.1K
Reinforced.Typings ⚡️

Converts C# classes to TypeScript interfaces (and many more) within project build. 💎

Examples ✨ :

C#
♥️ :

[TsInterface]
public class Order
{
public string ItemName { get; set; }
public int Quantity { get; set; }
public double Subtotal { get; set; }
public bool IsPaid { get; set; }
public string ClientName { get; set; }
public string Address { get; set; }
}

[TsClass]
public class User
{
public string FirstName { get; set; }
public string Email { get; set; }
public UserType Type { get; set; }
}

[TsEnum]
public enum UserType { One, Two }


Result => TypeScript 💙 :

export interface IOrder
{
ItemName: string;
Quantity: number;
Subtotal: number;
IsPaid: boolean;
ClientName: string;
Address: string;
}

export class User
{
public FirstName: string;
public Email: string;
public Type: MyApp.UserType;
}

export enum UserType {
One = 0,
Two = 1,
}


https://t.me/pgimg/188


[ Github ] : kutt.it/csts

〰️〰️〰️〰️〰️〰️
#CSharp #TypeScript
@ProgrammingTip
Telegram Programming Tips Resources
Post #526 19.7K
Auto Rest ✨

OpenAPI
(f.k.a Swagger) Specification code generator. 💎

Supports C#, Go, Java, Node.js, TypeScript, Python, Ruby and PHP. 🔥

The AutoRest tool generates client libraries for accessing RESTful web services. ⚡️

Input to AutoRest is a spec that describes the REST API using the OpenAPI Specification format. ✅


https://t.me/pgimg/187

[ Introduction ] : kutt.it/ares
[ Github ] : github.com/Azure/autorest

〰️〰️〰️〰️〰️〰️
#Rest #API #OpenAPI #Swagger
@ProgrammingTip
Telegram Programming Tips Resources
Post #523 19.3K
Domain Driven Design - Clear Your Concepts Before You Start ✨

What we traditionally do when we start a business application❓

We read the spec and find the functionalities. We break down tasks. ✅

We do the estimation. We distribute the works among team members. We design the database schema - sometimes by the team leader or sometimes by the respective developer. We start coding. 💻

So❓ What’s wrong with this approach❓We have been doing good❗️Don’t we❓

The answer is YES and NO❗️Yes we are doing good in delivering our projects. But NO❗️
We are not doing good in maintaining and extending our projects. 🤦🏻‍♂️

Think about all of the projects you have worked last few years in the traditional approach. Did you ever face any of the issues below ? 🤔

Your project has the same functionality implemented in the same way or different in different places. 👥

You have more than one object for the same item. ❌

You have objects that have properties that are not actually attributes of that object. 🙅🏻‍♂️

You have no or very poor relationship among related items. ↔️

Looking at your objects it is not possible to understand what actually the whole application is all about. 🤷🏻‍♂️


https://t.me/pgimg/184

[ Article ] : kutt.it/ddda

〰️〰️〰️〰️〰️〰️
#DDD #Architecture
@ProgrammingTip
Telegram Programming Tips Resources
Post #522 17.2K
FAQGURU 🚀

A list of interview questions. ⁉️

This repository is everything you need to prepare for your technical interview. ✅

A collection of super-popular Interview questions, along with answers, and some code-snippets that will help you to prepare for technical interviews. ✨

Many of these questions a real questions from real interviews. 🤙🏻


https://t.me/pgimg/183

[ Github ] : kutt.it/faqg

〰️〰️〰️〰️〰️〰️
#Interview #Job
@ProgrammingTip
Telegram Programming Tips Resources
Post #521 17K
Boost Your Vue.js Workflow With Vue CLI 3 ⚡️

We can hardly imagine modern web development without the help of Command-Line Interface (CLI) tools. 💻

They tremendously facilitate and speed up the development workflow by reducing the amount of repetitive and tedious tasks. ✅

Setting up a project manually, with all the linting, building, testing, preprocessing, optimizing, and dependency tracking features, doesn't sound like a fun job, does it❓

That's why all modern client-side development frameworks (such as Angular, React, etc.) offer their own version of CLI tools, and Vue.js is no exception. 💎

But with its latest third version, Vue CLI is going one step ahead of the others. ✨

It's now not only highly powerful and flexible, but also comes with a full-blown GUI. 🌈

Yeah, you heard right. Vue CLI 3 offers a full graphical user interface out of the box. 🌀


https://t.me/pgimg/182

[ Article ] : kutt.it/vcli
[ Website ] : cli.vuejs.org

〰️〰️〰️〰️〰️〰️
#Vue #JavaScript #CLI
@ProgrammingTip
Telegram Programming Tips Resources
Post #518 20.3K
​​Notify Your Angular App Using SignalR 🔥

In this small article we'll walk you through how to create a notification service using .NET Core 2.0 Web Api, .NET Core SignalR & Angular. 💎

Let’s get into business. ✨


[ Article ] : kutt.it/ngnoti

〰〰〰〰〰〰
#AspMvc #Core #Angular #SignalR
@ProgrammingTip
Post #516 19.6K
Clean Architecture with ASP.NET Core 2.1 🦋

The explosive growth of web frameworks and the demands of users have changed the approach to building web applications. 🌐

Many challenges exist, and getting started can be a daunting prospect. Let's change that now. ✅

This talk provides practical guidance and recommendations. 💎

This video will cover architecture, technologies, tools, and frameworks. We will examine strategies for organizing your projects, folders and files. ⚡️

We will design a system that is simple to build and maintain - all the way from development to production. You leave this talk inspired and prepared to take your enterprise application development to the next level. 🔥


https://t.me/pgimg/180

[ Video ] : kutt.it/cav
[ Source Code ] : kutt.it/cag

〰〰〰〰〰〰
#AspNet #Core #CleanCode
@ProgrammingTip
Telegram Programming Tips Resources
Post #512 16.5K
Pose 👥

Replace any .NET method (including static and non-virtual) with a delegate. 💎

It is similar to Microsoft Fakes but unlike it Pose is implemented entirely in managed code (Reflection Emit API).✨

Everything occurs at runtime and in-memory, no unmanaged Profiling APIs and no file system pollution with re-written assemblies.⚡️


Example Usage 🔥:

Shim static property getter
⏱:

Shim dateTimeShim = Shim.Replace(() => DateTime.Now).With(() => new DateTime(2004, 4, 4));


Usage 👾:

// This block executes immediately
PoseContext.Isolate(() =>
{
// All code that executes within this block
// is isolated and shimmed methods are replaced

// Outputs "4/4/04 12:00:00 AM"
Console.WriteLine(DateTime.Now);
}, dateTimeShim);


https://t.me/pgimg/179

[ Github ] : github.com/tonerdo/pose

〰〰〰〰〰〰
#CSharp #DotNet #Fake
@ProgrammingTip
Telegram Programming Tips Resources
Post #510 18.5K
Objects Should Be Immutable 🤫

In object-oriented programming, an object is immutable if its state can’t be modified after it is created. 🤞🏻

In Java/C#, a good example of an immutable object is String.✅
Once created, we can’t modify its state. We can request that it creates new strings, but its own state will never change. ❌

However, there are not so many immutable classes in JDK. Take, for example, class Date. It is possible to modify its state using setTime(). 🕒

This is an incomplete list of arguments in favor of immutability ⚡️:

•
Immutable objects are simpler to construct, test, and use
•
Truly immutable objects are always thread-safe
•
They help to avoid temporal coupling
•
Their usage is side-effect free (no defensive copies)
• Identity mutability problem is avoided
• They always have failure atomicity
•
They are much easier to cache
• T
hey prevent NULL references, which are bad

Let’s discuss the most important arguments one by one. 🌀


https://t.me/pgimg/178

[ Article ] : kutt.it/immtb

〰〰〰〰〰〰
#BestPractices #DesignPatterns
@ProgrammingTip
Telegram Programming Tips Resources
Older posts →
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →