Plot
A DSL for writing type-safe HTML, XML and RSS in Swift. (by JohnSundell)
Mongrel
Build declarative HTML in Swift. (by NicholasBellucci)
Plot | Mongrel | |
---|---|---|
3 | 1 | |
1,959 | 14 | |
- | - | |
4.6 | 0.0 | |
4 months ago | over 2 years ago | |
Swift | Swift | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
Plot
Posts with mentions or reviews of Plot.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-24.
-
Mongrel brings Swift and HTML together with the power of @resultBuilder's
I'd say https://github.com/JohnSundell/Plot is John's more SwiftUI inspired DSL for html generation
-
What does the `<`and `>` represent here
If you want to see some nice (more advanced) uses of generic types, John Sundell's Plot is interesting to study, as he uses this quite frequently. He covers them extensively on his site, including in this post.
-
Alchemy - Elegant, batteries included web framework for Swift
Maybe a little off topic, but can you explain to me the value in using something like Plot? Is it just type safety?
Mongrel
Posts with mentions or reviews of Mongrel.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-24.
-
Mongrel brings Swift and HTML together with the power of @resultBuilder's
Recently while getting familiar with Vapor, I decided to challenge myself to build a Swift to HTML generator. Mongrel was the result and I thought I would share. I am currently using it to build out the full documentation but have included a robust example in the README. All HTML components are available with many different attributes. Please feel free to ask any questions or post any issues as I want to keep growing this project where I can. https://github.com/NicholasBellucci/Mongrel
What are some alternatives?
When comparing Plot and Mongrel you can also consider the following projects:
alchemy - Modern, batteries included web framework for Swift.
Tokamak - SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms
Vapor - 💧 A server-side Swift HTTP web framework.
Snowflake - ❄️ SVG in Swift
Fuzi - A fast & lightweight XML & HTML parser in Swift with XPath & CSS support
XMLText - Generate styled SwiftUI Text from strings with XML tags.