-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
327 lines (291 loc) · 13.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
<!DOCTYPE html>
<html lang="zh-TW">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="shortcut icon" href="./assets/images/logo-icon.png?36dfb49b02201f2c56c5f6d1" />
<title>Windwalker - PHP Rapid Development Framework</title>
<meta property="og:image" content="https://i.imgur.com/1HHxwsI.jpg">
<link href="https://unpkg.com/[email protected]/themes/prism-dracula.css" rel="stylesheet" />
<link href="./assets/css/bootstrap.css?36dfb49b02201f2c56c5f6d1" rel="stylesheet" />
<link href="./assets/css/main.css?36dfb49b02201f2c56c5f6d1" rel="stylesheet">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MYMEG7N4RV"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-MYMEG7N4RV');
</script>
</head>
<body class="view-home layout-index route-index" style="margin-top: 56px">
<header class="l-main-header">
<nav class="l-main-nav navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
<div class="container">
<a class="navbar-brand" href="./">
<img src="./assets/images/logo-cw-h.svg?36dfb49b02201f2c56c5f6d1"
alt="LOGO"
style="height: 25px;"
/>
</a>
<button class="navbar-toggler" type="button"
data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
</ul>
<ul class="navbar-nav mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active"
href="./documentation">
<i class="fa-solid fa-file-lines"></i>
Documentation
</a>
</li>
<li class="nav-item">
<a class="nav-link active"
href="./status.html">
<i class="fa-solid fa-signal"></i>
Status
</a>
</li>
<li class="nav-item">
<a class="nav-link active"
target="_blank"
href="https://github.com/windwalker-io/framework">
<i class="fa-brands fa-github"></i>
Github
</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<div class="py-5 l-hero text-bg-primary d-flex align-items-center justify-content-center">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-6 mb-5 mb-lg-0">
<h1 class="mb-4">
<img src="./assets/images/logo-cw-h.svg?36dfb49b02201f2c56c5f6d1" alt="Windwalker logo"
style="height: 75px">
</h1>
<p class="fs-3">
The Next Generation PHP Framework
</p>
<ul class="fs-6">
<li>
Modern <strong>PHP 8.x</strong> environment.
</li>
<li>
<strong>31</strong> useful standalone components.
</li>
<li>
Powerful <strong>DI</strong> engine.
</li>
<li>
Built-in <strong>ViewModel</strong> and <strong>ORM</strong>.
</li>
<li>
Better <strong>IDE</strong> friendly supports.
</li>
</ul>
<p>
<img alt="GitHub" src="https://img.shields.io/github/license/windwalker-io/framework?style=for-the-badge">
<img alt="Packagist Version" src="https://img.shields.io/packagist/v/windwalker/framework?label=version&style=for-the-badge">
<img alt="Packagist PHP Version" src="https://img.shields.io/packagist/dependency-v/windwalker/framework/php?style=for-the-badge">
</p>
<p class="mt-5">
<a class="btn btn-light btn-lg"
href="./documentation">
<i class="fa-solid fa-file-lines"></i>
4.x Documentation
</a>
<a class="btn btn-dark btn-lg" target="_blank"
href="https://github.com/windwalker-io/framework">
<i class="fa-brands fa-github"></i>
GitHub
</a>
</p>
</div>
<div class="col-lg-6">
<div>
<div class="browser-window">
<div class="top-bar">
<div class="circles gap-2">
<div class="circle circle--red"></div>
<div class="circle circle--yellow"></div>
<div class="circle circle--green"></div>
</div>
</div>
<div class="content">
<pre><code class="language-php">#[ViewModel(
layout: 'article-list',
js: 'article-list.js'
)]
class ArticleListView implements ViewModelInterface
{
public function __construct(
#[Autowire]
protected ArticleRepository $repository,
) {}
public function prepare(AppContext $app, View $view): array
{
[$id, $page] = $app->input('id', 'page')->values()->dump();
$items = $this->repository->getListSelector()
->where('category_id', $id)
->page($page);
return compact('items');
}
}</code></pre>
</div>
</div>
</div>
</div>
</div>
<div class="c-banner-arrow">
<i class="fa-solid fa-angles-down fa-2x"></i>
</div>
</div>
</div>
<main class="">
<section class="container l-section l-section--features my-7">
<h2 class="l-section__title mb-6 fw-bold text-center">FEATURES</h2>
<!-- Feature Row -->
<div class="row">
<!-- Feature -->
<div class="feature-item col-md-4 text-center">
<div class="feature-icon">
<i class="fa-solid fa-face-grin-wide fa-4x" style="color: var(--bs-teal)"></i>
</div>
<h3 class="feature-title mt-4 mt-4">
Easy but Powerful
</h3>
<p class="text-secondary">
Learning a new framework is hard,
we provide simple and semantic interface to help developers understand this framework.
</p>
</div>
<!-- Feature -->
<div class="feature-item col-md-4 text-center">
<div class="feature-icon">
<i class="fa-solid fa-layer-group fa-4x" style="color: var(--bs-purple)"></i>
</div>
<h3 class="feature-title mt-4">
Fully Decoupled
</h3>
<p class="text-secondary">
Windwalker is a set of PHP tools, you can easily install them by composer without too many dependencies.
</p>
</div>
<!-- Feature -->
<div class="feature-item col-md-4 text-center">
<div class="feature-icon">
<i class="fa-solid fa-expand fa-4x" style="color: var(--bs-orange)"></i>
</div>
<h3 class="feature-title mt-4">
Extendable
</h3>
<p class="text-secondary">
The package system helps us organize our classes and routing to build large enterprise level applications.
</p>
</div>
</div>
<!-- Feature Row -->
<div class="row mt-5">
<!-- Feature -->
<div class="feature-item col-md-4 text-center">
<div class="feature-icon">
<i class="fa-solid fa-arrows-to-circle fa-4x" style="color: var(--bs-danger)"></i>
</div>
<h3 class="feature-title mt-4">
Standard
</h3>
<p class="text-secondary">
We follow PSR standard, you can easily integrate 3rd party middlewares or caching library into Windwalker.
</p>
</div>
<!-- Feature -->
<div class="feature-item col-md-4 text-center">
<div class="feature-icon">
<i class="fa-solid fa-hat-wizard fa-4x" style="color: var(--bs-indigo)"></i>
</div>
<h3 class="feature-title mt-4">
Rapid Development
</h3>
<p class="text-secondary">
Windwalker is a RAD framework, building a usable system prototype with powerful UI is very fast.
</p>
</div>
<!-- Feature -->
<div class="feature-item col-md-4 text-center">
<div class="feature-icon">
<i class="fa-solid fa-laptop-code fa-4x" style="color: var(--bs-info)"></i>
</div>
<h3 class="feature-title mt-4">
IDE friendly
</h3>
<p class="text-secondary">
Class searching, auto-completion and many useful IDE functions are working well with IoC.
</p>
</div>
</div>
</section>
<section class="container l-section l-section--features my-7">
<h2 class="l-section__title mb-4 fw-bold text-center">GETTING STARTED</h2>
<div class="mt-4 row justify-content-center">
<div class="col-lg-6 col-md-8">
<pre><code class="language-bash">$ composer create-project windwalker/starter</code></pre>
</div>
</div>
<div class="mt-4 text-center">
<a class="btn btn-primary btn-lg"
href="./documentation">
<i class="fa-solid fa-file-lines"></i>
Documentation
</a>
</div>
</section>
</main> <!-- /container -->
<div id="copyright">
<div class="">
<hr class="mt-0" />
<footer class="container d-flex flex-column flex-lg-row align-items-center justify-content-between">
<div>
© Windwalker 2022 - Made by
<a target="_blank" href="https://lyrasoft.net"
style="text-decoration: none"
>
LYRASOFT
</a>
</div>
<div>
<ul class="nav">
<li class="nav-item">
<a class="nav-link" href="https://windwalker-io.github.io/site-legacy"
target="_blank">
3.x Docs
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/windwalker-io"
target="_blank">
GitHub
</a>
</li>
</ul>
</div>
</footer>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://kit.fontawesome.com/cefe7e8fb3.js" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-core.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="./assets/js/home.js?36dfb49b02201f2c56c5f6d1"></script>
</body>
</html>