Filter
Exclude
Time range
-
Near
DomainServiceって人類にはまだ早いよね
2
18
En muchos proyectos con Spring pasa lo mismo: terminas repitiendo las mismas anotaciones una y otra vez. @ Service @ Transactional @ RestController @ RequestMapping("/api/v1/...") @ Component mil configuraciones más. Que por cierto Spring 7 ya soporta el versionamiento de apis pero ese es otro tema. Lo de las anotaciones dunciona… pero el código empieza a llenarse de ruido. Tienes la semántica del dominio mezclada con detalles técnicos, y encima repites el mismo combo de anotaciones en media aplicación. Ahí es donde entran las anotaciones compuestas en Spring: En lugar de repetir siempre las mismas, creas una anotación tuya que ya trae todo empaquetado. Por ejemplo, en vez de esto: @ Service @ Transactional(readOnly = true) public class GetUserService { ... } Puedes hacer esto: @ ReadOnlyUseCase public class GetUserService { ... } Y definir tu anotación así: @ Target(ElementType.TYPE) @ Retention(RetentionPolicy.RUNTIME) @ Service @ Transactional(readOnly = true) public @ interface ReadOnlyUseCase { } Te explico este código: 1. @ ReadOnlyUseCase no es mágica, es solo una anotación normal de Java. 2. Pero está “decorada” con @ Service y @ Transactional(readOnly = true). 3. Para Spring, cualquier clase anotada con @ ReadOnlyUseCase es un bean de servicio y además se ejecuta en una transacción de solo lectura. Acabas de crear una abstracción que habla el lenguaje de tu dominio (“caso de uso de solo lectura”), y al mismo tiempo encapsula detalles técnicos (service transacción). En teoría esto escala bien: 1. Puedes crear anotaciones para servicios de dominio, adaptadores de infraestructura, controladores públicos, endpoints internos, etc. 2. Puedes expresar intención: @ PublicApi, @ InternalApi, @ DomainService, @ ApplicationService. 3. Y de paso, reduces errores tontos: no se te “olvida” poner @ Transactional o @ Service porque ya vienen incluidos. Las anotaciones compuestas en Spring no son un truco avanzado, es una forma de que tu código deje de hablar solo de frameworks y empiece a hablar más del negocio que estás modelando. Esto no es nada nuevo y existe desde hace muchos años, sin embargo puede resultarte bastante útil.
1
13
489
sonnet4.5の設計知識を検証。ValidatorやDomainServiceを濫用すると貧血ドメインモデルになるのを知ってるのに(欠点を尋ねるとちゃんと答える)なぜか実装したがる。ここはsonnet4.0と変わらんな。gpt-5-codexはこんな振る舞いはしないので、やっぱsonnet系はヘンなコードを学習している。
2
18
134
19,528
#IT読了 【clean Atchitecture with .NET】 クリーンアーキテクチャの実装例、DomainServiceレイヤを導入することでイメージしやすくなった✨ 他にもModular monolith, FE技術の変遷と勘所、技術的負債への取り組み方等、classic .net devは必読❗️ 明日はサンプルコードのリーディング💻️
5
185
#serverside_kotlin_meetup DomainServiceへのロジックの閉じ込めに感銘を受け、色々調べた テストコード自動生成について interfaceモブプロ終わったタイミングでCLIアプリで自動生成 IFが固まってると側は作りやすいのか
1
2
130
15 Jul 2024
🔐🌐 2/ @AZERO_ID: AZERO.ID offers the first private domain name service on Aleph Zero. This project is in the development phase and has already made significant progress in providing secure and private domain services. #Privacy #DomainService
1
5
154
🌐 Exciting Partnership Announcement! 🤝 🤝 We’re thrilled to announce our collaboration with @StarProtocol_HQ 👀 Star Protocol: The world’s first all-chain domain service, Star Name Service, powered by LayerZero. Providing domain transfers and resolution services across over 50 blockchains, including Ethereum, zkSync, Linea, Arbitrum, and Optimism. Funded by early investors from OKX and supported by grants and hackathon awards. #CollablyNetwork #Blockchain #Web3 #LayerZero #DomainService #Crypto #Innovation
22
16
19
11,374
🔗 全链域名服务平台 - @OpenNameProject 大家好,今天我要向大家介绍一个备受关注的项目:@OpenNameProject!这是一个基于 L0 的全链域名服务平台,利用跨链技术,使域名在多个链之间实现无缝转移。 近期亮点: 被列入 LayerZero 的 Top Protocols而且OpenName也支持了 Blast @OpenNameProject 荣幸地成为 LayerZero 最顶尖的协议之一!这一成就是对团队不懈努力的认可,而且Metis CVP 项目和 Fuse Grant 项目合作 Mint 域名交互 & 跨链交互: - 在 zkSync、base、linea、scroll 等 Layer2 上,可以轻松注册你的域名,费用约为 0.99U 一年(不含 Gas Fee)。 注册链接:app.open.name/?r=z4xh5ajp Mint 域名后,通过 @OpenNameProject 的 LayerZero 跨链技术,你可以在各大 Layer2 上进行跨链交互。无论是跨到 Polygon 还是 Base,跨链费用都在 1U 以内。 项目路线图: 想了解更多关于 @OpenNameProject 的发展规划和未来计划medium.com/openname/openname… #OpenName #DomainService #LayerZero #CrossChainTech
39
5
25
38,418
29 Jan 2024
DomainServiceが直接ORMに依存してRepository層は消してもいいんやない?という気持ちになってきた
3
326
【DDD:ドメインサービス】 エンティティ・値オブジェクトに記載することのできない振る舞いを定義する。 便利なので振る舞いをガンガンここに書いてしまいがち。 ■注意事項 ・ドメインサービスの乱用はデータと振る舞いを断絶させ、データの取り扱いルールがコードが読み取りづらくなる ・値オブジェクトやエンティティと組み合わせたユースケースを用いて整理する ・一般的な命名規則は「ドメインの概念(+Service/DomainService)」
1
3
411
Wusstest du? Am 18. August 2008 registrierte Satoshi Nakamoto die Domain bitcoin.org. Das kuriose dabei? Nur einen Tag zuvor wurde über den gleichen Domainservice die Webadresse netcoin.org gesichert. #Bitcoin hätte somit auch #Netcoin heissen können!
3
5
20
2,060
Replying to @LzDomains
Glad to be early here, joined 10k #squad🤟 @LzDomains aimed to be one of the useful #DomainService Already got mine 👉 elvis.lz
2
165
22 Mar 2023
Are you creating a website and unsure of how to choose the perfect #domain name? If you need any assistance SariyaiT is here to help. Contact Us: Visit: sariyait.com Email: info@sariyait.com #domain #domainservice #onlinemarketing #professionalonlinepresence
6
29
Da mein langjähriger Hosting-/Domainservice zu teuer wurde, da ich dort nicht sooo viel geschrieben habe, hab ich das Paket bei denen gekündigt und fange nun auf wordpress.com mit einem neuen Blog an! Mal schauen, was das wird! Schreiben hilft!📚💊📚🎶🤘☕️🍀

