We’re proud to announce the latest version of DukeScript support for iOS and Android. We’ve already submitted the new NetBeans plugin for publication. This will make it really easy to get started. It’s currently being reviewed, and we hope it will be available before the end of February. In the meantime if you would like to start using them please try out our new Maven Archetypes.
The first Archetype creates a basic application:
mvn archetype:generate \ -DarchetypeGroupId=com.dukescript.archetype \ -DarchetypeArtifactId=knockout4j-archetype \ -DarchetypeVersion=0.17
The second archetype creates a CRUD application that shows how you can do client-server communication and reuse Model code on both ends:
mvn archetype:generate \ -DarchetypeGroupId=com.dukescript.archetype \ -DarchetypeArtifactId=crud4j-archetype \ -DarchetypeVersion=0.17
Update: Since January 2017 there is also 3rd visual archetype showing integration of various visual libraries (like line charts):
mvn archetype:generate \ -DarchetypeGroupId=com.dukescript.archetype \ -DarchetypeArtifactId=visual-archetype \ -DarchetypeVersion=0.17
The archetype can generate subprojects for each of the supported platforms. Currently we support iOS, Desktop (via JavaFX), Android, NetBeans plugin, and Browser (via bck2brwsr). The JavaFX-based project will always be generated, as this is integrated with the NetBeans visual debugger and the other debugging functions. The other subprojects are only generated on demand using these properties:
Run in Browser:
Create NetBeans Module:
Create iOS project:
Create Android project:
Have fun playing with the new Archetypes and let us know if you find any problems!
The Source Code of the new version of the presenters is available on Github:
We have also published the sources for the Maven Archetypes: