Opa Application Development

A rapid and secure web development framework to develop web applications quickly and easily in Opa

Opa Application Development

Starting
Li Wenbo

A rapid and secure web development framework to develop web applications quickly and easily in Opa
$10.00
$29.99
RRP $14.99
RRP $29.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Book Details

ISBN 139781782163749
Paperback116 pages

About This Book

  • Discover the Opa framework in a progressive and structured way
  • Build secure, powerful web applications with Opa.
  • Create three complete web application demos with Opa.

Who This Book Is For

If you are a web developer who wants to get started with the Opa framework and build web applications with it? Then this book is for you. Web development experience is assumed and would be helpful.

Table of Contents

Chapter 1: Getting Started with Opa
Installing Opa
Setting up editors
Your first Opa application
Summary
Chapter 2: Basic Syntax
Basic datatypes
Functions
Data structures
Pattern matching
Text parsers
Summary
Chapter 3: Developing Web Applications
Starting a web server
Dispatching requests
Preparing pages
Manipulating DOMs
Summary
Chapter 4: Using Bootstrap
Importing Bootstrap
Using classes
Using icons
Using widgets
Summary
Chapter 5: Communicating between Client and Server
Client and server slicing
Client and server communication
Summary
Chapter 6: Binding with Other Languages
Binding JavaScript
Binding Node.js
Binding external functions using the classic syntax
Summary
Chapter 7: Working with Databases
A quick start to MongoDB
Database manipulation
Querying data
Summary
Chapter 8: Internationalization
Internal approach
External approach
Summary
Chapter 9: Building a Chat Application
Creating a project
Launching the web server
Designing user interface
Building application logic
Broadcasting and receiving messages
Summary
Chapter 10: 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
Chapter 11: Developing a Social Mobile Application – LiveRoom
Project structure
Authorizing a user
The application
Summary

What You Will Learn

  • Set up Opa development environment
  • Develop a web application, manipulate DOM and CSS.
  • Use bootstrap in Opa, including classes, icons and widgets.
  • Slice client and server code.
  • Bind JavaScript and Nodejs to Opa and build a plugin.
  • Store, update and query data in database with MongoDB as the backend.
  • Build a chat application, LiveRoom application in Opa.
  • Handle image and audio with canvas to build a Pacman game

In Detail

Opa is a full-stack Open Source web development framework for JavaScript that lets you write secure and scalable web applications. It generates standard Node.js/MongoDB applications, natively supports HTML5 and CSS and automates many aspects of modern web application programming. It handles all aspects of web programming written in one consistent language and compiled to web standards.

Opa Application Development is a practical,hands-on guide that provides you with a number of step-by-step exercises. It covers almost all aspects of developing a web application with Opa, which will help you take advantage of the real power of Opa, as well as building a secure, powerful web application rapidly.

Opa Application Development dives into all concepts and components required to build a web application with Opa. The first half of this book shows you all of the basic building blocks that you will need to develop an Opa application, including the syntax of Opa, web development aspects, client and server communication and slicing, plugin, database, and so on. By the end of the book you will have yourself created a complete web application along with a game: Pacman!

Authors

Table of Contents

Chapter 1: Getting Started with Opa
Installing Opa
Setting up editors
Your first Opa application
Summary
Chapter 2: Basic Syntax
Basic datatypes
Functions
Data structures
Pattern matching
Text parsers
Summary
Chapter 3: Developing Web Applications
Starting a web server
Dispatching requests
Preparing pages
Manipulating DOMs
Summary
Chapter 4: Using Bootstrap
Importing Bootstrap
Using classes
Using icons
Using widgets
Summary
Chapter 5: Communicating between Client and Server
Client and server slicing
Client and server communication
Summary
Chapter 6: Binding with Other Languages
Binding JavaScript
Binding Node.js
Binding external functions using the classic syntax
Summary
Chapter 7: Working with Databases
A quick start to MongoDB
Database manipulation
Querying data
Summary
Chapter 8: Internationalization
Internal approach
External approach
Summary
Chapter 9: Building a Chat Application
Creating a project
Launching the web server
Designing user interface
Building application logic
Broadcasting and receiving messages
Summary
Chapter 10: 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
Chapter 11: Developing a Social Mobile Application – LiveRoom
Project structure
Authorizing a user
The application
Summary

Book Details

ISBN 139781782163749
Paperback116 pages
Read More