/    Sign up×
Community /Pin to ProfileBookmark

Basic CMS in php

Hi, i was wondering if someone can point me in the right direction, i have been building a few HTML driven websites however, i want to setup a content management system which is quite simple i.e. say the user wants to add something to there page they dont need me they can just get them selves to do it.

What i think is required.
1. login page (staff)
2. A template for each page they may wish to update.
3. Then for them to do the the update does this have to be stored in a database or will it just add to the code.
4. submit should be done.

am i missing something here or am i on the right track

cheers

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYJun 22.2005 — do you have PHP knowledge?
Copy linkTweet thisAlerts:
@DaiWelshJun 22.2005 — Sounds roughly right for a very simple CMS. Usually the updated content would be stored in a database for maximum flexibility then the site is delivered using a dserver side language which inserts the content into the page on the fly

However it is also possible to write the content back into the files on disk, provided your template provides a way to readily identify where the inserted code begins and ends. That way the site itself can continue to be straight html if you wish, jsut the cms will need to be in a server-side language.

Unless you have a very good reason to write your own I would look at one of the many existing products first, some are even open source so you can rework them to suit your requirements. If you want to write your own later then at least you will have a clear idea of what it should do.

HTH,

Dai
Copy linkTweet thisAlerts:
@morkzauthorJun 22.2005 — do you have PHP knowledge?[/QUOTE]


yeah i have small amount of php knowledge am new to it all :rolleyes:
Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYJun 22.2005 — yeah i have small amount of php knowledge am new to it all :rolleyes:[/QUOTE]
okay! ?

how are your sites built?is the content from a database or from files?

you want your clients to be able to modify the content without your help, but do they know HTML?

yes?ok

no?then you would have to give them a more complex interface where they will be able to write/update the content without actually knowing what they are doing.
×

Success!

Help @morkz spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...