What should I use to create communication in a client-server application?
-
I want to create a client-server application. Website is a client which should send, receive and display data from server (real-time communication). I'm wondering what tools/technologies would be the best to create this application. What would be the best for client side and what for server side? (By tools/technologies I mean such as thing like node.js, javascript, java, etc.) I need only some general advices and tips. Thank you for any help!
-
Answer:
What languages/frameworks are you already most familiar with? This is a very common type of application, and the standard (simplified) architecture is like this: webpage with Javascript (jQuery or your favorite client-side framework) using AJAX to update on-page information in "real-time" with RESTful service call to server ("web service") web service written in Javascript (via node.js), Java (served by Tomcat, etc.), Ruby (On Rails), or any other server language (PHP is great for beginners, Perl is the granddaddy of them all, Scala is hot and fresh, the list goes on and on) So, the answer, as always, is there is no "best" language, the just right one for the company/people building the application.
Clint Liddick at Quora Visit the source
Other answers
Technologies you could use: http://libevent.org/ , zeromq, https://www.meteor.com/, firebase, AngularJS, BackboneJS. You'll decide which combination is the best.
Adrian Åilimon
Clint and Adrian gave given good answers already, and all of these would accomplish what you described. All I can add is perhaps PubNub, if you have really high real time requirements. For a better recommendation, I would ask you to get into more detail on your requirements. Client/server communication is extremely vague.
Christoph Wagner
Regardless of technology, with an HTML/webpage client the architecture of choice is AJAX from the web page to web services on the backend. Obviously, the webpage has to "pull" the data at a specified polling interval. The actual languages and platforms to use are very dependent on the expertise of the developer. I will avoid any specific library/package recommendations as they are highly dependent on the platform of choice. Remember mobile access nowadays will influence your choice of libraries as well (e.g. bootstrap).
Kane Tao
Clint Liddick has already answered your question. For more clear answer, you can add details to your question like the things you know (i.e. programming language/Toolkit), your requirements etc. If your requirements are not too high, there are webkits avaliable for many languages.
Varun Singh
Well, the choice of tools/technologies mostly depends on the requirements and the challenges involved in meeting them. So, it is probably an incorrect way to start an application with a tool/technology in mind. Choosing a programming language, in my opinion, is very important and at the same time, don't try to use fancy names just because someone is using it and boasts of knowing the same. Try to have some basic justification for the choice made. Let me know if you have any queries.
Kausal Malladi
Seems (I hope) you need something as simple as an ajax request. What you need (simplest to learn): Javascript for sure python/php Check out the web2py framework for python. Let me know if you need more help.
Nikhil Kodilkar
Related Q & A:
- How will the search rank get impacted if i move my mobile website to a single page application?Best solution by Webmasters
- What can I use to clean a DVD?Best solution by Yahoo! Answers
- What can I use as a screen name?Best solution by Yahoo! Answers
- What book should I use to teach playing on a bass guitar?Best solution by Yahoo! Answers
- What all activities and teaching methods should I use to teach phonics to a group of children of age 3-4 years?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.