Giter Club home page Giter Club logo

Comments (6)

manuelstofer avatar manuelstofer commented on September 24, 2024

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.

manuelstofer avatar manuelstofer commented on September 24, 2024

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.

epixa avatar epixa commented on September 24, 2024

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.

manuelstofer avatar manuelstofer commented on September 24, 2024

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.

manuelstofer avatar manuelstofer commented on September 24, 2024

Any news on this?

from chuckt.

epixa avatar epixa commented on September 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.