Code Monkey home page Code Monkey logo

thesparkvision / summertraining2020 Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 3.0 21.13 MB

In this repository, I will daily add on the code that I practice as a part of my summer training on Java, Java Server Pages, Angular framework with HTML, CSS and JavaScript, TypeScript along with MySQL as database

Java 67.52% CSS 27.09% HTML 4.31% TSQL 0.50% JavaScript 0.58%
java nodejs html css javascript frameworks training internship angular typescript

summertraining2020's Introduction

SummerTraining2020

In this repository, I will daily add on the code that I practice as a part of my summer training on Java, Java Server Pages, Angular framework with HTML, CSS, Javascript, TypeScript along with Mysql

I will regularly update here what I have learnt daily.

Day 1:

  • Learnt What is Java,
  • Why it is platform independent,
  • Installation of java,
  • Running a first program of java

Day 2:

  • Learnt escape sequences
  • Naming conventions in Java
  • Print and println functions and System class
  • Datatypes, declaration and initialization of variables
  • Types of variables in Java
  • Scanner class and how to use it to take input
  • Type of operators and what is OOPs and concatenation

Day 3:

  • We studied about Encapsulation
  • Classes and objects
  • Access modifiers -private and public
  • And how they affect the programs by implementing programs
  • And setter, getter methods
  • This keyword, reference variable
  • Default and parametrised constructors
  • Default values

Day 4:

  • Implemented a demo simulation
  • Made 3 classes: Student, Exam and Result
  • Used HAS A and USE A relationship between them

Day 5:

  • IS A Relationship
  • Inheritance
  • Types of Inheritance in Java
  • Implementing Single Inheritance
  • Types of Methods
    • Own Method
    • Inherit Method
    • Overrride Method
    • Override Method +super keyword use
  • Sequence of method call when object creation happens in inheritance
  • super and this keywords

Day 6:

  • Implementing another simulation
  • Made 3 classes:Person, Faculty and Student
  • Used IS A relationship i.e. inheritance here
  • Usage of final keyword
  • Using base class reference variable
  • Introduction to Polymorphism

Day 7:

  • Understanding Run time polymorphism by example and implementation
  • Upcasting and Downcasting
  • instanceOf keyword

Day 8:

  • Abstract class in detail
  • static keyword in detail
  • main method explanation

Day 9:

  • main method further explanation
  • Interface
  • static dependency
  • dynamic dependency and parametrised constructor
  • Coupling and Dependency
  • Injection and Dependency Injection

Day 20:

  • Started with Web Application Project
  • Made tables in eshop database
  • Made a new project in Netbeans
  • Downloaded and setup a web template in project and corrected all its paths to make it working
  • Created blocks/header.jsp and blocks/footer.jsp and index.jsp
  • Created dao,dto and controller packages
  • Created BaseDao interface, DBConnection class
  • Category Class in dao and implemented all the abstract methods

Day 21:

  • Added a input form to category.jsp
  • Added SaveCategoryServlet in Controller package to save the data
  • Added status message for the request success or failure
  • Added a table to display the categories
  • Corrected the numbering of categories
  • Learnt about AJAX
  • Implemented basic AJAX query using Testing.TestingServlet and testing.html

Day 22:

  • Created a new project AJAX DEMO, added Mysql and Gson JAR file to it
  • Added a DemoServlet for testing the working with a fun1 function in index.html
  • Created database sample1 and table student and populated it with entries
  • Made a table like structure in index.html
  • Implemented a SearchServlet for onkey searching of name
  • Learnt about XML, RSS and JSON
  • Made a Student class for creating objects of database records
  • converted Student objects arraylist to JSON and displayed it on screen

Day 23:

  • Displayed Data in Table in AJAX DEMO project
  • Implemented search feature in Category.jsp using jquery,ajax, CheckCategoryServlet.java and CategoryDao.java
  • Made a updatecategory.jsp
  • Implemented UpdateCategoryServlet to handle the backend
  • Made a SubCategory.java, SubCategoryDao.java, subcategory.jsp
  • Added Category select list to subcategory.jsp
  • Made updatesubcategory.jsp , UpdateSubCategoryServlet.java
  • Finally made CheckSubCategoryServlet.java and switched on the ajax

