Giter VIP home page Giter VIP logo

Comments (6)

vote539 avatar vote539 commented on May 21, 2024

The purpose of this project is for applications that want to use Socket.IO as their transport mechanism. There's nothing wrong with a pure XHR solution.

from socketio-file-upload.

rbecheras avatar rbecheras commented on May 21, 2024

OK, I understood that, so excuse me but I wanna understand what could be the pros & cons

from socketio-file-upload.

vote539 avatar vote539 commented on May 21, 2024

Okay, well Socket.IO is more resource intensive than pure AJAX: namely, it requires the client to download the Socket.IO+Engine.IO JavaScript library. At the same time, Socket.IO is a bit more robust, because it handles reconnections out of the box and guarantees message delivery. One thing you can get with Socket.IO File Upload is a progress bar, which you cannot normally do with AJAX uploads. However, with Socket.IO File Upload, you need to write your server in Node.JS: if you haven't used Node.JS before, that would be a major drawback from the Socket.IO approach. Hope that helps.

from socketio-file-upload.

rbecheras avatar rbecheras commented on May 21, 2024

Thank you @vote539 for your patience and explanations.
Ok so its pretty that I thought.
Thus in your opinion, the project will be fully usable when progress behaviors will be fully implemented yes?

from socketio-file-upload.

vote539 avatar vote539 commented on May 21, 2024

The progress behaviors are implemented as of version 0.4. If you have any issues with the progress events not functioning properly you should open a new ticket.

from socketio-file-upload.

rbecheras avatar rbecheras commented on May 21, 2024

Thank you very much for your time @vote539

from socketio-file-upload.

Related Issues (20)

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.