GithubHelp home page GithubHelp logo

marcogbarcellos / foam2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from foam-framework/foam2

0.0 2.0 0.0 12.17 MB

FOAM: Feature-Oriented Active Modeller, Version 2

License: Apache License 2.0

HTML 75.52% JavaScript 21.79% Java 2.55% Shell 0.01% CSS 0.02% Swift 0.12%

foam2's Introduction

FOAM

Build fully featured high performance apps in less time using FOAM.

  • Application Speed
  • Application Size
  • Developer Efficiency

"Fast apps Fast"

http://foamdev.com

Build Status

Feature Oriented Active Modeller

FOAM is a modeling tool and class based object system. To use FOAM, you create a model of your class by describing the properties, methods, event topics, listeners, and dependencies of your class. FOAM takes this model and generates a usable JavaScript class along with several companion features such as database support and network marshaling.

While FOAM is written in JavaScript, it can be used to generate code for any language or platform, including Android Java and iOS Swift.

Development

Building Java

cd src; ./gen.sh; cd ../build; mvn compile; mvn package

Installing Dependencies

FOAM has no runtime dependencies, but uses a number of third party tools for unit tests, code coverage, and linting. You can install all required tools by doing the following.

  • Install nodejs.

  • Run 'npm install' in the root of the FOAM repository, where package.json is found.

Style Guide

All code should follow the style guide.

Testing

  • npm test runs standard unit tests.

  • npm run testDebug runs the unit tests with a debugger.

  • npm run coverage runs code coverage and creates an html report in /coverage.

For in-browser testing, run your favorite web server at the root of the FOAM repository. In a browser, navigate to http://localhost:8000/test/browser/SpecRunner.html to run the unit tests.

Documentation

  • npm run doc generates HTML API documentation in doc/gen/.

Documentation is created by JSDoc with a plugin to account for FOAM's package structure and declarative nature. JSDoc modules correspond with FOAM packages. See /doc/guides/Documentation.md for information on comment formatting.

Contributing

Before contributing code to FOAM, you must complete the Google Individual Contributor License Agreement.

foam2's People

Contributors

adamvy avatar adamvy-google avatar akenne avatar blakegreen32 avatar bshepherdson avatar diaswrd avatar hchoura avatar jacksonic avatar jlhughes avatar kennyqiyenkan avatar kgrgreer avatar kirkeaton avatar m-cheung avatar marcogbarcellos avatar marcroopchand avatar mcarcaso avatar mdittmer avatar minsunny avatar nick-prat avatar pavneetskapoor avatar tanayparikh avatar zahnno avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.