8
179
How about owning a #domain in the @numbersprotocol #Mainnet Join the #numbersdomain and stand a chance in Winning in the 5k $NUM pool prize Dec 6th- 9th Dec, 2022. #DNS #domainservice
Hi NUMARMY! You probably already know that the Numbers Mainnet went live on December 1st. Select your OWN domain in Numbers network and join the 5K $NUM lucky draw pool💰 ⏰Dec 6 - Dec 19 👇Submit here to join the pool: airtable.com/shrzDZtklMH24ix… #domain #rewards #domainservice
8
41
How about owning your own #domain in the @numbersprotocol #Mainnet launch. Just by owning a #numbersdomain you stand a chance of winning from the 5k $NUM Pool prize Dec 6th- 19th Dec, 2022. #DNS #domainservice
Hi NUMARMY! You probably already know that the Numbers Mainnet went live on December 1st. Select your OWN domain in Numbers network and join the 5K $NUM lucky draw pool💰 ⏰Dec 6 - Dec 19 👇Submit here to join the pool: airtable.com/shrzDZtklMH24ix… #domain #rewards #domainservice
8
47
Are still without a #Domainservice? Choose your very own domain for free on the Numbers network! into the $5,000 $NUM fortunate draw pool Dec 6 - Dec 19 Join the pool here: airtable.com/shrzDZtklMH24ix… #Rewards #Giveaway #Domains
2
10
90
18 Dec 2022
Have your own #domain name within the @numbersprotocol network and get a chance to be part of the 5k $NUM reward pool. It's all part of the #mainnet launch celebrations. Check the quoted tweet below ⬇️⬇️ #DNS #DomainService
Be Numbers Network Aborigines! Select your OWN domain in Numbers network and join the 5K NUM lucky draw pool💰 ⏰Dec 6 ~ Dec 19 👇How to participate Submission form: airtable.com/shrzDZtklMH24ix…
20
68
17 Dec 2022
No better feeling than owning your own #domain name and with the @numbersprotocol #mainnet launch, you can do just that. More so, you stand the chance of winning part of the 5000 $NUM rewards. #domainservice airtable.com/shrzDZtklMH24ix…
Hi NUMARMY! You probably already know that the Numbers Mainnet went live on December 1st. Select your OWN domain in Numbers network and join the 5K $NUM lucky draw pool💰 ⏰Dec 6 - Dec 19 👇Submit here to join the pool: airtable.com/shrzDZtklMH24ix… #domain #rewards #domainservice
1
23
82
16 Dec 2022
A good one will be $NUM of @numbersprotocol 💰💰 Choose your OWN domain from the Numbers network to enter the 5K $NUM pool for a chance to win. ⏰Dec 6 - Dec 19 👇Participate : airtable.co/shrzDZtklMH24ixt… #domain #rewards #domainservice
Shill Me The Next 1000x #Crypto gems👇👇
31
103