Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Bly is a tiny framework to help you write web apps using a Flux architecture. It's designed to give help you structure and organise your code in anyway that works for your app. Simple enough to work on small prototypes, elegant enough to work on bigger projects too citation needed. It's designed to empower you and then get out of your way.
Stability: experimental. So the claims above might not yet be met, be ready for bugs and be careful using it in production.
Simple app interface
new Bly.App()
app.stores
(we'll let you decide how to implement them)app.action
(again, letting you decide how to implement stores)app.render
(called every time after an action was dispatched)app.start
(from now on actions can be injected)app.inject
Plugins for code organisation
app.register
plugin, options, next
plugin.action
, plugin.stores
, etc.plugin.register
render
function using plugin.results
var app = new Bly.App();
// register store
var pageStore = yourPageStore();
app.stores('pages', pageStore);
// handle actions
app.action({
name: 'navigate',
handler: function(waitFor, payload) {
pageStore.navigate(payload);
}
});
// render your app
app.render(function() {
React.renderComponent({
App({
stores: stores
});
})
});
// start your app
app.start();
Making it easier to create great UI's and app experiences for the end user, and keeping it that way through the course of the project. That's the most important thing; if I can't imagine how something would actually benefit the end user I probably won't put it in. This doesn't mean that these benefits can sometimes be quite indirect. For example, if something just greatly simplifies the developing experience on my side, that'll make it easier for me to be creative, try different things, pay attention to details, feel happy about my project. All of which I believe in the end contribute to the quality of the final product.
Especially the keeping it that way is important, as that's where I see a lot of approaches go down the drain. If in any way possible I highly favour approaches that will make my codebase grow linearly relative to the complexity of the app. There are plenty of frameworks / architectures out there that are very clean and easy to start off with, but as soon as you step outside the bounds of it, doing anything becomes very complex. It should be relatively easily to get started, but more importantly, it should be easy to keep going.
Working on this.. pull request anyone?
FAQs
Flux app framework with hapi like interface
The npm package bly receives a total of 3 weekly downloads. As such, bly popularity was classified as not popular.
We found that bly demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.