-
Notifications
You must be signed in to change notification settings - Fork 24
Architecture
There are three different types of source files:
- Classes
- Modules
- Other
All classes extend BaseClass which contains common functionality for managing IDs and links, maintaining pointers to the SDK instance that the object is associated with, and serialization. Each class is in its own file in the src/classes directory.
Modules are groupings of common functionality. They determine the groupings contained in the SDK documentation and largely reflect the groupings contained in the API documentation.
-
FamilySearch.jsis the main file that contains the definition of the FamilySearch class, includes all other files it needs, and handles instantiation of SDK instances. -
globals.jsdefines defaults for configuration options. -
helpers.jsandutils.jscontain utility methods. There was some attempt to distinguish the two files by having all methods which need access to an SDK instance inhelpers.jsand all static methods inutils.jsbut the separation was never completed. -
overview.jscontains content for the home page of the documentation. -
plumbing.jscontains methods for issuing and managing HTTP requests. -
relationshipHelpers.jsis a group of methods shared by some modules to manage relationships.