I'm considering making every little piece of editable content on my site
a model with it's own table.
So if you think of a blog post for example, the title, subject, body,
whatever....would be a separate table. With the proper associations of
The reason for this is to 1.) allow for special attributes to be
assigned to each piece of content, 2.) to allow for each piece of
content to be edited individually via ajax.
You can think of it as making everything into a component/widget.
My questions are:
1.) How much extra strain would this be on the database. So now instead
of just fetching one row with the data, you would query each table
association for the right info.
2.) Does anyone have any good examples/tutorials for turning every piece
of content on your site into an ajax editable component?