You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement save relations at the Collection and Record Levels. Should be easy to do by calling saveAll on each collection of related data.
Write an alternative implementation of \GDAO\Model\Collection using SplFixedArray instead of a plain old php array (SplFixedArray seems to be more memory efficient than php arrays).
in loadData(..) and __construct(..) add a line like this
$this->_data = \SplFixedArray::fromArray($data);
Move \LeanOrm\Model::getCurrentConnectionInfo() to the \GDAO\Model class and write unit test for it.
Figure out how to improve data retrieval using Iterators & Generators especially for large data sets. Look at Atlas PDO & AuraSql Yield methods implementation & see if they are more performant than the fetch methods on large data-sets. These two articles & similar may be also helpful: http://www.dragonbe.com/2015/07/speeding-up-database-calls-with-pdo-and.html and http://evertpot.com/switching-to-generators/.
Implement save relations at the Collection and Record Levels. Should be easy to do by calling saveAll on each collection of related data.
Write an alternative implementation of \GDAO\Model\Collection using SplFixedArray instead of a plain old php array (SplFixedArray seems to be more memory efficient than php arrays).
Move \LeanOrm\Model::getCurrentConnectionInfo() to the \GDAO\Model class and write unit test for it.
Aim to meet the coding standards by http://thephpleague.com/#quality and hopefully see if this project can become a league package http://thephpleague.com/#contribute see https://github.com/thephpleague/skeleton
The text was updated successfully, but these errors were encountered: