Ajax

2
AJAX = Asynchronous JavaScript and XML. AJAX is the art of exchanging data with a server, and updating parts of a web page - without reloading the whole page. AngularJS is an open-source JavaScript framework, maintained by Google, that assists with running what are known as single-page applications. Its goal is to augment browser-based applications with model–view–controller (MVC) capability, in an effort to make both development and testing easier. The library reads in HTML that contains additional custom tag attributes; it then obeys the directives in those custom attributes, and binds input or output parts of the page to a model represented by standard JavaScript variables. The values of those JavaScript variables can be manually set, or retrieved from static or dynamic JSON resources. (http://angularjs.org/ ) Model–view–controller (MVC) is a software architecture pattern which separates the representation of information from the user's interaction with it. The model consists of application data, business rules, logic, and functions. A view can be any output representation of data, such as a chart or a diagram. Multiple views of the same data are possible, such as a bar chart for management and a tabular view for accountants. The controller mediates input, converting it to commands for the model or view (handle user interaction, work with the model, and ultimately select a view to render). The central ideas behind MVC are code reusability and separation of concerns. JSON: JavaScript Object Notation. JSON is syntax for storing and exchanging text information. Much like XML. JSON is smaller than XML, and faster and easier to parse. JavaScript Object Notation is a text-based open standard designed for human-readable data interchange. It is derived from the JavaScript scripting language for representing simple data and associative arrays, called objects. Despite its relationship to JavaScript, it is language-independent, with parsers available for many languages. The JSON format was originally specified by Douglas Crockford, and is described in RFC 4627. The official Internet media type for JSON is application/json. The JSON filename extension is .json. 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. A relational database is a database that has a collection of tables of data items, all of which is formally described and organized according to the relational model. The term is in contrast to only one table as the database, and in contrast to other models which also have many tables in one database. A NoSQL database provides a mechanism for storage and retrieval of data that use looser consistency models than traditional relational databases in order to achieve horizontal scaling and higher availability. Some authors refer to them as "Not only SQL" to emphasize that some NoSQL systems do allow SQL-like query language to be used. MongoDB is an open source document-oriented database system developed and supported by 10gen. It is part of the NoSQL family of database systems. Instead of storing data in tables as is done in a "classical" relational database, MongoDB stores structured data as JSON-like documents with dynamic schemas (MongoDB calls the format BSON), making the integration of data in certain types of applications easier and faster. MongoDB is a general purpose, open-source database. MongoDB features: Document data model with dynamic schemas Full, flexible index support and rich queries Auto-Sharding for horizontal scalability Built-in replication for high availability Text search Advanced security Aggregation Framework and MapReduce Large media storage with GridFS (http://www.10gen.com/products/mongodb ) Angular Seed This project is an application skeleton for a typical AngularJS web app. You can use it to quickly bootstrap your angular webapp projects and dev environment for these projects. The seed contains AngularJS libraries, test libraries and a bunch of scripts all preconfigured for instant web development gratification. Just clone the repo (or download the zip/tarball), start up our (or yours) webserver and you are ready to develop and test your application. The seed app doesn't do much, just shows how to wire two controllers and views together. You can check it out by opening

description

Its a AJAX help

Transcript of Ajax

  • AJAX = Asynchronous JavaScript and XML. AJAX is the art of exchanging data with a server, and updating parts of a web page -

    without reloading the whole page.

    AngularJS is an open-source JavaScript framework, maintained by Google, that assists with running what are known as single-page

    applications. Its goal is to augment browser-based applications with modelviewcontroller (MVC) capability, in an effort to make

    both development and testing easier.

    The library reads in HTML that contains additional custom tag attributes; it then obeys the directives in those custom attributes, and

    binds input or output parts of the page to a model represented by standard JavaScript variables. The values of those JavaScript

    variables can be manually set, or retrieved from static or dynamic JSON resources. (http://angularjs.org/ )

    Modelviewcontroller (MVC) is a software architecture pattern which separates the representation of information from the user's

    interaction with it. The model consists of application data, business rules, logic, and functions. A view can be any output

    representation of data, such as a chart or a diagram. Multiple views of the same data are possible, such as a bar chart for

    management and a tabular view for accountants. The controller mediates input, converting it to commands for the model or view

    (handle user interaction, work with the model, and ultimately select a view to render). The central ideas behind MVC are code

    reusability and separation of concerns.

    JSON: JavaScript Object Notation. JSON is syntax for storing and exchanging text information. Much like XML. JSON is smaller than

    XML, and faster and easier to parse.

    JavaScript Object Notation is a text-based open standard designed for human-readable data interchange. It is derived from the

    JavaScript scripting language for representing simple data and associative arrays, called objects. Despite its relationship to

    JavaScript, it is language-independent, with parsers available for many languages. The JSON format was originally specified by

    Douglas Crockford, and is described in RFC 4627. The official Internet media type for JSON is application/json. The JSON filename

    extension is .json. 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.

    A relational database is a database that has a collection of tables of data items, all of which is formally described and organized

    according to the relational model. The term is in contrast to only one table as the database, and in contrast to other models which

    also have many tables in one database.

    A NoSQL database provides a mechanism for storage and retrieval of data that use looser consistency models than traditional

    relational databases in order to achieve horizontal scaling and higher availability. Some authors refer to them as "Not only SQL" to

    emphasize that some NoSQL systems do allow SQL-like query language to be used.

    MongoDB is an open source document-oriented database system developed and supported by 10gen. It is part of the NoSQL family

    of database systems. Instead of storing data in tables as is done in a "classical" relational database, MongoDB stores structured data

    as JSON-like documents with dynamic schemas (MongoDB calls the format BSON), making the integration of data in certain types of

    applications easier and faster.

    MongoDB is a general purpose, open-source database. MongoDB features:

    Document data model with dynamic schemas

    Full, flexible index support and rich queries

    Auto-Sharding for horizontal scalability

    Built-in replication for high availability

    Text search

    Advanced security

    Aggregation Framework and MapReduce

    Large media storage with GridFS (http://www.10gen.com/products/mongodb )

    Angular Seed This project is an application skeleton for a typical AngularJS web app. You can use it to quickly bootstrap your angular

    webapp projects and dev environment for these projects. The seed contains AngularJS libraries, test libraries and a bunch of scripts

    all preconfigured for instant web development gratification. Just clone the repo (or download the zip/tarball), start up our (or yours)

    webserver and you are ready to develop and test your application.

    The seed app doesn't do much, just shows how to wire two controllers and views together. You can check it out by opening

    http://en.wikipedia.org/wiki/Open_source_softwarehttp://en.wikipedia.org/wiki/JavaScripthttp://en.wikipedia.org/wiki/Googlehttp://en.wikipedia.org/wiki/Single-page_applicationhttp://en.wikipedia.org/wiki/Single-page_applicationhttp://en.wikipedia.org/wiki/Modelviewcontrollerhttp://en.wikipedia.org/wiki/HTMLhttp://en.wikipedia.org/wiki/HTML_attributehttp://angularjs.org/http://en.wikipedia.org/wiki/Software_architecturehttp://en.wikipedia.org/wiki/Code_reusehttp://en.wikipedia.org/wiki/Code_reusehttp://en.wikipedia.org/wiki/Separation_of_concernshttp://en.wikipedia.org/wiki/Open_standardhttp://en.wikipedia.org/wiki/Human-readablehttp://en.wikipedia.org/wiki/JavaScripthttp://en.wikipedia.org/wiki/Associative_arrayhttp://en.wikipedia.org/wiki/Language-independent_specificationhttp://en.wikipedia.org/wiki/Douglas_Crockfordhttp://tools.ietf.org/html/rfc4627http://en.wikipedia.org/wiki/Internet_media_typehttp://en.wikipedia.org/wiki/Serializationhttp://en.wikipedia.org/wiki/XMLhttp://en.wikipedia.org/wiki/Databasehttp://en.wikipedia.org/wiki/Table_(database)http://en.wikipedia.org/wiki/Relational_modelhttp://en.wikipedia.org/wiki/Relational_databasehttp://en.wikipedia.org/wiki/Horizontal_scaling#Horizontal_and_vertical_scalinghttp://en.wikipedia.org/wiki/SQLhttp://en.wikipedia.org/wiki/Document-oriented_databasehttp://en.wikipedia.org/wiki/10genhttp://en.wikipedia.org/wiki/NoSQLhttp://en.wikipedia.org/wiki/Relational_databasehttp://en.wikipedia.org/wiki/JSONhttp://en.wikipedia.org/wiki/BSONhttp://www.10gen.com/products/mongodbhttp://angularjs.org/

  • app/index.html in your browser (might not work file file://scheme in certain browsers, see note below).

    Note: While angular is client-side-only technology and it's possible to create angular webapps that don't require a backend server

    at all, we recommend hosting the project files using a local webserver during development to avoid issues with security restrictions

    (sandbox) in browsers. The sandbox implementation varies between browsers, but quite often prevents things like cookies, xhr, etc

    to function properly when an html page is opened via file:// scheme instead of http://.

    Jasmine is an open source testing framework for JavaScript. It aims to run on any JavaScript-enabled platform, to not intrude on the

    application nor the IDE, and to have easy-to-read syntax. It is heavily influenced by other unit testing frameworks, such as

    ScrewUnit, JSSpec, JSpec, and Rspec.

    On the AngularJS team, we rely on testing and we always seek better tools to make our life easier. That's why we created

    Karma - a test runner that fits all our needs.

    ../../../../http://en.wikipedia.org/wiki/Open_sourcehttp://en.wikipedia.org/wiki/JavaScripthttp://en.wikipedia.org/wiki/Integrated_development_environmenthttp://en.wikipedia.org/w/index.php?title=ScrewUnit&action=edit&redlink=1http://en.wikipedia.org/w/index.php?title=JSSpec&action=edit&redlink=1http://en.wikipedia.org/w/index.php?title=JSpec&action=edit&redlink=1http://en.wikipedia.org/wiki/RSpechttp://www.angularjs.org/