Stateless
tplant
Stateless | tplant | |
---|---|---|
9 | 3 | |
5,301 | 254 | |
0.6% | - | |
6.9 | 5.2 | |
7 days ago | about 2 months ago | |
C# | TypeScript | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stateless
- Validating model based on Rules
-
Best practices for managing menu items that need to be enabled/disabled?
I like this method and state machines in general. Makes it more easier to reason about complex software. Also, ithe f the state machine gets bigger (more states) in the past I have used the Stateless library which is very good. But what you described above is perfect for managing the state of a menu system.
-
Architecture pattern for Console Apps?
After using stateless for three years, my conclusion is that I cannot imagine a scenario, where it makes sense to use it.
-
Modelling workflows with Finite State Machines in .NET
This is a great article. Here is the Stateless library he is writing about. The link to the library is kind of buried in the middle of a sentence.
- How to create event tree c#
-
Which service should store which data in a microservice architecture?
Yes! And we're using one. https://github.com/dotnet-state-machine/stateless We're creating the configuration dynamically based on how the user wants his workflow to work.
-
Need Finite-State Machine framework for TCP socket clients
Stateless is my go-to state machine library for .NET. It's reasonably advanced but can also be very simple if you don't need the more advanced features.
-
Has UML died without anyone noticing?
I'm playing around with this library for a medium sized state machine I'm setting up, and it has this functionality. I think explicit state machines are a good use-case for having an actual diagram, since they can take up enough space that it becomes hard to build a mental map from reading the code due to locality issues.
tplant
-
Diagramming Typescript
Many UML-code and code-UML converters already exist, supporting class-based programming languages such as Java and C#. It would be great to see such tools implemented for Typescript. tplant looks like a promising start, though it appears to only support the code-UML direction.
-
Has UML died without anyone noticing?
Having class diagrams automatically generated is a great way to visualize the code, for example in TypeScript: https://github.com/bafolts/tplant
-
Better Architecture Diagrams for Agile Teams: actionable tips and lessons
Im also curious. Im currently having to put together a large system design document together and am struggling to find any solid automation tools.
The most productive tool I've found is: https://github.com/terraform-docs/terraform-docs
Otherwise there is a lot of cloud, K8s, and then microservices + app design (typescript)
Decent:
https://github.com/bafolts/tplant
https://github.com/TypeStrong/typedoc
What are some alternatives?
Automatonymous - A state machine library for .Net - 100% code - No doodleware
Sourcetrail - Sourcetrail - free and open-source interactive source explorer
Appccelerate - State Machine - A .net library that lets you build state machines (hierarchical, async with fluent definition syntax and reporting capabilities).
ndjson-spec - Specification
MassTransit - Distributed Application Framework for .NET
typedoc - Documentation generator for TypeScript projects.
LiquidState - Efficient asynchronous and synchronous state machines for .NET
Sprache - A tiny, friendly, C# parser construction library
command-line-api - Command line parsing, invocation, and rendering of terminal output.
Gui.cs - Cross Platform Terminal UI toolkit for .NET