All Projects → hprose → Hprose Html5

hprose / Hprose Html5

Licence: mit
Hprose is a cross-language RPC. This project is Hprose 2.0 Client for HTML5

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Hprose Html5

Hprose Js
Hprose is a cross-language RPC. This project is Hprose 2.0 RPC for JavaScript
Stars: ✭ 133 (-43.88%)
Mutual labels:  rpc, rpc-client, serialization-library, serialize, serialization, websockets, tcp, cross-platform, cross-browser
Hprose Nodejs
Hprose is a cross-language RPC. This project is Hprose 2.0 for Node.js
Stars: ✭ 297 (+25.32%)
Mutual labels:  rpc, rpc-client, serialization-library, serialize, serialization, tcp, cross-platform
Hprose Golang
Hprose is a cross-language RPC. This project is Hprose for Golang.
Stars: ✭ 1,143 (+382.28%)
Mutual labels:  rpc, rpc-client, serialization-library, serialize, serialization, cross-platform
Hprose Php
Hprose is a cross-language RPC. This project is Hprose 3.0 for PHP
Stars: ✭ 1,952 (+723.63%)
Mutual labels:  rpc, rpc-client, serialization-library, serialize, serialization, cross-platform
Hprose Java
Hprose is a cross-language RPC. This project is Hprose 2.0 for Java
Stars: ✭ 542 (+128.69%)
Mutual labels:  rpc, rpc-client, serialization-library, serialize, serialization, cross-platform
Hprose Delphi
Hprose is a cross-language RPC. This project is Hprose 2.0 for Delphi and FreePascal
Stars: ✭ 100 (-57.81%)
Mutual labels:  rpc, rpc-client, serialization-library, serialization, cross-platform
Hprose
HPROSE is short for High Performance Remote Object Service Engine. It's a serialize and RPC library, the serialize library of hprose is faster, smaller and more powerful than msgpack, the RPC library is faster, easier and more powerful than thrift.
Stars: ✭ 348 (+46.84%)
Mutual labels:  rpc, serialize, serialization, cross-platform, cross-browser
hprose-as3
Hprose for ActionScript 3.0
Stars: ✭ 18 (-92.41%)
Mutual labels:  serialization, rpc, rpc-client, serialize
Flatbuffers
FlatBuffers: Memory Efficient Serialization Library
Stars: ✭ 17,180 (+7148.95%)
Mutual labels:  rpc, serialization-library, serialization, cross-platform
ikeapack
Compact data serializer/packer written in Go, intended to produce a cross-language usable format.
Stars: ✭ 18 (-92.41%)
Mutual labels:  serialization, serialization-library, serialize
Saea
SAEA.Socket is a high-performance IOCP framework TCP based on dotnet standard 2.0; Src contains its application test scenarios, such as websocket,rpc, redis driver, MVC WebAPI, lightweight message server, ultra large file transmission, etc. SAEA.Socket是一个高性能IOCP框架的 TCP,基于dotnet standard 2.0;Src中含有其应用测试场景,例如websocket、rpc、redis驱动、MVC WebAPI、轻量级消息服务器、超大文件传输等
Stars: ✭ 318 (+34.18%)
Mutual labels:  rpc, websockets, tcp
Getty
a netty like asynchronous network I/O library based on tcp/udp/websocket; a bidirectional RPC framework based on JSON/Protobuf; a microservice framework based on zookeeper/etcd
Stars: ✭ 532 (+124.47%)
Mutual labels:  rpc, websockets, tcp
Lora Serialization
LoraWAN serialization/deserialization library for The Things Network
Stars: ✭ 120 (-49.37%)
Mutual labels:  serialization-library, serialize, serialization
Hprose Objc
Hprose is a cross-language RPC. This project is Hprose 2.0 Client for Objective-C
Stars: ✭ 130 (-45.15%)
Mutual labels:  rpc, rpc-client, cross-platform
Jstp
Fast RPC for browser and Node.js based on TCP, WebSocket, and MDSF
Stars: ✭ 132 (-44.3%)
Mutual labels:  rpc, serialization, tcp
Co
Art of C++. Flag, logging, unit-test, json, go-style coroutine and more.
Stars: ✭ 2,264 (+855.27%)
Mutual labels:  rpc, tcp
Rpcx Gateway
http gateway for rpcx services. Clients in any programming languages can call them
Stars: ✭ 145 (-38.82%)
Mutual labels:  rpc, cross-platform
Kalm.js
The socket manager
Stars: ✭ 155 (-34.6%)
Mutual labels:  websockets, tcp
Ti Rpc
基于swoole封装的一个简易的JSON协议的RPC框架,思路是借鉴的,代码是自己写的。小修小改的,目前服务于前公司(注意是前公司)生产环境,每日支撑大约8000万次调用。
Stars: ✭ 144 (-39.24%)
Mutual labels:  rpc, tcp
Persistentstorageserializable
Swift library that makes easier to serialize the user's preferences (app's settings) with system User Defaults or Property List file on disk.
Stars: ✭ 162 (-31.65%)
Mutual labels:  serialization-library, serialization

Hprose

Promises/A+ logo

Hprose for HTML5

Join the chat at https://gitter.im/hprose/hprose-html5 bower version npm version GitHub release License



Introduction

Hprose is a High Performance Remote Object Service Engine.

It is a modern, lightweight, cross-language, cross-platform, object-oriented, high performance, remote dynamic communication middleware. It is not only easy to use, but powerful. You just need a little time to learn, then you can use it to easily construct cross language cross platform distributed application system.

Hprose supports many programming languages, for example:

  • AAuto Quicker
  • ActionScript
  • ASP
  • C++
  • Dart
  • Delphi/Free Pascal
  • dotNET(C#, Visual Basic...)
  • Golang
  • Java
  • JavaScript
  • Node.js
  • Objective-C
  • Perl
  • PHP
  • Python
  • Ruby
  • ...

Through Hprose, You can conveniently and efficiently intercommunicate between those programming languages.

This project is the implementation of Hprose for HTML5.

Browser support

Desktop browsers

  • Google Chrome 10+
  • Apple Safari 6+
  • Mozilla Firefox 9+
  • Opera 12+
  • Microsoft Internet Explorer 10.0+
  • ...

Mobile browsers

  • Apple Safari on iOS 6+
  • Google Chrome on Android
  • Default Browser on Android 4+
  • Firefox Mobile
  • Internet Explorer on Windows Phone
  • ...

Hybird app support

  • ionic + cordova (http, tcp, websocket)
  • Chrome extentions (http, tcp, websocket)
  • APICloud (http, tcp*)
  • DCloud (http)
  • AppCan (http)
  • ... (http, websocket)

TCP is only available on iOS for APICloud, because there is a bug of APICloud Android SDK, and they don't want to fix this bug.

Usage

You don't need use the javascript source files. You only need include hprose-html5.js in your html.

Exception Handling

If an error occurred on the server, or your service function/method throw an exception, it will be sent to the client. You need to pass an error callback function after succuss callback function to receive it. If you omit this callback function, the client will ignore the exception, like never happened.

For example:

<html>
<head>
<script type="text/javascript" src="hprose-html5.js"></script>
</head>
<body>
<script type="text/javascript">
    var client = new hprose.HttpClient("http://www.hprose.com/example/", ["hello"]);
    client.hello("World!", function(result) {
        alert(result);
    }, function(name, err) {
        alert(err);
    });
</script>
</body>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].