How to import an Excel file to an HTML page [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
first of all let me tell you that im sorry for my bad english.
i'm working on a project(HTML5,JS,CSS3) and i have to import excel file to a table of HTML.So if u can give me some help ill appreciate that .ty anyway

To do this you need a server side library, however you must not install MS Office on a server. If you look at the Stack Overflow answer from Ian here it recommends a number of products that you can use.

What server side technology and language do you use? Node,ASP.NET? Every language has its own libraries for this job.
If However you prefer not to do it via the server then you can use the FileReader API and this post.
http://codetheory.in/parse-read-excel-files-xls-xlsx-javascript/

Related

Stuck with frontend. Need help to connect to backend (Node.js/Express/MySQL) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 days ago.
Improve this question
I am having some trouble with understanding the backend in a web architecture.
I have done my front webpages with css but i did not put any javascript.
The assignment requires me to use Node.js, Express, Mysql to build a login system, display of resources when requested.
Here are some questions i am still figuring out.
How do i connect my frontend to my backend?
Am i suppose to have some form of javascript in the frontend for connection to backend?
How does a web api play apart in this project?
Apologies for my open ended questions as i don't know what i don't know.
Thank you for your help guys.
I would appreciate if you have any online links for me to study into it.
I am currently stuck with just a HTML and CSS file.

Would it be possible to convert a NodeJS function to plain Javascript [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
Im currently playing with the following thing: http://cgbystrom.com/articles/deconstructing-spotifys-builtin-http-server/, I want to be able to access the SpotifyWebHelper with Javascript, people have build this in NodeJS but I wonder if this is possible in plain JavaScript. Can anyone give me some pointers to start with? Or is this not possible at all?
NodeJS version:
https://github.com/onetune/spotify-web-helper/blob/master/index.js
Node.js is "plain Javascript", the only difference between Node.js and everything else is it has access to the actual computer instead of being trapped in a web sandbox.
If you mean "can I make this work in a browser?" the answer is no. It needs to be able to spawn processes, which you can't do in a browser.

best way to communicate javascript and C++ [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
how can I communicate javascript with C++, run some commands, get active processes, but I didn't find any information on the web.
What I saw is the following links but none helps me:
http://comunidad.aisoy.es/api/Communication.html
http://www.mosync.com/docs/sdk/js/guides/wormhole/extending-javascript-with-cpp/index.html
http://www.codeguru.com/cpp/i-n/ieprogram/article.php/c4399/JavaScript-Calls-from-C.htm
Based on your tiny requirements description, here's a brief overview:
Run your C++ code as a stripped down version of http server, OR better write a C++ apache module. Make your javascript to make AJAX request to the exposed URL by the C++ http server, return the response in JSON/XML.
Just the standard way for your UI (javascript) to speak to the backend (C++)

What about authentication on AngularJS apps? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm opening this question because I need some opinions about AngularJS and user authentication...
So, actually I'm using angular on the client side and Zend on the server side. The server side authentication process is working well..
However, on the client side (I already have some code written) I would like to know what you do you think that are the best practices to do it? I mean some code examples (if it is possible)
Thank you in advance.
You should checkout the angular-app sample app. It has a good security model.

Example Sign-up/Sign in using node.js [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm new on using node.js
Surfing around the web i couldn't find any example of code of a simple sign-up/sign-in that could also show me how to manage database in node.
I mean the app.js page for server and the related client-side html page, and their relation. Can someone help me or give some useful link i couldn't find?
using Cassandra and i.o. socket, it'd be the best help.
You can use Passport library http://passportjs.org/ , there should be an example there. You can also use https://npmjs.org/package/passport.socketio if you want to login by socket.io
I recommend using http://passportjs.org
It has support for simple username/password authentication as well as OAuth etc
http://passportjs.org/guide/username-password/
There's also a good tutorial here:
http://danialk.github.io/blog/2013/02/23/authentication-using-passportjs/

Categories