[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/infrastructure/storage/lisk/

FolderUp one level  
Folder__tests__/
 
FileLiskDAO.php                             [source] [1840 lines]  Simple object-authoritative data access object that makes it easy to build stuff that you need to save to a database. Basically, it means that the amount of boilerplate code (and, particularly, boilerplate SQL) you need to write is greatly reduced. Lisk makes it fairly easy to build something quickly and end up with reasonably high-quality code when you're done (e.g., getters and setters, objects, transactions, reasonably structured OO code). It's also very thin: you can break past it and use MySQL and other lower-level tools when you need to in those couple of cases where it doesn't handle your workflow gracefully.
FileLiskDAOSet.php                          [source] [89 lines]    You usually don't need to use this class directly as it is controlled by @{class:LiskDAO}. You can create it if you want to work with objects of same type from different sources as with one set. Let's say you want to get e-mails of all users involved in a revision:
FileLiskEphemeralObjectException.php        [source] [3 lines]     
FileLiskMigrationIterator.php               [source] [48 lines]    Iterate over every object of a given type, without holding all of them in memory. This is useful for performing database migrations.
FileLiskRawMigrationIterator.php            [source] [39 lines]    
FilePhabricatorDataNotAttachedException.php [source] [35 lines]    
FilePhabricatorLiskDAO.php                  [source] [244 lines]   
FilePhabricatorLiskSerializer.php           [source] [8 lines]     


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1