Author: Saim Khalid

  • Framework

    A framework is a program, set of programs, and/or code library that writes most of your application for you. When you use a framework, your job is to write the parts of the application that make it do the specific things you want. When you set out to write a Rails application, leaving aside the…

  • Hello World

    To get the “Hello world” message displayed in the browser with a Rails application, you need to create a route, a controller with an action and a view. Rails Generate Command Rails comes with a powerful command line tool called the generate command. It can be used for different purposes. Different types of generators will be displayed with the following command −…

  • IDEs

    An Integrated Development Environment (IDE) is an essential software tool that makes the process of development and packaging process a lot easier, convenient and efficient. An IDE provides a one-stop solution for editing the code, compiling and debugging it, and running the application. IDEs also have features such as syntax highlighting, document generation, and version…

  • Installation

    To develop a web application using Ruby on Rails Framework, you need to install the following software − Ruby is a programming language, whereas Rails is a web development framework built on Ruby. Rails includes a built-in web server called Puma for local development purposes. For Production: You’ll need a proper web server setup like Puma with Nginx, lightTPD…

  • Introduction

    What is Ruby? Before we ride on Rails, let us recapitulate a few points of Ruby, which is the base of Rails. Ruby is the successful combination of − Ruby is − Why Ruby? Ruby originated in Japan and now it is gaining popularity in US and Europe as well. The following factors contribute towards…

  • Ruby on Rails Tutorial

    Ruby on Rails is an extremely productive web application framework written in Ruby. This tutorial gives you a complete understanding on Ruby on Rails. What is Ruby on Rails? Ruby on Rails (or simply Rails) is a server-side web framework. It follows the MVC (model view controller) pattern for the application development. It is written…

  • height Property

    CSS height property specifies the height of an element. It determines how tall an element will be, affecting its layout and positioning within the document. The property can be applied to block-level elements, inline-block elements, and replaced elements like images. Syntax height: auto | length | percentage | min-content | max-content | initial | inherit; Property Values…

  • translate Property

    The translate Property The translate property of CSS allows you to move an element along the X-axis (horizontal), Y-axis (vertical), and Z-axis (depth). The translate property is similar to the translate() function of the transform property. The only difference between the two is that the latter does not support the Z-axis setting. Syntax The syntax for the CSS translate property is as follows: translate: x-axis…

  • zoom Property

    The zoom Property CSS zoom property is used to control the magnification level of HTML elements. The zoom property is a non-standard property of CSS and it is advisable to use the scale() function with the transform property to achieve the same output. Syntax The syntax for the CSS zoom property is as follows: zoom: normal | percentage | number; Possible Values Value…

  • Focus Effects

    CSS focus effects are used to make form elements like input fields, buttons, and links more dynamic and engaging for users interacting with the webpage. The :focus pseudo-class in CSS is used to target an element when it receives focus (by clicking on it or by pressing tab). Its purpose is to apply styles or trigger specific…