Clojure Web Development Essentials
暫譯: Clojure 網頁開發精要

Ryan Baldwin

  • 出版商: Packt Publishing
  • 出版日期: 2015-02-28
  • 售價: $2,000
  • 貴賓價: 9.5$1,900
  • 語言: 英文
  • 頁數: 190
  • 裝訂: Paperback
  • ISBN: 1784392227
  • ISBN-13: 9781784392222
  • 相關分類: JVM 語言
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Develop your own web application with the effective use of the Clojure programming language

About This Book

  • Use Clojure to create robust, ready-to-be deployed web applications
  • Get to grips with Clojure through successive implementation of applications using new features
  • Explore the in-depth concepts of Clojure, such as templating, request routing, input validation, and database transactions, and utilize Java interoperability

Who This Book Is For

This book is for anyone who's worked with Clojure and wants to use it to start developing applications for the Web. Experience or familiarity with basic Clojure syntax is a must, and exposure to Leiningen (or other similar build tools such as Maven) would be helpful.

What You Will Learn

  • Generate a fully runnable web application using the Luminus Leiningen application template
  • Explore the basics of the underlying Ring framework and the Ring Server
  • Configure URL Routing, Logging, and some testing basics
  • Create new web pages using the Selmer template rendering library
  • Validate user-submitted form data
  • Store and retrieve data to and from a database
  • Configure, package, and deploy the finished application

In Detail

Functional programming enables developers to create and deploy applications quickly and easily. Using the Clojure programming language and the Leiningen build tool, this book teaches you how to leverage various Clojure libraries into the building blocks of a web-based application.

We'll start by generating a new, fully runnable, baseline web application using the Leiningen Luminus template. From there we'll examine the different pieces that compose our application, and learn the basics of the underlying Ring framework. Subsequent chapters will focus on each technology and leverage those technologies to build additional functionality into our application. You'll learn how to validate user submitted data, authentication, account creation, how to interact with a database, and more. Finally, we'll create an environment configuration and deploy our app.

By the end of this book you'll have created a full fledged application from start to finish, and you'll have the requisite skills to develop an efficient and robust web application.

商品描述(中文翻譯)

使用 Clojure 程式語言有效開發自己的網頁應用程式

本書介紹



  • 使用 Clojure 創建穩健的、可部署的網頁應用程式

  • 透過不斷實作應用程式來掌握 Clojure 的新特性

  • 深入探索 Clojure 的概念,如模板、請求路由、輸入驗證和資料庫交易,並利用 Java 的互操作性

本書適合誰閱讀


本書適合任何曾經使用 Clojure 並希望利用它開始開發網頁應用程式的人。必須具備基本的 Clojure 語法經驗或熟悉度,並且接觸過 Leiningen(或其他類似的建構工具,如 Maven)會更有幫助。

您將學到什麼



  • 使用 Luminus Leiningen 應用程式模板生成一個完全可運行的網頁應用程式

  • 探索底層 Ring 框架和 Ring 伺服器的基本概念

  • 配置 URL 路由、日誌記錄和一些測試基礎

  • 使用 Selmer 模板渲染庫創建新的網頁

  • 驗證用戶提交的表單數據

  • 將數據存儲到資料庫並檢索

  • 配置、打包並部署完成的應用程式

詳細內容


函數式程式設計使開發人員能夠快速輕鬆地創建和部署應用程式。本書使用 Clojure 程式語言和 Leiningen 建構工具,教您如何利用各種 Clojure 函式庫作為網頁應用程式的基礎組件。


我們將從使用 Leiningen Luminus 模板生成一個新的、完全可運行的基線網頁應用程式開始。接著,我們將檢視組成我們應用程式的不同部分,並學習底層 Ring 框架的基本知識。隨後的章節將專注於每項技術,並利用這些技術為我們的應用程式增添額外的功能。您將學習如何驗證用戶提交的數據、身份驗證、帳戶創建、如何與資料庫互動等。最後,我們將創建環境配置並部署我們的應用程式。


在本書結束時,您將從頭到尾創建一個完整的應用程式,並具備開發高效且穩健的網頁應用程式所需的技能。