Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'd like to create a small JS, HTML & CSS-only web application for my personal use with some kind of MVC-framework (like ember.js). My big requirement is that I want to persist the data permanently on the server where I run the web-application.
Is that achievable and what are good frameworks for it?
If something needs to run on the server I want it to be lightweight and easy to setup.
I need to be able to query the data. After a while there will be a few thousand rows in the database. Joins etc. won't be required.
It's highly possible, but you'll need somethign running on the server to swallow the data.
Typically you have serverside code which interacts with your data store to prevent users from manipulating your databases.
You can stick with JSON/Javascript and use CouchDB: http://couchdb.apache.org/.
It allows you to read/write data directly from Javascript, so you don't have to write server side code.
Other ideas to stay in the JSON/Javascript world - you can write from client side to a Node.js machine that writes to Mongo. Pure JSON/Javascript all the way down.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I know VueJS is a side server rendering (SSR) technology, so, which servers are for this framework? Can you give some examples?
You've got a lot of things mixed up, so I strongly suggest you go through the entire documentation. VueJS is a client-side application framework, like React, Ember, Backbone, etc.
Server-Side Rendering is just one of the features that VueJS comes with, which basically means that a server will pre-generate the HTML with the data prepopulated instead of making the user fetch all its parts and assemble them in the browser (which is way slower, and way worse for SEO). If by "what kind of server" you mean what type of language the SSR compilation runs in, it's Node.JS.
Good luck! There's a lot of terminology.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have a scientific simulation package written in C++, with poor visualization capabilities---it's hard to see what the simulation is actually doing at any one time. I would like to create a Javascript/WebGL based viewer, which would exchange data AJAX-style with the C++ simulation as it runs and visualize the results. The visualization data would comprise a few kilobytes of floating point data, and would be sent every few seconds. Communication would need to be bidirectional so that the user could specify what information is required to be visualized.
My question: what are the available libraries/technologies to be using on both sides (in the C++ application, and in the Javascript) to exchange this data?
Note: I see that similar questions to this (none of them a duplicate) have been asked and closed. I think my question is a valid one---certainly my need is genuine---and surely this is the best place to get answers. So, if there's some more productive way I should be phrasing my question, please let me know and I will do that.
One possibility is to use WebSockets for the communication. The Qt library includes support for a WebSocket server which the JavaScript client could connect to, after which bidirectional communication is possible. This also allows the exchange of binary data, which should allow you to send floating point data from the C++ side and use it at the JavaScript side as e.g. a Float32Array.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm writing a small gambling site where you can gamble with bitcoins.
As on the large currency exchange sites i want the user to log in. He then can create a new bitcoin address and send a amount of coins to that address.
When the transaction is six times confirmed the site should know about this status and give the user the sent amount of money on the site.
Now my question ist: Which Framework do i use.
The site will be written in Node.js. I have experience in working with the Blockchain Websocket API, but i think it is not reliable enough, so i looked into bitcoinjs.
What do you guys think? Which Framework is the best for determine these things?
Unless you are planning to use blockchain.info as your casino's wallet, I would stay away from their (or any other external) wallet management services, APIs, etc.
The traditional way of interfacing with bitcoin is by running bitcoind on your server, which is a fully fledged bitcoin client (and would need a full copy of the blockchain, so prepare for a big download there). You can communicate with it through its JSON RPC and it will keep track of different wallets/addresses you have & their balances, as well make payments when that is necessary.
That said, there appears to be a native nodejs bitcoind alternative ("bitcoinjs" that you mentioned as well) which would probably be easier to set up. My personal recommendation would be against using an unofficial/alternative implementation. Bitcoind is bitcoin, you can't go wrong with it. Bitcoinjs is far more likely to have bugs than bitcoind, and will presumably be behind bitcoind on updates, which are sometimes crucial.
Here's a getting-started-in-PHP tutorial. I know you aren't going to use PHP, but the principles are all the same. Hope it helps.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Iam now making a program where user enters login, pasw and then program sends it to website with post method or somethink like that, and then retrvieves html source and puts it in string.
I cant find a best option to do this. Currently my program's ui is in Qt QML and main is in c++.
I have done this before with libcurl but I dont like, so maybe there is another option.
And another problem is that iam beginner and I know just C++ and Qml. I tried javascript but i cant get it to work.
You have two options. You can either write C++ code to make the call(which will require some sort of library to help you make the call) or you can make the call in JavaScript using an XMLHttpRequest(Which is provided natively by QML).
XMLHttpRequest example:
http://qt-project.org/doc/qt-4.8/declarative-xml-xmlhttprequest-xmlhttprequest-example-qml.html
For C++ I would refer you to How do you make a HTTP request with C++? which discusses libraries that allow you to easily make the http calls in C++.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I wonder if there is a Node.js application that starts a server on the current folder to let me edit files through the web browser?
Kinda like http://www.cloud9ide.com, but for general editing (scripts, text etc).
You might want to look at Mozilla Skywriter - they are in the process of converting their server code to node.js.
You can now try making your little node.js app online with http://jsapp.us/.
It's a sandbox with Bespin/Skywriter editor and the commands to save and deploy a node.js application.
Its outside the scope of your question but if you have php access you could use http://tinymce.moxiecode.com/ and just set the value of the input field to the file you want to edit.
Then when you submit just have it overwrite the file you opened. I know its not using javascript like you asked but I though I would offer the suggestion its how I do what you where looking for.