| Ruby on Rails | |
|---|---|
The Rails Application Default Page | |
| Developed by | Rails Core Team |
| Latest release | 2. A software developer is a person or organization concerned with facets of the software development process wider than design and coding a somewhat broader scope of A software release is the distribution whether public or private of an initial or new and upgraded version of a Computer software product 1. 0 / June 1, 2008 |
| Written in | Ruby |
| OS | Cross-platform |
| Genre | Web application framework |
| License | MIT License |
| Website | http://www.rubyonrails.com |
Ruby on Rails is a free web application framework designed to make web development faster, simpler and more efficient. Events 193 - Roman Emperor Didius Julianus is Assassinated 987 - Hugh Capet is elected 2008 ( MMVIII) is the current year in accordance with the Gregorian calendar, a Leap year that started on Tuesday of the Common A programming language is an Artificial language that can be used to write programs which control the behavior of a machine particularly a Computer. Ruby is a dynamic, reflective, general purpose Object-oriented programming language that combines syntax inspired by Perl with Smalltalk An operating system (commonly abbreviated OS and O/S) is the software component of a Computer system that is responsible for the management and coordination In computing cross-platform (also known as multi-platform) is a term used to refer to Computer software or computing methods and concepts that are implemented Computer software can be organized into categories based on common function type or field of use A web application framework is a Software framework that is designed to support the development of dynamic websites, Web applications and A software license (or software licence in commonwealth usage is a Legal instrument governing the usage or redistribution of copyright protected software The MIT License is a Free software license originating at the Massachusetts Institute of Technology (MIT used by the MIT X Consortium. A website (alternatively web site or Web site, a back-construction from the Proper noun World Wide Web) is a collection of Web pages Free software or software libre is Software that can be used studied and modified without restriction and which can be copied and redistributed in modified or unmodified A web application framework is a Software framework that is designed to support the development of dynamic websites, Web applications and Often shortened to Rails, or RoR, Ruby on Rails is written in the Ruby programming language. Ruby is a dynamic, reflective, general purpose Object-oriented programming language that combines syntax inspired by Perl with Smalltalk
Contents |
Ruby on Rails was extracted by David Heinemeier Hansson from his work on Basecamp, a project management tool by the web design (now web application) company 37signals. David Heinemeier Hansson is a Danish Programmer and the creator of the popular Ruby on Rails Web development Framework and the David Heinemeier Hansson is a Danish Programmer and the creator of the popular Ruby on Rails Web development Framework and the Basecamp is a web-based project-management tool developed by 37signals. Web page design is a process of conceptualization planning modeling and execution of Electronic media content delivery via Internet in the form In Software engineering, a web application or webapp is an application that is accessed via Web browser over a network such as the Internet 37signals is a privately held Web application company based in Chicago, Illinois, United States. [1] It was first released to the public in July 2004. In August 2006 Apple announced that it would ship Ruby on Rails with Mac OS X v10.5 Leopard,[2] which was released in October 2007. Apple Inc, ( formerly Apple Computer Inc, is an American Multinational corporation with a focus on designing and manufacturing Consumer electronics Mac OS X version 105 “Leopard” is the sixth major release of Mac OS X, Apple’s desktop and server Operating system for Macintosh
The fundamental Ruby on Rails principles include Convention over Configuration (CoC) and Don't repeat yourself (DRY). Convention over Configuration is a software Design paradigm which seeks to decrease the number of decisions that developers need to make gaining simplicity but not necessarily Contrast with redundancy and mirror. Don't Repeat Yourself (DRY also known as Single Point of Truth is a process philosophy aimed
"Convention over Configuration" means a developer only needs to specify unconventional aspects of the application. For example, if there's a class Sale in the model, the corresponding table in the database is called sales by default. It is only if one deviates from this convention, such as calling the table "products_sold", that one needs to write code regarding these names.
"Don't repeat yourself" means that information is located in a single, unambiguous place. For example, using ActiveRecord, the developer does not need to specify database column names in class definitions. ActiveRecord is a Ruby library that implements the like-named Object-relational mapping (ORM pattern described by Martin FowlerAn object that wraps a row in a database table Instead, Ruby can retrieve this information from the database.
Like many contemporary web frameworks, Rails uses the Model-View-Controller (MVC) architecture for organizing application programming. Model-view-controller ( MVC) is an architectural pattern used in Software engineering.
Rails provides 'out of the box' scaffolding which can quickly construct most of the models and views needed for a basic website. Scaffolding is a Meta-programming method of building Database -backed Software applications It is a technique supported by some model-view-controller Other helpful development tools come with or are installed with Rails, such as the WEBrick web server, and the Rake build system. WEBrick is a Ruby library providing simple HTTP Web server services Rake is a software build tool It is similar to SCons and make, but has a number of differences
Rails is also noteworthy for its extensive use of the JavaScript libraries Prototype and Script.aculo.us for Ajax and its graphical interface. The Prototype JavaScript Framework is a JavaScript framework created by Sam Stephenson which provides an Ajax framework and other utilities scriptaculous is a JavaScript library built on the Prototype JavaScript Framework, providing dynamic visual effects and user interface elements via the
For web services Rails initially supported lightweight SOAP; later it was replaced by RESTful web services. SOAP (see below for name and origins is a protocol for exchanging XML -based messages over Computer networks normally using The recommended REST-based programming structure changed drastically in version 1. 2.
Ruby on Rails divides itself into various packages, namely ActiveRecord, ActiveResource, ActionPack, ActiveSupport and ActionMailer. ActiveRecord is a Ruby library that implements the like-named Object-relational mapping (ORM pattern described by Martin FowlerAn object that wraps a row in a database table Prior to version 2. 0, Rails also included the Action Web Service package which is now replaced by Active Resource. Apart from standard packages, developers can make plugins to extend existing packages.