Skip to content

Commit e13264e

Browse files
committed
Some cleanup of the landing page
Specifically: - Changed some Dancer references to Dancer2 - Minor language tweaks - Added JSON, Redis, DBIC to session engines - Tweaked app invocation commands
1 parent 95c5aef commit e13264e

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

views/index.tt

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
<p>
3939
Dancer has been designed as a Perl web framework which is easy and
40-
intuitive to get to grips with - this is how easy it can be:
40+
intuitive to get to grips with:
4141
</p>
4242

4343
<ul class="clearme listreset dbc">
@@ -57,17 +57,17 @@
5757

5858
<li>
5959
<pre style="margin-top: 1em;">
60-
$ perl bin/app.pl &
60+
$ plackup bin/app.psgi &
6161
...
62-
$ curl https://localhost:3000/
62+
$ curl https://localhost:5000/
6363
Hello world!
6464
</pre>
6565
</li>
6666

6767
</ul>
6868

6969
<p>
70-
Getting started with Dancer is easy, but it provides everything you need to
70+
Getting started with Dancer is easy, yet it provides everything you need to
7171
write your web applications with ease!
7272
</p>
7373

@@ -108,7 +108,7 @@
108108

109109
<p>
110110
Support for many more template engines is available, and it's easy to write
111-
a Dancer::Template::* wrapper to add support for your favourite
111+
a Dancer2::Template::* wrapper to add support for your favourite
112112
engine if it's not already available.
113113
</p>
114114

@@ -124,7 +124,7 @@
124124
</p>
125125

126126
<p><strong>ORM with DBIx::Class</strong></p>
127-
<p>Dancer::Plugin::DBIC provides easy database access using DBIx::Class:</p>
127+
<p>Dancer2::Plugin::DBIC provides easy database access using DBIx::Class:</p>
128128
<pre class="prettyprint">
129129
get '/profile/:id' => sub {
130130
my $user = schema->resultset('Users')->find(params->{id});
@@ -133,7 +133,7 @@ get '/profile/:id' => sub {
133133
</pre>
134134

135135
<p><strong>Or easy DBI database access</strong></p>
136-
<p>Dancer::Plugin::Database manages your database connections, providing an
136+
<p>Dancer2::Plugin::Database manages your database connections, providing an
137137
augmented DBI database handle for you to use:</p>
138138
<pre class="prettyprint">
139139
get '/profile/:id' => sub {
@@ -179,15 +179,16 @@ ajax '/getloadavg' => sub {
179179
<h3>Easy session support</h3>
180180
<p>
181181
Session support is in-built, with a wide choice of session storage methods:
182-
</p>
182+
</p><br />
183183

184184
<ul>
185-
<li>YAML/Storable files on disc</li>
186-
<li>Memcache</li>
185+
<li>YAML/JSON/Storable files on disc</li>
186+
<li>Memcached</li>
187187
<li>DBI</li>
188188
<li>MongoDB</li>
189-
<li>KiokuDB</li>
189+
<li>Redis</li>
190190
<li>Encrypted cookies</li>
191+
<li>DBIx::Class</li>
191192
</ul>
192193
</div>
193194

@@ -202,7 +203,7 @@ ajax '/getloadavg' => sub {
202203
</p>
203204

204205
<p>
205-
Just <a href="https://metacpan.org/search?q=Dancer%3A%3APlugin%3A%3A">
206+
Just <a href="https://metacpan.org/search?q=Dancer2%3A%3APlugin%3A%3A">
206207
search CPAN</a> and see!
207208
</p>
208209
</div>

0 commit comments

Comments
 (0)