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.
What are some of the secure/reliable crypto libraries for JavaScript? For those who have used it, what are your opinion about them? Thanks.
Google Closure
Used Google's closure library quite successfully for a while
https://developers.google.com/closure/library/
Specific crypt documentation here
http://closure-library.googlecode.com/svn/docs/namespace_goog_crypt.html
phpjs.org
Occasionally for simpler tasks I have also used self-contained functions such as md5 or sha1 from phpjs.org
crypto-js
Although never used personally, I heard very good things about this library
http://code.google.com/p/crypto-js/
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 heard the statement that Python would be too slow to be of any use in browsers.
I reckon Javascript is only superior in this aspect because of companies like Google who need it fast (and made it fast) because they need it to survive, but I could be wrong.
Are there any differences in how Python and JS are designed that have an impact on how they (would) perform in browsers?
There is a project named Brython designed to replace JavaScript as the scripting language for the web.
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.
We have been using jasmine for a while now. We have written specs for about 20% code. Most of our code is tightly coupled with DOM elements which makes it extremely difficult to test. Now we would like to re-factor our code and make it testable with jasmine.
So my question is: Which JavaScript pattern has got an edge in terms of testing (jasmine) ease and why?
Update: I did some research and found couple of useful tips:
Private Methods and Properties are difficult to test, so avoid if testing is preference.
JQuery Chaining: Again chaining is recommended for performance but excessive use will not be recommended for unit test.
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 11 years ago.
I'm building a stress testing framework for node.js services using node.js.
Do you know relevant projects which I can use / look at?
node.js projects that you've used and worked good? (latency, throughput etc..)
Any best practices on that matter?
Thanks!
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.
What is the recommended way of unit testing javascript and jQuery?
What frameworks?
Does the framework
integrate with build tools? (CI,
maven and such)
Please share your experiences in this field.
I'm using this: jQuery QUnit
jQuery unit testing library
Samples for QUnit
Manual to start
Maven plugin
Also, can check this solution (found in my bookmarks): js-test-driver
You might have heard of JsUnit. That's what I've used in the past.
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 11 years ago.
I have an interview with Google on Javascript and form verification.
I have done a lot of preparation in terms of algorithms and general data structure. But how to prepare for an interview by a javascript team?
Please share some example and resources.
Thanks
Check out Douglas Crockford's resources on JavaScript, especially his Google tech talks called JavaScript: The Good Parts.