Secure Web Programming Vahid K.Akram
Course Contents HTTP HTML 5 & CSS 3 AJAX JavaScript & JSON & jQuery WebSocket & Socket.IO Node.js AngularJS Entity Framework & MVC Security HTML 5 & CSS 3 JavaScript & JSON & jQuery Bootstrap and Web Templates Document Object Model (DOM) Introduction to SQL and Databases ASP.NET & C# (Web From) Web Services
FRONT END vs BACK END
FRONT END vs BACK END Back End Front End Codes run on Client (Your) machine (Computer, Tablet, Mobile Phone,…) All browsers (Firefox, Chrome,…) execute Front Ends Codes Have many security restrictions (Fortunately) Usually deal with page design, graphics, user interaction and client side programs HTML, CSS, JavaScript, AngularJS, jQuery, FLASH, Back End Codes run on server machine Dynamically generate contents of web pages Deal with databases, files, … C#, ASP.NET, PHP, JSP, Web Services, Node.js, SQL, JAVA, PYTHON
FRONT END vs BACK END Bridge Between Front End and Back End JSON XML MVC Web Forms AJAX
Response: Webpage files Accessing a Website Request: GET www.google.com Response: Webpage files HTTP (hyper text transfer protocol) Client (You) Server (Google)
Accessing a Website Webpage files HTML CSS JavaScript Assets (image, sound, …)
HTML Hypertext Markup Language The language web browser uses to describe the content and structure on web pages
HTML HTML = Nested Boxes
HTML HTML = Nested Boxes
HTML HTML = Nested Boxes
HTML HTML = Nested Boxes
HTML HTML = Nested Boxes
HTML HTML = Nested Boxes
HTML
HTML
HTML
HTML
HTML
HTML
Basic HTML Elements <html> <head> <body> <h1>, <h2>, <h3>, … <p> <div> <a> <img>
HTML Attributes <a href="link here"> (Opening tag) Content goes here </a> (Closing tag) <a href="home.html">Link to home!</a>
HTML Attributes Some elements have no closing tags <img src="pusheen.gif"></img> app/ hello.html images/ pusheen.gif <img src="images/pusheen.gif">
HTML Lists <ol> Ordered List (1, 2, 3…) <ul> Unordered List (bullets) <li> List Item
HTML DIV <div> Block Section in Document
HTML A way to learn HTML, CSS and JavaScript: W3Schools.Com