Exercise: Echo Web application
Display a form and a button. After the user types in some text and clicks on the button, show "You said: " and the text typed in by the user. Two solutions: one with GET, the other one with POST.
Solutions
- Plain HTML
- Plain JavaScript
- Node.js (part 1)
- Python: Flask
- Perl 6: Bailador
- Perl 5: Echo with plain CGI
- Perl 5: Getting started with Perl Dancer - Creating an Echo application
- Perl 5: Echo with Plack in CGI mode
- Ruby: echo with CGI
Published on 2015-11-08
If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub.
Comment on this post