npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

blossom

v1.0.0

Published

Modern, Cross-Platform Application Framework

Downloads

88

Readme

Blossom - Modern, Cross-Platform Application Framework

Note: This is a developer preview. Not all functionality is present. The code is being released now to get feedback from the SproutCore community.

The beta release of Blossom with all features enabled is scheduled for March 1, 2012.

Blossom extends the reach of traditional SproutCore applications beyond the web browser by re-architecting the view layer to be HTML and CSS-independent.

Blossom also extends the kinds of apps that can be written in JavaScript by implementing an easy-to-use, high-performance animation subsystem that leverages hardware acceleration on the GPU whenever possible. The API is roughly based on Apple's Core Animation framework, and provides similar capabilities -- even in modern web browsers.

Since SproutCore's HTML and CSS dependencies were removed, Blossom can support native runtimes on the desktop (Windows, Mac OS X, and Linux) and on mobile devices (iOS, Android, and Windows Phone) and tablets (iOS, Android) -- and that's in addition to modern web browsers, all with the same API.

Blossom's native runtimes are not "WebView" wrappers like PhoneGap or Cappuccino's poorly named "NativeHost". A "WebView" wrapper simulates a web browser inside of a native, double-clickable app, so the performance is just as poor on mobile devices and tablets as a web app running in a mobile browser is today. (In many cases, it's substantially worse.)

Blossom is different: instead of simulating a web browser, Blossom's native runtime has high-performance, platform-native implementations of the various Blossom and SproutCore classes, such as SC.Request (for networking), SC.Layer (for animation), as well as the various JavaScript runtime objects such as CanvasRenderingContext2D, Float32Array and ArrayBuffer that are exposed to Blossom developers. This is similar to Node.js, another JavaScript runtime based around Google v8 that also does not support HTML or CSS.

One of Blossom's key innovations is its drawing model, which is modeled after Mac OS X's "Quartz 2D" API. This PDF-compatible drawing model is used for all of Blossom's native views. Most importantly, drawing is GPU-accelerated even on mobile devices, and views draw identically on every host, including modern web browsers. This feature alone eliminates one of SproutCore's long-standing problem areas: quickly creating custom views that render fast.

Blossom is a modern application framework especially well-suited to apps running full screen on tablets and mobile devices, with rich animation and effects. In addition, modern operating systems including Mac OS X 10.7 and Windows 8 have moved strongly towards full-screen, single-window, immersive applications with heavy use of animation. This app model is also compatible with Blossom's capabilities when running in a modern web browser, making a Blossom app feel at home in all of these environments.

Blossom's developer tools run on Node.js, and Blossom is licensed under the GPLv3 for non-commercial use; commercial licenses will be available soon from Fohr under terms similar to what Sencha offers for Ext.js.

Getting Involved

  • Why Blossom exists: http://bit.ly/future-of-sproutcore
  • IRC Channel: #blossom on Freenode

Watch this repository on GitHub to follow development, or fork it and submit a pull request to help contribute to it's evolution.

Blossom was conceived and written by Erich Ocean at Fohr [email protected], and is based on the SproutCore version 1.4.5 release.