SDSM:Index: Difference between revisions
(Add section: SDS Laravel PHP Library Dependencies: Directly Used By Name In PHP Source Files) |
(Add new document part Performance Measurements.) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
[[#top|RETURN]] | [[#top|RETURN]] | ||
== | == Introduction == | ||
=== System Overview === | |||
== Overview == | |||
'''School Data System (SDS)''' is an electronic records management system | '''School Data System (SDS)''' is an electronic records management system | ||
Line 59: | Line 37: | ||
'''SDS''' has a client-server architecture, hosted on a network as a web | '''SDS''' has a client-server architecture, hosted on a network as a web | ||
server, and used by way of a web client. | server, and used by way of a web client. '''SDS''' should be compatible | ||
with all modern web clients, including Mozilla FireFox, Google Chrome, | with all modern web clients, including Mozilla FireFox, Google Chrome, | ||
Microsoft Edge, and Apple Safari; it should be usable with all modern | Microsoft Edge, and Apple Safari; it should be usable with all modern | ||
Line 82: | Line 60: | ||
The newer '''SDS''' version is meant to have essentially the same | The newer '''SDS''' version is meant to have essentially the same | ||
outward-facing or user-visible feature set, behavior, and appearance as | outward-facing or user-visible feature set, behavior, and appearance as | ||
the older version. | the older version. The newer version also uses essentially the same SQL | ||
database schema as the older version, and they actively share a database, | database schema as the older version, and they actively share a database, | ||
which makes for a more seamless migration as the database doesn't have to | which makes for a more seamless migration as the database doesn't have to | ||
be "converted". | be "converted". Within these constraints of looking the same to users and | ||
having the same database, the new version is almost completely different | having the same database, the new version is almost completely different | ||
internally, with a new internal code structure that is a lot more modern. | internally, with a new internal code structure that is a lot more modern. | ||
Each '''SDS''' version is written in the '''PHP''' programming language | Each '''SDS''' version is written in the '''PHP''' programming language | ||
and uses a '''MySQL''' database. | and uses a '''MySQL''' database. The newer version uses the | ||
'''Laravel''' PHP application framework, while the older version uses | '''Laravel''' PHP application framework, while the older version uses | ||
the '''Gavintech''' PHP framework. | the '''Gavintech''' PHP framework. Both versions' production instances | ||
are on servers running the '''Ubuntu''' operating system and are behind | are on servers running the '''Ubuntu''' operating system and are behind | ||
an '''Apache''' web server. | an '''Apache''' web server. While '''Gavintech''' is essentially | ||
abandoned, very non-modern, and bespoke, all of the other named | abandoned, very non-modern, and bespoke, all of the other named | ||
dependencies are actively maintained, modern, and very popular. | dependencies are actively maintained, modern, and very popular. | ||
Line 100: | Line 78: | ||
[[#top|RETURN]] | [[#top|RETURN]] | ||
== | === Audience of the Documentation === | ||
The intended audience of this document is individuals who are savvy with | |||
electronic computer hardware and software, its use, installation, and | |||
maintenance. In particular, it is for individuals that are capable of | |||
writing, maintaining, integrating, testing software code, or installing | |||
and maintaining deployments of software on internet servers. Or it is | |||
for those individuals who directly communicate with or manage such | |||
people and technical projects, and have some understanding of technology. | |||
This document is mainly for individuals who would be involved with the | |||
'''SDS Modernization (SDSM)''' effort, or who would be maintaining | |||
'''SDS''' afterwards, or who would be managing the people who do these | |||
things, or who want to be more informed about how '''SDS''' works. | |||
This document is not specifically for those who are just end users of | |||
'''SDS''', or for those who make higher level management decisions and are | |||
less technically savvy, but they might glean useful information from it. | |||
For these kinds of users, other derived or supplementary documentation may | |||
be better suited to their needs, or this document can be re-interpreted for | |||
them in other forms that better suit them. | |||
[[#top|RETURN]] | |||
== System Architecture == | |||
=== Network Diagrams === | |||
See the document part [[SDSM:Network_Diagrams|Network Diagrams]]. | |||
[[#top|RETURN]] | |||
== Environment Setup == | |||
'''SDS''' | === Software Requirements === | ||
'''SDS''' is a web application written in 3 main programming languages: | |||
* PHP (https://www.php.net) | |||
dialect of | * JavaScript | ||
* MySQL DBMS (https://www.mysql.com) dialect of SQL | |||
'''SDS''' specifically uses PHP major version 8.1, which was first | '''SDS''' specifically uses PHP major version 8.1, which was first | ||
Line 124: | Line 134: | ||
'''SDS''' can run on a variety of server environments and operating | '''SDS''' can run on a variety of server environments and operating | ||
systems, same as PHP and MySQL do. | systems, same as PHP and MySQL do. However, its canonical (and ''also'' | ||
its '''Canonical''') runtime environment is the Ubuntu operating system | its '''Canonical''') runtime environment is the Ubuntu operating system | ||
(https://ubuntu.com), which '''SMUS''' runs its production and shared | (https://ubuntu.com), which '''SMUS''' runs its production and shared | ||
Line 136: | Line 146: | ||
'''SMUS''' uses the specific versions of PHP and MySQL that are provided | '''SMUS''' uses the specific versions of PHP and MySQL that are provided | ||
with the Ubuntu version it uses, so the former are only updated when the | with the Ubuntu version it uses, so the former are only updated when the | ||
latter is updated. | latter is updated. Most notable is that '''SDS''' is constrained to using | ||
PHP 8.1 for as long as it is run on Ubuntu 22.04. | PHP 8.1 for as long as it is run on Ubuntu 22.04. While their principal | ||
maintainers may stop supporting those versions sooner, Ubuntu themselves | maintainers may stop supporting those versions sooner, Ubuntu themselves | ||
would continue to provide critical security and bug fixes to MySQL and PHP | would continue to provide critical security and bug fixes to MySQL and PHP | ||
bundled with their LTS releases, but not new major versions. | bundled with their LTS releases, but not new major versions. | ||
[[#top|RETURN]] | |||
== | == Codebase Overview == | ||
=== Languages and Frameworks === | |||
See the document part [[SDSM:Languages_and_Frameworks|Languages and Frameworks]]. | |||
[[#top|RETURN]] | |||
== User Interface Documentation == | |||
=== Users and Privileges === | |||
See the document part [[SDSM:Users_and_Privileges|Users and Privileges]]. | |||
[[#top|RETURN]] | |||
=== List of Screens === | |||
See the document part [[SDSM:List_of_Screens|List of Screens]]. | |||
[[#top|RETURN]] | |||
=== Performance Measurements === | |||
See the document part [[SDSM:Performance_Measurements|Performance Measurements]]. | |||
[[#top|RETURN]] | |||
== Appendices == | |||
=== Historical Changes === | |||
See the document part [[SDSM:Historical_Changes|Historical Changes]]. | |||
[[#top|RETURN]] | |||
=== Pending Changes === | |||
See the document part [[SDSM:Pending_Changes|Pending Changes]]. | |||
[[#top|RETURN]] | |||
=== Future Changes === | |||
See the document part [[SDSM:Future_Changes|Future Changes]]. | |||
[[#top|RETURN]] | |||
=== | === Future Layout of SDSM === | ||
The '''SDS Modernization (SDSM)''' document is currently missing a large | |||
'''SDS Modernization (SDSM)''' document. | fraction of its intended content. In the meantime, it eschews empty | ||
placeholder sections, so one navigating its table of contents can easily | |||
discern what does or doesn't exist now. Instead, this current section | |||
illustrates the overall layout that the whole document is evolving towards. | |||
# '''Introduction''' | # '''Introduction''' |
Latest revision as of 14:25, 4 September 2024
This document consists of multiple parts; for a directory to all of the
parts, see SDSM:Index.
Name
SDS Modernization (SDSM) - Modernization of SMUS School Data System
Description
This document describes an active effort running through 2024 to modernize the School Data System (SDS) of St. Michaels University School (SMUS).
Introduction
System Overview
School Data System (SDS) is an electronic records management system that empowers a school's fundamental operations by managing the school's records of its students and related data and business processes. This includes tracking students' identities, enrolment, classes, and marks. SDS is used directly by students, their parents, their teachers, and other staff of a school having various roles.
SDS is meant in principle to be usable by any school, but first and foremost to meet the specific needs of St. Michaels University School (SMUS). SMUS is the only school actually using it as of 2024, but SDS may be made available to other schools later. Historically, SDS was also used by Brentwood College School.
SDS has a client-server architecture, hosted on a network as a web server, and used by way of a web client. SDS should be compatible with all modern web clients, including Mozilla FireFox, Google Chrome, Microsoft Edge, and Apple Safari; it should be usable with all modern client devices and operating systems.
SMUS hosts all of its SDS instances, production and testing, on premises on network servers located at its Richmond Road campus. They are not hosted by a third party, whether "cloud" or otherwise.
See https://sds.smus.ca for the production instance.
SDS has 2 alternative versions in April of 2024, older and newer.
The older SDS version (SDS Gavintech), is actively in use in production, and its development is mostly frozen, with minimal updates only.
The newer SDS version (SDS Laravel or SDS API), is not currently used in production, and is incomplete; nearly all current development work is on this version, and it is intended to replace the older version in production once it is sufficiently complete.
The newer SDS version is meant to have essentially the same outward-facing or user-visible feature set, behavior, and appearance as the older version. The newer version also uses essentially the same SQL database schema as the older version, and they actively share a database, which makes for a more seamless migration as the database doesn't have to be "converted". Within these constraints of looking the same to users and having the same database, the new version is almost completely different internally, with a new internal code structure that is a lot more modern.
Each SDS version is written in the PHP programming language and uses a MySQL database. The newer version uses the Laravel PHP application framework, while the older version uses the Gavintech PHP framework. Both versions' production instances are on servers running the Ubuntu operating system and are behind an Apache web server. While Gavintech is essentially abandoned, very non-modern, and bespoke, all of the other named dependencies are actively maintained, modern, and very popular.
Audience of the Documentation
The intended audience of this document is individuals who are savvy with electronic computer hardware and software, its use, installation, and maintenance. In particular, it is for individuals that are capable of writing, maintaining, integrating, testing software code, or installing and maintaining deployments of software on internet servers. Or it is for those individuals who directly communicate with or manage such people and technical projects, and have some understanding of technology.
This document is mainly for individuals who would be involved with the SDS Modernization (SDSM) effort, or who would be maintaining SDS afterwards, or who would be managing the people who do these things, or who want to be more informed about how SDS works.
This document is not specifically for those who are just end users of SDS, or for those who make higher level management decisions and are less technically savvy, but they might glean useful information from it. For these kinds of users, other derived or supplementary documentation may be better suited to their needs, or this document can be re-interpreted for them in other forms that better suit them.
System Architecture
Network Diagrams
See the document part Network Diagrams.
Environment Setup
Software Requirements
SDS is a web application written in 3 main programming languages:
- PHP (https://www.php.net)
- JavaScript
- MySQL DBMS (https://www.mysql.com) dialect of SQL
SDS specifically uses PHP major version 8.1, which was first released for general production use on 2020 Nov 26 (https://www.php.net/ChangeLog-8.php); PHP 8.1 stopped receiving active support by its principal maintainers on 2023 Nov 25, and then for critical security issues it will only be supported by them until 2025 Dec 31 (https://www.php.net/supported-versions.php).
SDS specifically uses MySQL major version 8.0, which was first released for general production use on 2018 Apr 19 (https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-11.html); MySQL 8.0 will stop receiving LTS support by its principal maintainers in 2026 April.
SDS can run on a variety of server environments and operating systems, same as PHP and MySQL do. However, its canonical (and also its Canonical) runtime environment is the Ubuntu operating system (https://ubuntu.com), which SMUS runs its production and shared testing deployments in.
Those production SDS deployments specifically use Ubuntu major version 22.04 LTS, which was first released for general production use on 2022 Apr 21; it will stop receiving standard support in 2027 and end of life support in 2032 (https://wiki.ubuntu.com/Releases).
SMUS uses the specific versions of PHP and MySQL that are provided with the Ubuntu version it uses, so the former are only updated when the latter is updated. Most notable is that SDS is constrained to using PHP 8.1 for as long as it is run on Ubuntu 22.04. While their principal maintainers may stop supporting those versions sooner, Ubuntu themselves would continue to provide critical security and bug fixes to MySQL and PHP bundled with their LTS releases, but not new major versions.
Codebase Overview
Languages and Frameworks
See the document part Languages and Frameworks.
User Interface Documentation
Users and Privileges
See the document part Users and Privileges.
List of Screens
See the document part List of Screens.
Performance Measurements
See the document part Performance Measurements.
Appendices
Historical Changes
See the document part Historical Changes.
Pending Changes
See the document part Pending Changes.
Future Changes
See the document part Future Changes.
Future Layout of SDSM
The SDS Modernization (SDSM) document is currently missing a large fraction of its intended content. In the meantime, it eschews empty placeholder sections, so one navigating its table of contents can easily discern what does or doesn't exist now. Instead, this current section illustrates the overall layout that the whole document is evolving towards.
- Introduction
- System Overview: Brief description of the system, its main components, and its purpose.
- Purpose and Scope: Clarify the intended use of the documentation and its intended audience.
- Audience of the Documentation: Specify who the documentation is written for (e.g., developers, system administrators, end-users).
- System Architecture
- High-Level Architecture: Overview of the system's architecture, including major components and how they interact.
- System Components and Interactions: Detailed description of each system component and its role.
- Network Diagrams: Visual representations of network and system architecture, if applicable.
- Environment Setup
- Hardware Requirements: Specifications for necessary hardware.
- Software Requirements: Required software and versions.
- Environment Configuration: Instructions for setting up development, testing, and production environments.
- Client Requirements: Required software and versions.
- Database Documentation
- Database Schema: Detailed diagrams and descriptions of database tables, fields, data types, and relations.
- Data Dictionary: Detailed definitions of all database elements.
- Entity-Relationship Diagrams: Visual representation of data entities and relationships.
- Database Performance Metrics: Information on database performance and optimization.
- Codebase Overview
- Languages and Frameworks: Information about programming languages and frameworks used.
- Repository Structure: Description of the code repository structure.
- Coding Standards and Conventions: Guidelines followed in the codebase.
- Repository Access: Instructions to access code repository.
- API Documentation
- List of Endpoints: Detailed list of API endpoints and their functions.
- Request/Response Formats: Specifications of request and response formats.
- Authentication and Authorization: Methods used for API security.
- User Interface Documentation
- Screenshots and Descriptions: Visuals and descriptions of key interfaces.
- User Flow Diagrams: Diagrams showing user navigation through the system.
- Security Protocols
- Data Security Measures: Techniques used for securing data.
- Network Security Configurations: Network security tools and configurations.
- Installation and Deployment
- Installation Guide: Step-by-step installation instructions.
- Deployment Procedures: Process for deploying updates or new releases.
- CI/CD Practices: Continuous integration and deployment methodologies used.
- Testing and Quality Assurance
- Testing Procedures: Overview of testing strategies and methodologies.
- Test Case Descriptions: Examples of key test cases.
- Automated Testing Frameworks: Description of automated testing setup.
- Performance and Optimization
- System Performance Benchmarks: Key performance indicators and benchmarks.
- Optimization Strategies: Techniques and practices for optimizing system performance.
- Backup and Recovery
- Backup Procedures and Schedules: How and when backups are conducted.
- Disaster Recovery Plan: Steps and procedures for system recovery in case of a disaster.
- Access Control
- User Roles and Permissions: Description of different user roles and their access levels.
- Access Management Procedures: How user access is managed and controlled.
- System Integration
- External System Integration: Details of integration with external systems or services.
- Data Exchange Protocols: Protocols used for data exchange with external systems.
- Localization and Internationalization (if applicable)
- Supported Languages: List of languages the system supports.
- Cultural Adaptations: Adjustments made for different cultural or regional needs.
- Scalability and Future Development
- Scalability Strategies: Plans and techniques for scaling the system.
- Expansion Plans and Roadmap: Future development plans and system evolution roadmap.
- Customization and Extensibility
- Customization Options: Options available for system customization.
- API Documentation for Extensibility: Documentation for APIs available for extending the system.
- Operational Best Practices
- System Maintenance Guidelines: Best practices for maintaining the system.
- Security Best Practices: Guidelines for maintaining security.
- Audit Trails and Logging: Information on system logging and audit trails.
- Feedback and Continuous Improvement
- Feedback Mechanisms: How users can provide feedback.
- Improvement Processes: How feedback is incorporated into system improvements.
- Appendices
- Glossary of Terms: Definitions of technical terms used.
Authors
Primarily written by Darren Duncan.
Includes portions written by or derived from sources written by:
- Chetan Sondagar
License and Copyright
Copyright © 2024, St. Michaels University School.