Why a hook system is a must have in modern cms

Since i started coding 3 years ago, Mucms has come a long way, from using a Smarty emplate to now having a hook system, let me explain.

When i started in 2008, i didn"t know the hassle i had to go through writing a cms, there were so much to learn. But had i known all of these, i hadn't strated write mucms.

Okay, in the last post, i explained why i gave up Smarty, a sub optimal template engine. When you want performance you must shunt the intermediate levelx such as Smarty and any unnecessary stuffs, hence the full php cms i am writing now.

Why hooks are a must have

Second i wanted to make mucms extensible, like wordpress, to allow an easy plugin of addons without rewriting the core code, so i had to make a hook system to make this happen. now that i managed to migrate to a hook powered cms (very early stage), i am more confident in extrending the capabilities of mucms, such as writing a directory module.

So now whenever i want to alter the design or the functionnalities of mucms, all i have to do is write a custom function put it in a hook and that's is... nearly without having to know about the internals of mucms. Ain't it cool?

Why changing the Database model is needed

Because of all of these, i had to improve the data model of mucms, to make it more flexible and generic. I added a few tables and fields here and there, mainly for seo reasons.

I have to work on two front, on the front end and on the back end. The BO is most of the work, because, it's where it all hapens (editing, seooing, analytics...) all those are integrated in the BO.

Taking to the next level

I think there is no limit int eh ways you can improve a cms, for example, when you change a url, to a new url, how about 301 redirection from the old to the new? there are a lot to do and i cannot list them to you since this cms is not made publicn just my thoughts, sorry mucms is not for sale yet.

The reason i blog about my cms

I just wanted to share my thoughts on how to write a good cms. And SEO speaking no cms is natively seo optimized, because SEO is an ever changing beast, you have to keep up with the trends or risk been obsolete. Wordpress has tons of SEO plugins and tweaks, but mucms will have all these natively integrated hopefully.


0 Commentaires

Leave a Comment

Name*
E-mail*
Website