Opa: Up and Running - Henri Binsztok, Adam Koprowski, Ida Swarczewskaja

Opa: Up and Running

Rapid and Secure Web Development
Buch | Softcover
162 Seiten
2013
O'Reilly Media, Inc, USA (Verlag)
978-1-4493-2885-6 (ISBN)
19,65 inkl. MwSt
Want to simplify web development? This hands-on book shows you how to write frontend and backend code simultaneously, using the Opa framework. Opa provides a complete stack for web application development, including a web server, database engine, distribution libraries, and a programming language that compiles to JavaScript.

You’ll learn step-by-step how to use Opa by building two projects through the course of the book: a wiki application similar to Wikipedia, and a Twitter-like micro-blogging platform. Discover how easy it is to use Opa to develop applications with real-time updates, database interactions, and web service design.
  • Learn fundamental concepts, including Opa’s functional programming style
  • Discover how Opa compiles to JavaScript, using jQuery on the frontend and Node.js on the server
  • 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

Henri Binsztok is the creator of Opa and previously a researcher and teacher at the University of Paris, France.

Adam Koprowski is a software developer at Google. He has authored numerous articles on Opa. Adam was previously a researcher at Radboud University.

Ida Swarczewskaja graduated from Tallinn University of Technology. She is leading the work on the user experience and design of the Opa portal, tools, demos and applications.

Coding a Mini Wikipedia
Chapter 1 First Steps: Getting to Know Opa
Installing Opa
Our First Program
Toward Real Programs
Battle Plan
Summary
Chapter 2 Opa Fundamentals
Primitive Values
Dynamic Content
Records
Introduction to Types, and More About Records
A Brief Introduction to Variants
Functions: Building Blocks
Functional Programming
Functional + Typed
Summary
Chapter 3 Servers, Resources, and URLs
Web Resources
Embedding (Static) Resources
Serving Resources
Constructing (Dynamic) Resources
URL Dispatching
Summary
Chapter 4 Data Storage
CRUD (Create, Read, Update, and Delete)
Maps (Dictionaries)
Summary
Chapter 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
Summary
Coding a Mini-Twitter
Chapter 6 The Web Chat App
Starting a New Project
View: Building User Interface
Model: Application Logic
Connecting the Model and the View
Understanding Networks
Exercises
Chapter 7 More Advanced Features of Opa
Learning More About Types
Recursive Functions
What About Loops?
Bigger Projects
Packages
Summary
Chapter 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
Exercise
Summary
Chapter 9 Building Reactive UIs: New Messages with a Real-Time Preview
Parsing
Modeling Messages
Rendering Messages
Reactive UI: Live Preview
Summary
Chapter 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
Exercise
Summary
Colophon

Erscheint lt. Verlag 2.4.2013
Verlagsort Sebastopol
Sprache englisch
Maße 178 x 233 mm
Gewicht 272 g
Themenwelt Mathematik / Informatik Informatik Web / Internet
ISBN-10 1-4493-2885-7 / 1449328857
ISBN-13 978-1-4493-2885-6 / 9781449328856
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Wie bewerten Sie den Artikel?
Bitte geben Sie Ihre Bewertung ein:
Bitte geben Sie Daten ein:
Mehr entdecken
aus dem Bereich