1
Hey all, I'm new to XOOPS and I think its a great CMS, much better than others I have tried (PostNuke, PHPNuke, Drupal, Mambo.)
Anyway, I'm developing a module which is like a phone book for xoops. Basically it will store the user's address, phone number, and other pertinent information. This is for a website I am developing privately, however I might eventually release the module publicly on sourceforge.
But I digress. In developing this module, I have been taking a peek at other modules. Nearly all of them use the text sanitizer for database i/o. Good idea to avoid SQL Injections and other nasty bugs. However, many of them use the method makeTboxData4Save(). A peek at the module.textsantitizer.php source tells you that this method is deprecated, but nothing else.
It is good practice to note why a method has been deprecated and what the replacement method(s) is/are in the comments of the deprecated method. I know we all hate to write comments, but the developer already noted the method is deprecated. Why not go the extra mile and add that extra information? I think it would help module development quite a bit. Nobody wants to lag development by using deprecated methods, so readily knowing what to use as a replacement is a big help
Anyway, enough of this long winded post. I'm glad to be developing for xoops, its pretty simple and painless, compared to other CMSs.