- Learn fundamental concepts, including Opa’s functional programming style
- Construct HTML resources dynamically and embed static resources on an Opa server
- Use Opa’s method for performing CRUD operations and storing key-value pairs in MongoDB
- Build an Opa user interface with the Bootstrap toolkit from Twitter
- Learn variant types, pattern-matching, polymorphic types, recursive functions, and other advanced features
- Manage user accounts by building login forms, handling account activation, and tracking logged users
- Build a reactive UI—a real-time interface that continuously updates user events
Table of contents
- Opa: Up and Running
I. Coding a Mini Wikipedia
- 1. First Steps: Getting to Know Opa
- 2. Opa Fundamentals
- 3. Servers, Resources, and URLs
- 4. Data Storage
5. Building the UI in HTML and CSS
- HTML Markup
- The Wiki Interface (HTML)
- Adding Style (CSS)
- Bootstrap: Nice, Out-of-the-Box Styling
Working with Designers
- How Should I Use the DOM Structure?
- Can You Describe Your Development Environment?
- How Should I Write CSS with Opa?
- Which Tools Should I Use to Write CSS?
- How Do I Improve the CSS Workflow in Opa?
- How Often Should Developers and Designers Interact?
- What Should Developers Know About CSS?
- What Should Designers Know About Opa?
- Can You Provide Some Tips for Quickly Customizing Your App’s Bootstrap-Based UI?
II. Coding a Mini-Twitter
6. The Web Chat App
- Starting a New Project
- View: Building User Interface
- Model: Application Logic
- Connecting the Model and the View
- Understanding Networks
- 7. More Advanced Features of Opa
8. User Management
- Setting Up the View
- Bootstrap Widgets: Modal Windows
- Form Handling in Opa: Registration Form
- Modeling and Adding Users
- Account Creation Notification: Sending Emails
- Activating a User Account Without an Activation Email
- Account Activation: URL Data Handling
- Keeping Track of Logged-In User: Handling User Associated Data
- The User’s Top-Bar Menu
- 9. Building Reactive UIs: New Messages with a Real-Time Preview
10. Data Storage and Querying: Storing and Fetching Relevant Messages
- Collections in Opa: Lists, Sets, and Maps
- Declaring Data
- Inserting/Updating Data
- Reading (and Querying) Data
- Data Manipulations in Birdy
- 6. The Web Chat App
- About the Authors
- Title: Opa: Up and Running
- Release date: February 2013
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449328818
You might also like
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
Software development today is embracing events and streaming data, which optimizes not only how technology interacts …
Mythical Man-Month, The: Essays on Software Engineering, Anniversary Edition, 2nd Edition
Few books on software project management have been as influential and timeless as The Mythical Man-Month. …
Foundations of Scalable Systems
In many systems, scalability becomes the primary driver as the user base grows. Attractive features and …