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
Developing Web Applications
Starting a web server
Dispatching requests
Preparing pages
Manipulating DOMs
Using Bootstrap
Importing Bootstrap
Using classes
Using icons
Using widgets
Communicating between Client and Server
Client and server slicing
Client and server communication
Binding with Other Languages
Binding JavaScript
Binding Node.js
Binding external functions using the classic syntax
Working with Databases
A quick start to MongoDB
Database manipulation
Querying data
Internationalization
Internal approach
External approach
Building a Chat Application
Creating a project
Launching the web server
Designing user interface
Building application logic
Broadcasting and receiving messages
Building a Game – Pacman
The project structure
The HTML5 Canvas
Drawing a shape
Drawing an image
Drawing the text
Binding the external JavaScript library
Developing a Social Mobile Application – LiveRoom
Project structure
Authorizing a user
The application
Index