[pmwiki-devel] More database standards
Ben at InterdependentWeb.com
Fri Dec 15 15:29:54 CST 2006
> There are definite *problems* such as the
> database error never getting to the browser. Is it fixable?
Well, the way the Database Standard recipe is currently written, it
returns its errors to the recipe that called it, and it's the
responsibility of that recipe to do something with the error, because
different recipes may want to handle errors in different ways.
For example, DataQuery logs them to a page and emails them to an admin
address or displays them on screen, based on a configuration variable.
If other people like that system, we could easily make that part of the
If every page had a (:message:) tag, we could use $MessagesFmt the way
ZAPdata (and the Site.EditForm) does. But most pages don't have such a
tag, and since Database Standard has no user interface of its own, that
leaves the print (echo) command, which generates errors of its own. So
what would you suggest? --Ben
More information about the pmwiki-devel