forked from manwar/Dancer2-Cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
58 lines (36 loc) · 1.18 KB
/
README
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
Dancer2 Cookbook
----------------
Example 1: Bookstore
INSTALL:
- sudo cpanm Dancer2::Plugin::DBIC
- sqlite3 bookstore.db < bookstore.sql
- sqlite3 bookstore.db < cpan.sql (Only if required)
- SCHEMA_LOADER_BACKCOMPAT=1 perl populate_database.pl
RUN:
- sudo plackup bin/app.psgi
FEATURE:
- List authors and their books.
- Add/Edit/Delete Author.
- Add/Edit/Delete Book.
- Search Author/Book.
Example 2: Continuation from Example 1
FEATURE:
- Added AJAX call to Delete Book page.
Example 3: Continuation from Example 2
FEATURE:
- Added login page and basic authentication.
- Added register page.
- Added logout functionality.
Example 4: Continuation from Example 3
FEATURE:
- Experimented with Dancer2::Core::Error.
- Added Chart using Highchart library with ajax call.
Example 5: Continuation from Example 4
FEATURE:
- Implemented CAPTCHA to the login page.
- Implemented CAPTCHA to the register page.
Example 6: Continuation from Example 5
FEATURE:
- Implemented route chaining.
- Added link 'Work', showing charts for GitHub/MetaCPAN favourites using route chaining.
- Implemented Dancer2::Plugin::Res.