CSC/ECE 517 Fall 2014/ch1b 34 kr: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 26: Line 26:
Rails was extracted from Basecamp, a project management tool by 37signals but it was released as an open source project in July 2004. It gained fame after Apple decided to ship it with Mac OS X, which was released in October 2007.
Rails was extracted from Basecamp, a project management tool by 37signals but it was released as an open source project in July 2004. It gained fame after Apple decided to ship it with Mac OS X, which was released in October 2007.


==Why AngularJS + Rails ?==
==Why AngularJS + Rails?==


AngularJS creates single page web applications which makes [http://en.wikipedia.org/wiki/Search_engine_optimization Search Engine Optimization] extremely tricky, i.e., users won't be able to search on the website efficiently. Also, it is designed to run on the client side which means that for any real application a back end will be required. Thus, Rails came into picture. It provides a back end to the application so that large amount of data can be stored and also the web pages are rendered by Rails on the server, which makes them available to be searched by Google.
AngularJS is a frontend framework, what this means is it is designed to run on the client side, therefore for any real application requiring CRU operations a backend is required. This is where Rails comes into picture, it provides a back end to the application so that large amount of data can be stored in database. Another issue with using standalone AngularJS application is that it creates a single page web applications, i.e. the same page or components on the page gets refreshed, which makes [http://en.wikipedia.org/wiki/Search_engine_optimization Search Engine Optimization] extremely tricky as a result the possibility of making the web page searchable reduces drastically. Whereas in case of Rails the web pages are rendered by Rails on the server, which makes them available to Google for SEO based search.


==References==
==References==
<references/>
<references/>

Revision as of 16:57, 6 October 2014

Overview

AngularJS is an open source client-side Javascript framework for creating web applications with dynamic web pages and is maintained by Google. AngularJS has extended HTML's syntax and implemented it with Model-View-Controller architecture so that the various components of Javascript can be expressed clearly. It provides functionalities like data binding and dependency injection which helps shorten the crude javascript code. It has a simple object model that supports testability and clean code organization.

Rails is an open source web application framework written in Ruby by David Heinemeier Hansson. It is extremely productive for developing database-backed web applications. It uses Model-View-Controller architecture and requires fewer total lines of code than other frameworks thus making it atleast ten times faster.

Background

AngularJS

AngularJS was developed by Misko Hevery and Adam Abrons at Brat Tech LLC in 2009 as the software behind an oline JSON storage service. Later, it was released as an open source library. The library is being developed and maintained by Hevery with his fellow Google employees.

Rails

Rails was extracted from Basecamp, a project management tool by 37signals but it was released as an open source project in July 2004. It gained fame after Apple decided to ship it with Mac OS X, which was released in October 2007.

Why AngularJS + Rails?

AngularJS is a frontend framework, what this means is it is designed to run on the client side, therefore for any real application requiring CRU operations a backend is required. This is where Rails comes into picture, it provides a back end to the application so that large amount of data can be stored in database. Another issue with using standalone AngularJS application is that it creates a single page web applications, i.e. the same page or components on the page gets refreshed, which makes Search Engine Optimization extremely tricky as a result the possibility of making the web page searchable reduces drastically. Whereas in case of Rails the web pages are rendered by Rails on the server, which makes them available to Google for SEO based search.

References

<references/>

AngularJS + Rails<ref>http://rigor.com/wp-content/uploads/2014/09/angularjs+rails.jpg</ref>
AngularJS + Rails<ref>http://rigor.com/wp-content/uploads/2014/09/angularjs+rails.jpg</ref>
Name AngularJS + Rails
Category Open Source Software
Type Web Application Framework