Questions tagged [mojito]

Mojito is a client+server JavaScript MVC framework for Web and mobile applications.

Multi-platform Apps. Build standards-based mobile apps using HTML5, CSS3, JavaScript.

Mojito is a model-view-controller (MVC) application framework built on YUI 3 that enables agile development of Web applications. Mojito allows developers to use a combination of configuration and an MVC architecture to create applications. Because client and server components are both written in JavaScript, Mojito can run on the client (browser) or the server (Node.js).

Mojito offers the following features, some of which are discussed in the next section:

Local development environment and tools (Yahoo independent stack) Library for simplifying internationalization & localization Integrated unit testing Device specific presentation (Hero, Mobile, TV, Web, etc.)

Free and Open Source. Fork us on Github! Permissive BSD License, open contribution model.

http://developer.yahoo.com/cocktails/mojito/

https://github.com/yahoo/mojito/

10 questions
2
votes
1 answer

Mojito install error

On Ubuntu 12.10 with Node 0.6.19 and NPM v 1.1.4 I get the following message when trying to install from NPM source and the cloned GitHub as root (sudo): npm ERR! error installing js-yaml@1.0.2 npm ERR! error installing mojito@0.4.9-2 npm ERR!…
patrickgamer
  • 511
  • 3
  • 15
1
vote
1 answer

Mojito - Load NodeJS Module

I'm using : Mojito 0.5.5 NPM 1.2.14 NodeJS 0.8.22 I'm trying to create a simple Mojito application using NodeJS modules, packaged with NPM. Documentation say that : Create a Mojito application. Add any needed dependencies to dependencies object…
Thomas Tourlourat
  • 137
  • 1
  • 1
  • 7
1
vote
2 answers

Mojito does not recognize passport js

I am trying to use passportjs with Mojito by doing the following: 1) after installing Node JS and Mojito 2) created a Mojito app 3) created a Mojito 4) included passport as a dependency in the package.json of the Mojito app 5) ran npm install (it…
0
votes
2 answers

How to start contributing to the Mojito repository on Github ? (javascript)

How to study the code, understand, debug ? I know javascript but do not know where exactly to start. And I know how to use Github, Of course I know what Mojito is ! The problem is I donot know how to contribute to the Mojito. But i was very…
0
votes
1 answer

How can I use Y.mojito.models in middleware?

I'm using nodejs with the mojito mvc framework. Do I have access to some global variables from middleware? How can I use Y.mojito.models in middleware? // ./middleware/mymiddleware.js module.exports = function (req, res, next) { // How to use…
koalabruder
  • 2,794
  • 9
  • 33
  • 40
0
votes
2 answers

How to use YML files for a Mojito project?

It is said that Mojito can use JSON or YML as the application.json (the config file), but I haven't seen YML examples around? For example, how to convert: [ { "settings": [ "master" ], "specs": { "hello" : { …
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
0
votes
2 answers

Why in Mojito, renaming controller.server.js to controller.server-foo.js will have no effect?

In Mojito on top of Node.js, I followed the example on http://developer.yahoo.com/cocktails/mojito/docs/quickstart/ What I did was renaming controller.server.js to controller.server-foo.js, and created a new file controller.server.js to show "Hello…
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
0
votes
1 answer

Installing Mojito in windows

I want to install Mojito in Windows. I have MinGW and nodejs in Windows. But I am not able to install Mojito using npm install -g mojito. It gives the following error on installing in windows npm WARN package.json connect@1.8.2 No README.md file…
Dinesh P.R.
  • 6,936
  • 6
  • 35
  • 44
0
votes
1 answer

mojito and the best way to connect with mongodb

i started using mojito yahoo framework and i wanted to use with mongodb for building a simple application but no resources for how to include mongodb as an external module with mojito app, i was reading about mongoskin which is a wrapper of…
Red Mad
  • 11
  • 1
  • 5
-1
votes
2 answers

Spring boot best practises

I have a spring boot application that reads from an excel document. This is currently being done by a service that my controller uses. Currently the path of the document is hard coded in the Service class. I would like to know, if this is the best…
sjaymj62
  • 386
  • 2
  • 18