@@ -244,7 +244,7 @@ The most popular method is to create two kinds of methods to
244244**read ** (getter) and **update ** (setter) the object's properties.
245245
246246Some fields such as ``$id `` are unlikely to be changed, so it's ok to
247- not provide any setter for thme .
247+ omit them .
248248
249249.. note ::
250250
@@ -261,8 +261,8 @@ It is a common convention which makes it possible to expose each field
261261of your entity to external services, while allowing you to keep type
262262safety in place.
263263
264- Such approach is good choice for RAD (rapid application development),
265- but may bring problems later down the road, because providing such
264+ Such approach is a good choice for RAD (rapid application development),
265+ but may bring problems later down the road, because providing such an
266266easy way to modify any field in your entity means the entity itself cannot
267267ensure it's in valid state. Having entity in invalid state is dangerous,
268268because it's one step away from being implicitly saved in database, thereby
@@ -272,7 +272,7 @@ leading to corrupted or inconsistent data in your storage.
272272
273273 This method, although very common, is inappropriate for Domain Driven
274274 Design (DDD), because in such design, methods should be named according
275- to actual business operation and entity should be valid anytime.
275+ to actual business operations, and entities should be valid anytime.
276276
277277Here is an example of a simple **anemic model **:
278278
0 commit comments