0

Don't get me wrong, I don't ignore the power behind CMSes.
I want to make a Database driven contents. Here is the approach I want to take, correct me/Add opinion as you it!

1. Integrate TinyMCE editor for wariting contents (WYSIWYG)
2. Have database with table contents and three columns (ID, heading, contents)
3. Feed heading and contents to table
4. Display contents by querying the DB for data using a php script

Is it right approach?
Any suggestion/modifications?

Thanks :)

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by Stefano Mtangoo
0

Yep, that's about the size of it.

I'd put the TinyMCE widget to just control the 'content' part. Use a normal textbox for 'heading'. I would suggest that you add 'description' and 'updated_date' fields (and textarea + textbox to the form) so that you can keep track of the various records. I find TinyMCE pretty 'heavy' for most apps. There are many other text editors out there. Spaw2 is quite small as is the Yahoo! version. I like Spaw2 due to the file uploading feature.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.