Repensando Templates com Cryml. Dalton Pinto

Size: px
Start display at page:

Download "Repensando Templates com Cryml. Dalton Pinto"

Transcription

1 Repensando Templates com Cryml Dalton Pinto 1

2 Dalton Pinto 2

3 3

4 4

5 5

6 Motivação 6

7 # partial: _file_or_folder.html.erb <% if File.directory? file_or_folder %> <%= render partial: 'folder', object: file_or_folder %> <% Dir[File.join(file_or_folder, '*')].each do ff %> <%= render partial: 'file_or_folder', object: ff %> <% end %> <% else %> <%= render partial: 'file', object: file_or_folder %> <% end %> 7 * Rails 3.0

8 # partial: _file_or_folder.html.erb <% if File.directory? file_or_folder %> <%= render partial: 'folder', object: file_or_folder %> <% Dir[File.join(file_or_folder, '*')].each do ff %> <%= render partial: 'file_or_folder', object: ff %> <% end %> <% else %> <%= render partial: 'file', object: file_or_folder %> <% end %> 7 * Rails 3.0

9 # partial: _file_or_folder.html.erb <% if File.directory? file_or_folder %> <%= render partial: 'folder', object: file_or_folder %> <% Dir[File.join(file_or_folder, '*')].each do ff %> <%= render partial: 'file_or_folder', object: ff %> <% end %> <% else %> <%= render partial: 'file', object: file_or_folder %> <% end %> 7 * Rails 3.0

10 # partial: _file_or_folder.html.erb <% if File.directory? file_or_folder %> <%= render partial: 'folder', object: file_or_folder %> <% Dir[File.join(file_or_folder, '*')].each do ff %> <%= render partial: 'file_or_folder', object: ff %> <% end %> <% else %> <%= render partial: 'file', object: file_or_folder %> <% end %> 7 * Rails 3.0

11 # partial: _file_or_folder.html.erb <% if File.directory? file_or_folder %> <%= render partial: 'folder', object: file_or_folder %> <% Dir[File.join(file_or_folder, '*')].each do ff %> <%= render partial: 'file_or_folder', object: ff %> <% end %> <% else %> <%= render partial: 'file', object: file_or_folder %> <% end %> 7 * Rails 3.0

12 Demorava Muito! 8

13 Source-to-Source tmpl = Erubis::Eruby.new("2 + 3 = <%= %>") tmpl.src "_buf = ''; _buf << '2 + 3 = '; _buf << ( ).to_s; \n_buf.to_s\n" content = eval(tmpl.src) "2 + 3 = 5" 9

14 Source-to-Source tmpl = Erubis::Eruby.new("2 + 3 = <%= %>") tmpl.src "_buf = ''; _buf << '2 + 3 = '; _buf << ( ).to_s; \n_buf.to_s\n" content = eval(tmpl.src) "2 + 3 = 5" 9

15 Source-to-Source tmpl = Erubis::Eruby.new("2 + 3 = <%= %>") tmpl.src "_buf = ''; _buf << '2 + 3 = '; _buf << ( ).to_s; \n_buf.to_s\n" content = eval(tmpl.src) "2 + 3 = 5" 9

16 E dai? 10

17 10 Elementos Iniciais 10 Níveis Binários

18 12

19 Parsings! 12

20 Calma! 13

21 O Rails > 3.1 cacheia partial rendering 14

22 Recursão é um conceito mais próximo de linguagens de programação do que de markup 15

23 Fill in the s 16

24 17

25 Dryml 18

26 Taglibs 19

27 <def tag="hello"> Hello World </def> <hello/> Hello World 20

28 21

29 22

30 23

31 Para de reclamar! Faz uma implementação em C e chama de Cryml! 24

32 25

33 ERB Necessário <def tag="my_name" attrs="first_name, last_name"> <p>my name is <%= first_name %> <%= last_name %></p> </def> <my_name first_name="dalton" last_name="pinto"/> <p>my name is Dalton Pinto</p> 26

34 Sintaxe Ambígua <body bgcolor="#aaaaaa">... </body> 27

35 E conteúdo CDATA? 28

36 Cryml 29

37 30

38 Abandonar LibXML 31

39 Estruturas de Dados Básicas Próprias 32

40 Gramática Própria 33

41 Encapsulamento de Dados Externos 34

42 35

43 Exemplos 36

44 Twitter Nav Bar <div class="navbar"> <div class="navbar-inner"> <a class="brand" href="#">title</a> <ul class="nav"> <li class="active"><a href="#">home</a></li> <li><a href="#">link</a></li> <li><a href="#">link</a></li> </ul> </div> </div> 37

45 ...com Cryml <nav_bar> <brand href="#">title</brand> <nav> <nav_item href="#" active>home</nav_item> <nav_item href="#">link</nav_item> <nav_item href="#">link</nav_item> </nav> </nav_bar> 38

