As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking for a pure javascript, open-sourced, wiki implementation, preferably one using NodeJS. Where might I find it?
I'd suggest jingo thanks to its nice design (with very sane typography), use of git as backing datastore, format compatibility with the markdown format used by github (gollum), and the fact that it's somewhat actively developed.
As of Jan 2017, Matterwiki is also actively developed.
Wiki.js is also being actively developed. It's using a git datastore, has a markdown editor, search engine and assets management.
Tiddlywiki can generate static HTML.
Npmjs and GitHub reveal only two other relatively popular and somewhat active projects: openKB and Hazel.
Wikipedia shows mostly the same JS wiki engines, plus Grokla, which is closed source.
Wikimatrix lists 7 wiki engines powered by JavaScript.
Old answer: https://github.com/gjritter/nodewiki (no updates since 2010).
http://nodebits.org/wiki-challenge
Uses file system
https://github.com/nodebits/wiki-challenge
Git based wiki system for markdown files
https://github.com/nhoss2/nodewiki
Git based
https://github.com/claudioc/jingo
Here's a very recent Node.js one: https://github.com/milani/node-gitwiki. Needs work I think.
But if you just want HTML5+CSS+JavaScript, then http://www.tiddlywiki.com/ does without a remote server, all via an in-browser web app. Pretty cool :-)
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I've been reading that some companies have been moving their mobile platforms to node.js servers. Just wondering what the advantages of building responsive or mobile websites on node.js would be.
Just trying to determine if node.js would be the best choice of server tech in my situation - where i build responsive websites with front end scripting for ui elements, as well as some server/db driven functionality such as blogs.
No, if you are just talking about front end development, it doesn't matter what is actually serving your assets. In fact according to a few stackoverflow posts(here, here) nginx and apache perform better for serving static assets.
A plus side to node would be to have your stack all use the same language, javascript. There are all sorts of nifty javascript build tools that are built on and distributed through npm
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm used to developing GUIs with C++/Qt at work, but recently dived into the Javascript/jQuery world. I think it could be easily possible to connect an existing software core via JSON-interface to a jQuery UI.
I wonder what the dis/advantages are for using jQuery as a GUI instead of building the GUI with traditional technologies like C++/Qt.
Generally there are definitely more advantages rather then disadvantages, cause you're getting a cross-platform UI, but if we are talking about the native apps you will have to use wrappers to access native functions of the os level and file structure
For mobile:
Phonegap(Cordova)
Titanium
for desktop applications there's a number of wrapper, the most common aproach right now is nodejs based app which runs a webkit instance, so yo are writing both "back" and "front" on javascript, example:
AppJs
PS
Sorry can't provide links, don't have enough reputation
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Javascript seems to become popular as an implementation language for other programming languages.
The article
Lightweight compilation of (C)LP to JavaScript. ICLP 2012
drew my attention on this.
There are a lot of proof-of-concept prototypes for Prolog systems written in Javascript around on the Web.
What are current, actively maintained, preferably ISO conforming Prolog systems written in Javascript?
The only Prolog in JavaScript I know is YieldProlog, but I haven't tried it extensively, just the code available in QueryEditor.
I was hoping than using the yield construct it was lightweight (I used extensively such construct in C#, and I found it - paired to lambda - rather powerful).
But when I inspected (summarily) the source, I found it really complex, despite the assumptions.
edit
I've found recently these contributions, that seem really interesting:
proscript and proscript2.
edit
a new implementation available:
Tau Prolog, brought to my attention from Jan on SWI mailing list
edit
Something new, hhprolog, a pure Prolog engine, based on code and documentation provided by Paul Tarau, ported by me to Javascript. So, available in both browsers and NodeJS.
The project is still preliminary, mostly needed is to bootstrap to interpreter: right now (pre)compiling Prolog to the (novel) virtual machine must be accomplished with SWI-Prolog installed, properly configured (JPL needed).
To implement such bootstrapping, I would probably need to implement negation, to reuse Paul' interface, or - better - attempt to implement something staying in the pure paradigm. In particular, only unbounded integer arithmetic (again by Paul Tarau, there is some Python code available - I will try lazily to port to Javascript).
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to learn JavaScript. For this recently I had purchased a book named “JavaScript The Good Parts” from OReilly’s. Though this book is pretty old, but I got some good feedback about this book. I want to learn to write plain JavaScript code from scratch and then move to jquery. Is there any suggestion with this vision?
I have another question, just for curiosity --- is it possible to use JavaScript or jquery for developing desktop application inside?
If you search on Google then there are so many tutorial sites like
For JavaScript
http://www.w3schools.com/js/default.asp
http://www.echoecho.com/javascript.htm
http://www.tizag.com/javascriptT/
http://www.tutorialspoint.com/javascript/index.htm
http://www.quackit.com/javascript/tutorial/
For jQuery
http://www.w3schools.com/jquery/default.asp
http://docs.jquery.com/Tutorials
And there are lots of tutorials and PDFs for these, but you can start from the above urls
Or refer answer from here https://stackoverflow.com/tags/javascript/info
JavaScript The Good Parts is a great book for Javascript, I wouldn't recommend it for learning the language. You should come back to it once you understood the concepts of the language.
As #PitaJ already mentioned in the comments you should take a look at the learning section here: https://stackoverflow.com/tags/javascript/info
And yes, it is possible to develop desktop applications. However you will need software that allows you to do that. i.e.: http://appjs.org/ or http://www.tidesdk.org/
Speaking from a quality point of view, software developed like this will probably never reach the level of natively build applications.
You might also find the node.js project interesting.
EDIT: Windows 8 also allows you to build desktop Javascript application. MSDN Javascript Apps for Windows
Try:
1. http://www.w3schools.com/js/default.asp - w3schools' javascript tutorial
2. http://www.w3schools.com/jquery/default.asp - w3schools' jquery tutorial
These will give a idea of both javascript and jquery.
Once you are familiar with jquery, you can also visit: http:// api.jquery.com/
This is the official jquery api "blog".
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking for tutorial(s) on how to refactor JavaScript application into a JavaScript application using one of the existing JS MVC frameworks. Anyone got any?
Yes, I recommend the Backbone-Boilerplate located at GitHub.
This is beneficial because, not only do you get the Backbone MVC, but also require.js AMD, and underscore.js templates. The authors have been consistently active, and the code is impressive to work with.
Here are the associated tutorials:
Introduction
AMD Module setup
Boilerplate
Overview
Router Explanation
These were the tutorials I used to get it up and running. Also included is Node.js and Grunt build system. They are very much worth the effort if you are not familiar with them. I just saw today that a jQuery project is incorporating the Grunt build system. This is a good setup.
UPDATE: Apologies if you were already aware of the boilerplate. I realize it does not directly relate to refactoring. This looks like a good post on refactoring MVC.
Documentation may be sparse as it would be specific to how your codebase is architected. The key notion would be Data maps to Model, GUI maps to View, Collections contain multiple models, and the Router is used to route events.
Hope that helps.
All the best!
Nash