RequireJS
Backbone.js
Our great sponsors
RequireJS | Backbone.js | |
---|---|---|
15 | 22 | |
12,920 | 28,080 | |
-0.1% | - | |
0.0 | 7.8 | |
3 months ago | about 1 month ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
RequireJS
-
Why hasn't JavaScript implemented namespaces yet?
There is a library called requirejs (https://requirejs.org/) that accomplishes what I am referring to. However, this is essentially similar to the situation in PHP prior to version 5.3 - a solution implemented at the level of a separate library rather than at the language level.
- Porting from RequireJS to ES6
-
Getting Started With Parcel.js: A Web Application Bundler in 2022
Webpack is the most popular bundler and it followed on the heels of Require.js, Rollup, and similar solutions. But the learning curve for a tool like webpack is steep. Getting started with webpack isn’t easy due to its complex configurations. As a result, in recent years another solution has emerged. This tool is not necessarily a front-runner, but an easier-to-digest alternative on the front-end module bundler landscape. Introducing Parcel.js.
- RequireJS – JavaScript Module Loader (last update 2018?)
-
RequireJS: How to define modules that contain a single "class"?
I have a number of JavaScript "classes" each implemented in its own JavaScript file. For development those files are loaded individually, and for production they are concatenated, but in both cases I have to manually define a loading order, making sure that B comes after A if B uses A. I am planning to use RequireJS as an implementation of CommonJS Modules/AsynchronousDefinition to solve this problem for me automatically.
-
When to use Requirejs and when to use bundled javascript?
This may be a dumb question for web guys. But I am a little confused over this. Now, I have an application where I am using a couple of Javascript files to perform different tasks. Now, I am using Javascript bundler to combine and minify all the files. So, at runtime there will be only one app.min.js file. Now, Requirejs is used to load modules or files at runtime. So, the question is if I already have all things in one file, then do I need requirejs? Or what is a use case scenario where I can use requirejs and/or bundler?
- Un manual práctico sobre los sistemas de módulos de JavaScript
-
JavaScript Module Formats and Tools
AMD (Asynchronous Module Definition), is a pattern to define and consume module. It is implemented by RequireJS library. AMD provides a define function to define module, which accepts the module name, dependent modules’ names, and a factory function:
-
Why use Object.prototype.hasOwnProperty.call(myObj, prop) instead of myObj.hasOwnProperty(prop)?
While reading RequireJS' source code, I stumbled upon this function:
-
Why do we need a Single Page Application? [closed]
A lot of SPA frameworks and libraries also were developed. We can find out some of its on the internet. They are AngularJs, Reactjs, BackboneJs, DurandalJs,.. and a lot of third party components to make the Javascript coding more easy like RequireJs, Amplifyjs, BreezeJs...
Backbone.js
- Ask HN: What are some of the most elegant codebases in your favorite language?
-
React is 10 years old
Got it thanks for the context.
I've read the web app and it seems to me it is just https://backbonejs.org/ re-written in Typescript and allows JSX.
I'm very certain Typescript and JSX will have improved the DX for Backbone like apps, but it doesn't address all of the other issues that teams had with Backbone.
e.g. Cyclical event propagation, state stored in the DOM (i.e. appendChild is error prone in large code bases), etc.
- Just Simply – Stop saying how simple things are in our docs
-
The Emperor's New Library
What we see, a decade ago, are that many of the "popular" libraries, frameworks, and methods, not surprisingly, have gone by the wayside, a lot that have remained in current code as difficult-to-removemodernize legacy cruft (Bower, Gulp, Grunt, Backbone, Angular 1, ...), and then we have the small minority that are still here. Some that remain have had their utility lessened/questioned by platform and language improvements (jQuery, lodash, ...), but very, very few exist that are the same now as they were then. Another fun historical reference: issue #118 of "JavaScript Weekly" (February 22, 2013) includes a first link out to asm.js.
-
How To Choose The Right Framework For Your Next Node.js App.
Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface. site Backbone.js *Backbone.js gives structure to web applications by providing models with key-value binding and custom events…*backbonejs.org
-
Ajax requests fail after upgrading to Cordova 5.0 + [email protected]
The ajax request is made via a call to Backbone.sync() of Backbone.js, which ultimately calls jquery's $.ajax(). I haven't changed anything about how the call is made... just upgraded cordova.
-
Rate my build? Web dev GF recomends it.
my gf said it was the best. she uses backbone.js she good dev
-
Top 5 JavaScript Frameworks for Frontend in 2022
Backbone.js
-
Why do we need a Single Page Application? [closed]
A lot of SPA frameworks and libraries also were developed. We can find out some of its on the internet. They are AngularJs, Reactjs, BackboneJs, DurandalJs,.. and a lot of third party components to make the Javascript coding more easy like RequireJs, Amplifyjs, BreezeJs...
-
Angular: A shift in paradigm
As the internet became faster, and more reliable, and as browsers unified into “evergreen” releases, developers accepted JSON to be the only shape of data needed to travel on wires. A few years back I posted a question of which was a better framework: serving fully processed HTML scripts over Ajax, or only JSON that would be populated on client-side. See, back then, populating JSON was hand crafted, before Knockout, before Backbone, and few other players I don’t recall. The thing you could use back then was Mustache-like, which -by the way- still is a favorite of mine when venturing outside of SPA zone.
What are some alternatives?
systemjs - Dynamic ES module loader
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
browserify - browser-side require() the node.js way
Next.js - The React Framework
HeadJS - The only script in your HEAD.
Svelte - Cybernetically enhanced web apps
SeaJS - A Module Loader for the Web
Stimulus - A modest JavaScript framework for the HTML you already have [Moved to: https://github.com/hotwired/stimulus]
lazyload
React - The library for web and native user interfaces.
modulejs - Lightweight JavaScript module system.
spine - Lightweight MVC library for building JavaScript applications