46 Slider com JQuery UI <script> $(function() { $( "#slider" ).slider(); }); </script> <div class="demo"> <div id="slider"></div> </div> 39

47 ... overloading input <input id="slider" type="jquery-ui/slider" class="demo"/> 40

48 Fallbacks HTML 5 <video> <canvas>

49 Attribute Tags <div *path=users_path() <a Usuário: <a </div> 42

50 Data Tags <$current_user name/> <put text={ $current_user.name }/> 43

51 Condicionais <% %> %> logged <% else %> <a href="<%= sign_in_path %>">Sign In</a> <% end %> <ul> do friend %> <li><%= friend %> <% %> <a href="<%= create_friendship_path friend %>"> Add <%= friend %> as friend </a> <% end %> </li> <% end %> </ul> 44

52 Condicionais <% %> %> logged <% else %> <a href="<%= sign_in_path %>">Sign In</a> <% end %> <ul> do friend %> <li><%= friend %> <% %> <a href="<%= create_friendship_path friend %>"> Add <%= friend %> as friend </a> <% end %> </li> <% end %> </ul> 44

53 Condicionais <% %> %> logged <% else %> <a href="<%= sign_in_path %>">Sign In</a> <% end %> <ul> do friend %> <li><%= friend %> <% %> <a href="<%= create_friendship_path friend %>"> Add <%= friend %> as friend </a> <% end %> </li> <% end %> </ul> 44

54 ... com Cryml <if is=$current_user> <then put={$current_user.name}/> logged <else><a href=sign_in_path()>sign In</a></else> <ul> <each attr=['friend'] in=$friends> <li> <then> <a Add as friend </a> </then> </li> </each> </ul> </if> 45

55 ... com Cryml <if is=$current_user> <then put={$current_user.name}/> logged <else><a href=sign_in_path()>sign In</a></else> <ul> <each attr=['friend'] in=$friends> <li> <then> <a Add as friend </a> </then> </li> </each> </ul> </if> 45

56 ... com Cryml <if is=$current_user> <then put={$current_user.name}/> logged <else><a href=sign_in_path()>sign In</a></else> <ul> <each attr=['friend'] in=$friends> <li> <then> <a Add as friend </a> </then> </li> </each> </ul> </if> 45

57 ... com Cryml <if is=$current_user> <then put={$current_user.name}/> logged <else><a href=sign_in_path()>sign In</a></else> <ul> <each attr=['friend'] in=$friends> <li> <then> <a Add as friend </a> </then> </li> </each> </ul> </if> 45

58 ... com Cryml <if is=$current_user> <then put={$current_user.name}/> logged <else><a href=sign_in_path()>sign In</a></else> <ul> <each attr=['friend'] in=$friends> <li> <then> <a Add as friend </a> </then> </li> </each> </ul> </if> 45

59 Integração com Linguagens de Programação 46

60 "double quoted str {expr}" $dado 'single quoted str' funcao(1, 2, 3) true, false, scope{... } [1,2,3] {... } {'key': "value"} 4 + 2, 10 > 2,... 47

61 Expressões attr=42+$ext.method(3) 48

62 attr + 42 EXPR_METHOD $ext method 1 49

63 Streaming 50

64 ... yield :javascripts content_for :javascripts... 51

65 ... yield :javascripts provide :javascripts... 52

66 ... <content for='javascripts'/> <*content for='javascripts'>... </content>... 53

67 ... <content for='javascript'>... <*content for='javascripts'/>... 54

68 Futuro 55

69 Rendering nas Views View Model Controller Browser Server 56

70 Tags e Funções em JS Rubyracer ExecJS... 57

71 Rendering Paralelo Food for thought... 58

72 59

73 Dúvidas? 60

WEB/DEVICE DEVELOPMENT CLIENT SIDE MIS/CIT 310

WEB/DEVICE DEVELOPMENT CLIENT SIDE MIS/CIT 310 WEB/DEVICE DEVELOPMENT CLIENT SIDE MIS/CIT 310 Project #4 Updating your class project to be more mobile friendly To gain a fuller appreciate for Responsive Design, please review Chapter 8. Another great

More information

Mobile Design for the Future That is Here Already. Rick Ells UW Information Technology University of Washington

Mobile Design for the Future That is Here Already. Rick Ells UW Information Technology University of Washington Mobile Design for the Future That is Here Already Rick Ells UW Information Technology University of Washington Why Mobile? Why Accessible? Are UW Web sites a public accomodation under the Americans with

More information

The Structure of the Web. Jim and Matthew

The Structure of the Web. Jim and Matthew The Structure of the Web Jim and Matthew Workshop Structure 1. 2. 3. 4. 5. 6. 7. What is a browser? HTML CSS Javascript LUNCH Clients and Servers (creating a live website) Build your Own Website Workshop

More information

Meteor Module 2. INF1802 Profa. Melissa Lemos

