Announcement

Collapse
No announcement yet.

what does LowLevel indicate on an API Function?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • what does LowLevel indicate on an API Function?

    I think this will take a product and insert it into a category, however I don't know what LowLevel does. What does it do?

    CategoryXProduct_Insert
    CategoryXProduct_Insert_LowLevel

  • The distinction between "levels" is a little unclear in Miva. In some cases, the LowLevel function is very basic, reading or writing a single record in a single table; and the high-level function adds a lot of related functionality, such as increasing or decreasing reference counts. In other cases, the LowLevel function does most of the work across multiple tables, and the high-level function just adds a simple "wrapper" for purposes such as file or table locking.

    The best rule of thumb is to always call the high-level function, unless you're absolutely sure that you only want the low-level functionality. Figuring out the difference will require some understanding of Miva Script, and of programming techniques in general, and a copy of the LSK.

    Hope that helps --
    Kent Multer
    Magic Metal Productions
    http://TheMagicM.com
    * Web developer/designer
    * E-commerce and Miva
    * Author, The Official Miva Web Scripting Book -- available on-line:
    http://www.amazon.com/exec/obidos/IS...icmetalproducA

    Comment


    • I think it does. I saw it in the api docs and wondered about it. I'll go with your rule of thumb.

      Comment

      Working...
      X

      This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

      This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

      Accept