Skip to content

Commit c7a049b

Browse files
committed
fix spelling
1 parent 78c90ea commit c7a049b

8 files changed

+14
-14
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ Agile Data has a usage patters that will automatically restrict access by this c
229229

230230
With Agile Data you can move your data from one persistence to another seamlessly. If you rely on some feature that your new persistence does not support (e.g. Expression) you can replace them a callback calculation, that executes on your App server.
231231

232-
As usual - the rest of your application is not affected and you can even use multiple types of different persistences and still navigate through references.
232+
As usual - the rest of your application is not affected and you can even use multiple types of different persistencies and still navigate through references.
233233

234234
#### Support
235235

docs/design.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ So getting back to the operation above, lets look at it in more details::
516516

517517
While "vip_orders" is actually a DataSet, executing count() will cross you over
518518
into persistence layer. However this method is returning a new object, which is then
519-
executed when you call getOne(). For SQL persistences it returns \Atk4\Data\Persistence\Sql\Query
519+
executed when you call getOne(). For SQL persistencies it returns \Atk4\Data\Persistence\Sql\Query
520520
object, for example.
521521

522522
Even though for a brief moment you had your hands on a "database-vendor specific"

docs/overview.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ basic functionality is divided into 3 major areas:
4747

4848
- Fields (or Columns)
4949
- DataSets (or Rows)
50-
- Databases (or Persistences)
50+
- Databases (or Persistencies)
5151

5252
Each of the above corresponds to a PHP class, which may use composition principle
5353
to hide implementation details.
@@ -171,7 +171,7 @@ MongoDB), you would need to define the field differently::
171171
});
172172

173173
When you use persistence-specific code, you must be aware that it will not map
174-
into persistences that does not support features you have used.
174+
into persistencies that does not support features you have used.
175175

176176
In most cases that is OK as if you prefer to stay with same database type, for
177177
instance, the above expression will still be usable with any SQL vendor, but if
@@ -217,7 +217,7 @@ Persistence Scaling
217217
===================
218218

219219
Although in most cases you would be executing operation against SQL persistence,
220-
Agile Data makes it very easy to use models with a simpler persistences.
220+
Agile Data makes it very easy to use models with a simpler persistencies.
221221

222222
For example, consider you want to output a "table" to the user using HTML by
223223
using Agile UI::
@@ -229,7 +229,7 @@ using Agile UI::
229229

230230
echo $htmltable->render();
231231

232-
Class `\\Atk4\\Ui\\Table` here is designed to work with persistences and models -
232+
Class `\\Atk4\\Ui\\Table` here is designed to work with persistencies and models -
233233
it will populate columns of correct type, fetch data, calculate totals if needed.
234234
But what if you have your data inside an array?
235235
You can use :php:class:`Persistence\Static_` for that::

docs/persistence.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ The other, more appropriate option is to re-use a vanilla Order record::
544544
}
545545

546546

547-
Working with Multiple Persistences
547+
Working with Multiple Persistencies
548548
==================================
549549

550550
Normally when you load the model and save it later, it ends up in the same
@@ -573,7 +573,7 @@ Agile Data, so you will have to create logic yourself, which is actually quite
573573
simple.
574574

575575
You can use several designs. I will create a method inside my application class
576-
to load records from two persistences that are stored inside properties of my
576+
to load records from two persistencies that are stored inside properties of my
577577
application::
578578

579579
function loadQuick($class, $id) {

docs/references.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ model that has a persistence set. (See Reference::getModel())
5151
Persistence
5252
-----------
5353

54-
Agile Data supports traversal between persistences. The code above does not
54+
Agile Data supports traversal between persistencies. The code above does not
5555
explicitly assign database to Model_Order. But what if destination model does
5656
not reside inside the same database?
5757

docs/sql.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ procedures you will loose portability of your application.
329329

330330
We do have our legacy applications to maintain, so Stored Procedures and SQL
331331
extensions are here to stay. By making your Model rely on those extensions you
332-
will loose ability to use the same model with non-sql persistences.
332+
will loose ability to use the same model with non-sql persistencies.
333333

334334
Sometimes you can fence the code like this::
335335

@@ -338,7 +338,7 @@ Sometimes you can fence the code like this::
338338
}
339339

340340
Or define your pure model, then extend it to add SQL capabilities. Note that
341-
using single model with cross-persistences should still be possible, so you
341+
using single model with cross-persistencies should still be possible, so you
342342
should be able to retrieve model data from stored procedure then cache it.
343343

344344
as a Model method

docs/typecasting.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Field may use serialization to further encode field value for the storage purpos
144144
Array and Object types
145145
----------------------
146146

147-
Some types may require serialization for some persistences, for instance types
147+
Some types may require serialization for some persistencies, for instance types
148148
'json' and 'object' cannot be stored in SQL natively. `json` type can be used
149149
to store these in JSON.
150150

src/Persistence.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ protected function initPersistence(Model $m): void
103103

104104
/**
105105
* Atomic executes operations within one begin/end transaction. Not all
106-
* persistences will support atomic operations, so by default we just
106+
* persistencies will support atomic operations, so by default we just
107107
* don't do anything.
108108
*
109109
* @return mixed
@@ -195,7 +195,7 @@ public function typecastSaveRow(Model $model, array $row): array
195195
* types to PHP native types.
196196
*
197197
* NOTE: Please DO NOT perform "actual" field mapping here, because data
198-
* may be "aliased" from SQL persistences or mapped depending on persistence
198+
* may be "aliased" from SQL persistencies or mapped depending on persistence
199199
* driver.
200200
*/
201201
public function typecastLoadRow(Model $model, array $row): array

0 commit comments

Comments
 (0)