Meteor Module 2. INF1802 Profa. Melissa Lemos Meteor Module 2 INF1802 Profa. Melissa Lemos Outline Module 2 Meteor Distributed Data Model, mongodb Creating a Collection Adding itens in a Collection Removing itens Adding itens using a Form Sorting

More information

Mateen Eslamy 10/31/13

Mateen Eslamy 10/31/13 Mateen Eslamy 10/31/13 Tutorial In this tutorial, you ll learn how to create a webpage using Twitter Bootstrap 3. The goal of this tutorial is to create a responsive webpage, meaning that if the webpage

More information

Django Part II SPARCS 11 undead. Greatly Inspired by SPARCS 10 hodduc

Django Part II SPARCS 11 undead. Greatly Inspired by SPARCS 10 hodduc Django Part II 2015-05-27 SPARCS 11 undead Greatly Inspired by SPARCS 10 hodduc Previously on Django Seminar Structure of Web Environment HTTP Requests and HTTP Responses Structure of a Django Project

More information

django-intranet Documentation

django-intranet Documentation django-intranet Documentation Release 0.2 Ionyse Nov 14, 2017 Contents 1 Abstract 1 2 Table of contents 3 2.1 Setup a new project............................................ 3 2.2 Create a new module...........................................

More information

HTML HTML/XHTML HTML / XHTML HTML HTML: XHTML: (extensible HTML) Loose syntax Few syntactic rules: not enforced by HTML processors.

HTML HTML/XHTML HTML / XHTML HTML HTML: XHTML: (extensible HTML) Loose syntax Few syntactic rules: not enforced by HTML processors. HTML HTML/XHTML HyperText Mark-up Language Basic language for WWW documents Format a web page s look, position graphics and multimedia elements Describe document structure and formatting Platform independent:

More information

~Arwa Theme~ HTML5 & CSS3 Theme. By ActiveAxon

~Arwa Theme~ HTML5 & CSS3 Theme. By ActiveAxon ~Arwa Theme~ HTML5 & CSS3 Theme By ActiveAxon Thank you for purchasing our theme. If you have any questions that are beyond the scope of this help file, please feel free to email us via our user page contact

More information

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank Multiple Choice. Choose the best answer. 1. What tag pair is used to create a new paragraph? a. b. c. d. 2. What tag pair

More information

appendix Introduction to Foundation, the front-end framework

appendix Introduction to Foundation, the front-end framework APPENDIX B appendix Introduction to Foundation, the front-end framework When prototyping responsive websites, building quickly is key. They don t call it rapid prototyping for nothing. Using a front-end

More information

MODULE 2 HTML 5 FUNDAMENTALS. HyperText. > Douglas Engelbart ( )

MODULE 2 HTML 5 FUNDAMENTALS. HyperText. > Douglas Engelbart ( ) MODULE 2 HTML 5 FUNDAMENTALS HyperText > Douglas Engelbart (1925-2013) Tim Berners-Lee's proposal In March 1989, Tim Berners- Lee submitted a proposal for an information management system to his boss,

More information

First Exam/Second Test 19/6/2010

First Exam/Second Test 19/6/2010 Instituto Superior Técnico Programação Avançada First Exam/Second Test 19/6/2010 Name: Number: Write your number on every page. Your answers should not be longer than the available space. You can use the

More information

SEEM4570 System Design and Implementation Lecture 03 JavaScript

