'. '

Bck2Brwsr 0.5

From APIDesign

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
* Improved speed of [[Bck2Brwsr]] virtual machine via [[Bck2BrwsrFlow|better control flow]]
+
* [[Bck2Brwsr]] 0.5 has better support for [[MVC|MVVC]] via [[Knockout.js]] - see the [http://xelfi.cz/bck2brwsr-0.5/ calculator demo] version 0.5
 +
** Binds String and primitive types
 +
** Bind array types (exposed as {{JDK|java/util|List}}
 +
** Bind complex classes (defined by a special '''@Model''') annotation
* Separate module for [[Maven]] archetype called ''org.apidesign.bck2brwsr:bck2brwsr-archetype-html-sample'' (and thus instructions for getting [[Bck2BrwsrViaCLI]] has changed)
* Separate module for [[Maven]] archetype called ''org.apidesign.bck2brwsr:bck2brwsr-archetype-html-sample'' (and thus instructions for getting [[Bck2BrwsrViaCLI]] has changed)
 +
* Improved speed of [[Bck2Brwsr]] virtual machine via [[Bck2BrwsrFlow|better control flow]]
* Can use [[wikipedia:Closure_compiler#Closure_Compiler|Closure compiler]] to generate more compact code
* Can use [[wikipedia:Closure_compiler#Closure_Compiler|Closure compiler]] to generate more compact code
** FULL mode: For batch compilation of everything for now (example [http://source.apidesign.org/hg/bck2brwsr/file/151f4ccd7673/javaquery/demo-calculator/pom.xml pom.xml] that uses the '''j2js''' goal)
** FULL mode: For batch compilation of everything for now (example [http://source.apidesign.org/hg/bck2brwsr/file/151f4ccd7673/javaquery/demo-calculator/pom.xml pom.xml] that uses the '''j2js''' goal)
** MINIMAL mode: Strips spaces. Works in dynamic mode (part of the default [[Maven]] archetype)
** MINIMAL mode: Strips spaces. Works in dynamic mode (part of the default [[Maven]] archetype)
-
* Support for [[MVC|MVVC]] like [[Knockout.js]]
 
-
** Binds String and primitive types
 
-
** Bind array types
 
-
** Bind complex classes
 
* One [[BackwardCompatibility|incompatible]] change: [[AnnotationProcessor]] for the '''@Page''' annotation no longer capitalizes field names found in the [[HTML]] page. This was meaningful when the fields were static constants. Now (when they are plain instance fields) it makes little sense.
* One [[BackwardCompatibility|incompatible]] change: [[AnnotationProcessor]] for the '''@Page''' annotation no longer capitalizes field names found in the [[HTML]] page. This was meaningful when the fields were static constants. Now (when they are plain instance fields) it makes little sense.

Revision as of 13:39, 26 March 2013

  • Bck2Brwsr 0.5 has better support for MVVC via Knockout.js - see the calculator demo version 0.5
    • Binds String and primitive types
    • Bind array types (exposed as List
    • Bind complex classes (defined by a special @Model) annotation
  • Separate module for Maven archetype called org.apidesign.bck2brwsr:bck2brwsr-archetype-html-sample (and thus instructions for getting Bck2BrwsrViaCLI has changed)
  • Improved speed of Bck2Brwsr virtual machine via better control flow
  • Can use Closure compiler to generate more compact code
    • FULL mode: For batch compilation of everything for now (example pom.xml that uses the j2js goal)
    • MINIMAL mode: Strips spaces. Works in dynamic mode (part of the default Maven archetype)
  • One incompatible change: AnnotationProcessor for the @Page annotation no longer capitalizes field names found in the HTML page. This was meaningful when the fields were static constants. Now (when they are plain instance fields) it makes little sense.
Personal tools
buy