-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdata-processing.html
218 lines (215 loc) · 6.09 KB
/
data-processing.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
<!DOCTYPE html><html><head>
<meta charset="utf-8">
<title>Gaclib -- Home -- Data processing</title>
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" type="text/css" href="../global.css">
<link rel="stylesheet" type="text/css" href="../article.css">
<link rel="stylesheet" type="text/css" href="../navigation.css">
<link rel="stylesheet" type="text/css" href="../category.css">
<script src="../scripts/rootView.js"></script>
<script src="../scripts/homeView.js"></script>
<script src="../scripts/homeCategoryFeatureView.js"></script>
</head>
<body>
<div id="MVC-ViewContainer"></div>
<script lang="javascript">
{
const mvcModel = {
"path": "data-processing"
};
const mvcViews = [
{
"targetObject": "MVC-ViewContainer",
"viewName": "Gaclib-RootView"
},
{
"targetObject": "rootViewContainer",
"viewName": "Gaclib-HomeView"
},
{
"targetObject": "homeViewContainer",
"viewName": "Gaclib-HomeCategoryFeatureView"
}
];
const activeButton = "Home";
const activeCategory = "Data";
const homeArticle = {
"index": false,
"numberBeforeTitle": false,
"topic": {
"kind": "Topic",
"title": "Welcome to Gaclib!",
"content": [
{
"kind": "Paragraph",
"content": [
{
"kind": "Text",
"text": "\n Gaclib is a GPU accelerated C++ User Interface library.\n It is flexible, customizable with rich amount of built-in layout and controls.\n It also supports control templates, list item templates, MVVM, localization, animation, etc.\n More importantly, even if the UI is very complex, it still has good performance in interaction.\n You can find it at "
},
{
"kind": "PageLink",
"href": "https://github.com/vczh-libraries/Release",
"content": [
{
"kind": "Text",
"text": "github"
}
]
},
{
"kind": "Text",
"text": ".\n This library provide many useful features.\n If you don't need all features,\n you can just use a subset of released C++ files to reduce the size of the executable.\n "
}
]
},
{
"kind": "Paragraph",
"content": [
{
"kind": "Image",
"src": "/resources/home/xml_HelloWorld.png"
}
]
}
]
}
};
const featureList = {
"title": "Data processing",
"features": [
{
"image": "/resources/home/cat_data_containers.png",
"href": "data-processing/containers.html",
"article": {
"index": false,
"numberBeforeTitle": false,
"topic": {
"kind": "Topic",
"title": "Containers",
"content": [
{
"kind": "Paragraph",
"content": [
{
"kind": "Text",
"text": "Array, List, SortedList, Dictionary, Group, and more..."
}
]
}
]
}
}
},
{
"image": "/resources/home/cat_data_linq.png",
"href": "data-processing/linq.html",
"article": {
"index": false,
"numberBeforeTitle": false,
"topic": {
"kind": "Topic",
"title": "Rich collection operations",
"content": [
{
"kind": "Paragraph",
"content": [
{
"kind": "Text",
"text": "All collection operations you need have already been built in."
}
]
}
]
}
}
},
{
"image": "/resources/home/cat_data_filesystem.png",
"href": "data-processing/filesystem.html",
"article": {
"index": false,
"numberBeforeTitle": false,
"topic": {
"kind": "Topic",
"title": "Files and streams",
"content": [
{
"kind": "Paragraph",
"content": [
{
"kind": "Text",
"text": "Basic access from file system, file IO and streaming."
}
]
}
]
}
}
},
{
"image": "/resources/home/cat_data_http.png",
"href": "data-processing/http.html",
"article": {
"index": false,
"numberBeforeTitle": false,
"topic": {
"kind": "Topic",
"title": "Http client",
"content": [
{
"kind": "Paragraph",
"content": [
{
"kind": "Text",
"text": "Query data from the internet by one function call."
}
]
}
]
}
}
},
{
"image": "/resources/home/cat_data_threading.png",
"href": "data-processing/threading.html",
"article": {
"index": false,
"numberBeforeTitle": false,
"topic": {
"kind": "Topic",
"title": "Threading and synchronozation",
"content": [
{
"kind": "Paragraph",
"content": [
{
"kind": "Text",
"text": "Thread, thread pool, locks, and syntax sugar."
}
]
}
]
}
}
}
]
};
window["MVC-Resources.mvcModel"] = mvcModel;
window["MVC-Resources.mvcViews"] = mvcViews;
window["MVC-Resources.activeButton"] = activeButton;
window["MVC-Resources.activeCategory"] = activeCategory;
window["MVC-Resources.homeArticle"] = homeArticle;
window["MVC-Resources.featureList"] = featureList;
for (const view of mvcViews) {
window[view.viewName].renderView(mvcModel, document.getElementById(view.targetObject));
}
const renderedScriptTags = document.getElementById("MVC-ViewContainer").getElementsByTagName("script");
for (const scriptTag of renderedScriptTags) {
eval(
"(function(){" + scriptTag.innerHTML + "})()"
);
}
}
</script>
</body></html>