Crystal Programming: A project-based introduction to building efficient, safe, and readable web and CLI applications
Language: English
Published by Packt Publishing, Limited, 2022
- Softcover
- New

Seller: Books Puddle, New York, NY, U.S.A.Books Puddle
AbeBooks seller since November 22, 2018
Condition: New
£ 55.21
Quantity: 4 available
Add to basketItem description from seller
pp. 356.
Seller Inventory # 26394967812
- Title
- Crystal Programming: A project-based introduction to building efficient, safe, and readable web and CLI applications
- Author
- Guilherme Bernal George Dietrich
- Publisher
- Packt Publishing, Limited
- Publication year
- 2022
- Condition
- New
- Binding
- Soft cover
- Language
- English
- ISBN 10
- 1801818673
- ISBN 13
- 9781801818674
The ultimate guide to Crystal programming covering all its fundamental concepts such as OOP and concurrent programming to help you write readable and safe code and build fast applications
Key Features
- The book uses an example-based approach for a better demonstration of the underlying concepts
- Develop a thorough appreciation of the roles of the macro API and annotations
- Leverage supportive tools – spec, documentation, deployment, and automation
Book Description
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.
What you will learn
- Explore how Crystal combines the merits of other languages
- Understand how to leverage existing C libraries without writing any C
- Focus on zero-cost abstractions with compile-time macros
- Use an example-based approach to demonstrate language features
- Develop a variety of Crystal applications, such as web and CLI apps
- Gain an understanding of the macro API and annotations
Who this book is for
Developers who want to learn Crystal programming or anyone looking to improve their ability to solve real-world problems using the language will find this book helpful. Experience in application development using any other programming language is expected. However, prior knowledge of Crystal is not required.
Table of Contents
- An Introduction to Crystal
- Basics Semantics and Features of Crystal
- Object-Oriented Programming
- Exploring Crystal via Writing a Command-Line Interface
- Input/Output Operations
- Concurrency
- C Interoperability
- Using External Libraries
- Creating a Web Application with Athena
- Working with Macros
- Introducing Annotations
- Leveraging Compile-Time Type Introspection
- Advanced Macro Usages
- Testing
- Documenting Code
- Deploying Code
- Automation
- Tooling Setup
- The Future of Crystal
"Synopsis" may belong to another edition of this title.
About the Author
George Dietrich is a software engineer, open-source aficionado, and Crystal community moderator. He holds a Master of Science degree in internet information systems and a Bachelor of Science degree in information sciences.
Guilherme Bernal is the chief technology officer at Cubos Tecnologia. He holds a bachelor's degree in TI management. Guilherme co-founded a software development company and several tech start-ups, including one that focused on teaching programming skills to a new generation of developers. He is also a two-time world finalist in the coding competition, ACM ICPC.
"About the title" may belong to another edition of this title.
Books Puddle
New York, NY, U.S.A.
AbeBooks seller since November 22, 2018
Shipping rates within U.S.A.
| Item | 12 to 19 business days | 12 to 14 business days |
|---|---|---|
| First item | £ 2.94 | £ 5.16 |
Payment methods
Store description
I mainly carry imported books from South East Asia / South Asia for readers of all Age Groups.
Specialty
South Asian and South East Asian Culture, Religion, Art etcSeller's business information
PLETOS INC
6931 51st Avenue, WOODSIDE
Woodside, NY U.S.A. 11377
Terms of sale
We accept return for those books which are received damamged. Though we take appropriate care in packaing to avoid such situation.
Right of withdrawal
If you are a consumer you can withdraw from the contract in accordance with the following. Consumer means any natural person who is acting for purposes which are outside his trade, business, craft or profession.
Information regarding the right of withdrawal
Statutory right to withdraw
You have the right to withdraw from this contract within 14 days without giving any reason.
The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good or the last lot or piece.
To exercise the right of withdrawal, electronically fill in and submit a clear statement on our website, under "My Purchases" in "My Account". We will communicate to you an acknowledgement of receipt of such a withdrawal on a durable medium (e.g. by e-mail) without delay.
To meet the withdrawal deadline, it is sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.
Effects of withdrawal
If you withdraw from this contract, we will reimburse to you all payments received from you, including the costs of delivery (except for the supplementary costs arising if you chose a type of delivery other than the least expensive type of standard delivery offered by us).
We may make a deduction from the reimbursement for loss in value of any goods supplied, if the loss is the result of unnecessary handling by you.
We will make the reimbursement without undue delay, and not later than 14 days after the day on which we are informed about your decision to withdraw from this contract.
We will make the reimbursement using the same means of payment as you used for the initial transaction, unless you have expressly agreed otherwise; in any event, you will not incur any fees as a result of such reimbursement.
We may withhold reimbursement until we have received the goods back, or you have supplied evidence of having sent back the goods, whichever is the earliest.
You shall send back the goods or hand them over to Books Puddle, New York, New York, U.S.A., without undue delay and in any event not later than 14 days from the day on which you communicate your withdrawal from this contract to us. The deadline is met if you send back the goods before the period of 14 days has expired. You will have to bear the direct cost of returning the goods. You are only liable for any diminished value of the goods resulting from the handling other than what is necessary to establish the nature, characteristics and functioning of the goods.
Exceptions to the right of withdrawal
The right of withdrawal does not apply to:
- The delivery of newspapers, journals or magazines with the exception of subscription contracts; and
- The supply of digital content which is not supplied on a tangible medium (e.g. on a CD or DVD) if you accepted when you placed your order that we could start to deliver it, and that you could not withdraw once delivery had started.