Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I been trying to search a bit about this and I have faint memories that I have seen presentations of p2p in flash or silverlight and I was wandering if theres any good ways to use this from javascript.
I would like to have the server as a connector of clients not as a proxy of
data. Any libs or sites that done something like this you can point to. Google isn't giving me much.
I don't need an easy solution, just somewhere to start from.
Today I found this on Hackernews
http://peerjs.com/
On their page they state:
PeerJS wraps the WebRTC implementation to provide a complete,
configurable, and easy-to-use peer-to-peer data API. Each peer simply
provides a identifier with which other peers using the same API key
can connect.
Sounds really interesting, I have to try this :D
WebRTC will be the answer for this soon. It is a W3C standard and is currently being integrated into all browsers.
http://www.webrtc.org/
http://www.webrtc.org/running-the-demos
http://www.w3.org/TR/webrtc/
The technology you are looking for is called Adobe Cirrus (previously known as Adobe Stratus)
This enables you to achieve p2p communication using the Flash player. It would be a simple matter to then call that from javascript.
If you want to learn from existing code, I have started a few months ago a project that is using RTMFP (Adobe Cirrus) as communication between the peer connected to the service. If you want to take a look at it, it's available here. I haven't got time to do much documentation so far on it, but if you have question, you can ask them to me on github.
If you want to start with smaller example, I have done a JS interface that enables you to use the P2P connection with Javascript.
This might not relate exactly, but websockets might be something interesting to you, if you want it to be iphone/ipad compatible
http://en.wikipedia.org/wiki/WebSockets
http://net.tutsplus.com/tutorials/javascript-ajax/start-using-html5-websockets-today/
I haven't tried it yet, but anansi might be a good starting point. Requires Node.js
The two links in the "Thanks To" section are definitely worth looking at.
Or if you need a javascript-only client in the browser are willing to pay for it, check out...
http://www.pubnub.com/
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Recently I started reading about Smalltalk and its way of development and I was quite impressed. I was wondering whether there is some sort of library that makes possible the same way of development in JavaScript. I found some libraries but they just reload the page or restarts a running node.js server. I'm interested in both client side and server side JavaScript libraries. Amber Smalltalk is nice but I'm looking for a way to do the same in JS.
Edit: I'm looking for some sort of live editing of objects and prototypes and saving the changes to a file, or changing the contents of a file and the added methods are propagated to a running page or server. All this placed in an IDE similar to that of Pharo. What I found is that Meteor and Brackets support some kind of this functionality (live editing going from a source file to a browser).
You should have a look at "Lively", a project providing a Smalltalk-like environment in JavaScript:
http://lively-web.org/
It was initiated by Dan Ingalls, implementor of the original and later Smalltalks.
You can find an earlier version and some additional resources at http://lively-kernel.org/
There is also morphic.js, by Jens Mönig, which is the engine powering the Snap! graphical language/environment:
https://github.com/jmoenig/morphic.js
It is not client+server, but it is really easily portable to NodeJS.
Checkout LiveReload.js. Allows you to write javascript and changes are updated in realtime without refreshing the page using the LiveReload protocol.
Take a look at SqueakJS:
SqueakJS executes Squeak in a web page without a plugin. It is a fully
capable virtual machine implemented in pure JavaScript running
unmodified Squeak images. Squeak is a modern implementation of
Smalltalk, the original dynamic object-oriented programming
environment. It runs bit-identically on virtually any platform, and
now in the web browser, too.
https://bertfreudenberg.github.io/SqueakJS/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am looking for suggestions for a Video Conferencing API which doesn't use Flash.
The project I am working on will be a website which will be viewed primarily through Safari on an iPad, although may potentially be designed for other tablets too. This means the solution will not be able to use Flash (Apple doesn't support it) and will be written in JavaScript, as it is a web site NOT an app.
There will need to be up to 12 people in one video conference, and must include features such as resizing windows, changing volume etc.
I'd be grateful if anyone has any suggestions or any links they can point me to?
Unfortunately, WebRTC just isn't there for you yet. I feel your pain.
You could make due with Adobe AIR, but doing interactive streaming video with it really requires RTMFP (TCP is a killer) and video mixing on the server. This may be an option for you, if you're willing to suffer actionscript. Technically this isn't "Flash", as AIR apps are fully encapsulated mobile applications.
The best alternative I can recommend for you is to use the SDK softclient from Mirial (recently acquired by Logitech's LifeSize division), and embed that in your iOS app. This does require a rather expensive Mirial Carrier Server (MCS) to register those endpoints to, however.
Multiple Video Relay Service providers for the deaf and hard of hearing presently use this platform engine for their mobile application offerings. This includes Purple (HOVRS), ZVRS (CSDVRS), Convo Relay, and a couple of others.
Unfortunately, having many people in the same "room" requires something like an MCU to mix the video. There are two opensource projects worth noting that can do this today: OpenVCS, and OpenMCU.
There are other emergent technologies floating about, but most people appear to be waiting for WebRTC to get to the point where it can be seamlessly used on mobile devices.
This is the current state of the bleeding edge of video telepresence if you're looking to embed it into your product offering.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I would like to use an online tool to work remotely with people to do Javascript learning and testing exercises.
The solution could be a shared, public Javascript console.
Does such a thing exist? I have seen http://jsfiddle.net. This works ok, but we have to keep updating our URL every time the other person changes code so it is not real-time and requires an update step on both sides.
I think a low-feature real-time shared console would be a pretty trivial solution to build. I'm thinking of building it myself if it doesn't exist, but I wanted to check first and see if anyone has heard of something like this.
Here are some links for you:
Collabedit, Online Code Editor http://collabedit.com/
Stypi, a realtime editor https://www.stypi.com/ (not about coding)
ShareJS, Live concurrent editing in your app. http://sharejs.org/ (not about coding)
Tutti, Test Javascript on different browsers simultaneously http://tuttijs.com/ (not collaborative ?)
Bonus: a JS console for mobile http://jsconsole.com/
Hope you'll find something useful in there :)
This answer is 3 years late, but should help if you are still checking this post. JSFiddle now has collaboration mode - it allows you to voice chat and IM, while editing together. Just click the button in the header and set it up!
http://jsfiddle.net#collaborate
http://syncfiddle.net/ is exactly what you're looking for. Simple clean interface that syncs real-time, but also functions as well as any other site out there. But be careful to save your code, it seems to delete your code after enough inactivity.
Almost two years later, a few great alternatives exist. The real-time enhancements to jsfiddle and plunkr are great, but for this use case, I haven't found any easier than Coderpad. It's marketed for doing code interviews and saves a history. Has JS/Coffeescript/Ruby/Java and more.
Try
http://jsbin.com/
http://jsconsole.com/
JSBin is very close to what your looking for. provides HTML, CSS, JS and Console code practices.
JSConsole on the other hand is very simple only used for console coding ofcourse.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Currently I've finished studying the book name "Beginning JavaScript 3rd Edition", so I just wonder what should be my next step in order to strengthen myself on using and manipulating this language?
Besides, how can I improve myself in programming in JavaScript? Is it by thinking something cool myself, and start coding it? Or googling around the internet to find some task and question offered?
Is there any book that teaches the correct method of coding? Thank you
One recommended resource would be
http://eloquentjavascript.net/index.html
It is a combination online tutorial + online book
After that, it depends on whether you want to focus on clientside or serverside JS.
Have a look through http://howtonode.org/
for Serverside.
I would recommend that you avoid relying on a javascript library until you are able to make a good assessment of its quality. And pick YUI3 once you can ;)
Is it by thinking something cool
myself,and start coding it?
yes - think of something that would be funny/cool to code and try to do that (and, of course, ask mr. google if you get to a problem somewhere)
You could take a look at "Javascript: The Good Parts", Douglas Crockford, O'Rielly & Yahoo Press:
http://oreilly.com/catalog/9780596517748
I suggest that you check out Douglas Crockford's JavaScript site for some quality articles on style and usage of the language itself. On top of that you should be constantly coding in it, look for interesting problems to solve and implement solutions using the techniques you have picked up.
As an aside I would also say that if you're looking to truly go further with the language and not just "get stuff done", stay away from jQuery etc for now until you have a good understanding of how it is likely to be working under the hood -- once you have this understanding though it'd be worth picking it up purely for efficiency.
Visual Studio allows you to develop mobile applications using JavaScript for all platforms. You can try your skills there
Watch the Crockford on JavaScript videos.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I've done a bunch of web development with JSP/J2EE and some ASP.NET. Nevertheless, I still feel like I'm catching up with the web 2.0 stuff that relies heavily on JavaScript.
I have two questions:
I'm looking for great samples of web applications to learn development techniques. I prefer to look at real-world examples (i.e. something open source). I'm open to learning from any great code, regardless of language used on server side. The kind of example webapps I'm looking for are ones that clean and not too complex, but also not too trivial. I have checked out some code from google code project hosting, but I don't have time to download and look at hundreds of different projects, so I'm looking for suggestions.
Second question: I know Ruby on Rails was an innovative framework (which I've never used, but I'm familiar with it and I've played around with Grails, a similar framework but more Java-like). So rails is now a few years old. What are the major things we learned since the introduction of Rails and what does the next generation of web framework look like?
I knew that saving this tweet from Ruby News would come in handy.
Take a look at Chris Lowis's post: Open-source rails apps to study and learn from.
about the first question, I can suggest you TeamBox, very similar to Basecamp, but it's open source, with an avaiable repository on github. it's written in rails.
for the second question: for sure I learnt about MVC approach (I re-applied same philosophy to PHP in some works). the next generation frameworks are using even more abstractions and layers. for example using ORM libraries for different databases (you save time writing SQL queries, you can use same API for different databases, even for the new NoSQL storages).
I suggest you to look for Redis, CouchDB and MongoDB databases. they are different each other about approach and data-organization, but they are becoming very useful for complicated web-apps