Friday, 21 November 2014

Bamboo - A continuous integration server by Atlassian

Q-What is continuous integration server ?
 A- automates process of compiling source code and executing test ,saving time as well as build problems as soon as they occur, whenever developer make change it builds and test.

IT FOLLOWS:-

a) iterative development + automated testing
b)changes are delivered in small rapid increment ,rather than a single delivery.
c)every time a change is made the system is built and all test are run.
d)we should keep our system or project working by keeping the build GREEN.
e) BROKEN  builds must be corrected ASAP.

Q- why a development  team want to do continuous integration ?

A- old way of software development was:-
      
      Requirement ---> design --> implementation---> testing


IN REALITY:-

1. it is important to express all requirement in a single phase.
2. because the requirement also always keep changing in this demanding world.
3.Rework is always hence required due to this changes , hence old way of software development  will not help us out, because testing in last phase of development is a risky way.

THE OLD WAY MANUAL TESTING:-

1.testing at the time of development is better and cheaper then doing testing at the last stage of software or after the software is shipped out.
2.last moment m,manual testing is dangerous.
3.so automated testing is very important.
4.developing test code along production code show  a high level of quality all time.
5.if a new code causes test to fail then root cause can be found immediately as it is continuous testing.

BETTER WAY ITERATIVE DEVELOPMENT:-

1. each requirement is implemented in testing immediately.
2. hence each part of software will be functional at any time before any new piece or part of software or a new feature is added.
3.this way the defect trace-ability is increased.


 A TYPICAL BAMBOO DEPLOYMENT




     
WHAT IS A BUILD PLAN:-

----> it is a recipe for build 
-----> it defines what gets build
-----> how build is triggered
-----> which agile capabilities required.
----->what artifacts the build will produce.
-----> what test to run
----->who it notifies and how.

EACH PLAN BELONGS TO A PROJECT:-

a) each project has name and a key.
b) one execution of plan is a build.
c)each build is a number.
d)build key = project key+plan key+build number
c) the result of each build is stored in sub directories under the build directory.

WHAT IS A AGENT:-

in day to day life a work is done easily with a help of a agent the same way in software the agent is a service that run build.

LOCAL AGENT :- the agent that run on same server the bamboo is running.

REMOTE AGENT:- the agent running on a machine other than bamboo server.

ELASTIC AGENT :-  its a EC2(elastic cloud computing provided amazon web services) agent. agent in this clout are called elastic agent.

AGENTS ARE INDEPENDENT OF EACH OTHER, SO MULTIPLE PLAN CAN BE BUILD CONCURRENTLY ON MULTIPLE AGENTS.



Wednesday, 5 November 2014

Easy with navBar in Bootstrap

USE NAVBAR EASILY NOW

1. we start creating navigation bar using 
  <nav class="navbar navbar-default" role="navigation></nav>

where navbar-default stands for default color which us grey for navbar.

2. we will create elements needed to create a header for navigation bar. 
 <div class="navbar-header"></div>

3.now we will add a button to it like a  menu button

   <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"></button>
<span class=icon-bar> // will add a single line button on right side.if you copy paste it two more times its gonna look like a menu button.
--it has features of 
a. toggle
b.menu bar in small screen
c. java-script is gonna look after the data-toggle and data-target element.

4. write brand name of your site.
 <a class="navbar-brand" href="index.html">DataIsys</a>

5. we have finished with the navbar heading now we move forward to the element which will be collapsible in small screen and remain as button inside navbar heading in large screen.

 <div class="navbar-collapse collapse">
         <ul class="nav navbar-nav"></ul>
            <li class="active"><a href="index.html">Home</a></li>// active will highlight the                                                                                                                               home tab.
             <li><a href="blog.html"></a></li>// navigate to blog.html
              ............ and so on
        </ul>





SO THE BASIC OF NAVIGATION BAR IS DONE ....MORE WILL  BE COMING IN UPCOMING BLOGS