ns_sourceproc is ancient and might as well be declared deprecated. at some point in time one should throw away at least some of the burden carried arround for a long time. The ns_register_tcl is the way to go. i am sure we have quite a few of such things in the code that require cleanup...
Cheers, Zoran > Am 22.01.2019 um 20:58 schrieb Gustaf Neumann <neum...@wu.ac.at>: > > Here is a question for the people longer than me at the project: > > - NaviServer has currently two implementations for .tcl requests: > "ns_register_tcl" and "ns_sourceproc", where the first one > does similar things in C what the latter does in Tcl. > > - "ns_register_tcl" is used by default, when "enabletclpages" is set. > However, the documentation [1] mentions "ns_sourceproc" > > Is my interpretation right that "ns_sourceproc" is outdated, or is there > any reason aside of backward compatibility to use this? If so, > then "ns_sourceproc" should be deprecated. Anyway, the documentation > has to be updated. Do i miss here anything? > > All the best > > -g > > [1] https://naviserver.sourceforge.io/n/manual/files/tcl-lib-file.html > > > > _______________________________________________ > naviserver-devel mailing list > naviserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/naviserver-devel _______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel