Spring MVC is a framework for building web application in java. It is based on Model-View-Controller design pattern. Front Controller delegates the requests to the controllerController contains the business logic1. Handle the request2. Store/retrieve data3. Place data in modelAnd finally, send it to the appropriate view template Benefits of Spring MVC Reusable UI Components Flexible …
Category Archives: Uncategorized
REST (REpresentational State Transfer)
What is the data format used in REST? Mostly JSON is used but XML can also be used. Important Things to Remember about REST REST calls can be made over HTTPREST is language independent which means that projects developed in any language can use APIs. REST over HTTP HTTP Method CRUD Operation POST Creates a …
JSON Basics
It stands for JavaScript Object Notation Its a lightweight data format for storing and exchanging data Language independent so it can be used with any programming language How to write JSON? Curly braces define objects in JSON object members are name & value pairs Name is always in double quotes JSON values Numbers: no quotes …
SOAP Web Services
SOAP Web Service Specification SOAP WSDL UDDI SEI SOAP How two applications will talk to each other over the internet. The transfer or exchange of information must occur in xml format. Structure of the message Envelope Header – provides info about the message Body – contains the actual request WSDL Web Service Description Language – …
Application Layer of the Internet
Today we will be talking about the application layer. Below are a few of the services provided by the Application layer. The application layer provides services for an application program to ensure that effective with communication another application program on a network is possible The application layer is a component within an application that controls the communication …
Nav
Basic Nav Classes nav nav-item nav-link nav-pills nav-tabs Navbar bg-light navbar-light nav-link nav-item navbar-nav nav-brand – creates a heading for a navbar [image can be added as well] Dropdown Form Classes form-inline form-control
BootStrap Classes
list-unstyledlist-inline-item blockquoteblockquote-footer – for names text-dangerbg-danger img-fluidimg-thumbnail float-left/rightfigure-caption containercontainer-fluid – the container is responsive to the viewportrowcolumn – splits the content into columns section div /divsection order – orders the way the colums are arraged align-items-start ———rowalign-self-start ————columnjustify-content-start——row——-horizontal Alignment position d-flexd-flex flex alignalign-self Margin and Padding Visibility invisible visible Sizing (size-amt) w , h , …
JavaScript Variables and Types
Numbers All the numbers like ints, floats, double are under the data type number in java script.Math functions are function that can be performed by java scriptFor example: Math.round(number) or Math.random Strings – Methods Strings are an array of character, basically a word or a sentence. Many methods can be performed with Strings. Here are …
JavaScript Syntax
Keywords var is used to declare variables //………. or /*………/* is used for comments All JavaScript identifiers are case sensitive. lower case Camel case is widely used by JavaScript programmers Operators + Addition – Subtraction * Multiplication ** Exponentiation / Division % Modulus (Division Remainder) ++ Increment — Decrement JavaScript Function syntax A JavaScript function is …
Javascript Introduction
HTML to define the content of web pages,CSS to specify the layout of web pages and finally,JavaScript to program the behavior of web pages Scripts JavaScript must be written inside the <script> tag in HTML. Scripts can be placed in either the <head>, <body> or both if need be. Scripts can also be placed in an external file …