JavaScript Basics Stephen Delaney sdelaney@skokielibrary.info.

Slides:



Advertisements
Similar presentations
React. A library for creating user interfaces. React Renders your UI and responds to events.
Advertisements

Introduction to Backend James Kahng. Install Node.js.
IS 360 Course Introduction. Slide 2 What you will Learn (1) The role of Web servers and clients How to create HTML, XHTML, and HTML 5 pages suitable for.
Week 10 Recap CSE 115 Spring For-each loop When we have a collection and want to do something to all elements of that collection we use the for-each.
-Uday Dhokale.  What is it ??? Prototype is a JavaScript Framework that aims to ease development of dynamic web applications.  Features a unique, easy-to-use.
Agenda What is AJAX? What is jQuery? Demonstration/Tutorial Resources Q&A.
Building Dynamic Applications on both Office 365 and on-premise.
JavaScript CMPT 281. Outline Introduction to JavaScript Resources What is JavaScript? JavaScript in web pages.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
NextGen Technology upgrade – Synerizip - Sandeep Kamble.
WEB DESIGN AND PROGRAMMING Introduction to Javascript.
Philly.NET Hands-on Labs JAVASCRIPT SERIES. July 9: JavaScript Syntax Visual Studio ◦Projects ◦Editors ◦Debugging ◦Script blocks ◦Minification and bundling.
MEAN Stack c0nrad. Overview Day 1: – MEAN Stack – NodeJS Mini Cat Fact Spammer – MongoDB Cat Profiles – Express Catbook API (Facebook for cats) Day 2:
CISC474 - JavaScript 03/02/2011. Some Background… Great JavaScript Guides: –
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Lecture 9: AJAX, Javascript review..  AJAX  Synchronous vs. asynchronous browsing.  Refreshing only “part of a page” from a URL.  Frameworks: Prototype,
JSTL The JavaServer Pages Standard Tag Library (JSTL) is a collection of useful JSP tags which encapsulates core functionality common to many JSP applications.
Introduction to Angular James Kahng. Terms Framework Template/environment constructed in the language where you fill in details with code Library Set.
AJAX James Kahng. Congrats Jack Guo for Angular entryentry This week’s coding challenge at end of talk.
Ajax VS Flex A comparison based on shopping cart implementation PoHsu Yeh py2157.
1 What is JQuery. jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax* interactions.
“The world’s most misunderstood language has become the world’s most popular programming language” Akshay Arora
Event Handling & AJAX IT210 Web Systems. Question How do we enable users to dynamically interact with a website? Answer: Use mouse and keyboard to trigger.
AJAX and REST. Slide 2 What is AJAX? It’s an acronym for Asynchronous JavaScript and XML Although requests need not be asynchronous It’s not really a.
Introduction to JavaScript MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/2/2016.
Overview Web Technologies Computing Science Thompson Rivers University.
Learn AngularJS by Building 10 projects. Introduction to AngularJS An Open source web application framework by Google Written in JavaScript offers complete.
1/7/2016www.infocampus.co.in1. 1/7/2016www.infocampus.co.in2 Web Development training gives you and all-round training in both the design and the development.
Learn Nodejs by Building 10 projects. What is Nodejs  An Open source, Cross platform, Event Based and Non-blocking framework used to develop server side.
7 Unusual Features Of Meteor Js Master Software Solutions Pvt. Ltd.
Introduction to JavaScript MIS 3502, Fall 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 9/29/2016.
Highly interactive web: Javascript, Java, web-enable dbs
JavaScript Basics Stephen Delaney
Web Programming Anselm Spoerri PhD (MIT) Rutgers University
Web Technologies Computing Science Thompson Rivers University
Web API - Introduction AJAX, Spring Data REST SoftUni Team Web API
The Share Widget Library
Time to learn to code Stephen Delaney
What's new in the world of SharePoint development and deployment
Extra Course
JavaScript Applications: Course Introduction
AJAX and REST.
CMPE 280 Web UI Design and Development October 26 Class Meeting
PHP Training at GoLogica in Bangalore
Node.Js online Training at GoLogica.
Build Better Apps with MEAN.
CMPE419 Mobile Application Development
Top 5 Javascript Frameworks
SharePoint-Hosted Apps and JavaScript
UI Developer Overview  SV Trainings UI Developer Training is online course developed by industry experts to understand the concepts of HTML5, CSS3, Bootstrap,
JavaScript an introduction.
MEAN stack L. Grewe.
IS 360 Course Introduction
Introduction to AngularJS
Introduction to Programming the WWW I
The Web Wizard’s Guide To JavaScript
Secure Web Programming
Social Media And Global Computing ACST 3540
Relational Operators.
JavaScript CS 4640 Programming Languages for Web Applications
Web Technologies Computing Science Thompson Rivers University
Web Client Side Technologies Raneem Qaddoura
CMPE419 Mobile Application Development
Murach's JavaScript and jQuery (3rd Ed.)
Web Programming and Design
05 | An Introduction to AngularJS
Intro to Programming (in JavaScript)
JavaScript CS 4640 Programming Languages for Web Applications
JavaScript and the DOM MIS 2402 Maxwell Furman Department of MIS
Presentation transcript:

JavaScript Basics Stephen Delaney sdelaney@skokielibrary.info

Review: Making Decisions with Conditional Statements Comparison operators Boolean values If statements The conditional challenge

Comparison Operators Operator Meaning True expressions == Equality 10 == '10' === Strict equality (2 * 5) === 10 != Inequality 9 != 10 !== Strict inequality '10' !== 10 > Greater than 20 > 10 >= Greater than or equal '10' >= 10 < Less than 10 < 30 <= Less than or equal '10'<= 10

And Operator: && Condition 1 Condition 2 Result TRUE FALSE

Or Operator: || Condition 1 Condition 2 Result TRUE FALSE

Not Operator: ! Condition Result TRUE FALSE

If Statements

Questions?

What’s next?

JavaScript Library JavaScript Framework A toolkit Abstracts different layers (pre-written code) Simplifies your coding experience JavaScript Framework A given structure of "how" you should present your code A code template Source: http://stackoverflow.com/questions/11576018/what-is-the-difference-between-a-javascript-framework-and-a-library

JavaScript Library JavaScript Framework Angular Backbone Express Ember jQuery Angular React Backbone D3.js Express Bootstrap Ember Foundation Meteor Underscore.js

Next Steps jQuery jQuery is used by 71.8% of all websites. That is a JavaScript library market share of 96.4%. https://w3techs.com/technologies/overview/javascript_library/all

Next Steps AJAX Asynchronous JavaScript And XML Get data without a page refresh https://w3techs.com/technologies/overview/javascript_library/all

Next Steps MEAN stack “In the MEAN stack, we use MongoDB as our database. We write most of our code in Javascript. We rely on Node and Express.js to host our application and serve APIs/Views. We use AngularJS to render our views that are served by Express.”

Next Steps MEAN stack

Fortunately, Treehouse!

Navigate to library: Sort by difficulty Select course Select JavaScript https://teamtreehouse.com/library/topic:javascript/type:course/sort:difficulty

Recommended Syllabus JavaScript Loops, Arrays and Objects JavaScript and the DOM jQuery Basics There is also a shorter one called Introduction to jQuery. AJAX Basics

Recommended Syllabus Interactive Web Pages with JavaScript Object-Oriented JavaScript Node.js Basics Build a Simple Dynamic Site with Node.js Express Basics Build a REST API With Express Mongo Basics* Angular Basics* Building a MEAN Application *Indicates a course that is not under JavaScript Application program interface (API) Representational state transfer (REST) Create, read, update, destroy (CRUD) http://softwareengineering.stackexchange.com/questions/120716/difference-between-rest-and-crud

Trust the process.

Next Week – Final Class Creating Reusable Code with Functions Creating functions Returning values from functions Variable scope We will do a full review next week!