Skip to content

Instantly share code, notes, and snippets.

View SanthoshVijayabaskar's full-sized avatar
🎯
Focusing

Santhosh Vijayabaskar SanthoshVijayabaskar

🎯
Focusing
View GitHub Profile
@SanthoshVijayabaskar
SanthoshVijayabaskar / Android.md
Last active September 13, 2016 05:23
Getting Started with Android

7 Lifecycle methods of an Activity

  • onCreate
  • onStart
  • onResume
  • onPause
  • onStop
  • onRestart
  • onDestroy
@SanthoshVijayabaskar
SanthoshVijayabaskar / 00_Understanding_Closures.md
Last active November 27, 2019 21:47
Understanding the wired parts of Javascript

What is Closures?

closure_example_program

closure

Use Case 1: Problem

closureexample_1

closureexample_1 1

What is JUnit?

JUnit is a unit testing framework.

@SanthoshVijayabaskar
SanthoshVijayabaskar / Bootstrap.md
Last active November 6, 2015 03:57
Getting Started with Bootstrap 3

Introduction

Main CSS (Common Design) -- Designed to work for large Screen -- For different other screen, the exceptions are defined in mediaQueries

.
├── actions
├── stores
├── views
│   ├── Anonymous
│   │   ├── __tests__
│   │   ├── views
│   │   │   ├── Home
│   │   │   │   ├── __tests__
│   │   │   │   └── Handler.js
@SanthoshVijayabaskar
SanthoshVijayabaskar / React_Stats.md
Last active October 29, 2015 03:59
Some of the interesting stats of ReactJS

React Stats

  • Facebook codebase has over 15,000 React components

Areas in React

  • State
  • Props
@SanthoshVijayabaskar
SanthoshVijayabaskar / 01_React_Flux_Basics.md
Last active October 28, 2015 06:31
React Flux Concepts

What is Flux?

  • Flux is a architectural pattern with a uni-directional data flow and centralized dispatcher.
  • It was started by Facaebook
  • Flux deals with actions and data changes

Alternatives to Flux

  • Alt
  • Reflux

React Form Checklist

  • Any input with value is a controller compoment
  • Create Reusable inputs
  • saved data via AJAX calls in controller view
  • Programatically redirected after save via React-Router
  • Used Toastr to display notification
  • Added Validation
  • Used propTypes to declare expectations
  • Used willTransitionFrom to protect losing work
@SanthoshVijayabaskar
SanthoshVijayabaskar / 01_ReactJS.md
Last active December 14, 2015 12:55
Understanding ReactJS

Introduction to ReactJS

Javascript library for developing user interfaces.

Read more on React @ http://facebook.github.io/react

Why React?

1. Fast
2. Reusable and Composable components
3. Pluggable
@SanthoshVijayabaskar
SanthoshVijayabaskar / reflux_is_simple.md
Last active October 23, 2015 09:16 — forked from jehoshua02/reflux_is_simple.md
Simple breakdown of how Reflux works.