top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

    Get Free Article Updates

Facebook Login
Site Registration
Print Preview

Small Discussion About Mojito?

0 votes
73 views

What is Mojito?

Mojito is an environment agnostic, MVC web application framework architected by Ric Allinson which supports agile development of web applications. ... Mojito is capable of running on both client(browser) and the server(Node.js) because both client and server side components are written in single language

Mojito provides seamless MVC framework to manage code base on server as well as on client side. The advantages of using Mojito are:

Single Language: Mojito is entirely built on JavaScript and hence the application code can run on server as well as can be deployed to client. This will remove the need for client to fetch data from the server.
Run-time Environment: Mojito has inbuilt capability to determine whether client can run JavaScript before deploying the code. If the client cannot execute JavaScript (JavaScript might be disabled at client side), then Mojito will execute the application code on the server.
Internationalization: Mojito has inbuilt library to handle Internationalization and localization.

Mojito has two unique features to empower you on this area.

Runtime context : which is a predefined set of dimensions/variables with a finite number of possibilities/values that will define the state of the execution at any given time.
Environment agnostic : the unique ability to run the same code in different runtimes. E.g.: browser, server, iOS UIWebView or any other phoneGap similar runtime.

Video for Mojito

posted Sep 6 by Manish Tiwari

  Promote This Article
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button


Related Articles

What is KeyStone.Js?
KeystoneJS is a powerful Node.js content management system and web app framework built on express and mongoose. Keystone makes it easy to create sophisticated web sites and apps, and comes with a beautiful auto-generated Admin UI.

KeystoneJS is the easiest way to build database-driven websites, applications and APIs in Node.js.

Features:

  • Express.js and MongoDB
  • Dynamic Routes
  • Database Fields
  • Auto-generated Admin UI
  • Simpler Code
  • Form Processing
  • Session Management
  • Email Sending

Keystone uses Mongoose, the leading ODM for node.js and MongoDB, and gives you a single place for your schema, validation rules and logic.

Keystone can configure Express for you, or you can take over and treat Keystone like any other Express middleware.

You can also easily integrate it into an existing Express app.

NPM Command
npm install -g generator-keystone

YO Generator
$ yo keystone

 

Video for KeyStone.JS

https://www.youtube.com/watch?v=DPXDFeUEk3g

READ MORE

What is Node NW?
NW.js is an app runtime based on Chromium and node.js . You can write native apps in HTML and JavaScript with NW.js. It also lets you call Node.js modules directly from the DOM and enables a new way of writing native applications with all Web technologies. It was created in the Intel Open Source Technology Center.
NW.js (previously known as node-webkit) lets you call all Node.js modules directly from DOM and enables a new way of writing applications with all Web technologies.

Features:

  • Apps written in modern HTML5, CSS3, JS and WebGL.
  • Complete support for Node.js APIs and all its third party modules.
  • Good performance: Node and WebKit run in the same thread: Function calls are made straightforward; objects are in the same heap and can just reference each other;
  • Easy to package and distribute apps.
  • Available on Linux, Mac OS X and Windows

nw.js is an app runtime based on Chromium and io.js. For building desktop applications that will run on OSX, Windows and Linux.

NPM Install Commands
npm install nw

For Global Installation
npm install nw -g

Small Example For Getting Started

Step 1 : Create package.json:

{
  "name": "helloworld",
  "main": "index.html"
}

Note:
package.json is the manifest file in your app. It is written in JSON format.

Step 2 : Create index.html:

<!DOCTYPE html>
<html>
  <head>
    <title>Hello World!</title>
  </head>
  <body>
    <h1>Hello World!</h1>
  </body>
</html>
This is the normal HTML file. You can use any web technologies supported by latest browsers.

Step 3 : Run your app

cd /path/to/your/app
/path/to/nw .
/path/to/nw is the binary file of NW.js. On Windows, it’s nw.exe; On Linux, it’s nw; On Mac, it’s  nwjs.app/Contents/MacOS/nwjs.

 

Video for Node NW

https://www.youtube.com/watch?v=lNpjx4BJlH4

 

READ MORE

What is Node.js?

Node.js is a runtime environment and a library for running applications written in JavaScript outside the browser.

Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications.

Node.js is an event based, asynchronous I/O framework that uses Google's V8 JavaScript Engine.

Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

It is used for developing applications that make heavy use of the ability to run JavaScript both on the client, as well as on server side and therefore benefit from the re-usability of code and the lack of context switching.

Some of the Applications that can be written using Node.js.

  • Static file servers
  • Web Application frameworks
  • Messaging middle ware
  • Servers for HTML5 multi player games

Normally it is an event-driven I/O framework for the V8 JavaScript engine.

Event-driven I/O server-side JavaScript environment based on V8

