You write very high-level, declarative models, and FOAM builds many features from them: default views, storage, serialization, Java and Swift classes, and much more.
Your app and FOAM itself are both modeled, keeping your payload small.
Our Gmail app is 150KB unzipped.
With so little code to write, FOAM is perfect for rapid app development.
FOAM apps are small and load fast – even on mobile.
FOAM's reactive programming is efficient, and fast enough for animation – even on mobile.
FOAM is an open-source modeling framework developed at Google.
With FOAM, you create a model, and FOAM can support many features based on it:
FOAM combines these features with reactive programming, an MVC library, and a suite of view components for each platform. The result is a full-stack framework for building modern, cross-platform apps.
FOAM is in beta. It's production-ready but still under heavy development. Expect many new features – and bugs – as FOAM continues to evolve.
Below is a FOAM model you can edit, and a list of FOAM features you can see live in your browser.
Try uncommenting the 'hometown' property. Or try changing the defaultValue for the gender property to 'F'.