SEEM4570 System Design and Implementation Lecture 03 JavaScript SEEM4570 System Design and Implementation Lecture 03 JavaScript JavaScript (JS)! Developed by Netscape! A cross platform script language! Mainly used in web environment! Run programs on browsers (HTML

More information

Xtern BOOTCAMP. Week 2 Day 1 May 22, 2017

Xtern BOOTCAMP. Week 2 Day 1 May 22, 2017 Xtern BOOTCAMP Week 2 Day 1 May 22, 2017 Intro to React What is React? A declarative, efficient, and flexible JavaScript library for building user interfaces. It encourages the creation of reusable UI

More information

Introduction to WEB PROGRAMMING

Introduction to WEB PROGRAMMING Introduction to WEB PROGRAMMING Web Languages: Overview HTML CSS JavaScript content structure look & feel transitions/animation s (CSS3) interaction animation server communication Full-Stack Web Frameworks

More information

CSS (Cascading Style Sheets)

CSS (Cascading Style Sheets) CSS (Cascading Style Sheets) CSS (Cascading Style Sheets) is a language used to describe the appearance and formatting of your HTML. It allows designers and users to create style sheets that define how

More information

Static Site Generation

Static Site Generation Static Site Generation Computer Science and Engineering College of Engineering The Ohio State University Lecture 17 What is Static Site Generation? Use a program to produce HTML pages Analogous to compiling

More information

Bootstrap-Flask Documentation

Bootstrap-Flask Documentation Bootstrap-Flask Documentation Release 1.0.4 Grey Li Nov 14, 2018 Contents 1 Contents 3 1.1 Basic Usage............................................... 3 1.2 Use Macros................................................

More information

DDR & jquery More than just hover & dropdown

DDR & jquery More than just hover & dropdown DDR & jquery More than just hover & dropdown Lee Wise / Front End Developer @theleewise 10 Pound Gorilla Team Everything DNN Everything Else Skins Modules Development Consulting Internet Marketing Web

More information

CSS is applied to an existing HTML web document--both working in tandem to display web pages.

CSS is applied to an existing HTML web document--both working in tandem to display web pages. CSS Intro Introduction to Cascading Style Sheets What is CSS? CSS (Cascading Style Sheets) is a supplementary extension to allowing web designers to style specific elements on their pages and throughout

More information

showinplaceholder The jquery Plug-in

showinplaceholder The jquery Plug-in showinplaceholder The jquery Plug-in for showing an image to place holder / target box About Plug-in Show in Place Holder plug-in is developed to show an image to place holder / target box. Plug-in can

More information

Trabalhando com JavaServer Pages (JSP)

Trabalhando com JavaServer Pages (JSP) Trabalhando com JavaServer Pages (JSP) Sumário 7.2.1 Introdução 7.2.2 JavaServer Pages Overview 7.2.3 First JavaServer Page Example 7.2. Implicit Objects 7.2.5 Scripting 7.2.5.1 Scripting Components 7.2.5.2

More information

Interview Question & Answers

Interview Question & Answers BASIC Interview Question & Answers OUR TRAINING YOUR CARRER QUESTIONS & ANSWERS OF HTML Ques: - What are the five possible values for position? Ans: - Values for position: static, relative, absolute, fixed,

More information

Using AJAX to Easily Integrate Rich Media Elements

Using AJAX to Easily Integrate Rich Media Elements 505 Using AJAX to Easily Integrate Rich Media Elements James Monroe Course Developer, WWW.eLearningGuild.com The Problem: How to string together several rich media elements (images, Flash movies, video,

More information

Css Manually Highlight Current Link Nav Link

Css Manually Highlight Current Link Nav Link Css Manually Highlight Current Link Nav Link way to automatically highlight the "current" link. And I can manually add the following CSS to each page to get them highlighted, but I want to avoid added.

More information

Getting Started with

Getting Started with Getting Started with Meganadha Reddy K. Technical Trainer NetCom Learning www.netcomlearning.com Agenda How websites work Introduction to JavaScript JavaScript Frameworks Getting Started : Angular JS Q&A

More information

Trabalhando com JavaServer Pages (JSP)

Trabalhando com JavaServer Pages (JSP) Trabalhando com JavaServer Pages (JSP) Sumário 7.2.1 Introdução 7.2.2 JavaServer Pages Overview 7.2.3 First JavaServer Page Example 7.2.4 Implicit Objects 7.2.5 Scripting 7.2.5.1 Scripting Components 7.2.5.2

More information

BEFORE CLASS. If you haven t already installed the Firebug extension for Firefox, download it now from

BEFORE CLASS. If you haven t already installed the Firebug extension for Firefox, download it now from BEFORE CLASS If you haven t already installed the Firebug extension for Firefox, download it now from http://getfirebug.com. If you don t already have the Firebug extension for Firefox, Safari, or Google

More information

5 Snowdonia. 94 Web Applications with C#.ASP

5 Snowdonia. 94 Web Applications with C#.ASP 94 Web Applications with C#.ASP 5 Snowdonia In this and the following three chapters we will explore the use of particular programming techniques, before combining these methods to create two substantial

More information

Mobile Apps with jquery Mobile. Kai Tödter Siemens Building Technologies

Mobile Apps with jquery Mobile. Kai Tödter Siemens Building Technologies Mobile Apps with jquery Mobile Kai Tödter Siemens Building Technologies Who am I? Senior Software System Architect at Siemens Building Technologies Eclipse expert and OSGi enthusiast Web Technology expert

More information

Instituto Superior Técnico. First Exam 7/6/2013. Number:

Instituto Superior Técnico. First Exam 7/6/2013. Number: Instituto Superior Técnico Programação Avançada First Exam 7/6/2013 Name: Number: Write your number on every page. Your answers should not be longer than the available space. You can use the other side

More information

Web Development and Design Foundations with HTML5 8th Edition

Web Development and Design Foundations with HTML5 8th Edition Web Development and Design Foundations with HTML5 8th Edition Felke-Morris TEST BANK Full clear download (no formatting errors) at: Web Development and Design Foundations with HTML5 8th Edition Felke-Morris

More information

CHAPTER 1: GETTING STARTED WITH HTML CREATED BY L. ASMA RIKLI (ADAPTED FROM HTML, CSS, AND DYNAMIC HTML BY CAREY)

CHAPTER 1: GETTING STARTED WITH HTML CREATED BY L. ASMA RIKLI (ADAPTED FROM HTML, CSS, AND DYNAMIC HTML BY CAREY) CHAPTER 1: GETTING STARTED WITH HTML EXPLORING THE HISTORY OF THE WORLD WIDE WEB Network: a structure that allows devices known as nodes or hosts to be linked together to share information and services.

More information

Akumina Digital Workplace

Akumina Digital Workplace Akumina Digital Workplace Developer Guide Version 1.1 (May 2016) Table of Contents TABLE OF CONTENTS... 2 AN INTRODUCTION TO THE DIGITAL WORKPLACE FRAMEWORK... 3 Understanding Callbacks... 3 Understanding

More information

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: CREATING AN HTML LIST Most horizontal or vertical navigation bars begin with a simple

More information

Web Software Model CS 4640 Programming Languages for Web Applications

Web Software Model CS 4640 Programming Languages for Web Applications Web Software Model CS 4640 Programming Languages for Web Applications [Robert W. Sebesta, Programming the World Wide Web Upsorn Praphamontripong, Web Mutation Testing ] 1 Web Applications User interactive

More information

Building an OpenLayers 3 map viewer with React

Building an OpenLayers 3 map viewer with React FOSS4G 2015 Building an OpenLayers 3 map viewer with React @PirminKalberer Sourcepole AG, Switzerland www.sourcepole.com About Sourcepole > QGIS > > > > Core dev. & Project Steering Commitee QGIS Server,

More information

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 1

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 1 Web Programming and Design MPT Senior Cycle Tutor: Tamara Week 1 What will we cover? HTML - Website Structure and Layout CSS - Website Style JavaScript - Makes our Website Dynamic and Interactive Plan

More information

JavaScript Introduction

JavaScript Introduction JavaScript Introduction Web Technologies I. Zsolt Tóth University of Miskolc 2016 Zsolt Tóth (UM) JavaScript Introduction 2016 1 / 31 Introduction Table of Contents 1 Introduction 2 Syntax Variables Control

More information

Mobile Web Development

Mobile Web Development Mobile Web Development By Phil Huhn 2013-04-30 2013 Northern Software Group Agenda Web-site issues for mobile devices Responsive Design Media Queries Twitter Bootstrap As-is (themes) less variables.less

More information

Tizen Web UI Technologies (Tizen Ver. 2.3)

Tizen Web UI Technologies (Tizen Ver. 2.3) Tizen Web UI Technologies (Tizen Ver. 2.3) Spring 2015 Soo Dong Kim, Ph.D. Professor, Department of Computer Science Software Engineering Laboratory Soongsil University Office 02-820-0909 Mobile 010-7392-2220

More information

HTML Hyper Text Markup Language

HTML Hyper Text Markup Language HTML Hyper Text Markup Language Home About Services index.html about.html services.html Homepage = index.html site root index.html about.html services.html images headshot.jpg charlie.jpg A webpage built

More information

Programmazione Web a.a. 2017/2018 HTML5

Programmazione Web a.a. 2017/2018 HTML5 Programmazione Web a.a. 2017/2018 HTML5 PhD Ing.Antonino Raucea antonino.raucea@dieei.unict.it 1 Introduzione HTML HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text

More information

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank Multiple Choice. Choose the best answer. 1. What element is used to configure a new paragraph? a. new b. paragraph c. p d. div 2. What element is used to create the largest heading? a. h1 b. h9 c. head

More information

Static Webpage Development

Static Webpage Development Dear Student, Based upon your enquiry we are pleased to send you the course curriculum for PHP Given below is the brief description for the course you are looking for: - Static Webpage Development Introduction

More information

Building beautiful websites with Bootstrap: A case study. by Michael Kennedy michaelckennedy.net

Building beautiful websites with Bootstrap: A case study. by Michael Kennedy michaelckennedy.net Building beautiful websites with Bootstrap: A case study by Michael Kennedy DevelopMentor @mkennedy michaelckennedy.net Objectives Learn what Bootstrap has to offer web developers Install and use Bootstrap

More information

Client-side Techniques. Client-side Techniques HTML/XHTML. Static web pages, Interactive web page: without depending on interaction with a server

Client-side Techniques. Client-side Techniques HTML/XHTML. Static web pages, Interactive web page: without depending on interaction with a server Client-side Techniques Client-side Techniques Static web pages, Interactive web page: without depending on interaction with a server HTML/XHTML: content Cascading Style Sheet (CSS): style and layout Script

More information

Web Development & Design Foundations with HTML5, 8 th Edition Instructor Materials Chapter 14 Test Bank

Web Development & Design Foundations with HTML5, 8 th Edition Instructor Materials Chapter 14 Test Bank Multiple Choice. Choose the best answer. 1. JavaScript can be described as: a. an object-oriented scripting language b. an easy form of Java c. a language created by Microsoft 2. Select the true statement

More information

Bootstrap 1/20

Bootstrap 1/20 http://getbootstrap.com/ Bootstrap 1/20 MaxCDN

More information

UI Course HTML: (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) Introduction. The World Wide Web (WWW) and history of HTML

UI Course HTML: (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) Introduction. The World Wide Web (WWW) and history of HTML UI Course (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) HTML: Introduction The World Wide Web (WWW) and history of HTML Hypertext and Hypertext Markup Language Why HTML Prerequisites Objective

More information

More about HTML. Digging in a little deeper

More about HTML. Digging in a little deeper More about HTML Digging in a little deeper Structural v. Semantic Markup Structural markup is using to encode information about the structure of a document. Examples: , , , and

More information

Understanding this structure is pretty straightforward, but nonetheless crucial to working with HTML, CSS, and JavaScript.

Understanding this structure is pretty straightforward, but nonetheless crucial to working with HTML, CSS, and JavaScript. Extra notes - Markup Languages Dr Nick Hayward HTML - DOM Intro A brief introduction to HTML's document object model, or DOM. Contents Intro What is DOM? Some useful elements DOM basics - an example References

More information

Creating a Navigation Bar with a Rollover Effect

Creating a Navigation Bar with a Rollover Effect Creating a Navigation Bar with a Rollover Effect These instructions will teach you how to create your own navigation bar with a roll over effect for your personal website using Adobe Dreamweaver CS4. Your

More information

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh Web Programming and Design MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh Plan for the next 5 weeks: Introduction to HTML tags, creating our template file Introduction to CSS and style

More information

Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar

Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar Review of HTML Chapter 3 Fundamentals of Web Development 2017 Pearson Fundamentals of Web Development http://www.funwebdev.com - 2 nd Ed. What Is HTML and Where Did It Come from? HTML HTML is defined as

More information

Lecture 8. ReactJS 1 / 24

Lecture 8. ReactJS 1 / 24 Lecture 8 ReactJS 1 / 24 Agenda 1. JSX 2. React 3. Redux 2 / 24 JSX 3 / 24 JavaScript + HTML = JSX JSX is a language extension that allows you to write HTML directly into your JavaScript files. Behind

More information

MPT Web Design. Week 1: Introduction to HTML and Web Design

MPT Web Design. Week 1: Introduction to HTML and Web Design MPT Web Design Week 1: Introduction to HTML and Web Design What will we do in this class? Learn the basics of HTML and how to create our own template Basic website structure Learn design concepts for a

More information

Static Site Generation

Static Site Generation Static Site Generation Computer Science and Engineering College of Engineering The Ohio State University Lecture 17 What is Static Site Generation? Use a program to produce HTML pages Analogous to compiling

More information

A conditional statement can compare two values. Here we check if one variable we declared is greater than another. It is true so the code executes.

A conditional statement can compare two values. Here we check if one variable we declared is greater than another. It is true so the code executes. ANGULARJS #7 7.1 Review JS 3 A conditional statement can compare two values. Here we check if one variable we declared is greater than another. It is true so the code executes. var cups = 15; var saucers

More information

Clojure. The Revenge of Data. by Vjeran Marcinko Kapsch CarrierCom

Clojure. The Revenge of Data. by Vjeran Marcinko Kapsch CarrierCom Clojure The Revenge of Data by Vjeran Marcinko Kapsch CarrierCom Data Processing is what we do Most programs receive, transform, search, and send data Data is raw, immutable information In its essence,

More information

"a computer programming language commonly used to create interactive effects within web browsers." If actors and lines are the content/html......

a computer programming language commonly used to create interactive effects within web browsers. If actors and lines are the content/html...... JAVASCRIPT. #5 5.1 Intro 3 "a computer programming language commonly used to create interactive effects within web browsers." If actors and lines are the content/html...... and the director and set are

More information

3 The Building Blocks: Data Types, Literals, and Variables

3 The Building Blocks: Data Types, Literals, and Variables chapter 3 The Building Blocks: Data Types, Literals, and Variables 3.1 Data Types A program can do many things, including calculations, sorting names, preparing phone lists, displaying images, validating

More information

CSC Web Programming. Introduction to JavaScript

CSC Web Programming. Introduction to JavaScript CSC 242 - Web Programming Introduction to JavaScript JavaScript JavaScript is a client-side scripting language the code is executed by the web browser JavaScript is an embedded language it relies on its

More information

Rails: Views and Controllers

Rails: Views and Controllers Rails: Views and Controllers Computer Science and Engineering College of Engineering The Ohio State University Lecture 18 Recall: Rails Architecture Wiring Views and Controllers A controller is just an

More information

Challenge: Working with the MIS2402 Template

Challenge: Working with the MIS2402 Template Challenge: Working with the MIS2402 Template In this challenge we will see how the appearance of the MIS2402 template can be modified. Start by downloading mis2402template04.zip and setting up a corresponding

More information

WEB DESIGNING COURSE SYLLABUS

WEB DESIGNING COURSE SYLLABUS F.A. Computer Point #111 First Floor, Mujaddadi Estate/Prince Hotel Building, Opp: Okaz Complex, Mehdipatnam, Hyderabad, INDIA. Ph: +91 801 920 3411, +91 92900 93944 040 6662 6601 Website: www.facomputerpoint.com,

More information

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: You may create your button in GIMP. Mine is 122 pixels by 48 pixels. You can use whatever

More information

bbcode Documentation Release Dan Watson

bbcode Documentation Release Dan Watson bbcode Documentation Release 1.0.16 Dan Watson Sep 27, 2017 Contents 1 Basic Usage 3 1.1 Custom Parser Objects.......................................... 3 1.2 Customizing the Linker.........................................

More information

A simple web templating system for TCL using C

A simple web templating system for TCL using C A simple web templating system for TCL using C Neophytos Demetriou neophytos@gmail.com EuroTCL 2013 (Munich) Overview NOT a TCL to C compiler NOT a reimplementation of the runtime system => transforms

More information

welcome to BOILERCAMP HOW TO WEB DEV

welcome to BOILERCAMP HOW TO WEB DEV welcome to BOILERCAMP HOW TO WEB DEV Introduction / Project Overview The Plan Personal Website/Blog Schedule Introduction / Project Overview HTML / CSS Client-side JavaScript Lunch Node.js / Express.js

More information

Uniform Resource Locators (URL)

Uniform Resource Locators (URL) The World Wide Web Web Web site consists of simply of pages of text and images A web pages are render by a web browser Retrieving a webpage online: Client open a web browser on the local machine The web

More information

Standard 1 The student will author web pages using the HyperText Markup Language (HTML)

Standard 1 The student will author web pages using the HyperText Markup Language (HTML) I. Course Title Web Application Development II. Course Description Students develop software solutions by building web apps. Technologies may include a back-end SQL database, web programming in PHP and/or

More information

Exercise 1: Basic HTML and JavaScript

Exercise 1: Basic HTML and JavaScript Exercise 1: Basic HTML and JavaScript Question 1: Table Create HTML markup that produces the table as shown in Figure 1. Figure 1 Question 2: Spacing Spacing can be added using CellSpacing and CellPadding

More information

Human-Computer Interaction Design

Human-Computer Interaction Design Human-Computer Interaction Design COGS120/CSE170 - Intro. HCI Instructor: Philip Guo Lab 4 - Simulating a backend without needing a server (2017-11-03) made by Philip Guo, derived from labs by Michael

More information

Manual Html A Href Javascript Window Open In New

Manual Html A Href Javascript Window Open In New Manual Html A Href Javascript Window Open In New _a href="foracure.org.au" target="_blank" style="width: 105px," /a_ You might consider opening a new window with JavaScript instead, cf. to the accepted

More information

BEST PRACTICES HTML5 SPECIFICATIONS. what's next in data-driven advertising. File Types. HTML5: HTML, JS, CSS, JPG, JPEG, GIF, PNG, and SVG

BEST PRACTICES HTML5 SPECIFICATIONS. what's next in data-driven advertising. File Types. HTML5: HTML, JS, CSS, JPG, JPEG, GIF, PNG, and SVG SPECIFICATIONS HTML5 creatives are a type of display creative that must follow the same guidelines as display creatives with some additional recommendations. The IAB Display Advertising Guidelines (https://www.iab.com/newadportfolio/)

More information

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Make a Website A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Overview Course outcome: You'll build four simple websites using web

More information

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148 Index Numbers & Symbols (angle brackets), in HTML, 47 : (colon), in CSS, 96 {} (curly brackets), in CSS, 75, 96. (dot), in CSS, 89, 102 # (hash mark), in CSS, 87 88, 99 % (percent) font size, in CSS,

More information

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes Course Title Course Code WEB DESIGNING TECHNOLOGIES DCE311 Lecture : 3 Course Credit Practical : Tutorial : 0 Total : 5 Course Learning Outcomes At end of the course, students will be able to: Understand

More information

Intro, Version Control, HTML5. CS147L Lecture 1 Mike Krieger

Intro, Version Control, HTML5. CS147L Lecture 1 Mike Krieger Intro, Version Control, HTML5 CS147L Lecture 1 Mike Krieger Hello! - A little about me. Hello! - And a little bit about you? By the end of today - Know what this lab will & won t teach you - Have checked

More information

Introduction to Web Development

Introduction to Web Development Introduction to Web Development Lecture 1 CGS 3066 Fall 2016 September 8, 2016 Why learn Web Development? Why learn Web Development? Reach Today, we have around 12.5 billion web enabled devices. Visual

More information

Unit 3 - Week 2 lectures: Building your webapp

Unit 3 - Week 2 lectures: Building your webapp X Courses» Modern Application Development Announcements Course Forum Progress Mentor Discourse forum Discussion Forum Unit 3 - Week 2 lectures: Building your webapp Course outline How to access the portal?

More information

3/5/2012. Rich Internet Applications. Presentation layer. Presentation layer

3/5/2012. Rich Internet Applications. Presentation layer. Presentation layer 7. Single-page application architecture Presentation layer In a traditional web application, presentation layer is within web tier, renders output to client tier (browser) 7. Single-page application architecture

More information

Data Visualization (CIS 468)

Data Visualization (CIS 468) Data Visualization (CIS 468) Web Programming Dr. David Koop Languages of the Web HTML CSS SVG JavaScript - Versions of Javascript: ES6/ES2015, ES2017 - Specific frameworks: react, jquery, bootstrap, D3

More information

CUSTOMER PORTAL. Custom HTML splashpage Guide

CUSTOMER PORTAL. Custom HTML splashpage Guide CUSTOMER PORTAL Custom HTML splashpage Guide 1 CUSTOM HTML Custom HTML splash page templates are intended for users who have a good knowledge of HTML, CSS and JavaScript and want to create a splash page

More information

AJAX. Lab. de Bases de Dados e Aplicações Web MIEIC, FEUP 2010/11. Sérgio Nunes

AJAX. Lab. de Bases de Dados e Aplicações Web MIEIC, FEUP 2010/11. Sérgio Nunes AJAX Lab. de Bases de Dados e Aplicações Web MIEIC, FEUP 2010/11 Sérgio Nunes Server calls from web pages using JavaScript call HTTP data Motivation The traditional request-response cycle in web applications

More information

ADVANCED JAVASCRIPT #8

ADVANCED JAVASCRIPT #8 ADVANCED JAVASCRIPT #8 8.1 Review JS 3 A conditional statement can compare two values. Here we check if one variable we declared is greater than another. It is true so the code executes. var cups = 15;

More information

What is AngularJS. à Javascript Framework à MVC à for Rich Web Application Development à by Google

What is AngularJS. à Javascript Framework à MVC à for Rich Web Application Development à by Google AngularJS What is AngularJS à Javascript Framework à MVC à for Rich Web Application Development à by Google Why AngularJS Other frameworks deal with HTML s shortcomings by either abstracting away HTML,

More information

Web applications Developing Android/Iphone Applications using WebGUI

Web applications Developing Android/Iphone Applications using WebGUI Web applications Developing Android/Iphone Applications using WebGUI Joeri de Bruin Oqapi Software joeri@oqapi.nl 1 Overview Web applications Create WebApp with WebGUI Turn WebApp into native mobile app

More information

COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2018)

COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2018) COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2018) RAMANA ISUKAPALLI RAMANA@CS.COLUMBIA.EDU 1 LECTURE-1 Course overview See http://www.cs.columbia.edu/~ramana Overview of HTML Formatting, headings,

