Clojure Recipes


Clojure Recipes (Developer’s Library)
by Julian Gamble  
B016QDCNRC
 
Print Length 页数:  288 pages
Publisher finelybook 出版社:  Addison Wesley; 01 edition (13 Oct. 2015)
Language 语言:  English
ISBN-10:  0321927737
ISBN-13:  9780321927736
Developers are discovering the exceptional power of Clojure’s functional programming model to quickly solve problems in domains ranging from social networking to Big Data. Clojure is fast and efficient—ideal for rapid prototyping and lean development. And it is highly expressive and extremely extensible,which makes Clojure one of today’s leading tools for software innovation. Since it targets the Java Virtual Machine,Clojure also leverages the Java platform’s maturity and enormous ecosystem.
Clojure Recipes is a wide-ranging,up-to-date “code recipe book” for this increasingly popular language. With practical and self-contained examples,author Julian Gamble illuminates Clojure’s key features and best practices,showing how to solve real-world problems one step at a time. Focusing on Clojure 1.7 and higher,Gamble fully reflects recent enhancements that ensure you’re getting the most up-to-date code for your project.
Gamble first walks you through the essential steps required to set up your Clojure development environment,from setting up the Leiningen build tool to packaging Clojure for Java EE environments. He then shows you how to build both basic and advanced REST servers,before turning to a wide range of increasingly sophisticated applications.
In this book you will find
Innovative Clojure code for diverse web, security,administration,and development tasks,from log reading and app monitoring to software testing
Detailed instructions for using concurrency primitives,writing new DSLs,simplifying cloud database development,and more
“Learn by doing” projects,which offer practical experience with Clojurescript, Storm,Pedestal,Datomic,and other advanced tools
Coverage of using Clojure with Cascalog 2.0 to write complex Hadoop queries with minimal code
The breadth and quality of Gamble’s examples make Clojure Recipes uniquely valuable both to developers who are exploring Clojure for the first time and to those already using it in production.
Contents
Chapter 1 Starting Your Project With Leiningen
Chapter 2 Packaging Clojure For A Java Ee Environment
Chapter 3 Creating A Rest Server In Compojure
Chapter 4 Creating A Rest Server With Liberator
Chapter 5 A Rest Client In Clojurescript
Chapter 6 A Simple Json Server
Chapter 7 A Simple Server Using The Pedestal Framework
Chapter 8 A Stock Ticker On The Pedestal Framework Server
Chapter 9 Simplifying Logging With A Macro
Chapter 10 Extending The Compiler With A Macro
Chapter 11 Simplifying Datomic Syntax By Writing A Dsl
Chapter 12 Reading The Sass Dsl And Generating Css With Clojure Zippers
Chapter 13 Introduction To Cascalog
Chapter 14 Cascalog And Hadoop
Chapter 15 Loading A Data File Into Cascalog
Chapter 16 Writing Out A Data File With Cascalog
Chapter 17 Cascalog And Structured Data
Chapter 18 Loading Custom Data Formats Into Cascalog
Chapter 19 Connecting To Datomic From Your Application
Chapter 20 Getting Started With Storm
Chapter 21 Getting Started With Jms In Clojure
Chapter 22 Integrating Storm And Jms
Chapter 23 A Csv Reader
Chapter 24 Detecting Errors With A Log Monitoring Application
Chapter 25 Bundling Clojure As An Ant Plug-In
Chapter 26 Bundling Clojure As A Maven Plug-In
Chapter 27 Integrating Clojure By Scripting Web Tests
Chapter 28 Monitoring Availability With A Website Status Checker
 
开发人员正在发现Clojure的功能编程模型的卓越功能,可以快速解决从社交网络到大数据的领域的问题。 Clojure快速高效 – 快速成型和精益开发的理想选择。而且它具有高度的表现力和极其可扩展性,这使得Clojure成为当今软件创新的领先工具之一。由于它面向Java虚拟机,Clojure还利用了Java平台的成熟度和巨大的生态系统。
Clojure食谱是一种广泛的,最新的“代码食谱”,适用于日益流行的语言。作者Julian Gamble通过实践和自足的例子阐述了Clojure的主要特征和最佳实践,展示了如何一次解决现实世界的问题。 Gamble专注于Clojure 1.7及更高版本,完全反映了最近的增强功能,确保您获得最新的项目代码。
Gamble首先引导您完成设置Clojure开发环境所需的基本步骤,从设计Leiningen构建工具到包装Clojure for Java EE环境。然后,他向您展示如何构建基本和高级REST服务器,然后再转向各种日益复杂的应用程序。
在这本书中你会发现
创新的Clojure代码,用于从日志读取和应用程序监控到软件测试的各种Web,安全性,管理和开发任务
使用并发原语,编写新DSL,简化云数据库开发等的详细说明
“通过做”学习“项目,提供Clojurescript,Storm,Pedestal,Datomic等先进工具的实践经验
使用Clojure与Cascalog 2.0进行覆盖,以最少的代码编写复杂的Hadoop查询
Gamble的范例和质量使Clojure Recipes对于首次探索Clojure以及已经在生产中使用Clojure的开发人员来说是独一无二的。
目录
第1章使用Leiningen启动项目
第2章Java Ee环境的包装Clojure
第3章在Compojure中创建休息服务器
第4章使用Liberator创建休息服务器
第五章休闲客户在Clojurescript
第6章简单Json服务器
第7章使用基座框架的简单服务器
第8章基座架构服务器上的股票代号
第9章使用宏简化日志
第10章使用宏扩展编译器
第11章通过编写Dsl简化Datomic语法
第12章阅读Sass Dsl并生成Css与Clojure拉链
第13章Cascalog介绍
第14章Cascalog和Hadoop
第15章将数据文件加载到Cascalog中
第16章用Cascalog写出一个数据文件
第17章Cascalog和结构化数据
第18章将自定义数据格式加载到Cascalog中
第19章从应用程序连接到原子
第20章风暴入门
第二十一章入门与Jms在Clojure
第22章整合风暴与Jms
第23章Csv读者
第24章使用日志监控应用程序检测错误
第25章捆绑Clojure作为Ant插件
第26章捆绑Clojure作为Maven插件
第27章通过脚本化Web测试集成Clojure
第28章使用网站状态检查器监控可用性
Clojure Recipes B016QDCNRC.azw3
Clojure Recipes B016QDCNRC.pdf

相关文件下载地址

打赏
未经允许不得转载:finelybook » Clojure Recipes

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