Day 24:

  • Made product class, added its getter,setter and constructors
  • Made ProductDao.java and implemented various functions in it
  • Made product.jsp, added CategoryList to it
  • Implemented GetSubCateServlet.java to bring subcategories according to Category
  • Made SaveProductServlet.java so that Products can be saved
  • Made the Product Table working

Day 27:

  • .ht acess file
  • MVC2 architecture in short
  • Little bit about Apache Kafka by an example of GPS tracking application
  • Brief Intro of Angular,React, MEAN ,MERN Stack and databases

Day 28:

  • Deploying WAR file to localhost glassfish server without using Netbeans for deploying
  • Deploying the Web Application to remote AWS EC2 machine , so it can be accessed globally

Day 29:

  • Angular JS vs Angular in short
  • Angular short description
  • DOM
  • DOM Manipulation accessing elements
  • Changing innerHTML properties
  • Adding new tags using innerHTML property to list
  • Addition Program using DOM Manipulation
  • Arithmetic Operation Program using radio button , id tag and DOM manipulation

Day 30:

  • To manage radio buttons value using function for processing
  • How to declare global variables using onload event in body and functions
  • To manipulate content of DOM using TagName and ClassName
  • Javascript Object
  • Array of Objects
  • Nested Objects
  • JSON Parse and Stringify
  • Functions inside javascript objects
  • Task discussion

Day 31:

  • About V8 Engine
  • About Node.js
  • Node.js Installation
  • First Node.js program
  • Function and reference variable
  • Passing Function to a function
  • Creating Anonymous function and passing it to a function
  • Creating functions inside functions
  • Exporting a string from a file for other files
  • Exporting a function
  • Exporting many functions
  • npm init and package.json
  • installing modules in node.js

Day 32:

  • About ECMAScript, ES6 versions and Transpiler
  • Local and Global scope
  • let keyword
  • const keyword
  • strict keyword
  • use of 'in' and 'for' for accessing elements in array and object
  • Creating a webserver in node.js
  • Discussion about Multithreading
    • In languages like Java,PHP & its limitations
    • Blocking Pattern
  • Node.js as a single threaded environment

Day 33:

  • Blocking Pattern
  • Blocking Pattern using code
  • Javascript function objects
  • methods inside fucntion objects
  • exporting function object to be created
  • Exporting a readymade function object
  • Javascript arrays
  • Different operations and methods on array

Day 34:

  • Installing Angular
  • Checking Angular Installation
  • Creating first Angular app with settings
  • Running first Angular app
  • Copy Paste technique for making Angular apps to save Internet data
  • Understanding Angular app code structure

Day 35:

  • Static Typing in TypeScript
  • Class,Constructor and Objects in TypeScript
  • Inheritance in TypeScript
  • Interface in TypeScript
  • Exporting and importing classes in TypeScript
  • Understanding new tags in project/index.html i.e. and
  • Understanding app.module.ts
  • Component Structure in Angular
  • Using variables in html in Angular
  • ngFor loops in Angular
  • Functions and events in Angular

Day 36:

  • If statements in Angular
  • Using global and local css
  • One way Binding in Angular using Variables and using hash id
  • Creating new Components in Angular
  • Demo of new Component using one way binding
  • Shortcut command to create component
  • One way binding using NgModel
  • Introduction to 2 way binding

Day 37:

  • Using constructors to make private variables
  • 1 way binding and 2 way binding implementation
  • Calculate Component Implementation
  • Using ngModel and form for taking bulk data
  • Multi level heirarchy of components (app->calculate->reg)
  • Data flow from parent to child component
    • Using Input decorator
    • Passing data even to the grandchild component
  • Data flow from child to parent component
  • Using Output and EventEmitter

summertraining2020's People

Contributors

thesparkvision avatar

Stargazers

Anshika Bhatnagar avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.