It is important to view Rails web application from different perspectives for you to have a proper understanding of it. You will Enjoy Rails, and understand it better by examining it from different perspectives. Let’s look at six perspectives.
• Coder’s Perspective
If you are viewing Rails application on your computer, what do you actually see? What you see is a set of files that can be easily edited with text editor to create web application. These files are arranged in a well-mannered structure. The structure applies to every Rails application. This feature makes it easy for Rails developers to collaborate, thus making work easier. To make use of Rails, there is need for you to learn and master this structure and what each of the files and folders are meant for.
• Web Browser’s aspect
• Gem Hunter’s View
One of the reasons why Rails is common is because gems have been written and shared by many developers, and this offers important features for creating websites. Rails application can be thought of as a collection of gems that offers basic functionality, as well as custom codes that adds outstanding features to a particular website. It is even necessary that before a developer starts working on Rails web project, he needs to first find out the gems that are used by the application.
• Tester’s Perspective
There are so web development platforms, and among these platforms, Rails includes a baked-in test framework. This platform has a reflection on a software development called Test Driven Development (TDD). Although this software development is optional and not necessarily required for Rails development, it is expected that we first consider the tester’s perspective for us to fully understand Rails application. There are different purpose for testing; it improves user experience, and it also offers oversight for managers.
• Time Traveller’s View
Virtually all software development projects have time traveler’s perspective. Though it is not necessarily required for Rails, it is expedient that it is understood if you will work with Rails. There are numerous revision control systems, and one important one is git which is often used by Rails developers. Git is paramount not just for file backup and recovery, but can be also used with GitHub for your project for remote backup.
• Software Architect’s view
The contents of Rails application files are arranged in a higher level abstraction called software architecture. From software architect’s view, Rails application is arranged in hierarchy of classes known as Rails API.