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
2
votes
1 answer

How to pass data between view to another viewmodel?

Im using Boilerplatejs and asp.net mvc2 in one of my projects. I have a autocompleting search box in one of the boilerplate views. and i wanted to send the selected "userId"(from the suggestions of the search box) to a viewmodel of another module…
Manoj
  • 2,314
  • 2
  • 21
  • 36
2
votes
2 answers

Passing KnockoutJS viewmodels in BoilerplateJS

Nested components presuppose nested view models also. However, in the sample components, I don't see this kinda of dependency to appear (except the BackboneJS TODO app which is not very clear for a KO user). Could you elaborate on how to do such a…
georgiosd
  • 3,038
  • 3
  • 39
  • 51
2
votes
1 answer

Adding external CSS file to a BoilerplateJS project

I'm trying to incorporate some UI components to a BoilerplateJS project that I'm currently working on, to be specific I want to implement this [http://wijmo.com/wiki/index.php/Getting_Started_with_Wijmo] sample inside a BoilerplateJs component. How…
Dhananjaya
  • 1,510
  • 2
  • 14
  • 19
1
vote
1 answer

Communicating viewmodels with different urls

I'm using boilerplate and i have this routes where i have my viewmodels for every route. controller.addRoutes({ "editor" : new ContentEditor(context), "quiz_editor" : new QuizComponent(context) }); I'm looking…
Rodrigo López
  • 227
  • 4
  • 17
1
vote
1 answer

BoilerplateJS and Jquery Mobile

wondering how to use BoilerplateJS with Jquery Mobile. Perticulary when it comes to manage url and how to deal with the which is created automatically. Thanks.
1
vote
1 answer

use boilerplatejs with codeigniter

What is the best way to use codeIgniter with BoilerplateJS? should I put the codeIgniter folder in a BoilerplateJS folder or the contrary? Or something else? Need to make an authentifcation page in codeigniter and redirect the application in…
1
vote
2 answers

Pattern for [lazy-loading] modules on demand

In my application I need to load modules not at the initialization stage (by enumerating them in ./modules/modules), but on demand later based on some condition (e.g. user authorization results). Imagine I want to provide User A with calculator…
Stas Slabko
  • 506
  • 5
  • 14
1
vote
3 answers

Can boilerplatejs be made to work with IE8?

I would like to utilize boilerplatejs for an upcoming intranet project, however, many of the machines are still WinXP with IE8 (and there's no option in the orginazation for wide-scale Firefox or Chrome deployment). I've quickly tried…
dryer70
  • 53
  • 3
1
vote
1 answer

Will BoilerplateJS support latest RequireJS

enter link description hereBoilerplateJS only come with old 1.0.X RequireJS. Is it able to work with the latest one?
Roger Jin
  • 553
  • 5
  • 15
1
vote
1 answer

Implementing Ajax in boilerplatejs

I am working on a large scale JavaScript application using BoilerplateJS. In the viewmodel I want to connect to an external REST API which will return JSON objects. But I am not sure about how to implement this. Can someone give me an idea. Thanks…
0
votes
1 answer

ko.mapping shows function in input fields insted of value

I'm having an issue with ko.mapping plugin for knockout. I've been thoroughly searching for an answer but couldn't find anything. I'm using knockout in conjunction with boilerplate js, but I think that's not the problem. Here's the…
LaloLoop
  • 2,143
  • 3
  • 12
  • 18
0
votes
1 answer

jQuery plugin callback - jQuery Boilerplate

I'm using jquery boilerplate template for my plugin. I need to deliver some callback from this plugin. This callback need to be some variable with offsets coordinates. var coordinates = { x: x2, y: y2 }; I try to delegate this callback like…
Lukas
  • 7,384
  • 20
  • 72
  • 127
0
votes
1 answer

Why is main.js defined twice in BoilerplateJS

Why is main.js defined in two locations in the BoilerplateJS project? It appears that only the one defined in the project's root directory is used and the one in the app directory is not. Could someone please clarify. Thanks in advance.
0
votes
1 answer

Local storage in boilerplate.js

How to support local storage in boilerplate.js? The idea is to use jquery dform with localstorage and render it in a view there by the form view is extremely fast.
Sasi
  • 41
  • 5
0
votes
1 answer

How to use Logger in Boilerplatejs

I notice a logger class in the helpers folder, but I don't know how to use it, it driving me crazy, I tried with: var log = new Logger(); Any ideas? Thanks Here is the code in logger.js…
srv
  • 1
  • 2