Tuesday, July 18, 2017

2nd day of 4th month

Welcome.

Today we signup  Hackerrank accound.
But, we not do exercises in Hackerrank.


Sunday, July 16, 2017

Deployment Steps For Heroku & mLab


Heroku is a cloud-based development platform as a service (PaaS) provider. The Heroku platform supports development in Ruby on Rails, Java, Node.js, Python, Scala and Clojure.

  1. Signup for Heroku
  2. Signup for mLab
  3. Create DB notable in mLab
  4. Add user in mLab
  5. Update DB url in node server
mongodb://<dbuser>:<dbpassword>@ds149122.mlab.com:49122/notable
     6. Test notable app



Mongoose

What Is Mongoose?

mongoose is an object modeling package for Node that essentially works like an ORM that you would see in other languages (like Eloquent for Laravel).
Mongoose allows us to have access to the MongoDB commands for CRUD simply and easily. To use mongoose, make sure that you add it to you Node project by using the following command:
$ npm install mongoose --save
Now that we have the package, we just have to grab it in our project:
var mongoose = require('mongoose');
We also have to connect to a MongoDB database (either local or hosted):
mongoose.connect('mongodb://localhost/myappdatabase');
Let's get to the commands.

AJAX


What is AJAX?

AJAX = Asynchronous JavaScript And XML.
AJAX is not a programming language.
AJAX just uses a combination of:
  • A browser built-in XMLHttpRequest object (to request data from a web server)
  • JavaScript and HTML DOM 

AJAX is a developer's dream, because you can:
  • Update a web page without reloading the page
  • Request data from a server - after the page has loaded
  • Receive data from a server - after the page has loaded
  • Send data to a server - in the background





Fetch api

Welcome



What is fetch-api?
Matt is a contributor to WebFundamentals. So long XMLHttpRequest. fetch() allows you to make network requests similar to XMLHttpRequest (XHR). The main difference is that the Fetch API uses Promises, which enables a simpler and cleanerAPI, avoiding callback hell and having to remember the complex API of XMLHttpRequest ...


How do we use the Fetch API?   In a very simple manner all you really do is call fetch with the URL you want, by default the Fetch API uses the GET method, so a very simple.

Saturday, July 15, 2017

ReactJS

Welcome



React is front end library developed by Facebook. It's used for handling viewlayer for web and mobile apps. ReactJS allows us to create reusable UI components. It is currently one of the most popular JavaScript libraries and it has strong foundation and large community behind it.

React Features


  • JSX − JSX is JavaScript syntax extension. It isn't necessary to use JSX in React development, but it is recommended.
  • Components − React is all about components. You need to think of everything as a component. This will help you to maintain the code when working on larger scale projects.
  • Unidirectional data flow and Flux − React implements one way data flow which makes it easy to reason about your app. Flux is a pattern that helps keeping your data unidirectional.
  • License − React is licensed under the Facebook Inc. Documentation is licensed under CC BY 4.0.

React Advantages

  • React uses virtual DOM which is JavaScript object. This will improve apps performance since JavaScript virtual DOM is faster than the regular DOM.
  • React can be used on client and server side.
  • Component and Data patterns improve readability which helps to maintain larger apps.
  • React can be used with other frameworks.

React Limitations

  • React only covers view layer of the app so you still need to choose other technologies to get a complete tooling set for development.
  • React is using inline templating and JSX. This can seem awkward to some developers.

SoundCloud app

Welcome.

SoundCloud is an online audio distribution platform based in Berlin, Germany, that enables its users to upload, record, promote, and share their originally-created sounds

Tuesday, June 27, 2017

Express.js

Welcome.


What's Express?

Express provides a minimal interface to build our applications. It provides us the tools that are required to build our app. It is flexible as there are numerous modules available on npm, which can be directly plugged into Express.


Why we are using Express?
Unlike its competitors like Rails and Django, which have an opinionated way of building applications, Express has no "best way" to do something. It is very flexible and pluggable.

Pug

Pug (earlier known as Jade) is a terse language for writing HTML templates. It −
  • Produces HTML
  • Supports dynamic code
  • Supports reusability (DRY)
It is one of the most popular template language used with Express.



Thankyou.

Tuesday, June 20, 2017

2nd day of 3rd month

Welcome.

We did freecodecamp exercises.

after that some code academy course 

that is Soundcloud API, YouTube Data API


Thankyou.

Monday, June 19, 2017

1st day of 3rd month.

Welcome.

We fill first Evaluation form

We do some exercises.

 after,
 We studied post man.

Build a Node.js API 

Thursday, June 15, 2017

Postman

Welcome.


About Postman. Postman is a powerful API testing suite which has become a must-have tool for many developers. We make beautiful products to build amazing APIs and improve developer productivity. Postman is now used by well over a million developers around the world, and this number is rapidly growing.







Monday, June 12, 2017

Api

Welcome.



What is API?
Application program interface (API) is a set of routines, protocols, and tools for building software applications. An API specifies how software components should interact. Additionally, APIs are used when programming graphical user interface (GUI) components.
 

What is api testing? 
API testing is a type of software testing that involves testing application programming interfaces (APIs) directly and as part of integration testing to determine if they meet expectations for functionality, reliability, performance, and security. Since APIs lack a GUI, API testing is performed at the message layer.

Friday, June 9, 2017

Saas

Welcome.

What is SAAS?
Software as a service (SaaS; pronounced /sæs/) is a software licensing and delivery model in which software is licensed on a subscription basis and is centrally hosted. ... SaaS is typically accessed by users using a thin client via a web browser.



Wednesday, June 7, 2017

Json 02

Welcome.

JSON syntax is derived from JavaScript object notation syntax:
  • Data is in name/value pairs
  • Data is separated by commas
  • Curly braces hold objects
  • Square brackets hold arrays



Both JSON and XML can be used to receive data from a web server.

JSON is Like XML Because

  • Both JSON and XML are "self describing" (human readable)
  • Both JSON and XML are hierarchical (values within values)
  • Both JSON and XML can be parsed and used by lots of programming languages
  • Both JSON and XML can be fetched with an XMLHttpRequest

JSON is Unlike XML Because

  • JSON doesn't use end tag
  • JSON is shorter
  • JSON is quicker to read and write
  • JSON can use arrays


Using XML
  • Fetch an XML document
  • Use the XML DOM to loop through the document
  • Extract values and store in variables
Using JSON
  • Fetch a JSON string
  • JSON.Parse the JSON string

Tuesday, June 6, 2017

Json

Welcome.


JSON: JavaScript Object Notation.
JSON is a syntax for storing and exchanging data.
JSON is text, written with JavaScript object notation.


What's Json?
JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999.



Why wee use Json?
The syntax is that used in JavaScript and JSON itself stands for "JavaScript Object Notation". ... The JSON format is often used for serializing and transmitting structured data over a network connection. It is used primarily to transmit data between a server and web application, serving as an alternative to XML.