{"push_id":929293945,"size":1,"distinct_size":0,"ref":"refs/heads/sdmcms-cleanup","head":"24f9a7873c97feeb8dcfd68c1cf5e9860c81151f","before":"72182de710e004d7940db78cd1d6dbe8a95a665d","commits":[{"sha":"24f9a7873c97feeb8dcfd68c1cf5e9860c81151f","author":{"email":"685de49943a9de67ffbbe9e438d7be927e70baf9@gmail.com","name":"sevidmusic"},"message":"Merge pull request #41 from sevidmusic/sdmcms-cleanup\n\nThis merge contains some much needed code cleanup and code optimizations. The main focus was reducing the number of times data.json was loaded.The most notable changes are described below.\r\n\r\n1. The class hierarchy for descendants of SdmCore() is now as follows:\r\n\r\nSdmCore() (parent)\r\n        |\r\nSdmGatekeeper() (grandchild)\r\n        |\r\nSdmNms() (great-grandchild)\r\n        |\r\nSdmAssembler() (great-great-grandchild)\r\n\r\nRestructuring the class hierarchy was done to help reduce the number of times SdmCore()'s constructor was called, and therefore reduce the number of times the DataObject had to be loaded from data.json.\r\n\r\n2. SdmCore(): sdmCoreDetermineCurrentTheme() now references the DataObject directly to determine the current theme instead of explicitly loading data.json. This was done to reduce the number of times data.json was being loaded.\r\n\r\n3. Refactored many components to help reduce number of time data.json was loaded either explicitly or via SdmCore->sdmCoreLoadDataObject(). Now the DataObject is referenced directly wherever possible. The search for more places to refactor so data.json is loaded less often will continue... \r\n\r\n4. Major restructureing of the SdmAssemblers() sdmAssemblerIncorporateAppOutput() method. The logic of the method has been broken up into smaller more focused methods that are called internally when sdmAssemblerIncorporateAppOutput() is called. \r\n\r\n5. Utilized some of phpStorms awesome tools to clean up code for readability.\r\n\r\nSee commit messages from 12/28/2015-01/10/2016  for more info.","distinct":false,"url":"https://api.github.com/repos/sevidmusic/SDM_CMS/commits/24f9a7873c97feeb8dcfd68c1cf5e9860c81151f"}]}