Baidu smart three small learning program

  • Logical layers: layer intelligence logic written in JavaScript applet; to a logic-level view of the data processing layer, while receiving feedback view layer.
    • Providing getApp getCurrentPages and methods, and examples are used to get the current page App stack;
    • Framework itself is not running in the browser, so some of JavaScript in the Web's ability can not be used, such as document, window, etc., which would make little closer to the native application program;
    • Developers write the code that will eventually be packaged into a compiled JavaScript file and loaded at a smart little program up and running until the smart applet destroyed.
  • App(object)
    • onLaunch(object)
      • scene "NA", developers can take advantage of the small field of statistical procedures to be opened under any scenario
        • Natural Search
        • Information Flow
        • No mount
        • No profile
        • mine
        • Baidu home page drop-down (second floor) Intelligent applet
        • Desktop shortcut
        • Multitasking system
        • notification
        • share it
        • Applets
        • Scan code
        • Post Bar applet
        • game Center
        • Gaming community Square
        • Intelligent applet is automatically Baidu reptiles crawl, this part of the traffic scene is WEB. If no value source scene, the scene will default value assigned to NA.
          Scene value

Guess you like

Origin www.cnblogs.com/Running00/p/11245198.html