Summary
In this chapter, we learned how server-side logic works, the artifacts available, and how to combine them to obtain the intended behaviors from our actions.
We learned what Server Actions are, the concept of variables in the context of Server Actions, how to create logic in Server Actions, and the properties of the attributes used.
Something very important to remember from this chapter is the fact that we should, whenever possible, abstract and isolate the manipulation of our data in Server Actions so that we can better control their integrity. In addition to being careful in Server Actions, we must always remember to set the Expose Read Only attribute of our entities to Yes. With this we guarantee that the data in our entities is only handled by our Server Actions in the consumer modules, thus guaranteeing that no user or application can write or change the data without complying with the defined rules, preventing the existence of dirty data.
As we have seen, we are...