E-book details

Crystal Programming. A project-based introduction to building efficient, safe, and readable web and CLI applications

Crystal Programming. A project-based introduction to building efficient, safe, and readable web and CLI applications

George Dietrich, Guilherme Bernal

Ebook
Crystal is a programming language with a concise and user-friendly syntax, along with a seamless system and a performant core, reaching C-like speed. This book will help you gain a deep understanding of the fundamental concepts of Crystal and show you how to apply them to create various types of applications.
This book comes packed with step-by-step explanations of essential concepts and practical examples. You'll learn how to use Crystal’s features to create complex and organized projects relying on OOP and its most common design patterns. As you progress, you'll gain a solid understanding of both the basic and advanced features of Crystal. This will enable you to build any application, including command-line interface (CLI) programs and web applications using IOs, concurrency and C bindings, HTTP servers, and the JSON API.
By the end of this programming book, you’ll be equipped with the skills you need to use Crystal programming for building and understanding any application you come across.
  • 1. An Introduction to Crystal
  • 2. Basics Semantics and Features of Crystal
  • 3. Object-Oriented Programming
  • 4. Exploring Crystal via Writing a Command-Line Interface
  • 5. Input/Output Operations
  • 6. Concurrency
  • 7. C Interoperability
  • 8. Using External Libraries
  • 9. Creating a Web Application with Athena
  • 10. Working with Macros
  • 11. Introducing Annotations
  • 12. Leveraging Compile-Time Type Introspection
  • 13. Advanced Macro Usages
  • 14. Testing
  • 15. Documenting Code
  • 16. Deploying Code
  • 17. Automation
  • 18. Tooling Setup
  • 19. The Future of Crystal
  • Title: Crystal Programming. A project-based introduction to building efficient, safe, and readable web and CLI applications
  • Author: George Dietrich, Guilherme Bernal
  • Original title: Crystal Programming. A project-based introduction to building efficient, safe, and readable web and CLI applications
  • ISBN: 9781801816311, 9781801816311
  • Date of issue: 2022-05-27
  • Format: Ebook
  • Item ID: e_2t79
  • Publisher: Packt Publishing