Тёмный

Reinventing the Transaction Script - Scott Wlaschin 

NDC Conferences
Подписаться 195 тыс.
Просмотров 16 тыс.
50% 1

The Transaction Script pattern organizes business logic as a single procedure. It has always been considered less sophisticated and flexible than a layered architecture with a rich domain model. But is that really true?
In this talk, we'll reinvent the Transaction Script using functional programming principles. We'll see that we can still do domain-driven design, and still have code which is decoupled and reusable, all while preserving the simplicity and productivity of the original one-script-per-workflow approach.
Check out more of our talks, courses, and conferences in the following links:
ndcconferences.com/
ndc-london.com/

Наука

Опубликовано:

 

30 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@opentrail
@opentrail 4 года назад
Your talks, books and blog bring the joy back to programming. This is a great example. You bring these transformation concepts humorously over in layman's terms with brilliant justifications. Captivating, and so many ah-ha moments! Thanks for sharing and bringing us all up to date. btw - I'm in the 50+ club and have been in the business for sometime ;-)
@Vlfkfnejisjejrjtjrie
@Vlfkfnejisjejrjtjrie 4 года назад
Wow! This presenter is amazing; watched this before bed and stayed interested the entire length of the video.
@edgeeffect
@edgeeffect Год назад
The comment he makes at 38:10 sum up perfectly and concisely why what we call "Computer Science" is just not a science at all. And how easy it would be to make it into one. And at 39:22 he shows exactly who we should throw away our PHP frameworks as use Middleware instead. This is solid gold - even if you don't use an FP language.
@kylekinnear8878
@kylekinnear8878 10 месяцев назад
The title was perfect, because this was exactly what I was looking for! 😂
@danielsummers1973
@danielsummers1973 4 года назад
I think you forgot LaunchMissilesAsync
@KarenTazayan
@KarenTazayan 4 года назад
As usual excellent presentation!
@Vlad99ty
@Vlad99ty 4 года назад
Good talk! It will be great to see code example(gist) of any transaction script implementation
@Endomorphism
@Endomorphism 3 года назад
Functional Core Imperative Shell anyone please share link
@Endomorphism
@Endomorphism 3 года назад
another amazing talk !!
@ChrisAthanas
@ChrisAthanas 11 месяцев назад
Excellent talk and understated
@13b78rug5h
@13b78rug5h 4 года назад
This is almost exactly the same conclusion I have come to. Would be great to see concrete examples as theory is always theory, but trying to replicate the ideas in code is not as straightforward as just understanding the theory and easily deriving solutions from it.
@tullochgorum6323
@tullochgorum6323 9 месяцев назад
Get his DDD book - it works through practical examples.
@reallylordofnothing
@reallylordofnothing 3 месяца назад
at 7:22 the code is as Fowler says, a thin DB wrapper (class or script). But as you pull data belonging to different Entity classes (if you're using an ORM) and then put them into objects etc, can we say It is object oriented OR is the data simply being stuffed into objects to iterate over and do your business logic so it's merely data oriented?
@githingeorge3889
@githingeorge3889 4 года назад
Awesome talk
@Miggleness
@Miggleness 4 года назад
Great talk indeed. I look at my recent purchases and incidentally I bought his book 3 weeks ago. Makes me want to start reading that
@mwaffi
@mwaffi Год назад
8:22 "An apple goes into this tunnel, it turns into a banana, so it's an apple to banana function. [...] If you've played with a Brio wooden railway set you know how this works." Um... 🤔 sure, that's exactly how I remember it working 😅.
@TJ-hs1qm
@TJ-hs1qm 2 месяца назад
goat!
@madskaddie
@madskaddie 3 года назад
Even though I do share the same opinion of the author, I think that this talk is a bit biased since the author uses very simple and linear cases for the FP side and rather complex (real , from his past) examples for the tradicional so called "OO". It's possible to make code "bad" (let's say highly coupled, since it is my understanding of the author main concern), with both approaches. Also, the notion that the DDD guys have about hiding persistence, in my opinion, may not be adequate because it will create issues sooner or later ; for example concurrency: either there are inconsistencies or to much contention. For me, DDD is about the bounded context, not so much about the "shared language". My natural languge is not english, so the business guys do not generally use our terms, since we program in english (which we will because mixing languages: business + the programming language own terms like "class", "if", "for", ...)
@RoamingAdhocrat
@RoamingAdhocrat 2 года назад
If your railway tunnels transform entities that pass through them then there's something seriously wrong
@edgeeffect
@edgeeffect Год назад
Starting premise for a fantasy/horror film????
@bananasba
@bananasba 3 года назад
Lacks decent examples.
Далее
Four Languages from Forty Years Ago - Scott Wlaschin
1:04:41
Lambda? You Keep Using that Letter - Kevlin Henney
1:00:53
Scott Wlaschin - The power of composition
1:00:54
Просмотров 9 тыс.
F# for C# programmers - Scott Wlaschin
1:00:01
Просмотров 68 тыс.
The Functional Toolkit - Scott Wlaschin
1:01:19
Просмотров 8 тыс.
Scott Wlaschin - Coding Like Frankenstein
57:02
Просмотров 2 тыс.
#engineering #diy #amazing #electronic #fyp
0:59
Просмотров 2,4 млн