{"id":13476,"date":"2015-03-17T05:05:24","date_gmt":"2015-03-16T18:05:24","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=13476"},"modified":"2015-03-17T05:05:24","modified_gmt":"2015-03-16T18:05:24","slug":"netbeans-backbone-js-html5-web-application-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/netbeans-backbone-js-html5-web-application-primer-tutorial\/","title":{"rendered":"NetBeans Backbone.js HTML5 Web Application Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/HTML5\/BackBone\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"NetBeans Backbone.js HTML5 Web Application Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/HTML5\/BackBone\/BackBoneJs_HelloWorld.jpg\" title=\"NetBeans Backbone.js HTML5 Web Application Primer Tutorial\"  \/><\/a><p class=\"wp-caption-text\">NetBeans Backbone.js HTML5 Web Application Primer Tutorial<\/p><\/div>\n<p>Today we create a NetBeans (IDE) HTML5 project based on the <a target=_blank href='http:\/\/backbonejs.org\/' title='Backbone.js landing page'>Backbone.js<\/a> methodology for web application creation, which we include a bit about as quoted from <a target=_blank href='http:\/\/en.wikipedia.org\/wiki\/Backbone.js'>Wikipedia<\/a> (thanks) below:<\/p>\n<blockquote><p>Backbone.js is a JavaScript library with a RESTful JSON interface and is based on the model\u2013view\u2013presenter (MVP) application design paradigm. Backbone is known for being lightweight, as its only dependency is on one JavaScript library,[2] Underscore.js. It is designed for developing single-page web applications,[3] and for keeping various parts of web applications (e.g. multiple clients and the server) synchronized.[4] Backbone was created by Jeremy Ashkenas, who is also known for CoffeeScript.<\/p><\/blockquote>\n<p>In this tutorial I wanted to show you the basics and followed the NetBeans sample HTML5 Backbone.js project, just adding a recognizable additional string once to see where we are at when we run things (the suck it and see approach to learning about something).<\/p>\n<p>The HTML code files that got changed in that small way was:<\/p>\n<ul>\n<li><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/HTML5\/BackBone\/public_html\/index.html_GETME\" title=\"index.html\">index.html<\/a> (as what http:\/\/localhost:8383\/BackboneHelloWorld\/ (local NetBeans connector web server on Google Chrome) points at)<\/li>\n<\/ul>\n<p>Other webpage HTML and Javascript file sets, for this NetBeans tutorial were:<\/p>\n<ul>\n<li><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/HTML5\/BackBone\/public_html\/1.html_GETME\" title=\"1.html\">1.html<\/a> that uses <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/HTML5\/BackBone\/public_html\/1.js_GETME\" title=\"1.js\">1.js<\/a><\/li>\n<li><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/HTML5\/BackBone\/public_html\/2.html_GETME\" title=\"2.html\">2.html<\/a> that uses <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/HTML5\/BackBone\/public_html\/2.js_GETME\" title=\"2.js\">2.js<\/a><\/li>\n<li><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/HTML5\/BackBone\/public_html\/3.html_GETME\" title=\"3.html\">3.html<\/a> that uses <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/HTML5\/BackBone\/public_html\/3.js_GETME\" title=\"3.js\">3.js<\/a><\/li>\n<li><a target=_blank href=\"ttp:\/\/www.rjmprogramming.com.au\/NetBeans\/HTML5\/BackBone\/public_html\/4.html_GETME\" title=\"4.html\">4.html<\/a> that uses <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/HTML5\/BackBone\/public_html\/4.js_GETME\" title=\"4.js\">4.js<\/a><\/li>\n<li><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/HTML5\/BackBone\/public_html\/5.html_GETME\" title=\"5.html\">5.html<\/a> that uses <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/HTML5\/BackBone\/public_html\/5.js_GETME\" title=\"5.js\">5.js<\/a><\/li>\n<\/ul>\n<p>Overall you can try this tutorial, live, at this <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/HTML5\/BackBone\/public_html\/index.html\" title='Live run'>live run<\/a> link.<\/p>\n<p>Hope you see some usefulness in these, albeit simple, ideas <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/HTML5\/BackBone\/\" title=\"Click picture\">today<\/a>.   To have an HTML project with design principles, such as the Backbone.js MVP (<a target=_blank title='MVP (model-view-presenter) information from Wikipedia ... thanks' href='http:\/\/en.wikipedia.org\/wiki\/Model%E2%80%93view%E2%80%93presenter'>model-view-presenter<\/a> &#8230; as an alternate design idea you may want to read about MVC (<a target=_blank href='http:\/\/en.wikipedia.org\/wiki\/Model%E2%80%93view%E2%80%93controller'  title='MVC (model-view-controller) information from Wikipedia ... thanks' >model-view-controller<\/a>)) design sounds to me like a great plan, and a good way to allow worker collaboration on the coding.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d13476' onclick='var dv=document.getElementById(\"d13476\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=html5\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d13476' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Today we create a NetBeans (IDE) HTML5 project based on the Backbone.js methodology for web application creation, which we include a bit about as quoted from Wikipedia (thanks) below: Backbone.js is a JavaScript library with a RESTful JSON interface and &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/netbeans-backbone-js-html5-web-application-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,24,37],"tags":[124,520,558,576,578,585,652,664,714,824,825,833,834,997,1062,1319],"class_list":["post-13476","post","type-post","status-publish","format-standard","hentry","category-elearning","category-netbeans","category-tutorials","tag-backbone-js","tag-google-chrome","tag-hello-world","tag-html","tag-html5","tag-ide","tag-javascript","tag-json","tag-local-web-server","tag-mvc","tag-mvp","tag-netbeans","tag-netbeans-connection","tag-programming","tag-restful","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/13476"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=13476"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/13476\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=13476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=13476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=13476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}