Wednesday, August 17, 2016

HTML input elements + Script

  • input elements
  • select elements
  • button elements
  • textarea elements
Input Types :  text, hidden password, radio, checkbox, button, submit, file

<input type="text" ng-model="firstname">

<input type="text" name="firstname">
<input type="checkbox" ng-model="myVar">
<input type="radio" ng-model="myVar" value="dogs">Dogs
<input type="radio" ng-model="myVar" value="tuts">Tutorials

Selectbox

<select ng-model="myVar">
    <option value="">
    
<option value="dogs">Dogs
    
<option value="tuts">Tutorials
</select>

<select name="cars">
  <option value="volvo">Volvo</option>
  
<option value="saab">Saab</option>
</select>

<textarea ng-model="myTextarea">
</textarea>


<textarea name="message" rows="10" cols="30">
     The cat was playing in the garden.
</textarea>

**************************************************************************
JavaScript variables can hold many data types: numbers, strings, arrays, objects and more:
var length = 16;               // Number
var lastName = "Johnson";      // String
var cars = ["Saab", "Volvo", "BMW"];    // Array
var points = [40, 100, 1, 5, 25, 10];          // Good
var x = {firstName:"John", lastName:"Doe"};// Object
****************************************************************************
function bar() {
    return 3;
}

bar() //3
function myFunction(a, b) {
    return a * b;
}
window.myFunction(10, 2);
    myFunction() and window.myFunction() is the same function:


JavaScript allows us to assign a function to a variable and then use that variable as a function. It is called function expression.

Example: Function expression

var add = function sum(val1, val2) {
    return val1 + val2;
};

var result1 = add(10,20);
var result2 = sum(10,20); // not valid

JavaScript allows us to define a function without any name. This unnamed function is called anonymous function. Anonymous function must be assigned to a variable.

Example: Anonymous Function
var sayHello = function (firstName) {
    alert("Hello " + firstName);
};
sayHello("Bill");

//anonymous function expression
var a = function() {
    return 3;
}
<script> var x = function (a, b) {return a * b}; document.getElementById("demo").innerHTML = x(4, 3);

       var myFunction = new Function("a", "b", "return a * b");
        var x = myFunction(4, 3);

</script>
**************************************************************
//self invoking function expression
(function sayHello() {
    alert("hello!");

})();
**************************************************************
function person(first, last, age, eye) { this.firstName = first; this.lastName = last; this.age = age; this.eyeColor = eye; } var myFather = new person("John", "Doe", 50, "blue"); var myMother = new person("Sally", "Rally", 48, "green"); document.getElementById("demo").innerHTML = "My father is " + myFather.age + ". My mother is " + myMother.age;




// This is a function constructor:
function myFunction(arg1, arg2) {
    this.firstName = arg1;
    this.lastName  = arg2;
}
// This creates a new object
var x = new myFunction("John","Doe");
x.firstName;                            

 // Will return "John"

*************************************************************
var myObject = {
    firstName:"John",
    lastName: "Doe",
    fullName: function () {
        return this.firstName + " " + this.lastName;
    }
}
myObject.fullName();         // Will return "John Doe"
In JavaScript you can define function as object methods.

The following example creates an object (myObject), with two properties (firstName and lastName), and a method (fullName):.

// This is a function constructor:
function myFunction(arg1, arg2) {
    this.firstName = arg1;
    this.lastName  = arg2;
}
// This creates a new object
var x = new myFunction("John","Doe");
x.firstName;                            
 // Will return "John"




Thursday, July 21, 2016

Programming Web Link

Video Tutorial(kudvenkat.academy)
https://www.youtube.com/user/kudvenkat/playlists?view=58&flow=grid
Web Api Video Tutorial

https://www.youtube.com/watch?v=yIedVaXAfd4&list=PLD7ok7_L_-yEDLnV47eAy_PiROUYgl-Hf
Visual Studio Code
https://code.visualstudio.com/docs/getstarted/introvideosEvent

https://www.c-sharpcorner.com/UploadFile/dhananjaycoder/C-Sharp-events/
https://www.c-sharpcorner.com/UploadFile/84c85b/delegates-and-events-C-Sharp-net/

Send Large file:
https://www.sendspace.com/
http://www.guru99.com/insert-update-delete-asp-net.html Bangla
angular
https://www.youtube.com/watch?v=dJXdNyfOMOs
mogodb
https://www.youtube.com/watch?v=5Sk-Q47g_u0
Node.js
https://www.youtube.com/watch?v=SA4hwtJfD-A



https://ppdey.wordpress.com/2014/10/20/%E0%A6%B8%E0%A7%8D%E0%A6%95%E0%A7%8D%E0%A6%B0%E0%A6%BE%E0%A6%AE-%E0%A6%8F%E0%A6%9C%E0%A6%BE%E0%A6%88%E0%A6%B2-%E0%A6%8F%E0%A6%B0-%E0%A6%A8%E0%A6%A4%E0%A7%81%E0%A6%A8-%E0%A6%A6%E0%A6%BF%E0%A6%97/
  • Have you ever submitted an app to the App Store? Can you explain the general process?
  • What’s a memory leak and how do you test for those before publishing your apps?
  • How many iOS apps have you published in the App Store
http://www.dotnet-tricks.com/Tutorial/angularjs/W69E040815-CRUD-Operations-with-AngularJS,-RequireJS-and-WebAPI.html
https://fca.2016.angularattack.io/www/
http://www.csharp-examples.net/
http://www.w3schools.com/angular/default.asp
http://www.codeproject.com/Articles/808213/Developing-a-Large-Scale-Application-with-a-Single

http://www.dotnet-tricks.com/Tutorial/angularjs/W69E040815-CRUD-Operations-with-AngularJS,-RequireJS-and-WebAPI.html

Web Api Online Json Data

Quiz
http://www.sololearn.com/


Database
https://www.mssqltips.com/sqlservertip/1160/execute-dynamic-sql-commands-in-sql-server/

GIT
https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/




Job Link

TFS


Irish Jobs

Architecture

Bangla Programming

http://www.webcoachbd.com


Algorithm
https://www.youtube.com/watch?v=P3cOcyZhCho
https://www.youtube.com/watch?v=ITogGXezrHY
OnLine Code Test:

OnePlan Automation

  using Microsoft.Extensions.Options; using OnePlanWeeklyNotifications.Models; using OnePlanWeeklyNotifications.Options; using OnePlanWe...