Re: what would be the best way to build a 'add page function' to my cms?
| From: | Adam Preece | Date: | Mon, 02 May 2011 17:43:04 +0000 |
| Subject: | Re: what would be the best way to build a 'add page function' to my cms? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312632@lists.php.net to get a copy of this message | ||
Hi,
sure i will try to be more specific.
> Is each page a standalone one based on a template that just allows the main content to be
> changed?
yes.
> Is a page made up of several snippets?
could be, depends on what has to be done.
> Does the CMS save out the final HTML page, or does it store just the content in a DB to insert
> into a page at runtime when requested?
and it will just store the content in the db and insert into page at runtime when requested.
the overall system i would like to achieve, is a simple, clean, CRUD , manage users, set user access
(admin, super_user etc), add pages, newsletter functionality, latest news, and anything else that
might be nice to create for it.
my target audience, are people who are not coders, just people that would like to manage there
content with ease.
oh and i'm trying to build it all in OOP too.
hope this is a better explanation for you guys.
cheers
On 2 May 2011, at 18:12, Ashley Sheridan wrote:
> On Mon, 2011-05-02 at 17:59 +0100, Adam Preece wrote:
>>
>> Hi,
>>
>> im building a cms and im currently thinking of a way to build an add page function.
>>
>> any one got some ideas on the best way to achieve this?
>>
>> cheers
>
>
> That's a bit of an open question, and there are several things that need to be answered
> first:
>
> Is each page a standalone one based on a template that just allows the main content to be
> changed?
> Is a page made up of several snippets?
> Does the CMS save out the final HTML page, or does it store just the content in a DB to insert
> into a page at runtime when requested?
>
> A CMS can be a pretty big build, and needs a lot of thought to get right. It depends on your
> requirements and who it's going to be used by. ~Are you able to be a bit more specific about
> your question so we can be more specific with our answers?
>
> --
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>