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

    Get Free Article Updates

Facebook Login
Site Registration
Print Preview

Discussion About Taffy DB?

0 votes
55 views

What is Taffy DB?

 - TaffyDB is a Pure-JavaScript database abstraction that stores data in JSON format.The result is a very useful module that you drop into your Titanium app, and you get an instant database.
- It provides powerful in-memory database capabilities to both browser and server applications.
- We use TaffyDB instead of ad-hoc data manipulation routines throughout our applications. This reduces development time, improves performance, simplifies maintenance, and increases quality.

Features

  • Extremely fast
  • Powerful JavaScript-centric data selection engine
  • SQL inspired features such as insert, update, unique, count, and more
  • Robust cross browser support
  • Easily extended with your own functions
  • Compatible with any DOM library (jQuery, YUI, Dojo, etc)

For Creating DB we can simply form a JSON like below example:

var student_db = TAFFY([
  { "sno"  : 1,
    "name"  : "John",
    "age" : 18
  },
  { "sno"  : 2,
    "name"  : "Dave",
    "age" : 17
  }
]); 

 

Video for Taffy - Kickstart

 

posted Apr 10 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 Sinon.Js?

“Standalone test spies, stubs and mocks for JavaScript. No dependencies, works with any unit testing framework.” Sinon.js is a really helpful library when you want to unit test your code. It supports spies, stubs, and mocks.

Sinon provides spies, stubs, and mocks. They’re all useful as fakes in tests. They come with essential differences for what they’re helpful in doing and how they work.

Test stubs are functions (spies) with pre-programmed behavior.

They support the full test spy API in addition to methods which can be used to alter the stub’s behavior.

As spies, stubs can be either anonymous or wrap existing functions. When wrapping an existing function with a stub, the original function is not called.

Example :

var stub = sinon.stub();

NPM Installation

npm install sinon

Video for Sinon.JS
https://www.youtube.com/watch?v=SvudHPTEsIk

READ MORE

What is WebPack.Js?

Webpack is a module bundler for modern JavaScript applications. It is incredibly configurable, but to get started you only need to understand Four Core Concepts: entry, output, loaders, and plugins.

Webpack constructs two separate dependency graphs and emits two bundle files, one called app.js containing only the application code and another called vendor.js with all the vendor dependencies.

Webpack is fed via a configuration object. It is passed in one of two ways depending on how you are using webpack: through the terminal or via Node.js. 

Webpack enables use of loaders to preprocess files. This allows you to bundle any static resource way beyond JavaScript. You can easily write your own loaders using Node.js.

It allows you to split your codebase into multiple chunks. Chunks are loaded asynchronously at runtime. This reduces the initial loading time

NPM Module for install

npm install webpack -g

Video for Webpack.Js

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

READ MORE

What is Typings?

Typings is the simple way to manage and install TypeScript definitions. It uses typings.json , which can resolve to the Typings Registry, GitHub, NPM, Bower, HTTP and local files.

Packages can use type definitions from various sources and different versions, knowing they will never conflict for users.

Node Install:

typings install debug --save


The public registry is maintained by the community, and is used to resolve official type definitions for JavaScript packages.

When using TypeScript, you will need TypeScript definition files to work with external libraries.i.e. Typings

Video for Typings?

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

READ MORE

What is Babel?

Babel is a JavaScript transpiler.Essentially Babel takes the ES2015 JavaScript code and compiles it into ES5 code. This opens up all the ECMAScript 6 features to us when we code our projects.

The compiler can be broken down into 3 parts:

  1. The parser: babylon (moved to a separate repo and versioned independently)
  2. The transformer[s]: All the plugins/presets.These all use babel-traverse to traverse through the AST
  3. The generator: babel-generator
Babel has support for the latest version of JavaScript through syntax transformers. These plugins allow you to use new syntax, right now without waiting for browser support.
 

Node NPM InstalInstallation:

npm install --save-dev babel-preset-env​

Video About Babel?
https://www.youtube.com/watch?v=-Fxi62nYitY

READ MORE

What is Video.Js?

Video.js is an open source library for working with video on the web, also known as an HTML video player
VideoJS is an HTML5 Video Player with 3 core parts: 

  1. An embed code (Video for Everybody), 
  2. A Javascript library (video.js), 
  3. A pure HTML/CSS skin (video-js.css). 

Using Video for Everybody as the embed code means you know it's compatible with many devices (including ones without javascript).

The core codebase uses a few modern features of Javascript (ES5), so if you'd like to support IE8 you'll need to include an ES5 shim. To make things easier, we created a single file you can include for IE8 support. 

Npm Install Code

npm install --save-dev video.js

Bower Install Code

bower install video.js

 

Video About Video.Js

https://www.youtube.com/watch?v=h-I3R2JOMsI

READ MORE

What is SAP Fiori?

SAP Fiori is a software that provides the porting of applications on mobile devices announced on 15 May 2013.

SAP Fiori is based on SAP's technology platform called NetWeaver. It enables applications to be used on desktop computers, tablets and smartphones. SAP Fiori supports HTML5.

SAP Fiori is a new user experience (UX) for SAP software and applications. It provides a set of applications that are used in regular business functions like work approvals, financial apps, calculation apps and various self-service apps.

SAP Fiori provides 300+ role-based applications like HR, Manufacturing, finance, etc. When you open the SAP Fiori home page application, you will see a picture of the flowers. It is because Fiori means ‘flowers’ in Italian.

SAP Fiori is a product line of SAP apps that have a device-agnostic user interface (UI). 

At the 2013 SAP TechEd conference in Las Vegas, SAP announced that SAP Fiori would be the company's predominant user-interface model going forward for its enterprise resource planning (ERP), customer resource management (CRM), supply chain management (SCM), procurement, and talent management software, and that new Fiori applications would follow in those areas. As of this writing, there are currently 25 Fiori apps.

Video About SAP Fiori?
https://www.youtube.com/watch?v=CX5X8ewlD0I

READ MORE

What is SAPUI5?

SAPUI5 (SAP user interface for HTML 5) is a collection of libraries that developers can use to build desktop and mobile applications that run in a browser. With SAP's SAPUI5 JavaScript toolkit, developers can build SAP web applications using HTML5 web development standards.

SAPUI5 is a collection of libraries that developers can use to build desktop and mobile applications that run in a browser.

SAPUI5 combines latest web technologies like HTML5, JavaScript and CSS into a toolkit. It can be used for building Web applications on the SAP platform.

Using SAPUI5 developers can build SAP Web applications using HTML5 Web development standards, according to business intelligence expert Ethan Jewett.

"HTML5 is a set of standards around browser-based technologies [like] JavaScript HTML and CSS, [otherwise known as] Cascading Style Sheets," Jewett says. "SAPUI5 is a library that combines all of those things into a toolkit for building actual Web applications. SAPUI5 … is a higher-level framework for building Web applications on the SAP platform."

Applications can be built using SAPUI5 that connect to any type of back-end system (or that just run in the browser and don't connect to any back-end system at all). However, the original goal of SAPUI5 (and still one of the main goals) was to develop an application framework for use in SAP environments, according to Jewett.

Video for SAPUI5

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

READ MORE
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.
QUERY HOME
...