Version License

Introducing @nyaf#

The name ny@f is an acronym for "Not Yet Another Framework". It is, in fact, an entirely new concept of Web development support libraries, a so called "thin library".

It's simple, has a flat learning curve, doesn't need any special tools. Keep your tool chain, get the power. It can replace all the complex stuff such as React or Angular entirely, indeed.

No dependencies! No bullshit! Pure HTML 5 DOM API and ES 2015 Code. Super small, super smart, super powerful. Period!

Write frontend apps without the hassle of a complex framework, use the full power of HTML 5, keep a component based style.

Elevator Pitch#

Since the amazing impact of jQuery in 2006 we have seen an uncountable number of JavaScript frameworks. Some good, some nice, a few excellent. Each time has it's leading frameworks and an audience that loves it. This comes from simple properties. It should save time compared with programming on a more basic level. It should give stability and reliability to your apps where things in the browser's internal parts get messy. And it adds another layer of indirection to make things smooth and good looking, nicely maintainable, and well architectured.

But over time, frameworks get elder. And they can't change and involve, because they already have a broad audience and hundreds or thousands of projects rely on them. The manufacturer can't break everything to go the next step. The programmers get stuck. And the world of browser programming has evolved dramatically. Meanwhile, we have an amazingly powerful native API in HTML 5.

One of the most important innovations in browser development where Web Components. The API is easy to learn, the support is complete for all modern browsers, and the implementation is stable. At the same time the programming language TypeScript came to us along with a powerful toolset.

It's time for the next step. Take the leading tools and create an easy to use library, that covers the hard stuff and be invisible where the native API is almost the best. That's the core idea behind ny@f.

Parts#

The library comes in three parts:

  • A core library that handles Web Components the easy way, provide a router for Single Page Apps, and adds a nice template language.
  • A forms library that handles data binding and decorator based validation.
  • A store library that gives your app a state engine using the common flux architecture style.

Everything else is simple HTML 5 API, without any restrictions. You can add CSS, other libraries, or your own stuff at almost any position.

Additionally, there is small CLI for easy setup and component creation.