[email protected] wrote:
No, I want to build it myself… I look at it though.
So what is the best practice?
Should I build a separate section with its own controllers to edit
them? or make a separate private view within the component controller?
I started looking at Adva (see
http://github.com/svenfuchs/adva_cms/tree/master) which has quite a lot
of good stuff in it you can look at for your project. It separates out
the admin side of things from the public view side of things and it
isolates the packages into plugin engines leaving your own app directory
free for putting what you want into it.
It’s a nice idea and has some top coders working on it. Trouble is it
has top coders working on it and they disdain documentation, so it’s a
bit hard for someone coming into it who hasn’t followed the development.
Clever coders often can’t resist the temptation to re-code everything or
re-write commonly used plugins, which is what they have done inside
Adva. There’re a lot of clever tricks, completely undocumented, so you
really are on your own.
But on the other hand, once you’ve mastered some of the insider tricks,
it’s quite easy to add your own controllers, models, and views. I’m not
an insider though and it’s a moving target so I can’t offer advice on
how to integrate your own code into the latest version, I’m still trying
to work it out.
The other thing I don’t like about it is the assumption that a CMS is
used solely for publishing “articles”. I guess if you spend your life
blogging then that’s a sensible assumption, but most websites aren’t
blogs or lists of articles. There doesn’t seem to be a way to edit pages
which are composed of many “page sections” each with unique/non-unique
content. So if you wanted to have a standard page section that appeared
on a restricted set of pages there’s no way you could do it easily.
It’s nice, it has potential, there’s a lot of clever code in it, but
it’s a very very long way to go before it’s as easy to use as Wordpress.