Showing posts with label website. Show all posts
Showing posts with label website. Show all posts

Saturday, 1 April 2017

Understanding Web Services: SOAP & REST

What is a Web Service?

Web service is a way of calling of a function which is inside a software from some other software.
The software which gives a call is called a client and the software which serves the request is called the server. This two software's need not to be written in same programming language. client can be written in java and the server can be written in .NET. This two software's need not to be on the same machine, but their should be network connecting client and the server.

For example if two software want to communicate as shown in the figure then the two
things are required.

1. Medium: It is used to transfer the data between the two software's or client and the server.
LAN, Internet can be used as a medium using some protocols like HTTP to established the connection.

2. Format of Input and Output Messages: The format is very important to transfer the
data between the two software's. Here we used two protocols SOAP (Simple Object Access Protocol) and REST (Representational State Transfer).

How to Install and Run Node.js on Ubuntu

What is Node.js?
Allows you to build scalable network applications using JavaScript on the server-side.

What could you Build?
  • Websocket Server
  • Fast File Upload Client
  • Ad Server
  • Any Real-Time Data Apps

Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world.

Download the Node.js Linux package here

Open terminal and go to Downloads Folder


Wednesday, 29 March 2017

Popular Programming Languages and Hello World Programs

1. JavaScript
<!DOCTYPE HTML>
<html>
<body>
  <p>Before the script...</p>
  <script>
    alert( 'Hello, world!' );
  </script>
  <p>...After the script.</p>
</body>
</html>
2. Java

public class HelloWorld {
    public static void main(String[] args) {
        // Prints "Hello, World" to the terminal window.
        System.out.println("Hello, World");
    }

}

Saturday, 25 March 2017

Object-Oriented Modeling and Design

It is a new way of thinking about problems using models based on real world concepts. The basic construct is object which combines both data structure and behaviour in a single entity. The Object Modelling Technique (OMT) which extends from analysis through design to implementation.

  • Analysis model is built to abstract essential aspects of application domain which contains objects found in application, their properties and behaviour.
  • Then design model is made to describe and optimise the implementation.
  • Finally the design model is implemented in a programming language, database or hardware.
  • Graphical notation is used for expressing object-oriented models.

Understanding SCRUM

Scrum is an iterative and incremental agile software development methodology for managing product development. It defines "a flexible, holistic product development strategy where a development team works as a unit to reach a common goal", challenges assumptions of the "traditional, sequential approach" to product development, and enables teams to self-organize by encouraging physical co-location or close online collaboration of all team members, as well as daily face-to-face communication among all team members and disciplines in the project.

A key principle of scrum is its recognition that during a project the customers can change their minds about what they want and need (often called "requirements churn"), and that unpredicted challenges cannot be easily addressed in a traditional predictive or planned manner. As such, scrum adopts an empirical approach—accepting that the problem cannot be fully understood or defined, focusing instead on maximizing the team's ability to deliver quickly and respond to emerging requirements.

HTML 5 Apps Native Apps Hybrid Apps

A Native app is a application build completely using technologies native to a particular operating system. This could be Android, ios, blackberry or windows. For Android native apps are typically build using java while ios native apps can be build using Objective C or swift.

An HTML 5 apps are completely build using HTML, CSS and JavaScript only. HTML 5 apps are web apps and they must be run using an underlying mobile browser. HTML 5 app can be even used when the mobile device is offline or show an error message.