EntityScript

Draft 1.01:
Index







Sections: Status -> Approved

1.) EntityScript™ Overview - Overview of the project

2.) .entity/.ds Lookups - Overview of basic .entity and .ds file relationships. An overview of each file.

3.) Special File Types - Overview of special types of methods, files, and types in C.ORE™

4.) Log File Types - Overview of Logging within C.ORE™

5.) Using OpenPackager™ - Overview of the OpenPackager™ project and details regarding using the sub-system for organizing the base system and addons.

6.) Locations - Overview of various parts of the IPDVC™ file system

7.) System Audits - Overview of various audit mechanisms present in C.ORE™ and how to use them.

8.) C.ORE™ Scripts - Overview of scripts that run in C.ORE™, the purpose they have, overview of some scripting philosophy, and some usage examples.

9.) Startup - Step-by-step process of startup routines and how to extend them

10.) C.ORE™: AirEP™ file system (Access Identity Ring Entertainment Platform: AirEP™ - Understand more about the Access, Identity, Ring

11.) Keys: Each of the built-in keys that can be used to retrieve meta-information in C.ORE™

12.) How-to: Additional Notes

13.) Moderation: Basic moderation principles

14.) Social Pledge: Basic social-pledge for your interface and who you interact with

15.) Disclaimers: Basic recommendations for your interface and dealing with various types of commerce

16.) Additional Resources: Dig deeper into the technical stack, program methods, variables, and other happenings within CORE.HOST™

core default script start position




"""
Copyright (C) 2020 New Entity Operations Inc.

ALL RIGHTS RESERVED

CORE allows you to  work with core.es or CONSTRUCTED_core.es

Usage: Uncomment wipe_core() and 'Flush' core.es with 
run-> CORE.py

Usage 2: Keep wipe_core() commented and let core_operations
handle wiping core.es through 'wipe_constructed_core'

Usage 3: When extending system-level linkage, set the write locations up here
Other programs will be expected to handle the output 

"""
## System Linkage
# default: none

## Imports: Custom
from core_middlelayer import (
 COREES, CONSTRUCTEDCOREES, DIRDATA,
 CORE_FILE_TEXT, CONSTRUCTEDCORE_FILE_TEXT
)

class MANIPULATE_OFFICIAL_ENTRY:
    def wipe_core():
     """
     Write to: overwrite 'core.es' with a blank container
     """
     with open(DIRDATA+COREES, 'wt') as f:
      f.write(CORE_FILE_TEXT+'\n')
     f.close()

    def wipe_constructed_core():
     """
     Write to: overwrite 'CONSTRUCTED_core.es' with a blank overview
     'wipe_constructed_core' isn't a default routine. Accessed by: _FRONTEND
     You can configure this button in _interface to require various privileges.
     When you need to wipe your collective global 'SERV_' record,
     check the instance policy first
     """
     # Write to - will overwrite the CONSTRUCTED_core.es file
     with open(DIRDATA+CONSTRUCTEDCOREES, 'wt') as f:
      f.write(CONSTRUCTEDCORE_FILE_TEXT+'\n')
     f.close()

## Runner: Default Actions: Off
# wipe_core()



Return HOME