Lex-Opt - Intro & Overview

Documentation index

A. Introduction and overview

B. Programming & Implementation Guide

C. Directory Structure

D. Development & System Scheme

Phase 1.

Phase 2.

E. Suggestions for Further Improvement


A. Introduction

This document describes the purposes of the project and provides an outline for the development & implementation.

The lex-opt web application will assist in investment management and options trading as a tool to: - manage with buying and selling equities, - and to trade options in our portfolios.

Lex-opt will initially be used only personally but may eventually be used by others.

The application is designed to be scalable, extensible, and responsive.

B. Implemention Guidelines

Programming Principles

  1. No external libraries will be used.
  2. Plain vanilla JavaScript will be used for functions client-side.
  3. PHP will be used for data access.
  4. Styling will use SCSS and CSS.
  5. Data will be stored in .JSON files in the JSONcache directory.
  6. the term “select” will refer to:

C. Directory Structure

This is a general structure to be used on all directories.

The main directory is /var/www/html/lex-opt_4.0 and contains the following subdirectories:

  1. CSS:
  2. documentation:
  3. Errors:
  4. examples:
  5. JS:
  6. JSONcache:
  7. PHP:
  8. textFiles: ___

D. Development Procedure

The development of the lex-opt project is ambitious and divided into 2 phases. Currently, only instructions for Phase 1 have been attempted.

Phase 1 - development

The implementation of this phase consists of building three distinct parts: - the displayPage - a table displaying the equities from the local achive - the equityPage - pages constructed dynamically from data in the local archive - the functions to access external data and to create the local archive

1. displayPage

2. equityPage

3. Auxiliary Fcts


E. Suggestions for Further Improvement