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
Im looking into documenting the javascript code we develop and are looking for some good javascript documentation generators, does anybody have any suggestions?
We used to used ndoc to create documentation for our c# code and are looking for something similar to document our js code - ideally something that can be run from a command line.
thanks in advance!
You can use famous JSDoc-Toolkit for that.
JsDoc Toolkit is an application, written in JavaScript, for
automatically generating template-formatted, multi-page HTML (or XML,
JSON, or any other text-based) documentation from commented JavaScript
source code.
And yes it also has command line options.
JSDoc is an approach to generating documentation from commented JavaScript. There are many variations:
It was originally implemented in Perl.
JSDoc-Toolkit ported it to JavaScript, but requires Java as it uses the Rhino JavaScript engine written in Java.
Several people have ported it to run directly on the node.js JavaScript engine/platform, e.g. node-jsdoc-toolkit.
dox also runs on node.js, it combines JSDoc-like tags and markdown markup but requires a separate templating engine(as used on Stack Overflow and github).
All run from the command line. Choose according to your tooling preferences. I like node.js for its speed and all-JavaScript-all-the-time feel. The DailyJS "Let's Make a Framework" post on writing documentation describes these and other tools; unfortunately dox was radically overhauled to just output JSON structures since that was written.
https://stackoverflow.com/q/1221413/1162195 mentions other JavaScript documentation generators.
Related
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
This is a super basic question I am just unfamiliar with the definitions to some of the terminology. I am using a mac and i'm looking for a IDE(I assume it is an IDE as that is what I use for python) so I can write in JavaScript for study offline and see my results. I have searched google, downloaded Aptana Studio 3 and a few other suggestions, also I have the latest version of Xcode. Maybe I am just overthinking this or it is my lack of experience but I can not seem to figure out how to write JavaScript or other specific languages inside one IDE. Sorry if this seems like too straight forward to answer but i'd really like to find an IDE for OSX that is free, writes at least html5, css, and JavaScript. Yes, I have googled that and how to begin writing JavaScript on a mac. Thanks a bunch!
an IDE stands for Integrated Development Enviroment so a program that helps you write programs is an IDE
an IDE for javascript could be any text editor, write your code as regular text save it with .js as extension and add a reference to that file from an html page.
I think you can use these free IDE's on mac:
Sublime Text and
Aptana Studio
I'm sure there's alot more, just google it
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
The top search result doesn't give me anything. Any existing one?
There is no javascript api to download directly.
However you can download the thrift files, you should be able to generate a javascript api by running these through Apache Thrift.
If you want to use Evernote API in Node JS. You can use evernode.
Also, you can checkout my project for code example.
Evernote has released a Javascript SDK here
They don't seem to support JS API .
See http://dev.evernote.com/documentation
Supported languages: Objective-C, Java, PHP, Ruby, Python, Perl, C#, C++, ActionScript, JavaME
You make web service calls directly
Provides complete access to the Evernote service
API only - no user interfaces
Cloud API documentation ยป
Kandasoftware has put out a JavaScript API wrapper at https://github.com/kandasoftware/evernote-sdk-javascript under an MIT license.
I haven't used it yet, so I can't comment on its quality. But they are using it in their product, so it should be workable.
See http://discussion.evernote.com/topic/22476-api-for-javascript/ for the link that led me to the repository.
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 see that javascript is becoming more and more practical as a server side language with the advent of node.js and v8. As far as frameworks go, most of what I've seen are minimalistic frameworks. Even express.js, one of the more promising ones, is a little bare.
Are there any full stack server-side frameworks out there for JS yet?
There's RingoJS, the current form of the (surprisingly old) Helma framework. It's a Rhino-based implementation, so you can get whatever you want from the JVM (sort-of a "good news/bad news" joke I guess).
Check out towerjs and railwayjs.
There is a very powerful webapp stack called ringojs. It is actually a Rhino prompt that you can use to run javascript modules. It is based on Jetty and features a well designed set of modules and a powerful but simple template engine (including inheritence and macros). You can reuse the galaxy of Java libraries out there throught simple Javascript-Java interop. Coming from J2EE development I threw out a lot of ceremony code and configuration - it is very productive, especially tweaking your running webapp throught the prompt
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 working on a piece of logic that I would like to express on the server as well as in the browser. Something like validating a form where there must be certain logical relationships between the elements based on what has already been entered.
So... If I can write the logic once and somehow end up with both Ruby and with Javascript, I can write the logic just once and not have to worry about making sure that two pieces of code written in different languages have the same functional behaviour.
I don't need to reproduce everything in Ruby, obviously, and one simplification might be to port a single general-purpose library like Functional Javascript to Ruby.
Does anyone have experience with RubyJS? Can anyone point me to an existing project using RubyJS?
Thanks in advance...
As far as I can tell, Opal is the best Ruby to JS converter/compiler out there right now. Here you can see it in action.
It isn't perfect, but it works most of the time and unlike older projects such as RubyJS, Opal is still being actively developed.
I know about http://hotruby.yukoba.jp/ but have never used it
maybe this helps:
http://opalrb.org/
haven't tried it though
I recently heard about a project named "Johnson" which embeds the Spidermonkey JavaScript interpreter inside Ruby. http://github.com/jbarnette/johnson
You could then eval some javascript inside ruby.
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 have found that simply googling this does not return what I am looking for. I am to find something simple and easy. I don't know if this requires javascript or not. I know I can "View Page Source" but I was hoping to find a tutorial. Some examples of what I am talking about can be found here:
-IBM
-Auburn
-About.com
Javascipt code works by running code on the viewer's computer. The pages you're linking are being dynamically generated by code that runs on the webserver itself, not in the browser. More than likely, all of those sites have some sort of database behind them.
I see from your other questions that you know C#. Microsoft provides a framework that uses C# known as ASP.NET. You can write code in C# that will run whenever someone views a page on your site (provided your site is running under IIS).
The ASP.NET Community website is a great resource if you want to find out more about that.
Other such tools that perform server-side operations would be PHP, Ruby on Rails, or Django (to name a popular few).
From viewing the examples you mentioned, it does not seem like there is any javascript used to make these "browse a to z" lists. (There should be a better name for them than that. I'm just going to call it a sitemap.)
I couldn't find any tutorials online that would teach expressly this type of sitemap, but figuring it out should be pretty straight-forward. (At least for implementing sitemaps like the IBM or Auburn examples. The About.com example would be more difficult as it seems that it is backed by a database or lots and lots of individual html pages.)
The trickiest part of making a sitemap page like these is using the tag, and luckily, it is way easy. Just keep checking the source of those pages you can have your own version in no time. The most time consuming part will be putting all of the links down, from A to Z.
http://www.w3schools.com/HTML/html_links.asp