-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
193 lines (178 loc) · 8.16 KB
/
index.html
File metadata and controls
193 lines (178 loc) · 8.16 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Basic Page Needs
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta charset="utf-8">
<title>RailPhase</title>
<meta name="description" content="">
<meta name="author" content="">
<!-- Mobile Specific Metas
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/prism.css">
<link rel="stylesheet" href="css/style.css">
<!-- Favicon
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="icon" type="image/png" href="images/favicon.png">
</head>
<body>
<!-- Title Banner
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div style="margin: 0px; padding: 0px; background: url(images/cover-bg.jpg); background-size: cover; background-position: center center;">
<div class="container text-center head-container">
<div class="title">
<h1 class="brand">Rail<span class="primary">Phase</span></h1>
<h2 class="subtitle" style="">The pragmatic web framework for .NET</h2>
</div>
<div class="nav">
<a href="#features">Overview</a>
<a href="#get-railphase">Download</a>
<a href="http://railphase.readthedocs.org/en/latest/">Documentation</a>
</div>
</div>
</div>
<!-- Introduction text
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div class="container text-center" style="margin-top: 50px;">
<p class="large">
RailPhase is a modern web framework for .NET.
<br>
It borrows some of the concepts from other frameworks like <a href="http://rubyonrails.org/">Ruby on Rails</a>,
but gives you full control over the application without enforcing any design patterns.
</p>
<h2>RailPhase is…</h2>
<div class="row">
<div class="one-third column">
<a class="no-underline" href="http://railphase.readthedocs.org/en/latest/"><h4><i class="fa fa-check"></i> Documented</h4></a>
</div>
<div class="one-third column">
<a class="no-underline" href="https://travis-ci.org/LukasBoersma/RailPhase"><h4><i class="fa fa-check"></i> Tested</h4></a>
</div>
<div class="one-third column">
<a class="no-underline" href="https://raw.githubusercontent.com/LukasBoersma/RailPhase/master/LICENSE.txt"><h4><i class="fa fa-check"></i> Open-source (MIT license)</h4></a>
</div>
</div>
<hr>
<!-- Download overview
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<h2 id="get-railphase">Get RailPhase!</h2>
<div class="row">
<div class="twelve column service-link">
<h4 class="service-logo">
<a href="https://github.com/LukasBoersma/RailPhase/archive/master.zip">
<i class="fa fa-download"></i> Download source code
</a>
</h4>
</div>
</div>
<div class="row">
<div class="one-third column service-link">
<h4 class="service-logo">
<a href="https://github.com/LukasBoersma/RailPhase">
<i class="fa fa-github"></i> View on Github
</a>
</h4>
</div>
<div class="two-thirds column service-link">
<input class="copy-field" type="text" onClick="this.select();" value="git clone https://github.com/LukasBoersma/RailPhase">
</div>
</div>
<div class="row">
<div class="one-third column service-link">
<h4 class="service-logo">
<a href="http://www.nuget.org/packages/RailPhase/">
<i class="fa fa-cube"></i> Install from Nuget
</a>
</h4>
</div>
<div class="two-thirds column service-link">
<input class="copy-field" type="text" onClick="this.select();" value="Install-Package RailPhase">
</div>
</div>
<hr>
<!-- Feature Overview
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<h2 id="features">Features</h2>
<div class="text-left">
<h3>Familiar Model-View-Controller concept</h3>
<div class="row">
<div class="one-half column">
<p>
Have you worked with frameworks like Ruby on Rails, Django, or Sails.js before?
<br>
Then RailPhase will feel familiar to you.
</p>
<p>
In contrast to some other frameworks, you keep full control over the application architecture. Even the Model-View-Controller concept is optional.
</p>
</div>
<div class="one-half column">
<pre class="language-csharp"><code>var app = new App();
app.AddUrl("/", (request) => "Hello");
app.Run();</code></pre>
</div>
</div>
<h3>Powerful template system</h3>
<div class="row">
<div class="one-half column">
<p>
RailPhase uses a template syntax compatible with Django's template system. Templates are precompiled into .NET code, resulting in extremely fast page rendering.
</p>
<p>
This separation of logic and content is optional: You can use full C# code in templates, and you also place content in your code files.
</p>
</div>
<div class="one-half column">
<pre class="language-markup"><code><h1>{{title}}</h1>
<h2>{{subtitle}}</h2>
<div class="article-meta">
Posted on {{date}}
{% if has_author %}
by {{author}}
{% endif %}
</div>
{{content}}</code></pre>
</div>
</div>
<h3>Entity Framework and LINQ</h3>
<div class="row">
<div class="one-half column">
<p>
RailPhase ships with a model system that is based on <a href="https://msdn.microsoft.com/en-us/data/ef.aspx">Entity Framework</a>, which means that it integrates well with other .NET libraries and allows you to use <a href="https://en.wikipedia.org/wiki/Language_Integrated_Query">LINQ</a> queries.
</p>
</div>
<div class="one-half column">
<pre class="language-csharp"><code>posts = from article in Article.Objects
where article.Author == user
orderby article.Date
select article;</code></pre>
</div>
</div>
</div>
<hr>
<div class="row text-center" style="margin-bottom: 20px;">
<div class="twelve column">
<small>
© 2015 <a href="https://lukas-boersma.com">Lukas Boersma</a>
| <a href="https://lukas-boersma.com#contact">Impressum</a>
| <a href="http://www.disclaimer.de/disclaimer.htm">Disclaimer</a>
| <a href="mailto:mail@lukas-boersma.com">Contact: mail@lukas-boersma.com</a>
</small>
</div>
<div class="twelve column">
<small>
<a href="https://pixabay.com/de/schienen-titel-eisenbahn-transport-820000/">Source of the background image at the top</a>
</small>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/0.0.1/prism.min.js"></script>
<!-- End Document
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
</body>
</html>