tags:

views:

490

answers:

7

I'm in the process of designing a PHP-based content management system for personal use and eventually to be distributed. I know there are a lot of CMS's already out there, but I really haven't found one that meets my all of my needs and I also would like to have the learning experience. Security is a large focus, as are extensibility and ease of use. For those of you out there who have built your own CMS, what advice can you offer? What features are essential for a core? What are must have add-ons? What did you wish you knew before starting? What's the biggest potential roadblock/problem? Any and all advice is welcome.

Edit: Any advice on marketing do's and don't's would also be appreciated.

A: 

I know this isn't a direct answer to what you're looking for but if you haven't looked at it yet I'd recommend checking out CMS made simple. It has much less bloat than other CMS's and is fast and efficient. It's open source so it may be a good reference point for any questions you will run into.

toluju
+5  A: 

In building a few iterations of CMSs, some of the key things turned out to be:

  • Having a good rich text editor - end-users really don't want to do HTML. Consensus seems to be that FCKEditor is the best - there have been a couple of questions on this here recently
  • Allowing people to add new pages and easily create a menu/tab structure or cross-link between pages
  • Determining how to fit content into a template and/or allowing users to develop the templates themselves
  • Figuring out how (and whether) to let people paste content from Microsoft Word - converting magic quotes, emdashes and the weirdish Wordish HTML
  • Including a spellchecking feature (though Firefox has something built-in and iespell may do the job for IE)

Some less critical but useful capabilities are: - Ability to dynamically create readable and SEO-friendly URLs (the StackOverflow way is not bad) - Ability to show earlier versions of content after it's modified - Ability to have a sandbox for content to let it be proofread or checked before release - Handling of multiple languages and non-English/non-ASCII characters

Leigh Caldwell
+2  A: 

If you ask 100 different CMS users about the most important thing about their CMS, you'll probably get 80+ different answers.

The biggest roadblock is probably going to be people asking you why you built a new CMS from scratch. If you don't know the answer to that question, I'm not sure why you're going down this path.

One thing to keep in mind is that for an internet CMS, folks are going to want integration points with many of the "usual" services. Leverage existing services such as photo sharing sites, Twitter, OpenID and the like before building your own proprietary solutions.

ahockley
+2  A: 

well i wrote a CMS for personal use and released it to the biggest chorus of chirping crickets ever! no biggie, though. i did learn a lot and i encourage you to move forward. my clients use it and like it and it's holding up fine.

but if i were to start over (and i might) here's the advice i would give myself:

  1. scrub everything everything everything entered from the user
  2. user administration is a product differentiator. bonus points for being able to handle someone copy/pasting from WORD.
  3. extensibility. 90% of the comments i get are from developers who want to use the cms to host "some" of the website pages but not others. or they want to embed their custom scripts into the page among the content. my next cms will be as modular as i possibly can handle.
  4. many folks are absolutely fanatic about clean urls.
Carl Camera
+1  A: 

From marketing point of view:

1) Make it template*able*.

2) Make CMS SEF and have SEOed URLs.

Gaurav
+2  A: 

Well, building your own CMS actually implies that it is not an enterprise-level product. What this means is that you will not be able to actually implement all features that make CMS users happy. Not even most features. I want to clarify that by CMS I actually mean a platform for creating web applications or web sites, not a blogging platform or a scaled-down version. From personal experience I can tell you the things I want most in a CMS.
1. Extensible - provide a clean and robust API so that a programmer can do most things through code, instead of using the UI
2. Easy page creation and editing - use templates, have several URLs for a single page, provide options for URL rewriting
3. Make it component-based. Allow users to add custom functionality. Make it easy for someone to add his code to do something
4. Make it SEO-friendly. This includes metadata, again URL rewriting, good sitemap, etc.

Now there are these enterprise features that I also like, but i doubt you'll have the desire to dive into their implementation from the beginning. They include workflow (an approval process for content-creation, customizable), Built-in modules for common functionality (blogs, e-commerce, news), ability to write own modules, permissions for different users, built-in syndication, etc.

After all I speak from a developer's point of view and my opinion might not be mainstream, so you have to decide on your own in the end. Just as ahockley said - you have to know why you need to build your own CMS.

Slavo
A: 

Just use Drupal.

Out of the box it is very light and fast. You add modules for virtually everything, so that can be daunting but it is fantastic.

Its secure (NASA and The White House use it), its modular, its open-source, it is well supported, has a reputation for clean APIs, and has hundreds of modules from SEO to Wysiwyg....

Richard