Lisp Web Tales

My attempts at learning web development, foolishly using common lisp, and even more foolishly, writing about it in public

By Pavel Penev

Get the PDF/EPUP/MOBI version from leanpub.com

Get the source from Github

Table of Contents

  1. Preface
  2. Introduction
  3. Why Lisp
  4. Whats in the book
  5. Who is this for
  6. What you need to get started
  7. Typographic conventions
  8. 1 The basics
  9. Raw example
  10. A simple blog
  11. The source code
  12. Source walk-through
  13. Conclusion
  14. 2 Setting up a project
  15. Systems
  16. Quicklisp and manual installation
  17. restas-project
  18. Setting up a hello-world project
  19. Running the project
  20. Conclusion
  21. 3 HTML generation and templating
  22. Exploring all the options
  23. closure-template
  24. 4 Putting it together: Updated blog example
  25. Creating the project
  26. Setting up defmodule.lisp
  27. Updating the templates
  28. Rewriting the routes
  29. Post chapter refactoring
  30. Running the app
  31. 5 Persistence part I: PostgreSQL
  32. Introduction
  33. Setting up PostgreSQL
  34. What is a policy?
  35. Creating the project
  36. The schema
  37. Connecting
  38. Defining the tables.
  39. Defining our interface
  40. Exporting the interface
  41. Conclusion
  42. 6 Persistence part II: The UI
  43. Introduction
  44. Set up
  45. The templates
  46. The routes
  47. Getting it to run
  48. 7 Persistence part III: Redis
  49. Introduction
  50. A note on redis
  51. The “schema” or lack there of
  52. The implementation
  53. Handling upvotes
  54. Handling links
  55. Conclusion
  56. 8 Modules as reusable components part I: restas-directory-publisher
  57. Introduction
  58. Handling static files in restas
  59. Mounting modules
  60. Adding a stylesheet to linkdemo
  61. Contexts
  62. Conclusion
  63. 9 Modules as reusable components part II: Implementing a reusable module
  64. Introduction
  65. The interface
  66. The templates
  67. The routes
  68. Using authdemo in an application
  69. Conclusion
  70. Appendix A: Getting started
  71. Linux
  72. Windows
  73. Appendix B: Recomended reading
  74. Online tutorials
  75. Cliki: The Common Lisp wiki
  76. IRC

Lisp Web Tales

My attempts at learning web development, foolishly using common lisp, and even more foolishly, writing about it in public

A book By Pavel Penev

Get the PDF/EPUP/MOBI version from leanpub.com

Get the source from Github

Hello World!