There are no reviews yet. Be the first to send feedback to the community and the maintainers!
socket.io-titanium ------------------ [email protected]([email protected]) TiMob SDK 1.8.1 How to use ========== * run server(chat server) shell > node prj/example-nodejs-server/chat.js * client(chat client) * DIR prj/ - README - LICENSE - tiapp.xml - example-nodejs-server/ - server.js - chat.js - Resources/ - app.js - socket.io-titanium.js - ti-websocket-client/ - ti-websocket-client.js - socket.io/ - package.json - lib/ - io.js - socket.js - util.js - transport.js - transports/ - xhr.js - xhr-polling.js - ... Example ======= channel chat titanium example: Resources/win_ti.js channel chat server example: example-nodejs-server/chat.js va io = require('socket.io-titanium'); var socket = io.connect('169.254.10.100:8080'); var chat = socket.of('/chat'); chat.on('available_channel', function (channels){ channels.forEach(function (channelName){ var row = Ti.UI.createTableViewRow({ title: channelName }); ... }); ... }); chat.on('broadcat:message', function(message){ .... }); input.addEventListener('return', function(){ chat.emit('post', input.value); }); win.addEventListener('open', function(){ chat.emit('join:channel', channelId); }); Notes ===== * Mac OSX run with iphonesim or android: set localnetwork alias localhost(127.0.0.1):: shell > sudo ifconfig lo0 alias 169.254.10.100 netmask 0xffffff run iphonesimlator.. [js code] var socket = io.connect('169.254.10.100:8080'); socket.send('hello world!!'); socket.on('message', function (message){ ... }); * android client: add property tiapp.xml <property name="ti.android.threadstacksize" type="int">32768</property>
geohash-mysql-func
geohash function for mysqlio.js
io-language engine for javascriptnode-bitmap
pure javascript Bitmap librarysocket.io-store-memcached
Memcached Store for Socket.ioTiMob-Module-Android-Thumbnail
android thumbnail modulephp-thread-utils
php thread utilityjna-libmemcached
libmemcached for JNA(Java Native Access)JIRAClient
SOAP JIRAClient for PHPphpbuf-rpc-example
phpbuf-rpc exampleLog4Io
msgpack-socket-rpc
yet another msgpack socket rpcio-utils
jna-libmecab
libmecab for JNA(Java Native Access)Jo
http://svn.coderepos.org/share/lang/java/JoHierophant
yet another distributed key-value storage(memcached server)protobuf-socket-rpc
fork http://code.google.com/p/protobuf-socket-rpc/actor.js
javascript Actor: scala's actor stylephptree
php abstract syntax tree(phc) onlineTemperance
TiMob-Plugin-Android-AndroidManifest-Rewrite
TiMob(android) generated AndroidManifest.xml rewrite plugin (ins android:screenOrientation attribute)bluff-node
bluff-node port to node from "Beautiful graphs in Javascript library bluffS2Dao.PHP5-Plugin
Eclipse plugin; support your s2dao.php5 developmentMessageResource.io
Hermit
PHP DAO(Data Access Object) frameworknowelium.github.com
github pageChariot
HTML Template Enginephp-memcached-server
php memcached serverPSTParser
Singa
php concurrent-thread frameworkLove Open Source and this site? Check out how you can help us