Good Design Practices

‚Äč Your website is where your business resides — it’s like the headquarter of an offline company. Hence, it is important to practise good design principles to make sure your site reaches out to the maximum number of visitors and sells to as many people…

how to download the programs in jsFiddle

You have to put /show a after the URL you’re working on:   http://jsfiddle.net/<your_fiddle_id>/show/   It is the site that shows the results. And then when you save it as a file. It is all in one HTML-file. For example:   http://jsfiddle.net/Ua8Cv/show/   for the…

jQuery code to disable double click event

jQuery code to disable double click event on the webpage. $(document).ready(function(){ $(“*”).dblclick(function(e){ e.preventDefault(); }); }); Above jQuery code will disable double click event for all the controls on the webpage. If you want to disable for specific control, let’s say a button with ID “btnSubmit”…

Informative Links :: Node.js

Blazing fast node.js: 10 performance tips from LinkedIn Mobile http://engineering.linkedin.com/nodejs/blazing-fast-nodejs-10-performance-tips-linkedin-mobile  10 Vital Aspects of Building a Node.JS Application https://engineering.gosquared.com/10-vital-aspects-of-building-a-node-js-application Let’s Make a Web App: Nodepad http://dailyjs.com/2010/11/01/node-tutorial/  Two-Factor Authentication with Node.js and Twilio http://www.twilio.com/blog/2012/04/two-factor-authentication-with-node-js-and-twilio.html  Real-Time Application http://tympanus.net/codrops/2012/10/11/real-time-geolocation-service-with-node-js/ Creating a REST API using Node.js, Express, and MongoDB…

MongoDB Details

Informative Links :: MongoDB MongoDB http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/ http://myadventuresincoding.wordpress.com/2010/02/15/getting-started-with-mongo-db/ http://docs.mongodb.org/manual/tutorial/getting-started/#create-a-collection-and-insert-documents http://docs.mongodb.org/manual/crud/#crud-operations With Node.js http://www.mongodb.org/display/DOCS/Node.js http://mongodb.github.com/node-mongodb-native/ Elegant mongodb object modeling for node.js http://mongoosejs.com/ http://mongoosejs.com/docs/index.html

Informative Links: JavaScript

JavaScript Code Coverage http://ariya.ofilabs.com/2012/12/javascript-code-coverage-with-istanbul.html Asynchronous JS Programming http://www.medikoo.com/asynchronous-javascript/3d/#/asynchronous-javascript  http://blogs.msdn.com/b/ie/archive/2011/09/11/asynchronous-programming-in-javascript-with-promises.aspx http://www.html5rocks.com/en/tutorials/async/deferred/ Delayed Initialization http://www.joezimjs.com/javascript/delay-initialization-with-jquery-delegation/ http://davidwalsh.name/event-delegate Programming Style by Crockford http://youtu.be/_EANG8ZZbRs JavaScript Style Guide https://github.com/airbnb/javascript Scalable JavaScript Application Architecture http://www.slideshare.net/nzakas/scalable-javascript-application-architecture JavaScript Routing System http://millermedeiros.github.com/crossroads.js/ http://sammyjs.org/ Securing JavaScript http://videos.2012.appsecusa.org/video/54087885 Writing Efficing JS Code http://coding.smashingmagazine.com/2012/11/05/writing-fast-memory-efficient-javascript/ Getting Closure in JavaScript…

Informative Links: JavaScript

Asynchronous JS Programming http://www.medikoo.com/asynchronous-javascript/3d/#/asynchronous-javascript  http://blogs.msdn.com/b/ie/archive/2011/09/11/asynchronous-programming-in-javascript-with-promises.aspx http://www.html5rocks.com/en/tutorials/async/deferred/ Delayed Initialization http://www.joezimjs.com/javascript/delay-initialization-with-jquery-delegation/ http://davidwalsh.name/event-delegate Programming Style by Crockford http://youtu.be/_EANG8ZZbRs Scalable JavaScript Application Architecture http://www.slideshare.net/nzakas/scalable-javascript-application-architecture JavaScript Routing System http://millermedeiros.github.com/crossroads.js/ http://sammyjs.org/ Securing JavaScript http://videos.2012.appsecusa.org/video/54087885 Writing Efficing JS Code http://coding.smashingmagazine.com/2012/11/05/writing-fast-memory-efficient-javascript/ Getting Closure in JavaScript http://markdalgleish.com/presentations/gettingclosure/  Immediately-Invoked Function Expression (IIFE) http://benalman.com/news/2010/11/immediately-invoked-function-expression/ http://nerds.airbnb.com/immediately-invoked-function-expressions-and http://stackoverflow.com/questions/10984652/javascript-immediately-invoked-function-patterns…

Informative Links :: Node.js

Node.js Framework Comparisons http://ocdevel.com/blog/nodejs-frameworks-comparison Choosing a web application framework (using Node.js) http://stackoverflow.com/questions/3809539/choosing-a-web-application-framework-using-node-js PHP Vs. NodeJS http://bit.ly/QNSNSq http://www.scoop.it/t/node-web-programming http://radar.oreilly.com/2011/07/what-is-node.html http://radar.oreilly.com/2011/06/node-javascript-success.html http://www.hacksparrow.com/tcp-socket-programming-in-node-js.html http://jsconf.eu/2009/video_nodejs_by_ryan_dahl.html http://stackoverflow.com/questions/5062614/how-to-decide-when-to-use-nodejs http://www.nodebeginner.org/ http://code.danyork.com/2011/01/25/node-js-doctors-offices-and-fast-food-restaurants-understanding-event-driven-programming/ http://code.danyork.com/tag/node-js/ Tutorials: http://howtonode.org/ http://net.tutsplus.com/tutorials/javascript-ajax/node-js-for-beginners/ http://www.youtube.com/watch?v=B05Dl4iL21M&feature=related http://net.tutsplus.com/?s=node.js Use Cases: http://www.intellial.com/intellial-blog/entry/to-use-or-not-to-use-node-js http://www.nodeguide.com/convincing_the_boss.html http://www.quora.com/Node-js/What-are-the-ideal-use-cases-of-Node-JS Resources: https://github.com/joyent/node/wiki/Resources http://nodetuts.com/01-node_intro.html

jQuery UI Dragging with containment

<!doctype html> <html> <head> <meta charset=”utf-8″ /> <title>jQuery UI Dragging with containment</title> <style type=”text/css”> <!– #drg {     width:380px;     height:210px;     border:2px solid blue; } #prt {     width:305px;     height:100px;     margin:8px;     background:#F90; } #prt p {     width:185px;     margin:1px;    …

How can I return the value of disabled drop-down field after submit?

In form:-             State             :             id=”DisState”  disabled=”disabled” class=”txtbox_edit_info”>                        {?>                selected>                                                                                                        Country             :             id=”DisCountry”  disabled=”disabled”  class=”txtbox_edit_info”>                        {?>                selected>                                                                        Using JavaScript on form submit:-   onsubmit =”document.getElementById(‘DisState‘).disabled =…