Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
user-submitted content object updates New Code
By day , Section Code []
Posted on Tue Nov 19, 2002 at 12:00:00 PM PST
i plan to implement a mechanism for editing content objects via a web interface. i would like to keep it generalized, so i'm looking for ideas and concerns.

here's my favorite idea. rather than risk an authorization nightmare by granting access to immediately update the database, we use an approval system. A group perm would control which users can submit content updates. Each update would have something like the following properties:
  • user  [submittor]
  • time  [of submission]
  • class [one of the site's content classes]
  • id    [null if creating new]
  • type  [update, delete, create]
  • status [submitted, approved,
  • admin-customized,whatever]
  • comment [user's special instructions to the  approver]
  • data  [hash of the proposed values for this  object's properties if updating or creating]
the data hash would be entered using a web form which is based on a template editable by the admin; one edit template per class, with perhaps a default template to be inherited.

each submission would be listed on a page analogous to the moderation queue. For many sites, "approval" (sounds more appropriate than "moderation" here) permission would be given to admins only.

When a submitted object update is approved, the database is updated with values from the data hash. maybe we'll also want to backup the old values so that an approval can be undone.

There may be complications if one submission needs to be dependent upon another... i.e. one is applied but then rolled back if the other one is not approved -- no, better yet that they need to be approved simulataneously... but this could be overcomplicated or messy.

What do you think? are there any libraries i should be aware, such as for handling web form data that will be inserted into any number of column types and database types? or maybe something like SPOPS?
Also what about interface concerns for the submitter? i remember imdb did something like this that was email-based, last i looked.

< Sci-Fi Today is Online | Seeking help w/open queue problems >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· More on New Code
· Also by day

Story Views
  20 Scoop users have viewed this story.

Display: Sort:
user-submitted content object updates | 2 comments (2 topical, 0 hidden)
best bathroom remodeling manhattan (none / 0) (#1)
by Pervez on Sun Mar 24, 2019 at 12:28:23 PM PST

I have found valuable advice finished furthermore there, thanks a lot for the purpose of showing this unique. Why not make an attempt to insert further instructive items to keep you and I connected. Nowadays follow this best bathroom remodeling manhattan Keep writing fantastic profession.



Nice one (none / 0) (#2)
by scdobre on Wed Sep 04, 2019 at 07:30:38 AM PST

I hope to see more news from you, this helps me a lot from hotmail com login



user-submitted content object updates | 2 comments (2 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search