Questions tagged [boilerplatejs]

BoilerplateJS is a template for JavaScript development.

BoilerplateJS is a template for JavaScript development.

BoilerplateJS reference architecture provides a starting codebase with some sample implementations for someone to start large scale JavaScript development. It provides a collection of patterns as well as some industry leading library integrations to help you with.

33 questions
12
votes
1 answer

setting a call back function for observable objects

I'm trying to integrate knockoutJS variables to a Jquery-UI, so to update my UI when a knockout observable changes, I need a way to call a function when observable changes. I want to set my own call back function so if my observable variable changes…
Dhananjaya
  • 1,510
  • 2
  • 14
  • 19
6
votes
2 answers

Is there any way to inter communicate with modules in boilerplatejs?

Regarding the BoilerplateJs example, how should we adjust those modules to be intercommunicate in such a way once the user done any change to one module, the other related modules should be updated with that change done. For example, if there is a…
Minoshini
  • 115
  • 2
  • 10
4
votes
2 answers

Best practice to avoid element name conflicts in views - BoilerplateJS

Imagine you have several components in your application, each having its own view. While the components are independent, their views may use the same identifiers for DOM elements, e.g. there is a chance that 2 or more components would have views…
Stas Slabko
  • 506
  • 5
  • 14
4
votes
1 answer

Lazy loading boilerplate modules

in boilerplatejs it looks like modules are pre-loaded (Refer to code below) return [ require('./baseModule/module'), require('./sampleModule2/module'), require('./customerModule/module'), …
4
votes
1 answer

In BoilerplateJS browser is loading all the scripts (in other modules) regardless of the module activated

In the example project hosted at BoilerplatJS site, when we activate a particular sample module (for example clickCounter) all the scripts in other modules (component.js, viewmodel.js and others) gets loaded in the browser. How to restrict this…
tha4
  • 390
  • 1
  • 9
3
votes
2 answers

How to use Twitter Bootstrap with BoilerplateJS?

I'm researching HTML5/CSS3/JavaScript libraries/frameworks for a large single page application, and I found Twitter Bootstrap and BoilerplateJS. Both libraries/frameworks look very interesting and we're considering using both of them. However, we…
lmttag
  • 2,499
  • 4
  • 26
  • 30
3
votes
1 answer

BoilerplateJS: recommended way to handle authorization and authentication

With BoilerplateJS setup, what is the recommended way to handle authorization and authentication? Obviously on the server-side you'd check cookies etc to know who's logged in. But, on the client, how would you know if a user is logged in and what…
georgiosd
  • 3,038
  • 3
  • 39
  • 51
3
votes
1 answer

Development process using BoilerplateJS

We're impressed with the integration and best practices that BoilerplateJS provides but the documentation is definitely lacking, especially for new RequireJS users. We're a team of 5, each with different skill sets and one of the attractive points…
georgiosd
  • 3,038
  • 3
  • 39
  • 51
2
votes
0 answers

Angular 2+ with Knockout

As being a Backend Developer myself, I have been maintaining a Knockout SPA project for about a few months which is built on Boilerplate.js where the routing is handled by Crossroads.js. And I would like to gradually migrate to Angular 2+ if…
2
votes
2 answers

How does Boilerplate.js differ from Backbone.js?

Both of these have pretty vague descriptions, 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,…
Evan Carroll
  • 78,363
  • 46
  • 261
  • 468
2
votes
1 answer

Boilerplate.js Programmatically navigate to a component

I have a component declared in a module and added as a route: var controller = new Boiler.UrlController($(".appcontent")); controller.addRoutes( { 'artists': new ArtistsComponent(context), 'clubs': new…
2
votes
1 answer

boilerplate js sharing data between modules

I need a way to share information between modules - not only between components in the same module -. I have common data to share between the different moduleContext. -I tried using the application context…
2
votes
1 answer

How to create a component hierarchy with boilerplatejs?

In the boilerplatejs zip, there is a sample component (salesDashBoard) with two sub-components (chartViewPanel and treeViewPanel) The parent component defines a view.html with two divs with ids #tree and #chart, but the sub components are appended…
Guillaume
  • 485
  • 1
  • 5
  • 10
2
votes
0 answers

Sharing datasources between components on a Boilerplatejs app

I'm using Boilerplatejs to structure a web application where I have "forums" and "categories". On the categories module, I have components that list all categories and edit a specific category (just like the list-detail example bundled with…
guigouz
  • 1,211
  • 1
  • 13
  • 18
2
votes
1 answer

boilerplatejs and permissions

First thing first, Boilerplatejs looks really impressive and promising! Just started to learning it, looking forwarder for some architecture documentation and more tutorials. question: Does boilerplatejs implements some permissions mechanism for…
danikoren
  • 4,191
  • 7
  • 34
  • 33
1
2 3