mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
6ef5785fc5
SSViewer iterates on Iterators that it receives twice: first to get the total number of items, then to actually render each item. This necessitates a rewind. In order to make more use of generators, which are not rewindable, I’d like to remove the need for a rewind. I’ve done this by caching the content of the iterator as an array within SSViewer_Scope. Although this means a bit of memory usage, there are no cases in which code will get to this point without iterating on all items, which would use the memory anyway. It would only create onerous impacts in cases where you are iterating on very long iterators, which would mean you’re rendering a very large page anyway, and probably have other performance issues. |
||
---|---|---|
_config | ||
.github | ||
.tx | ||
client | ||
lang | ||
src | ||
templates | ||
tests | ||
thirdparty | ||
_config.php | ||
_register_database.php | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.upgrade.yml | ||
cli-script.php | ||
composer.json | ||
CONTRIBUTING.md | ||
LICENSE | ||
phpcs.xml.dist | ||
phpunit.xml.dist | ||
README.md | ||
sake | ||
silverstripe_version | ||
SUPPORT.md |
Silverstripe Framework
PHP framework forming the base for the Silverstripe CMS (https://silverstripe.org).
Requires a silverstripe-installer
base project. Typically used alongside the cms
module.
Installation
See installation on different platforms, and installation from source.
Bugtracker
Bugs are tracked on github.com. Please read our issue reporting guidelines.
Development and Contribution
If you would like to make changes to the Silverstripe core codebase, we have an extensive guide to contributing code.
Links
- Server Requirements
- Changelogs
- Bugtracker: Framework
- Bugtracker: CMS
- Bugtracker: Installer
- Forums
- Developer Mailinglist
- License
Attribution
- Some icons by Yusuke Kamiyamane. All rights reserved. Licensed under a Creative Commons Attribution 3.0 License.
- default_media.png by Thibault Geffroy from The Noun Project. All rights reserved. Licensed under a Creative Commons Attribution 3.0 License.