Page 1 of 1

Hackable CMS .. good for learning PHP ?

Posted: Tue Oct 13, 2015 1:05 pm
by gautamz07
Hey guys , i always love tiny libraries or frameworks , because you can always hack at the code and learn so much , i found a very tiny CMS(file based , no database) , HERE https://github.com/PhileCMS/Phile.

I just wanted a honest opinion , can some fundamental oops concepts really be learnt hacking through a source of a CMS like this ?

Re: Hackable CMS .. good for learning PHP ?

Posted: Tue Oct 13, 2015 1:34 pm
by Celauran
Took a quick peek through the code base and it's not bad. Some not so great ideas in there -- custom autoloader, lots of reinventing the wheel, static methods, singletons -- but also some really high quality code.

Re: Hackable CMS .. good for learning PHP ?

Posted: Tue Oct 13, 2015 2:41 pm
by gautamz07
Thanks alot celauran , yes the code infact is a fork of a project that was not under active development and it seems to have a very active community. can you elaborate on what do you mean on alot of re-inventing the wheel(i'am just curious) ?

Re: Hackable CMS .. good for learning PHP ?

Posted: Tue Oct 13, 2015 3:14 pm
by Celauran
Things like writing their own router, request and response objects, session handlers, etc rather than using or extending existing solutions.

Re: Hackable CMS .. good for learning PHP ?

Posted: Tue Oct 13, 2015 3:26 pm
by gautamz07
Thanks alot for answering my question .. perfect :)