Building User-Friendly DSLs

Cover of Building User-Friendly DSLs

EPUB · English

Price and availability

EPUB eBookUS store

$79.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
EPUB
DRM
Not stated by the publisher
Language
English
Publisher
Manning
Published
17 December 2024
ISBN
9781638356653
Subjects
Web services, Software Engineering, Databases & the Web, Web services, Software Engineering, Databases and the Web

About this book

Craft domain-specific languages that empower experts to create software themselves.Domain-specific languages put business experts at the heart of software development. These purpose-built tools let your clients write down their business knowledge and have it automatically translated into working softwareno dev time required. They seamlessly bridge the knowledge gap between programmers and subject experts, enabling better communication and freeing you from time-consuming code adjustments.Inside Building User-Friendly DSLs youll learn how to:Build a complete Domain IDE for a car rental companyImplement a projectional editor for your DSLImplement content assist, type systems, expressions, and versioning language aspectsEvaluate business rulesWork with Abstract Syntax TreesReduce notated DSL content in concrete syntax into abstract syntaxBuilding User-Friendly DSLs takes you on a carefully-planned journey through everything you need to create your own DSLs. It focuses on building DSLs that are easy for busy business experts to learn and master. By working through a detailed example of a car rental company, you'll see how to create a custom DSL with a modern and intuitive UI that can replace tedious coding activities.About the technologyHeres the central problem of software development: business users know what they need their apps to do, but they dont know how to write the code themselves. As a developer, this means you spend a lot of time learning the same domain-specific details your user already knows. Now theres a way to bridge this gap! You can create a Domain-Specific Language (DSL) that empowers non-technical business users to create and customize their own applications without writing any code.About the bookBuilding User-Friendly DSLs teaches you how to create a complete domain-specific language that looks and works like a web application. These easy-to-use DSLs put the power to create custom software into the hands of business domain experts. As you go, youll cover all the essentials, from establishing structure and syntax of your DSL to implementing a user-friendly interface.What's insideImplement a projectional editor for your DSLWork with Abstract Syntax TreesEvaluate business rulesAbout the readerFor developers with JavaScript and web development experience.About the authorMeinte Boersma is a senior developer and an evangelist of model-driven software development and DSLs.Table of Contents1 What is a domain-specific language?2 Representing DSL content as structured data3 Working with ASTs in code4 Projecting the AST5 Editing values in the projection6 Editing objects in the projection7 Implementing persistence and transportation of ASTs8 Generating code from the AST9 Preventing things from blowing up10 Managing change11 Implementing expressions: Binary operations12 Implementing expressions: Order of operations13 Implementing a type system14 Implementing business rules15 Some topics we didnt cover

Bibliographic data © Gardners Books Ltd.