Szczegóły ebooka

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

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

Li Wenbo

Ebook
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!
  • 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
  • Tytuł: Opa Application Development. A rapid and secure web development framework to develop web applications quickly and easily in Opa
  • Autor: Li Wenbo
  • Tytuł oryginału: Opa Application Development. A rapid and secure web development framework to develop web applications quickly and easily in Opa
  • ISBN: 9781782163756, 9781782163756
  • Data wydania: 2013-06-12
  • Format: Ebook
  • Identyfikator pozycji: e_3cpj
  • Wydawca: Packt Publishing