Tags:
create new tag
view all tags

SID-01838: using database plugin to do updates/deletes to the database

Status: Answered Answered TWiki version: Perl version: perl-5.18.1
Category: DatabasePlugin Server OS: Centos 6.4 Last update: 10 years ago

All,

I'd like to have a simple module which allowed for two way communication with the twiki - something like DatabasePlugin presenting a table as a wiki page - except:

  • the table that is presented is editable,
  • and can in effect be used to do both updates and deletes on the database that it references as well as presenting the row.

IMO, This would be an very quick-and-easy way to make twiki an application engine, and for simple sqls I think it would be straightforward to implement (more complicated sqls admittedly may pose a challenge, but even there, with row_ids it may be doable)

Anyways, if there is anything out there please let me know - if nothing like this exists, I may end up implementing something like this if it was simple enough and I had pointers to do it...

Thanks much,

Ed

-- Ed Peschko - 2013-12-06

Discussion and Answer

Do you envision to store the data in an external SQL database or internally in TWiki?

If internally, TWiki has two approaches:

1. Use TWikiForms with FormattedSearch - how-to blog at BlogEntry201009x1

2. Use EditTablePlugin to edit a table and SpreadSheetPlugin to add spreadsheet calculations.

For the second option I envision a combined solution that has the ease of use of Google docs spreadsheet.

-- Peter Thoeny - 2013-12-07

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- Peter Thoeny - 2015-12-03

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title using database plugin to do updates/deletes to the database
SupportCategory DatabasePlugin
TWiki version

Server OS Centos 6.4
Web server apache-2.4
Perl version perl-5.18.1
Browser & version

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2015-12-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.