Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 17. GUI—Getting Started

Chapter 17. GUI—Getting Started

The interaction of a user with an application on a host is either Command Line Interface (CLI) based or Graphical User Interface (GUI) based. Both forms of interaction have their own plus and minuses. The CLI is more preferred by computer geeks, who remember all the commands and the options available. They are able to work faster with the help of a keyboard. Most of the server-side applications which do not require much interaction are CLI based. A GUI is used for all the interaction withthe user. The client-side applications are mostly developed using a GUI interface. In GUI applications the user clicks on a visual screen that has icons, windows and menus.

In GUI, the screen is identified as having been made up of densely populated horizontal lines of dots. The number of dots in each line is the same. Each dot is known as a pixel. Each pixel is uniquely identifiable by its position within the line and the line index. The pixel position in each line starts with a zero, and the line index also starts from zero, i.e. the pixel at the left top corner (left-most pixel in the first line) is identified as pixel position 0 in Line 0. The pixel position is normally referred to as the x-value of the pixel and the line index is referred to as the y-value of the pixel. This way every pixel on the screen is identifiable as a point having x-value and y-value. The total number of lines and the number of pixels in each line depend on the size and resolution of the screen.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint