How to Build Out an API

Application Programming Interface, or API, provides the means to access specific defined sets of data (text and graphics) and code (software). An application programming interface for the development of game programs, for example, provides the means to access a set of graphic libraries (game pieces and game boards) and coded modules (to alter and move the graphics). The application programming interface is built out so that the the program developer can easily incorporate the library components and modules into another software application.

Instructions

    • 1

      Construct a table with 10 columns and 10 rows. Label the first column "Level 1 software modules," the second column “Level 2 software sub-modules” and so on, until you reach the last column and label it “Leve 5 software sub-modules.”

    • 2

      List the names of the primary software modules used in the API in the Level 1 module column of the table.

    • 3

      Identify all of the names of the sub-modules in each Level 1 software module and the associated nesting level of each sub-module. Enter the name of each sub-module for each Level 1 module into the column that corresponds to the sub-module’s nesting level.

    • 4

      Use the software development package's symbol creation tools to create a visual icon to represent each of the Level 1 software modules listed in the table. Attach text, limited to two words, to your symbol icon that best describe the functionality of each Level 1 software module. Attach a graphic image to each icon that best represents the actions for each Level 1 software module.

    • 5

      Use the symbol creation tools to create a visual icon to represent each of the software sub-level modules (Levels 2 and higher) listed in the table. Attach text, limited to two words, to the sub-level symbol icon that best describe the functionality of each sub-level software module. Attach a graphic image to each icon that best represents the actions for each sub-level software module.

    • 6

      Attach Level 1 symbol code (the set of instructions that will be displayed or processed when a Level 1 symbol icon is accessed) to each of the Level 1 symbols that you created.

    • 7

      Attach sub-level symbol code (the set of instructions that will be displayed or processed when a sub-level symbol icon is accessed) to each of the the sub-level symbols that you created.

    • 8

      Place all Level 2 sub-symbols inside the Level 1 symbol with which they are associated. Place all Level 3 sub-symbols inside the Level 2 sub-symbols with which they are associated. Continue in this fashion until you have placed the last and lowest level of sub-modules.

Learnify Hub © www.0685.com All Rights Reserved