JaroslavTulach: /* Debugging */ - 2013-12-10 14:29:24

Debugging

←Older revision Revision as of 14:29, 10 December 2013
Line 9: Line 9:
== Debugging ==
== Debugging ==
-
By merging advanced [[HTML]] technology (like [[Knockout.js]]) and [[Java]] one gets all the goodies of [[Java]] language, together with using more and more popular and powerful [[HTML]] presentation technologies. One gets [[Knockout4Java]] The [[Java]] model is fully separated from the view (e.g. [[HTML]]), can be unit tested and also (as the code runs in [[HotSpot]] [[VM]] it can be fully debugged). Just follow the [[Twitter]] client instructions:
+
By merging advanced [[HTML]] technology (like [[Knockout.js]]) and [[Java]] one gets all the goodies of [[Java]] language, together with using more and more popular and powerful [[HTML]] presentation technologies - one gets [[Knockout4Java]]! The [[Java]] model is fully separated from the view (e.g. [[HTML]]), can be unit tested and also (as the code runs in [[HotSpot]] [[VM]] it can be fully debugged). Just follow the [[Twitter]] client instructions:
* clone the http://source.apidesign.org/hg/html~demo/ [[Hg]] repository
* clone the http://source.apidesign.org/hg/html~demo/ [[Hg]] repository
* open its ''twitter'' project in [[NetBeans]] IDE 7.3
* open its ''twitter'' project in [[NetBeans]] IDE 7.3

JaroslavTulach: /* Demo */ - 2013-09-29 10:50:16

Demo