What is V8?

V8 is Google's open source JavaScript engine.

V8 is written in C++ and is used in Google Chrome, the open source browser from Google.

The basic philosophy of node.js is:

Non-blocking I/O - every I/O call must take a callback, whether it is to retrieve information from disk, network or another process.
Built-in support for the most important protocols (HTTP, DNS, TLS)
Low-level.
Do not remove functionality present at the POSIX layer. For example, support half-closed TCP connections.
Stream everything; never force the buffering of data.

Note:
Node.js is different from client-side Javascript in that it removes certain things, like DOM manipulation, and adds support for evented I/O, processes, streams, HTTP, SSL, DNS, string and buffer processing and C/C++ addons.

Video Tutorial for what is node.js?

https://www.youtube.com/watch?v=RH_BTidPkps

READ MORE

What is ArangoDB?

ArangoDB is a native multi-model database with flexible data models for documents, graphs, and key-values. Build high-performance applications using a convenient SQL-like query language or JavaScript extensions.

Multi-Model: Documents, graphs and key-value pairs — model your data as you see fit for your application.
Joins: Conveniently join what belongs together for flexible ad-hoc querying, less data redundancy.
Transactions: Easy application development keeping your data consistent and safe. No hassle in your client.

ArangoDB is to use the arangoimp command-line tool. arangoimp allows you to import data records from a file into an existing database collection.

ArangoDB provides scalable, highly efficient queries when working with graph data.The database uses JSON as a default storage format, but internally it uses ArangoDB's VelocyPack - a fast and compact binary format for serialization and storage.ArangoDB can natively store a nested JSON object as a data entry inside a collection. Therefore, there is no need to disassemble the resulting JSON objects. 

Video for ArangoDB?

https://www.youtube.com/watch?v=on1l2pEEWnw

READ MORE

What is Sench Touch?

Sencha Touch is an enterprise-grade product for building cross-platform end to end mobile web apps with HTML5 and JavaScript. You can call it as the big daddy of mobile application development platforms in the commercial space, mostly enterprises. Sencha has a wide range of products that work hand to hand with Sencha Touch, most of these products carry heavy price tag.

Sencha Touch has been merged with Ext JS, which provides developers with everything they need to build data-intensive web apps. 

For individual developers and freelancers, Ionic, Onsen UI or Framework7 will be a better choice but for enterprises application, Sencha Touch leads the way.

Sencha Touch scores highly against its competitors by providing a native look and feel across all of the platforms it supports.

ExtJS, one of the most popular JavaScript frameworks is at the core of Sencha Touch platform which helps create high-performance apps with near native experience. Sencha Touch packs ready to use widgets with native look and feel for all leading platforms including iOS, android, Windows Phone, and Blackberry. Sencha also features a drag and drop HTML5 visual application builder with tons of ready to use templates. Custom components can also be built and added to the library for reuse across apps.

Video for Sench Touch

https://www.youtube.com/watch?v=DWa4OJ4WMmU​

READ MORE

What is Jeet?

Jeet is a grid system built on top of Sass and Stylus. It consists of powerful mixins and functions you can use to create fast responsive layouts.

Unlike many other grids, Jeet provides a more flexible approach for producing layouts. Here are its main advantages:

It doesn’t add any additional markup.
It isn’t limited to a specific column size (e.g. 12-column grid).
You can use fractions (e.g. 1/4), decimals (e.g. 0.75), or even a combination of them (e.g. 1.5/4) for generating the desired layout.
The grid is designed to work in all major browsers including IE9+. If you want to target previous versions of IE, take a look at the Boy boilerplate.

The grid comes in two flavors, one for Sass(SCSS) and another for Stylus. Depending on the preprocessor you want to use, there’s a different installation method.

Npm Sass & Stylus

npm install -D node-sass jeet
npm install -D stylus jeet

Video for Jeet Framework

https://www.youtube.com/watch?v=J3_Bg_tMlQQ 

READ MORE

What is Synaptic ?

Synaptic is a javascript neural network library for node.js and the browser, its generalized algorithm is architecture-free, so you can build and train basically any type of first order or even second order neural network architectures.

This library includes a few built-in architectures like multilayer perceptrons, multilayer long-short term memory networks (LSTM), liquid state machines or Hopfield networks, and a trainer capable of training any given network, which includes built-in training tasks/tests like solving an XOR, completing a Distracted Sequence Recall task or an Embedded Reber Grammar test, so you can easily test and compare the performance of different architectures.

Npm Command

npm install synaptic --save

Bower Command

bower install synaptic

Sample Layer created using Synaptic:

Video for Synaptic  

https://www.youtube.com/watch?v=tUIEeCO_pZg

READ MORE
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...