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 trying to find a good javascript based web host, as well as a good server-side javascript implementation. I have played some with NodeJS, and it seems very good, but I really don't want to have to write the entire server from scratch. I need a host/framework with the following features (or at least most of them):
1: The ability to run a script continuously on the server while maintaining a continuous dialog with other scripts as well as client pages (through xmlhttprequest).
2: PHP/ASP like functionality.
3: I don't want to have to write an entire server from scratch. I just want to worry about writing my application.
Also, I have recently been looking into Aptana's Jaxer, which seems to be the holy grail from my perspective, but when I go to the web site "www.jaxer.org", it returns a completely irrelevant page. Could somebody please explain this to me?
Thanks,
Chris
I've used https://no.de/ from joyent to host my node.js applications.
For communicating between the client and the server I'd use http://socket.io/ . It's a communication framework that will choose the most appropriate communication method to maintain a connection (continuous dialog) with the client.
For serving static content see this answer for a link to a great article on a simple web server.
Using node.js as a simple web server
Or see this answer that discusses various web application frameworks.
https://stackoverflow.com/questions/3809539/choosing-a-web-application-framework-using-node-js
Hope this helps, & Good luck on your project!
You could have a look at Wakanda
It provides a full stack including, the server, the studio, and the client framework, all in a very consistent way.
There is a related question I answered on stackoverflow about where to host Wakanda applications, and another one comparing different existing server-side JavaScript solutions
Related
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
First up, I am not very sure If I am posting in the right stackexchange site. Apologize if I am posting in wrong site. Please correct me If I am wrong.
I am new to web development, Perhaps I am trying to build my first ever site for my client. We already have a old site/page which I wanna rewrite with better UI & UX.
I am trying to understand what are the technologies I need to know to build this site. The basic functionality I am looking at are
help user to rename, move or copy files on the server where they
don't have access to modify files directly.
Interact with Database and pull some information
Reset password from logon page
Building queries for users
Kick off jobs
I believe HTML & CSS would be a need for the design part but I want to know which technology will help me complete the background tasks... Is it Javascript or PHP etc.. Server that I need to be running like Apache Tomcat etc
Finally If you know of a good book which could help me traverse, Please share.
Thanks a lot in advance.
It sounds like you're on the right track. If you're planning on recreating a web application, I would check out the "LAMP" stack, which covers most of the technologies needed in putting this together. I can't recommend a book, but there are tons of resources online that can get you started.
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 am looking for an installable code playground, possibly for HTML, CSS and Javascript.
I am a computer science professor and in one of my courses I teach basic HTML, CSS and some Javascript. I would like to introduce my students to code playgrounds such as jsfiddle or jsbin. Additionally, I would like to deliver final exams through a similar tool, so that we replace tests written on paper with tests performed, self-assessed and refined on a browser-based tool.
The problem is that I do not want to let students access the Internet during the exam, and look for existing answers online or even establish communication channels among themselves or with experts at home, so I need to isolate the lab from Internet during the exams.
This means that I need to install a local copy of the playground tool on one of my servers. Do you know of any tool that provides their code (free or commercially, not relevant) for a local installation?
I don't need anything fancy, no automatic includes, no libraries, nothing special, just the possibility to install something on my server that runs without Internet dependencies.
Thanks in advance for your suggestions.
jsbin https://github.com/jsbin/jsbin/ can be run locally on a Node server. You need Node/npm installed first but after that it is easy. As long as you don't need libraries it can run without a network connection (just tried it) but the libraries seem to be external paths by default.
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 would like to create a web service for a mobile app chained to a mongodb where I would store some user specific data. Since I'm new to node and I just finished reading the Node.js in Action book by Mike Cantelon & Tj Holowaychuk I am now trying to think which framework should I use in order to create the server. I think it would be either connect or express but I am not sure. I saw that express is used mostly for creating web apps rather than web servers. What do you guys recommend me? In addition some tutorials to get me started in this direction would be most welcome. Thanks.
I prefer to use express, It is common in developping node.js application and you will find a lot of tutorials that will help you. Also express provide you with RESTful API which will help you a lot to access your data from mobile
and these are some links to help you to start with express
http://net.tutsplus.com/tutorials/javascript-ajax/introduction-to-express/
http://blog.ijasoneverett.com/2013/03/a-sample-app-with-node-js-express-and-mongodb-part-1/
http://blog.modulus.io/nodejs-and-express-create-rest-api
Express uses Connect, and is fine for most applications. It will certainly be fine for, "a web service for a mobile app chained to a mongodb where I would store some user specific data."
It isn't possible to give a more specific recommendation, as you provided no specific details in your question.
I saw that express is used mostly for creating web apps rather than web servers.
This doesn't make much sense really. Node.js provides the server http.Server and you create the application layer behind it. Express is often used to provide common functionality such as routing and a Connect stack of modules for handling requests.
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
Im trying to automatically crawl a given site by following all internal links, to do this ive been playing with pythons mechanize library, although this doesnt allow me to work with javascript and ajax content.
How does Google Bot and other major search engine spiders / bots do this, is there another tool out that can complement mechanize in this scenario ?
Im aware i could reverse engineer the javascript to work out what its doing and them mimic that, but i want to automate the crawl, so it wouldn't be practical if i first had to comb through each sites javascript.
To implement such a big spider, there're some problems to solve before implementing it:
Just want to follow all the links in a page automatically?
This is easy. When you fetch a page, parse it and get the href values in all <a> tags and then emit requests of those new urls.
If you don't want to hardcode it, the CrawlSpider of scrapy will do the work automatically. And it's also easy to do this work using requests and lxml.
This is a simple problem to solve.
Want to parse the javascript statements?
This is a big problem but there're some good tools to use, such as PhantomJS and similar, qtwebkit and selenium.
I don't know how Google handles this problems, but another advanced way is to modify the core of Chromium or Firefox. It's a little harder but may improve the efficiency of your spider in a large degree.
What's your purpose to implement such a spider?
Crawl pages to do a search engine like Google? Crawl some articles,books or videos for personal usage? When you know what you want to do with the spider, then you know how to implement it.
There're some problems when crawling a site and it may help you implement a robust spider. Here it is.
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
Is there a javascript read only tool for rendering information in maven repositories? Currently, we use archiva to do this, but archiva requires alot of stuff under the hood - a database, user permissions, etc... and all we really need is the snazzy "click on a jar" download ui and ability to browse versions.
Since maven repos are, after all , just folders in an http published directory, a JS interface should (theoretically) allow one to easily navigate and download from a simple s3:// or other swift:// repository
Sorry, but a proper repository manager is in fact the way to go. Which one depends on many factors, not in the least personal preference. And I've discarded Archiva in the past for being utterly incomprehensible. Nexus and Artifactory have always been very intuitive and user friendly. If you don't like (big) databases underneath, Artifactory may not be for you, since it stores everything in JCR database (although the authors stand behind their design choice). Nexus is more file-system friendly, and we ended up using it.
Bite the bullet on a repository manager. It's definitely worth it. Once Maven becomes more commonplace in your organization, you'll want to use other things it has to offer.
I've spun up a simple javascript interface to my maven repository and it works.
The way it works : Use JQuery to get the releases from maven-metadata.xml, and then generate links to jar files from that. Its not perfect, but its solves my needs, is dynamic, and is also completely serverless.
For the most part, it can be copy/pasted and used for any maven repo, i think...
http://jayunit100.blogspot.com/2014/01/ajax-maven-s3-lightweight-maven.html