PacktLib: Opa Application Development

Opa Application Development

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Getting Started with Opa

Installing Opa

Setting up editors

Your first Opa application

Summary

Basic Syntax

Basic datatypes

Functions

Data structures

Pattern matching

Text parsers

Summary

Developing Web Applications

Starting a web server

Dispatching requests

Preparing pages

Manipulating DOMs

Summary

Using Bootstrap

Importing Bootstrap

Using classes

Using icons

Using widgets

Summary

Communicating between Client and Server

Client and server slicing

Client and server communication

Summary

Binding with Other Languages

Binding JavaScript

Binding Node.js

Binding external functions using the classic syntax

Summary

Working with Databases

A quick start to MongoDB

Database manipulation

Querying data

Summary

Internationalization

Internal approach

External approach

Summary

Building a Chat Application

Creating a project

Launching the web server

Designing user interface

Building application logic

Broadcasting and receiving messages

Summary

Building a Game – Pacman

The project structure

The HTML5 Canvas

Drawing a shape

Drawing an image

Drawing the text

Binding the external JavaScript library

Summary

Developing a Social Mobile Application – LiveRoom

Project structure

Authorizing a user

The application

Summary

Index