New features in Project Zero Core M3
Core - The core Project Zero platform and programming model.
Zero now performs
automatic database schema/table creation from models?, which simplifies model-oriented development. Models themselves have been improved with
named collections? and a richer set of
datatypes?. And run-time support now includes
data validation, enhanced search capabilities (multiple criteria and ordering), and HTTP support for Atom Publishing Protocol.
Groovy 1.5
Zero moved from Groovy 1.1-beta-2 to Groovy 1.5, which offers several enhancements including more dynamic scripting features (e.g. missingProperty/missingMethod support) and improved Java 5 support (generics and annotations).
Dojo 1.0.1
Zero moved from Dojo 0.9 to Dojo 1.0.1 and added an IBM extension Atom Feed Viewer Widget. This new widget is demonstrated in the "book.demo", which is available as part of the
Zero Eclipse plugin
Global Context enhancements
Executable
Commands may now be stored in the Global Context, which enables interesting overrides such as on-demand value generation. And, for more advanced cases, custom
type and zone handlers are now fully integrated into the lifecycle of the Global Context.
Enhanced Management Features
Applications which have zero.management as ivy dependency have the ability to execute enhanced management commands from both the command line and from the browser. In addition, both the configured and live global context can be extracted from the application in JSON format. For more information see
Management Guide
Simplified configuration syntax
The
configuration syntax is now a simple association of Global Context keys and JSON data.
Web Application Programming Model
The
web app programming model? provides the agility of rich Web application development. Now it support writing event handlers in both Groovy and JavaScript.
Security - Core security and the user service.
OpenID
Zero now provides support for third party authentication using
OpenID. OpenID consumer based authentication provides end users with a single digital identity that they can use across the internet. It proves that an end user owns an identity URL without externalizing their password, email address, or any other information users would prefer to protect.
CSRF Prevention
Zero now provides support for
Cross Site Request Forgery prevention. Cross-site request forgery (CSRF/XSRF) attacks are powerful and straight-forward attacks that can totally subvert the security of Web applications. These attacks can target both the integrity (causing changes on the server without users approval) and the confidentiality (leaking private data) of Web applications.
Tooling - Eclipse and Command Line tooling for Project Zero.
Zero Code Completion for Groovy
The Project Zero Eclipse plug-in now provides code completion for the Groovy editor. All of the GC object bindings e.g., request, config, etc are completed when the user types "." and the GC z methods are completed when "z" is typed. See
this forum post for screen shots.
Command-line extensions
The Zero command-line can now be extended through ivy dependencies. You can provide commands in as part of your library by defining a zeroCommand.xml file (see
Extending the CLI for for information)
Improved native resolution
The native resolution support has changed to support more OS/architecture combinations and now allows for adding your own mappings so that the resolver can pick up non-standard combinations (see
Adding native libraries for more information)
Event viewer
The event viewer is a new component of the
debug console. This viewer shows the breakdown of event flow and handler operation, which are the fundamental elements of Zero request processing.
Better messaging for CLI
There are more error and success messages to help the user determine problems.
Samples - Example code, including Zile, the Employee Demo and tutorials.
Dojo 1.0.1 support
All samples have been ported to Dojo 1.0.1 from 0.4.3 or 0.9
Marketplace
Zero Zone sample now has a Marketplace component allowing users to post things for sale or exchange or free. There is a MarketWatch widget to monitor the recent post.
Catalog
Search Support
Catalog now has a search field to allow searching of catalog names and descriptions.