Skip to main content
Richard Gullo
Software Engineer
View all authors

A Glimpse into the Future

· 3 min read
Adam Duda
Software Engineer
Kobe Fung
Software Engineer
Richard Gullo
Software Engineer
Adam Wells
Software Engineer

Introducing the Enhanced Data Structure in ProtoPI: A Glimpse into the Future

In the upcoming release of ProtoPI, we're excited to unveil a new and improved data structure specifically designed to optimize the management of hierarchical data like YAML files. This feature is currently under iteration and promises to transform how complex nested data is handled in our application. Below is a detailed glimpse into how the revised coreTreeData structure and its derivatives will streamline data operations and enhance user interaction.

Indexed General Tree

· 3 min read
Adam Duda
Software Engineer
Kobe Fung
Software Engineer
Richard Gullo
Software Engineer
Adam Wells
Software Engineer

Index Maps with ProtoPI: Streamlining Data Access in General Trees with UUIDs and TypeScript

In complex software projects like ProtoPI, efficient management of hierarchical data is essential, especially when dealing with nested structures typical of XML or YAML files. General trees are versatile for representing such data but can hinder access speeds due to the need to traverse numerous nodes. To mitigate these performance bottlenecks, ProtoPI employs index maps, enhanced by unique identifiers in the form of UUIDs, within a TypeScript-based framework to improve data retrieval capabilities. This article discusses the integration of UUIDs and TypeScript to implement index maps in general trees, ensuring O(1) access times and robust data management.

General Tree

· 4 min read
Adam Duda
Software Engineer
Kobe Fung
Software Engineer
Richard Gullo
Software Engineer
Adam Wells
Software Engineer

From Binary Tree, to AVL Tree, to General Tree?!

When it comes to representing hierarchical data such as YAML files in a data structure, the choice of structure can significantly impact the efficiency and complexity of the operations performed on the data. While binary trees and their self-balancing variant, AVL trees, offer certain advantages, the decision to use a general tree often aligns more closely with the requirements and characteristics of YAML data. This article explores why a general tree was chosen for representing YAML files in environments like ProtoPI.

OpenAPI Example Files

· One min read
Adam Wells
Software Engineer
Adam Duda
Software Engineer
Richard Gullo
Software Engineer
Kobe Fung
Software Engineer

Example OpenAPI *.YAML/.YML Files

While exploring the provided YAML files—OpenAPI-Collection.yaml, OpenAPI-MultiServer.yaml, and OpenAPI-StarWars.yaml—it's important to note that some of these files may not be fully compatible with the Prism mock server. Here’s a brief overview:

  • OpenAPI-Collection.yaml [DOWNLOAD] [VIEW]: This file, with its complex hierarchical structures, is excellent for parsing and understanding how to extract collections from YAML files.

  • OpenAPI-MultiServer.yaml [DOWNLOAD] [VIEW]: A reasonable example of multiple base URLs.

  • OpenAPI-StarWars.yaml [DOWNLOAD] [VIEW]: A straightforward and simple specification launchable by the PRISM mock server.

Despite these potential issues, these YAML files serve as valuable resources for understanding API specifications and can provide a solid foundation for parsing and studying YAML structures. They offer a practical approach to learning about various API configurations, even if they require some adaptations or additional tools to simulate entirely in a mock environment.

To LowDB or Not to LowDB

· 4 min read
Adam Duda
Software Engineer
Kobe Fung
Software Engineer
Richard Gullo
Software Engineer
Adam Wells
Software Engineer

To LowDB or Not to LowDB: Embracing New Data Storage Solutions for YAML Files in ProtoPI

As we advance in managing YAML files within development projects, the choice of data storage and management solution plays a critical role in impacting both performance and efficiency.