Comments (6)
I think ChuckT and ChuckT-node could may be even get merged into one module since both just operate on a websocket. We would have to add the server like callback functionality into ChuckT. This way applications could also initiate events with callbacks from the server. Would be cool if ChuckT would just use a websocket like object as transport layer without making any assumption about client / server.
from chuckt.
I actually want to use ChuckT in my application also for server-server communication so i implemented this functionality. The chuckt-client only needed some small changes to also run as server on node.js over SockJS-node and ws. (Without using chuckt-node). Think its cool to be client / server agnostic.
I also added also some jasmine specs and examples:
https://github.com/manuelstofer/chuckt/tree/unify-client-server
Let me know what you think about.
from chuckt.
Interesting idea. If it doesn't make chuckt harder to use or maintain, I'm not against it. But I do think I need more time to consider it.
from chuckt.
It does not change how chuckt is used in the browser. I also think it should be a bit easier to maintain because you would not have to maintain chuckt-node anymore.
from chuckt.
Any news on this?
from chuckt.
I'm definitely for making chuckt CommonJS compatible and having a single module that can power both the client and server. I haven't gotten a chance to experiment with it yet, but my main concern is how to make that happen without making it harder to maintain. I'm going to have some time next week to work on my open source stuff though, so I'll see what I can put together.
from chuckt.
Related Issues (3)
- an example HOT 6
- Tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chuckt.