←Older revision Revision as of 10:50, 29 September 2013
Line 23: Line 23:
{{#ev:youtube|TU912WSOU6U}}
{{#ev:youtube|TU912WSOU6U}}
-
The [[Twitter]] example no longer works as [[Twitter]] changed its protocol in May 2013. In addition to the video you can also use [[NetBeans]] [[HTML]] Easel support to inspect the [[DOM]] tree.
+
The server side of the [[Twitter]] example no longer works as [[Twitter]] changed its protocol in May 2013. This is what you get when using services ''in the cloud''! In addition to the video you can also use [[NetBeans]] [[HTML]] Easel support to inspect the [[DOM]] tree.
[[Category:Bck2Brwsr]]
[[Category:Bck2Brwsr]]
[[Category:Video]]
[[Category:Video]]

JaroslavTulach: /* Demo */ - 2013-09-29 10:49:32

Demo

←Older revision Revision as of 10:49, 29 September 2013
Line 23: Line 23:
{{#ev:youtube|TU912WSOU6U}}
{{#ev:youtube|TU912WSOU6U}}
-
In addition to the video you can also use [[NetBeans]] [[HTML]] Easel support to inspect the [[DOM]] tree.
+
The [[Twitter]] example no longer works as [[Twitter]] changed its protocol in May 2013. In addition to the video you can also use [[NetBeans]] [[HTML]] Easel support to inspect the [[DOM]] tree.
[[Category:Bck2Brwsr]]
[[Category:Bck2Brwsr]]
[[Category:Video]]
[[Category:Video]]

JaroslavTulach: /* Install */ - 2013-09-29 10:48:27

Install

←Older revision Revision as of 10:48, 29 September 2013
Line 5: Line 5:
== Install ==
== Install ==
-
In case you are running [[NetBeans]] 7.4, install [http://plugins.netbeans.org/plugin/50521/ HTML/Java Project] support.
+
In case you are running [[NetBeans]] 7.4, install [http://plugins.netbeans.org/plugin/50521/ HTML/Java Project] support. Then you can create new project using project wizard: ''HTML5/HTML with Java Application Logic''.
== Debugging ==
== Debugging ==

JaroslavTulach: /* Debugging */ - 2013-09-29 10:47:33

Debugging

←Older revision Revision as of 10:47, 29 September 2013
Line 10: Line 10:
By merging advanced [[HTML]] technology (like [[Knockout.js]]) and [[Java]] one gets all the goodies of [[Java]] language, together with using more and more popular and powerful [[HTML]] presentation technologies. One gets [[Knockout4Java]] The [[Java]] model is fully separated from the view (e.g. [[HTML]]), can be unit tested and also (as the code runs in [[HotSpot]] [[VM]] it can be fully debugged). Just follow the [[Twitter]] client instructions:
By merging advanced [[HTML]] technology (like [[Knockout.js]]) and [[Java]] one gets all the goodies of [[Java]] language, together with using more and more popular and powerful [[HTML]] presentation technologies. One gets [[Knockout4Java]] The [[Java]] model is fully separated from the view (e.g. [[HTML]]), can be unit tested and also (as the code runs in [[HotSpot]] [[VM]] it can be fully debugged). Just follow the [[Twitter]] client instructions:
-
* clone the https://hg.java.net/hg/html~demo [[Hg]] repository
+
* clone the http://source.apidesign.org/hg/html~demo/ [[Hg]] repository
* open its ''twitter'' project in [[NetBeans]] IDE 7.3
* open its ''twitter'' project in [[NetBeans]] IDE 7.3
* open ''TwitterClient'' class and place breakpoint somewhere
* open ''TwitterClient'' class and place breakpoint somewhere

JaroslavTulach: /* Demo */ - 2013-09-29 10:45:51

Demo

←Older revision Revision as of 10:45, 29 September 2013
Line 19: Line 19:
== Demo ==
== Demo ==
-
See it all in action.
+
Demo showing the basics of [[Knockout4Java]]. These days you can use [[NetBeans]] 7.4, install ''HTML/Java Project Support'' plugin and create new project (''HTML5/HTML with Java Applicatio Logic'') using the project wizard.
-
{{#ev:bliptv|6588275}}
+
{{#ev:youtube|TU912WSOU6U}}
 +
 
 +
In addition to the video you can also use [[NetBeans]] [[HTML]] Easel support to inspect the [[DOM]] tree.
[[Category:Bck2Brwsr]]
[[Category:Bck2Brwsr]]
[[Category:Video]]
[[Category:Video]]

JaroslavTulach at 22:41, 22 September 2013 - 2013-09-22 22:41:13

←Older revision Revision as of 22:41, 22 September 2013
Line 2: Line 2:
[[FXBrwsr]] uses [[JavaFX]]'s WebView component to display [[HTML]]. However to eliminate the need to manipulate the [[DOM]] directly, there is a special [[Java]] to [[Knockout.js]] binding. As a result the [[HTML]] uses [[Knockout.js]] syntax, yet the application code can be written in [[Java]].
[[FXBrwsr]] uses [[JavaFX]]'s WebView component to display [[HTML]]. However to eliminate the need to manipulate the [[DOM]] directly, there is a special [[Java]] to [[Knockout.js]] binding. As a result the [[HTML]] uses [[Knockout.js]] syntax, yet the application code can be written in [[Java]].
 +
 +
== Install ==
 +
 +
In case you are running [[NetBeans]] 7.4, install [http://plugins.netbeans.org/plugin/50521/ HTML/Java Project] support.
== Debugging ==
== Debugging ==

JaroslavTulach: /* Debugging */ - 2013-05-16 20:27:48

Debugging

←Older revision Revision as of 20:27, 16 May 2013
Line 5: Line 5:
== Debugging ==
== Debugging ==
-
By merging advanced [[HTML]] technology (like [[Knockout.js]]) and [[Java]] one gets all the goodies of [[Java]] language, together with using more and more popular and powerful [[HTML]] presentation technologies. The [[Java]] model is fully separated from the view (e.g. [[HTML]]), can be unit tested and also (as the code runs in [[HotSpot]] [[VM]] it can be fully debugged). Just follow the [[Twitter]] client instructions:
+
By merging advanced [[HTML]] technology (like [[Knockout.js]]) and [[Java]] one gets all the goodies of [[Java]] language, together with using more and more popular and powerful [[HTML]] presentation technologies. One gets [[Knockout4Java]] The [[Java]] model is fully separated from the view (e.g. [[HTML]]), can be unit tested and also (as the code runs in [[HotSpot]] [[VM]] it can be fully debugged). Just follow the [[Twitter]] client instructions:
* clone the https://hg.java.net/hg/html~demo [[Hg]] repository
* clone the https://hg.java.net/hg/html~demo [[Hg]] repository
* open its ''twitter'' project in [[NetBeans]] IDE 7.3
* open its ''twitter'' project in [[NetBeans]] IDE 7.3

JaroslavTulach: /* Demo */ - 2013-05-16 20:27:02

Demo

←Older revision Revision as of 20:27, 16 May 2013
Line 17: Line 17:
See it all in action.
See it all in action.
-
{{#ev:bliptv|6582883}}
+
{{#ev:bliptv|6588275}}
[[Category:Bck2Brwsr]]
[[Category:Bck2Brwsr]]
[[Category:Video]]
[[Category:Video]]

JaroslavTulach: /* Debugging */ - 2013-05-09 07:40:26

Debugging

←Older revision Revision as of 07:40, 9 May 2013
Line 12: Line 12:
You'll get all the goodies of [[Java]]. Moreover (as [[Twitter]] client page also mentions) you can still get your application [[Bck2Brwsr]] by selecting different [[Maven]] profile: ''bck2brwsr'' (see the combo in [[NetBeans]] 7.3 toolbar).
You'll get all the goodies of [[Java]]. Moreover (as [[Twitter]] client page also mentions) you can still get your application [[Bck2Brwsr]] by selecting different [[Maven]] profile: ''bck2brwsr'' (see the combo in [[NetBeans]] 7.3 toolbar).
 +
 +
== Demo ==
 +
 +
See it all in action.
{{#ev:bliptv|6582883}}
{{#ev:bliptv|6582883}}