gleez / cms

GleezCMS - A Light, Simple, Flexible Content Management System
www.gleezcms.org
206 stars 83 forks source link

Utilize PHP native Data Structures #667

Open sandeepone opened 10 years ago

sandeepone commented 10 years ago

When Gleez was developed most code was based on PHP 5.2. With the invent of PHP 5.3 many new SPL classes haven been introduced, we haven't got any chance to implement them so far because of shared hosting. Now all hosting companies providing PHP 5.3 as base. However, PHP 5.5 is current and PHP 5.3 was end of life. I think its better to start implement some SPL classess to improve the code design and performance of CMS in a more structured way.

http://www.sitepoint.com/php-data-structures-1/ https://github.com/elazar/spl-benchmarks https://github.com/technosophos/Benchmarks-PHP/blob/master/SPLObjectStorage-vs-Arrays.php http://stackoverflow.com/questions/11827668/does-really-splfixedarray-perform-better-than-arrays

sergeyklay commented 10 years ago

Yes, I agree with you