Blogs:JaroslavTulach:Daily Life
From APIDesign
Line 5: | Line 5: | ||
==== Podcast related to [[Japanese]] Translation ==== | ==== Podcast related to [[Japanese]] Translation ==== | ||
- | [[Image:Apitip-May2014-JapaneseTranslation.mp3]] | + | [[Japanese]] translation announcement: [[Image:Apitip-May2014-JapaneseTranslation.mp3]] |
- | --[[User:JaroslavTulach|JaroslavTulach]] | + | --[[User:JaroslavTulach|JaroslavTulach]] 18:45, 2 June 2014 (UTC) |
==== Coolest [[NetBeans]] Plugin: [[MineSweeper]]! ==== | ==== Coolest [[NetBeans]] Plugin: [[MineSweeper]]! ==== |
Revision as of 18:45, 2 June 2014
Daily Life Blog
Podcast related to Japanese Translation
Japanese translation announcement: --JaroslavTulach 18:45, 2 June 2014 (UTC)Coolest NetBeans Plugin: MineSweeper!
MineSweeper is re-implementation of classical computer game available on each Microsoft Windows since the initial introduction in version 3.1. Surprisingly my kids (who otherwise spend hours with tablets) knew nothing about the game until...
I needed a demonstration for DukeScript technology that is using Java to code the application logic and HTML to render its UI. I decided to write a MineSweeper game as a basic demo. I've managed to execute the demo in a browser (via Bck2Brwsr VM: check it on-line) and Android (available on GooglePlay), and iOS (available on AppStore), but today I achieved another milestone: the MineSweeper module is available for every user of NetBeans 8.0!
Get the module via Tools/Plugins or visit its plugin page and enjoy your productivity boost! Since Sep 15, 2014 the MineSweeper NetBeans integration can be used as a starting point to develop own DukeScript applications. Just press the Develop button and a new project wizard will be shown as following picture shows:
Then follow the steps as described at DukeScriptInNetBeans or CRUD video.
MineSweeper Sources
In case you are interested in trying the code yourself, here is a way to get the sources:
$ git clone https://github.com/jtulach/minesweeper $ cd minesweeper $ mvn install $ cd client-netbeans $ mvn clean package nbm:cluster nbm:run-platform -Dnetbeans.version=dev-SNAPSHOT
and stats NetBeans Platform application with MineSweeper module in. Give it a try and let's make NetBeans better by using more DukeScript APIs! Don't forget that you can package the same application to run on Android, iOS or in a browser. Become a developer that can: Write once, run anywhere!
Releasing a NetBeans Plugin
To release a DukeScript application as NetBeans plugin, one needs to sign it: changeset. Now just run the build with -Dpassword=xyz option and all JARs as well as NBM file will be signed.
--JaroslavTulach 12:35, 15 April 2014 (UTC)
Debug Mixed Java/JavaScript Applications
Before Nashorn (the JDK8 JavaScript engine) performing calls between Java and JavaScript was a pain. Especially when it came to debugging. But now, one can completely freely mix Java and JavaScript inside of a single thread and still be able to debug and inspect the slightest details of Java as well as JavaScript stack frames.
See video showing the power of the synergy between NetBeans 8.0 and Nashorn!
--JaroslavTulach 15:53, 20 February 2014 (UTC)
Japanese Translation of Practical API Design
The Japanese translation of my book has been in progress for several months. Recently I've been asked by Yoshiki to write a preface.
I wrote one and I tried to express how wonderful experience it had been to participate in the Japanese translation. I believe the Japanese version of my book will be great.
Thanks Yoshiki for your work. Dear (Japanese reading) readers, enjoy!
--JaroslavTulach 09:28, 27 January 2014 (UTC)
Unify Eclipse and NetBeans UI
I've managed to prototype a way to share UI between two rich client platforms. These days it is popular to use HTML, so I did it. However in addition to that I managed to remove all need for JavaScript. Design in HTML and code your application logic in Knockout4Java.
See how!
--JaroslavTulach 18:01, 21 December 2013 (UTC)
JavaFX for iOS via NetBeans
I am pleased to announce there is now a way to develop applications for iOS using your favorite language (I mean Java) and your favorite development IDE (I mean NetBeans).
With the help of Prague's JavaFX iOS team we now have a NetBeans plugin that helps anyone develop JavaFX based Java apps for iOS. Many thanks should also go to RoboVM guys for creating such easy to use Maven plugin.
--JaroslavTulach 12:42, 10 December 2013 (UTC)
API Design Guidelines
I have discovered a nice checklist of guidelines considered good for API design.
--JaroslavTulach 09:30, 2 December 2013 (UTC)
Cloud IDE for Kids
Scratch is getting better and better. If you have not done that yet, give it a try!
--JaroslavTulach 08:48, 2 December 2013 (UTC)
The Smallest Linux JDK
The profiles support is coming for JDK8. Not only it is coming, it works! In case you are searching for a small Java, give profiles a try. They are easy to start with.
--JaroslavTulach 15:12, 27 November 2013 (UTC)
DEW - Java Meets Web with Your Help!
I'm proud to announce DEW - the development environment for web (of course in Java). I am tired of observing JavaScript being on the rise while pretending it is more than just a script language. The real language is Java and it does quite well with HTML. Check DEW here: http://dew.apidesign.org/dew/ and you will not regret!
The more you fiddle with DEW and the more you alter (and save) the samples, the more we will help Java get Bck2Brwsr!
--JaroslavTulach 16:56, 28 October 2013 (UTC)
Maven and Bck2Brwsr 0.8
I've just updated instructions to use bck2brwsr 0.8 from command line. Me and Jonathan Fuerth also verified that the Bck2Brwsr Maven archetype can now be used in Eclipse.
Nothing can stop us from bringing Java Bck2Brwsr!
--JaroslavTulach 12:22, 29 September 2013 (UTC)
Use the Debugger, Stupid!
Debugger is a very useful tool. I greatly recommend it to everyone who asks stupid questions on mailing lists and reports vague bugs into bug tracking systems. If your application does not work: use the debugger! Read here to learn how.
--JaroslavTulach 09:17, 20 August 2013 (UTC)
Bck2Brwsr 0.7 Released!
Write applications once and deploy them to FXBrwsr as well as Bck2Brwsr:
- FXBrwsr with full debugging support and a demo
- Dual Twitter demo - single source code, dual deployment (watch the same demo)
- Lightweight, generic JSON <-> Java mapping: javadoc
- ProviderAPI and a TCK to bind to other technologies than Bck2Brwsr, Knockout.js and FXBrwsr: javadoc
- Follow naming convention -- now bck2brwsr-maven-plugin -- thanks to Miloš Kleint
--JaroslavTulach 07:50, 9 May 2013 (UTC)
Bck2Brwsr 0.6 is Released!
Now you can write your own real applications for browser in Java:
- Full featured demo Twttr demo
- Bck2Brwsr provides better binding of complex classes (defined by a special @Model) annotation
- The @Model classes can be obtained from a server via JSON and JSONP. Use @OnReceive annotation
- Browser testing harness has nicer output with UL and expandable LI
--JaroslavTulach 21:24, 14 April 2013 (UTC)
Older Blog Posts
--JaroslavTulach 21:00, 14 April 2013 (UTC)