Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 2.57 KB

untitled.md

File metadata and controls

36 lines (24 loc) · 2.57 KB
description
SpringType's powerful but concise API.

In Depth

Core

The frameworks core package wraps up implementations for basic architectural needs:

  • Globals st Implements the st and $st global framework API.
  • Language Support lang Helpful shortcut functions like isPrimitive().
  • Logging log Log using st.info(...), st.warn(...) and st.error(...).
  • Change Detection cd Proxy based object change detector, exposed as st.onChange(...).
  • Dependency Injection di Class-property based DI, exposes: @inject(...) and @injectable(...).
  • Global Context Management context Change Detection based global contexts, exposes @context(...), initContext(...) and getContext(...).
  • Internationalization i18n Allows for easy JSON-file based translations. Exposes: @translation(...), @formatter(...), st.t(...).

These API's are available in all execution contexts, say Server (Node.js) and Web (browsers).

Web 🌐

This package contains all implementations necessary for modern web development:

Bundler 📦

Finally, to transpile and bundle everything that belongs to a SpringType project, st-start was written. It comes with a customizable API, a CLI, live reload DevServer and creates high performance production builds.

{% hint style="info" %} Are you missing something? Propose an API here: 💬🤓 {% endhint %}