|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <title>Tinystruct Framework</title> |
| 7 | + <style> |
| 8 | + body { |
| 9 | + font-family: Arial, sans-serif; |
| 10 | + line-height: 1.6; |
| 11 | + margin: 0; |
| 12 | + padding: 0; |
| 13 | + background-color: #f4f4f4; |
| 14 | + } |
| 15 | + header { |
| 16 | + background: #333; |
| 17 | + color: #fff; |
| 18 | + padding: 1rem 0; |
| 19 | + text-align: center; |
| 20 | + } |
| 21 | + .container { |
| 22 | + max-width: 800px; |
| 23 | + margin: 2rem auto; |
| 24 | + background: #fff; |
| 25 | + padding: 2rem; |
| 26 | + border-radius: 5px; |
| 27 | + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); |
| 28 | + } |
| 29 | + h1, h2, h3 { |
| 30 | + color: #333; |
| 31 | + } |
| 32 | + ul { |
| 33 | + margin: 1rem 0; |
| 34 | + padding: 0; |
| 35 | + list-style: none; |
| 36 | + } |
| 37 | + ul li { |
| 38 | + margin: 0.5rem 0; |
| 39 | + padding: 0.5rem; |
| 40 | + background: #f9f9f9; |
| 41 | + border: 1px solid #ddd; |
| 42 | + border-radius: 5px; |
| 43 | + } |
| 44 | + pre { |
| 45 | + background: #f4f4f4; |
| 46 | + padding: 1rem; |
| 47 | + border: 1px solid #ddd; |
| 48 | + border-radius: 5px; |
| 49 | + overflow-x: auto; |
| 50 | + } |
| 51 | + a { |
| 52 | + color: #007BFF; |
| 53 | + text-decoration: none; |
| 54 | + } |
| 55 | + a:hover { |
| 56 | + text-decoration: underline; |
| 57 | + } |
| 58 | + footer { |
| 59 | + text-align: center; |
| 60 | + margin: 2rem 0 1rem; |
| 61 | + } |
| 62 | + </style> |
| 63 | +</head> |
| 64 | +<body> |
| 65 | + <header> |
| 66 | + <h1>Tinystruct Framework</h1> |
| 67 | + <p>A Lightweight Java Framework for Modern Applications</p> |
| 68 | + </header> |
| 69 | + <div class="container"> |
| 70 | + <h2>What is Tinystruct?</h2> |
| 71 | + <p> |
| 72 | + Tinystruct is a lightweight Java framework designed to simplify application development by emphasizing simplicity and performance. |
| 73 | + Its core philosophy is encapsulated in the motto: |
| 74 | + <em>"Simplicity is difficult, while complexity is easy. Better thinking leads to better design."</em> |
| 75 | + </p> |
| 76 | + |
| 77 | + <h2>Key Features</h2> |
| 78 | + <ul> |
| 79 | + <li><strong>Modular Design:</strong> Include only the components you need for efficiency.</li> |
| 80 | + <li><strong>Command-Line Interface (CLI) Support:</strong> Simplifies tasks like executing commands and managing packages.</li> |
| 81 | + <li><strong>Netty Integration:</strong> Operates as an HTTP server for high-performance web applications.</li> |
| 82 | + <li><strong>Annotation-Based Actions:</strong> Streamlines application logic with improved readability.</li> |
| 83 | + </ul> |
| 84 | + |
| 85 | + <h2>Best Use Cases</h2> |
| 86 | + <p>Tinystruct is best suited for the following scenarios:</p> |
| 87 | + <ul> |
| 88 | + <li>Lightweight Web Applications</li> |
| 89 | + <li>Command-Line Tools or Scripts</li> |
| 90 | + <li>Microservices Architecture</li> |
| 91 | + <li>Embedded Systems or IoT Backends</li> |
| 92 | + <li>Rapid Prototyping</li> |
| 93 | + <li>High-Performance Applications</li> |
| 94 | + <li>Educational Projects</li> |
| 95 | + <li>Small Business Applications</li> |
| 96 | + <li>Replacement for Legacy Applications</li> |
| 97 | + <li>API Gateways</li> |
| 98 | + </ul> |
| 99 | + |
| 100 | + <h2>Advantages</h2> |
| 101 | + <ul> |
| 102 | + <li>Minimal setup and learning curve</li> |
| 103 | + <li>Highly modular and customizable</li> |
| 104 | + <li>Lightweight and suitable for resource-constrained environments</li> |
| 105 | + <li>Built-in tools for CLI and Netty support</li> |
| 106 | + </ul> |
| 107 | + |
| 108 | + <h2>How to Get Started</h2> |
| 109 | + <p>Add the following Maven dependency to your project:</p> |
| 110 | + <pre> |
| 111 | +<dependency> |
| 112 | + <groupId>org.tinystruct</groupId> |
| 113 | + <artifactId>tinystruct</artifactId> |
| 114 | + <version>1.4.2</version> |
| 115 | + <classifier>jar-with-dependencies</classifier> |
| 116 | +</dependency> |
| 117 | + </pre> |
| 118 | + |
| 119 | + <h2>Additional Resources</h2> |
| 120 | + <ul> |
| 121 | + <li><a href="https://github.com/tinystruct/tinystruct" target="_blank">Tinystruct GitHub Repository</a></li> |
| 122 | + <li><a href="https://mvnrepository.com/artifact/org.tinystruct/tinystruct" target="_blank">Maven Repository</a></li> |
| 123 | + </ul> |
| 124 | + |
| 125 | + <h2>Why Choose Tinystruct?</h2> |
| 126 | + <p> |
| 127 | + Tinystruct focuses on reducing unnecessary complexity in application development. |
| 128 | + Its lightweight, modular nature makes it an excellent choice for developers looking for a straightforward, efficient framework for various Java-based projects. |
| 129 | + </p> |
| 130 | + </div> |
| 131 | + <footer> |
| 132 | + <p>Created with ❤️ by [Your Name]</p> |
| 133 | + </footer> |
| 134 | +</body> |
| 135 | +</html> |
0 commit comments