[PoEAA] Domain Logic Pattern - Transaction Script - iT 

[PoEAA] Domain Logic Pattern - Transaction Script - iT 邦幫忙::一起幫忙解決難題,拯救 IT 人的一天


According to [PoEAA], this definition is "A
Transaction Script organizes all this logic primarily as a single procedure, making calls directly to the database or through a thin database wrapper."
For example, when I buy a book on a ecommerce shop, the system executes a series of action, including receiving a book id and customer session, getting a book detail and customer detail from the database, and inserting an order into the database. These actions are organized in a transaction script.
Usually, a database transaction maps to a transaction script. So it is easily to implement data isolation.
2. Pattern Practice: The Revenue Recognition Problem

Related Keywords

Martin Fowler , , Domain Logic Pattern , Transaction Script , Revenue Recognition , Create Table , Money Pattern , Github Repository , Domain Model , Entity Framework , It邦幫忙 , Ithome , மார்டின் கோழி , வருவாய் அங்கீகாரம் , உருவாக்கு மேசை , களம் மாதிரி , நிறுவனம் கட்டமைப்பு ,

© 2025 Vimarsana