Thursday, October 13, 2016

Learning Bootstrap Quickly


Bootstrap

The main idea of this article is to outlines the content of bootstrap that is required to be learnt to initiate the journey of learning of Bootstrap. It will help in quickly learning the concepts of bootstrap and you can further explore the advance concepts on bootstrap, but this article will provide the very basic concept to start with. I will add another article to cover the additional topic related to bootstrap.

Grids

Arranging the content on the page, it provide the structure for arranging content. Grids can be classified in following categories:

Simple Grids
  • Row:
  • Span1 to span12: define columns
Fixed Grids


Columns are assigned fixed pixel value. If screen size changes the column value will not change rather it will add horizontal scroll bar.

If you want the all the div inside the base div have same size. We have to fix the size of all the div, so that when we make the browser screen small the horizontal scroll bar should appear rather than adjusting the div on the screen
  •         Container:

                                   
Fluid Grids

Columns grids are not assigned pixel value rather than they are assigned percentage value. This will not show the horizontal scroll bar if the screen size changes. It even adjusts the content in the div to adjust the screen size.
  •      Row-fluid:
    -fluid”>

-fluid
”/>
                                   

Responsive web designing

It helps to interact according to the environment the website is being displayed. Responsive web design adjusts the website according to the device size, eg, mobile, tab, desktop etc.

You just need to add the bootstrap responsive web design scripts along with the bootstrap core script on the website.

If a web page contains the fixed grid and the bootstrap responsive script is added to that webpage, the web page will be converted in too responsive and the properties of fixed grid will be over written, i.e no scroll bar will appear if the web page is accessed in smaller screen.

Note: Above mentioned scripts are part of bootstrap download.

Responsive web design helpful classes

Responsive web design includes some the classes that are helpful to hide or unhide the content of the element based on the device the web site is being opened.
  •        Visible-phone: content should only display on phone.
  •        Visible-tablet: content should only display on tablet.
  •        Visible-desktop: content should only display on desktop.
  •        Hidden-phone: content should not be displayed on phone.
  •        Hidden-tablet: content should not be displayed on tablet.
  •        Hidden-desktop: content should not be displayed on desktop.

Bootstrap classes to learn

Arrangement: Bootstrap provide default style and text that make page look pleasant and will attract more customer. Below are some of the default set of classes that are present in bootstrap

Text classes
·       Lead class: emphasize text
·       Muted: muted text
·       Text-success: Success message
·       Text-error: Error message
·       Text-warning: Warning message
·       Text-info: Information message
Elements
·       Abbr: CPU
·       Address:
·       Blockquote:
to put text someone has quoted. Use pull-right class to display text on right side of screen.
·       List:
o   Unordered List:
o   Ordered List:
    o   Definition List:
    Heading</>
    Description of heading goes here
    ·       Code:


    Table
                Added feature for table you have many table related classes that will help to enhance the table             structure in web page. Below are some of the classes:

    ·       Table
    ·       Table-hover
    ·       Table-stripped

    Etc.



















    Tuesday, October 11, 2016

    Learning Angular 2 Quickly and Right Way.

    Hello Everyone,

    I have been recently assigned to a project where I have to work Angular 2. I have no exposer to UI development before. I am writing this blog so that it will help those people who have no idea on UI development and are confused where to start from.


    I have shared my journey to learning Angular 2 from scratch. There is nothing right or wrong in directly learning Angular 2, but following these below mentioned sequence will help those guys who are totally new presentation technologies and want to learn it in a better way:



      Step 1: Learn JavaScript first. Below is the helpful resource to learn JavaScript: (Time 8 hours)

    OR

    • If you don’t have access to plural site, then start with below free books for above plural site JavaScript videos:

    Note: I have mentioned Advance JavaScript, but this video talks in details and it will be easy for any new UI developer to grab the concept.

    Step 2: Learn Typescript. Below is the helpful resource to learn Typescript: (Time 5 hours)

    OR
    Step 3: Learn Angular 2. Below is the helpful resource to learn Angular 2: (Time 5 hours)

    OR