万本电子书0元读

万本电子书0元读

顶部广告

Opa Application Development电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Li Wenbo

出  版  社:Packt Publishing

出版时间:2013-06-12

字       数:44.8万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
It is a tutorial guide to learning how to use Opa with JavaScript, Nodejs, and MongoDB to develop web applications easily and effectively.If you are a web developer who wants to get started with the Opa framework and build web applications with itThen this book is for you. Web development experience is assumed and would be helpful.
目录展开

Opa Application Development

Table of Contents

Opa Application Development

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers and more

Why Subscribe?

Free Access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Getting Started with Opa

Installing Opa

Installing Node.js

Installing the required modules

Installing the Opa compiler

Testing the installation

Setting up editors

Sublime Text

Vim

Emacs

Your first Opa application

Summary

2. Basic Syntax

Basic datatypes

Integers

Floats

Strings

Sum

Functions

Last expression return

Modules

Data structures

Records

Tuples

Lists

Iterating through a list

Finding elements

Transforming lists

Sorting a list

Maps

Pattern matching

Text parsers

Summary

3. Developing Web Applications

Starting a web server

A simple example

The server module

Dispatching requests

The resource handler

The dispatch handler

The register handler

The customize handler

The handlers group

Preparing pages

XHTML

Creating a page

Adding styles

Handling events

Manipulating DOMs

DOM selection

Reading values

Updating content

Binding an event handler

Animations

Summary

4. Using Bootstrap

Importing Bootstrap

Using classes

Using icons

Bootstrap icons

Font Awesome icons

Using widgets

Summary

5. Communicating between Client and Server

Client and server slicing

A simple example

Slicing annotations

Module slicing

Expression slicing

Client and server communication

Session

Cell

Network

Summary

6. Binding with Other Languages

Binding JavaScript

The first example

Using external types

Binding Node.js

Binding external functions using the classic syntax

Summary

7. Working with Databases

A quick start to MongoDB

Database manipulation

Records

Lists

Sets and maps

Querying data

Summary

8. Internationalization

Internal approach

External approach

Summary

9. Building a Chat Application

Creating a project

Launching the web server

Designing user interface

Building application logic

Broadcasting and receiving messages

Summary

10. Building a Game – Pacman

The project structure

The HTML5 Canvas

Drawing a shape

Using the fill and stroke properties

Drawing a curve

Drawing an image

Drawing the text

Binding the external JavaScript library

Preloading the resources

Playing sounds

Summary

11. Developing a Social Mobile Application – LiveRoom

Project structure

Authorizing a user

Signing in and signing out

Signing in with Facebook

The application

Listing topics

Creating a topic

Posting messages and comments

Designing for mobile devices

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部