Over a million developers have joined DZone.

An Open 'Acre' From Google

DZone's Guide to

An Open 'Acre' From Google

· Web Dev Zone ·
Free Resource

Learn how to add document editing and viewing to your web app on .Net (C#), Node.JS, Java, PHP, Ruby, etc.

Acre (stands for "A Crash of Rhinos Evaluating") is Google's server-based JavaScript platform that is used to provide a foundation for Freebase Apps.  Freebase Apps is the hosted application environment that lets Freebase users create applications that query the Freebase open data entity graph in various ways.  Google has announced that the Acre platform that powers Freebase Apps is being open sourced.  

Last month Google acquired MetaWeb, the company that developed Freebase.  Google's plan was to take their open data graph and make it "even more open."  Freebase is licensed under the Creative Commons and contains about 12 million real-world entities such as people, places, films, events, books, businesses, and much more.  The graph database has about 400 million facts and connections between entities.  All of these are accessible through a REST API.  

The platform that powers Freebase Apps, Acre, is based on Mozilla's implementation of JavaScript running on the JVM, called Rhino.  Acre uses Jetty by default, but it can run in any servlet container.  A module system in Acre provides high-latency source retrieval through extensive caching.  Acre can also fetch data from disk and run on the Google AppEngine.  

Until now, Acre development has been tied to Freebase.com, forcing you to develop Acre apps on Google servers.  Google says they've made Acre work with source code that's stored outside of Freebase.  You can run Acre on your own machines and in your own development environments, allowing you to develop standalone, non-Freebase apps using Acre.  This helps developers avoid the resource limitations in Google's shared environment.  However, Acre still has some close ties to Freebase, such as API hooks for quickly making Freebase queries.

You can download Acre here and try it out.

Extend your web service functionality with docx, xlsx and pptx editing. Check out ONLYOFFICE document editors for integration.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}