More information

Overview

Overview HTML4 & HTML5 Overview Basic Tags Elements Attributes Formatting Phrase Tags Meta Tags Comments Examples / Demos : Text Examples Headings Examples Links Examples Images Examples Lists Examples Tables Examples

More information

django-gollum Documentation

django-gollum Documentation django-gollum Documentation Release 1.0.0 Luke Sneeringer December 11, 2016 Contents 1 Installation 3 2 Dependencies 5 3 Getting Started 7 4 Getting Help 9 5 License 11 6 Index 13 6.1 Using django-gollum...........................................

More information

HTML 5 and CSS 3, Illustrated Complete. Unit L: Programming Web Pages with JavaScript

HTML 5 and CSS 3, Illustrated Complete. Unit L: Programming Web Pages with JavaScript HTML 5 and CSS 3, Illustrated Complete Unit L: Programming Web Pages with JavaScript Objectives Explore the Document Object Model Add content using a script Trigger a script using an event handler Create

More information

Rails: MVC in action

Rails: MVC in action Ruby on Rails Basic Facts 1. Rails is a web application framework built upon, and written in, the Ruby programming language. 2. Open source 3. Easy to learn; difficult to master. 4. Fun (and a time-saver)!

More information

Document Object Model. Overview

Document Object Model. Overview Overview The (DOM) is a programming interface for HTML or XML documents. Models document as a tree of nodes. Nodes can contain text and other nodes. Nodes can have attributes which include style and behavior

More information

grabattention The jquery Plug-in

grabattention The jquery Plug-in grabattention The jquery Plug-in for an elegant way to bring user attention About Plug-in Grab Attention plug-in is developed to bring to notice / grab attention / get notify user for lead generation form,

More information

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh Web Programming and Design MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh Plan for the next 5 weeks: Introduction to HTML tags, creating our template file Introduction to CSS and style

More information

Lecture 8. Validations & Sessions 1 / 41

Lecture 8. Validations & Sessions 1 / 41 Lecture 8 Validations & Sessions 1 / 41 Advanced Active Record 2 / 41 More Complex Queries Arel provides us with a number of methods to query our database tables So far, we've only used find which limits

More information

CSC Javascript

CSC Javascript CSC 4800 Javascript See book! Javascript Syntax How to embed javascript between from an external file In an event handler URL - bookmarklet

More information