reference:
I have not implemented any below solutions. But I think the first reference is good
References:
- https://blog.bitexpert.de/blog/think-about-it-phpexcel-performance-tweaks-part-1/
- http://stackoverflow.com/questions/4817651/phpexcel-runs-out-of-256-512-and-also-1024mb-of-ram
- PHPOffice/PHPExcel#420
- https://github.com/PHPOffice/PHPExcel/blob/develop/Documentation/markdown/Overview/04-Configuration-Settings.md
I decide choose twig because http://www.sitecrafting.com/blog/top-5-php-template-engines/
References:
- I am using the php underscore
- Use closures and assign them to variables
- Put variables at begin of the function, main code will after
////////
- Must be
function sumPrice($items) {
$sum = function ($memo, $item) {
return $memo + $item['price'];
}
- https://promisesaplus.com/ defining promise/A+
- https://msdn.microsoft.com/en-us/magazine/gg723713.aspx
- https://github.com/kriskowal/q A tool for creating and composing asynchronous promises in JavaScript
- https://github.com/cujojs/when A solid, fast Promises/A+ and when() implementation, plus other async goodies.
NewerOlder