lectures/3/src/mvc/7/html/index.php <?php require_once('../includes/helpers.php');

Size: px
Start display at page:

Download "lectures/3/src/mvc/7/html/index.php <?php require_once('../includes/helpers.php');"

Transcription

1 lectures/3/src/mvc/7/html/index.php <?php require_once('../includes/helpers.php'); // determine which page to render if (isset($_get['page'])) $page = $_GET['page']; else $page = 'index'; // show page switch ($page) { case 'index': render('templates/header', array('title' => 'CSCI S-75')); render('index'); render('templates/footer'); break; case 'lectures': render('templates/header', array('title' => 'Lectures')); render('lectures'); render('templates/footer'); break; case 'lecture': if (isset($_get['n'])) { render('templates/header', array('title' => 'Lecture '. $_GET['n'])); render('lecture', array('n' => $_GET['n'])); render('templates/footer'); break;?>

2 lectures/3/src/mvc/7/includes/helpers.php <?php /** * Renders template. * array $data */ function render($template, $data = array()) { $path = DIR. '/../views/'. $template. '.php'; if (file_exists($path)) { extract($data); require($path);?>

3 lectures/3/src/mvc/7/readme mvc/7/readme David J. Malan malan@harvard.edu Improves upon mvc/6 by introducing search engine-friendly URLs via mod_rewrite. html/ index.php - controller includes/ helpers.php - helper functions views/ index.php - homepage for the course lecture.php - a lecture lectures.php - a list of lectures templates/ footer.php - pages' footer header.php - pages' header

4 lectures/3/src/mvc/7/views/index.php <ul> <li><a href="lectures">lectures</a></li> <li><a href=" </ul>

5 lectures/3/src/mvc/7/views/lecture.php <ul> <li><a href=" echo $n?>/slides<?php echo $n?>.pdf">slides</a></li> <li><a href=" echo $n?>/lecture<?php echo $n?>.mp4">video</a></li> </ul>

6 lectures/3/src/mvc/7/views/lectures.php <ul> <li><a href="lecture/0">lecture 0</a></li> <li><a href="lecture/1">lecture 1</a></li> </ul>

7 lectures/3/src/mvc/7/views/templates/footer.php </body> </html>

8 lectures/3/src/mvc/7/views/templates/header.php <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width"> <title><?php echo htmlspecialchars($title)?></title> </head> <body> <h1><?php echo htmlspecialchars($title)?></h1>

9 lectures/3/src/mvc/8/application/controllers/homepage.php <?php class Homepage extends CI_Controller { public function index() { $this->load->view('templates/header', array('title' => 'CS164')); $this->load->view('homepage/index'); $this->load->view('templates/footer'); public function lectures() { $this->load->view('templates/header', array('title' => 'Lectures')); $this->load->view('homepage/lectures'); $this->load->view('templates/footer'); public function lecture($n) { $this->load->view('templates/header', array('title' => 'Lecture '. $n)); $this->load->view('homepage/lecture', array('n' => $n)); $this->load->view('templates/footer');?>

10 lectures/3/src/mvc/8/application/views/homepage/index.php <ul> <li><a href="lectures">lectures</a></li> <li><a href=" </ul>

11 lectures/3/src/mvc/8/application/views/homepage/lecture.php <ul> <li><a href=" echo $n?>/slides<?php echo $n?>.pdf">slides</a></li> <li><a href=" echo $n?>/lecture<?php echo $n?>.mp4">video</a></li> </ul>

12 lectures/3/src/mvc/8/application/views/homepage/lectures.php <ul> <li><a href="lecture/0">lecture 0</a></li> <li><a href="lecture/1">lecture 1</a></li> </ul>

13 lectures/3/src/mvc/8/application/views/templates/footer.php </body> </html>

14 lectures/3/src/mvc/8/application/views/templates/header.php <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width"> <title><?php echo htmlspecialchars($title)?></title> </head> <body> <h1><?php echo htmlspecialchars($title)?></h1>

15 lectures/3/src/mvc/8/readme mvc/9/readme David J. Malan malan@harvard.edu Improves upon mvc/8 by introducing a framework (CodeIgniter). application/ config/ config.php - CodeIgniter's configuration routes.php - default routes... controllers/ homepage.php - application controller views/ homepage/ index.php - a homepage for the course lecture.php - a lecture lectures.php - a list of lectures templates/ footer.php - pages' footer header.php - pages' header index.php - front controller system/...

16 lectures/3/src/xml/lectures.php <!DOCTYPE html> <html> <head> <title>my Lecture Reader</title> </head> <body> <h1>csci S-75</h1> <ul> <? $dom = simplexml_load_file("lectures.xml"); foreach ($dom->xpath("/lectures/lecture") as $lecture) { print "<li>"; print $lecture->title; print "</li>";?> </ul> </body> </html>

17 lectures/3/src/xml/lectures.xml <?xml version="0"?> <lectures> <lecture number="0"> <title>http</title> <dates>mon 6/25</dates> <resources> <resource name="slides"> <format path=" label="pdf" /> </resource> <resource name="syllabus"> <format path=" label="pdf" /> </resource> </resources> </lecture> <lecture number="1"> <title>php</title> <dates>wed 6/27</dates> <resources> <resource name="slides"> <format path=" label="pdf" /> </resource> <resource name="source Code"> <format path=" label="index" /> <format path=" label="pdf" /> <format path=" label="zip" /> </resource> </resources> </lecture> <lecture number="2"> <title>php, Continued</title> <dates>mon 7/2</dates> <resources> <resource name="slides"> <format path=" label="pdf" /> </resource> <resource name="source Code"> <format path=" label="index" /> <format path=" label="pdf" /> <format path=" label="zip" /> </resource> </resources> </lecture> <lecture number="3"> <title>xml</title> <dates>mon 7/9</dates> <resources> <resource name="slides"> <format path=" label="pdf" />

18 lectures/3/src/xml/lectures.xml </resource> </resources> </lecture> </lectures>

19 lectures/3/src/xml/rssphp <!DOCTYPE html> <html> <head> <title>my RSS Reader</title> </head> <body> <h1>new York Times Technology</h1> <ul> <? $dom = simplexml_load_file(" foreach ($dom->channel->item as $item) { print "<li>"; print "<a href='{$item->link'>"; print $item->title; print "</a>"; print "</li>";?> </ul> </body> </html>

20 lectures/3/src/xml/rssphp <!DOCTYPE html> <html> <head> <title>my RSS Reader</title> </head> <body> <h1>new York Times Technology</h1> <ul> <? $dom = simplexml_load_file(" foreach ($dom->channel->item as $item) { $time = strtotime($item->pubdate); $date = date("m j, Y", $time); print "<li>"; print "<a href='{$item->link'>"; print $item->title; print "</a>"; print " (". $date. ")"; print "</li>";?> </ul> </body> </html>

CSCI 1320 Creating Modern Web Applications. Content Management Systems

CSCI 1320 Creating Modern Web Applications. Content Management Systems CSCI 1320 Creating Modern Web Applications Content Management Systems Brown CS Website 2 Static Brown CS Website Up since 1994 5.9 M files (inodes) 1.6 TB of filesystem space 3 Static HTML Generators Convert

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

Instructor s Notes Web Data Management The MVC Pattern. Web Data Management The MVC Pattern

Instructor s Notes Web Data Management The MVC Pattern. Web Data Management The MVC Pattern Web Data Management 152-155 The MVC Pattern Quick Links & Text References Overview Pages 160 161 Controller Pages 170 172 246 247 Including Files Pages Case Include Files Pages Model Pages 168 169 Views

More information

Configuration Setting

Configuration Setting Hello friends, this is my first blog on Codeigniter framework. In this, we are going to make login, signup and user listing system. Firstly, install the Codeigniter framework either in your local server

More information

Lab 1: Introducing HTML5 and CSS3

Lab 1: Introducing HTML5 and CSS3 CS220 Human- Computer Interaction Spring 2015 Lab 1: Introducing HTML5 and CSS3 In this lab we will cover some basic HTML5 and CSS, as well as ways to make your web app look and feel like a native app.

More information

Web Development and HTML. Shan-Hung Wu CS, NTHU

Web Development and HTML. Shan-Hung Wu CS, NTHU Web Development and HTML Shan-Hung Wu CS, NTHU Outline How does Internet Work? Web Development HTML Block vs. Inline elements Lists Links and Attributes Tables Forms 2 Outline How does Internet Work? Web

More information

django-amp-tools Documentation Release latest

django-amp-tools Documentation Release latest django-amp-tools Documentation Release latest February 07, 2017 Contents 1 Installation 3 2 Usage 5 2.1 Usage app................................................ 5 3 Contributing 9 4 Source code and contacts

More information

PHP for Site Modularity. Content Management

PHP for Site Modularity. Content Management PHP for Site Modularity Content Management Big sites The management of big websites presents a whole range of considerations that don't necessarily apply to small websites. Maybe you have lots of content

More information

Università degli Studi di Parma. Basi di Dati e Web. Introduction to CodeIgniter 14/01/2014. Basi di Dati e Web. martedì 14 gennaio 14

Università degli Studi di Parma. Basi di Dati e Web. Introduction to CodeIgniter 14/01/2014. Basi di Dati e Web. martedì 14 gennaio 14 Introduction to CodeIgniter 14/01/2014 2013/2014 Parma CodeIgniter CodeIgniter is an Application Framework to build web applications using PHP CodeIgniter provides a rich set of libraries for commonly

More information

CS637 Midterm Review

CS637 Midterm Review CS637 Midterm Review Coverage: Duckett Chapter 1-2: Basics: Can skip pp. 53-56 Chapter 3: Lists: all important Chapter 4:Links: all important Chapter 5:Images: can skip old code Chapter 6: Tables: all

More information

Lecture 4. Ruby on Rails 1 / 49

Lecture 4. Ruby on Rails 1 / 49 Lecture 4 Ruby on Rails 1 / 49 Client-Server Model 2 / 49 What is it? A client (e.g. web browser, phone, computer, etc.) sends a request to a server Request is an HTTP request Stands for HyperText Transfer

More information

PHP & My SQL Duration-4-6 Months

PHP & My SQL Duration-4-6 Months PHP & My SQL Duration-4-6 Months Overview of the PHP & My SQL Introduction of different Web Technology Working with the web Client / Server Programs Server Communication Sessions Cookies Typed Languages

More information

Web development using PHP & MySQL with HTML5, CSS, JavaScript

Web development using PHP & MySQL with HTML5, CSS, JavaScript Web development using PHP & MySQL with HTML5, CSS, JavaScript Static Webpage Development Introduction to web Browser Website Webpage Content of webpage Static vs dynamic webpage Technologies to create

More information

GIMP WEB 2.0 MENUS. Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar.

GIMP WEB 2.0 MENUS. Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar. GIMP WEB 2.0 MENUS Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar. Standard Navigation Bar Web 2.0 Navigation Bar Now the all-important question

More information

Mobile Web Applications. Gary Dubuque IT Research Architect Department of Revenue

Mobile Web Applications. Gary Dubuque IT Research Architect Department of Revenue Mobile Web Applications Gary Dubuque IT Research Architect Department of Revenue Summary Times are approximate 10:15am 10:25am 10:35am 10:45am Evolution of Web Applications How they got replaced by native

More information

Markup Language. Made up of elements Elements create a document tree

Markup Language. Made up of elements Elements create a document tree Patrick Behr Markup Language HTML is a markup language HTML markup instructs browsers how to display the content Provides structure and meaning to the content Does not (should not) describe how

More information

SAHARA BIKE1 RESPONSIVE MAGENTO THEME

SAHARA BIKE1 RESPONSIVE MAGENTO THEME SAHARA BIKE1 RESPONSIVE MAGENTO THEME This document is organized as follows: Chater I. Install ma_sahara_bike1 template Chapter II. Features and elements of the template Chapter III. List of extensions

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

I completely understand your anxiety when starting learn codeigniter.

I completely understand your anxiety when starting learn codeigniter. I completely understand your anxiety when starting learn codeigniter. Confused, what have to know, and don't know start from where. The good news, In this tutorial, I will share with you how to start learning

More information

AGENDA. :: Add Meta Tag for Viewport (inside of head element): :: Add Script that renders HTML5 elements for older versions of Internet Explorer

AGENDA. :: Add Meta Tag for Viewport (inside of head element): :: Add Script that renders HTML5 elements for older versions of Internet Explorer CLASS :: 14 12.10 2018 3 Hours AGENDA LECTURE :: Responsive Web Design [RWD] DOWNLOAD ASSETS [ CSS ] :: Media Query [rwd.css] ADD HTML META TAG & IE SCRIPT [ HTML ] :: Add Meta Tag for Viewport (inside

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

Computer Science S-75 Building Dynamic Websites

Computer Science S-75 Building Dynamic Websites Computer Science S-75 Building Dynamic Websites Harvard Summer School https://www.cs75.net/ Lecture 3: MVC, XML David J. Malan malan@harvard.edu 0 CS50 Appliance https://manual.cs50.net/appliance 1 MVC

More information

Table of Contents. Customizing Templates...26 file...27 Sample templates for download...30

Table of Contents. Customizing Templates...26 file...27 Sample templates for download...30 HTML TEMPLATES Table of Contents Overview... 3 What is an HTML template?... 4 Installing a custom HTML template... 7 The helpers.php file... 9 Possible values for text run arrays...10 A text run array...13

More information

Build a WordPress Theme Classroom

Build a WordPress Theme Classroom Build a WordPress Theme Classroom The Loop It the main structure of WordPress It s extremely powerful Allows developers to creatively display data Overview The loop is a simply a block of code that displays

More information

Laravel. Routing Filtering Model View Controller. Web Technologies II Artūrs Lavrenovs

Laravel. Routing Filtering Model View Controller. Web Technologies II Artūrs Lavrenovs Laravel Routing Filtering Model View Controller Web Technologies II Artūrs Lavrenovs Laravel Routing+MVC http://laravelbook.com/laravel-architecture/ Routing Study documentation http://laravel.com/docs/4.2/routing

More information

src1-malan/ajax/ajax1.html ajax1.html Gets stock quote from quote1.php via Ajax, displaying result with alert().

src1-malan/ajax/ajax1.html ajax1.html Gets stock quote from quote1.php via Ajax, displaying result with alert(). src1-malan/ajax/ajaxhtml 1 1 1 1 1 2 2 2 2 2 2 2 2 30. 3 3 3 3 3 3 3 3 3 40. 4 4 4 4 4 4 4 4 ajaxhtml Gets stock quote from quotephp via Ajax, displaying result with alert(). Building Mobile Applications

More information

if (WP_DEBUG) E_ALL 'on'; }

if (WP_DEBUG) E_ALL 'on'; } BAVC WordPress Resources http://codex.wordpress.org/ Lab Resources MAMP Git Aptana Studio 3 Firefox with Firebug Outline I. WordPress installation (Installing_WordPress) A. Requirements 1. PHP >= version

More information

Codeigniter interview questions and answers

Codeigniter interview questions and answers Codeigniter interview questions and answers For freshers and experienced Content Ref :pcds.co.in only for use Education and Job purpose, not for official purpose. : 1 1 What is codeigniter? Codeigniter

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Laravel

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Laravel About the Tutorial Laravel is a powerful MVC PHP framework, designed for developers who need a simple and elegant toolkit to create full-featured web applications. Laravel was created by Taylor Otwell.

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

Build Your Own Theme and Customizing Child Themes

Build Your Own Theme and Customizing Child Themes Build Your Own Theme and Customizing Child Themes Prerequisite Skills You will be better equipped to work through this lesson if you have experience in and familiarity with: Spent some time in the admin

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

STS v4.2 with HTC v2.5.9

STS v4.2 with HTC v2.5.9 1 STS v4.2 with HTC v2.5.9 Installation Text Written By: Bill Kellum STS v4.2 with HTC v2.5.9... 1 Installation Text... 1 STS v4.2 and Header Tags Controller 2.5.9... 2 Copy Files (for new store only)...

More information

Helpline No WhatsApp No.:

Helpline No WhatsApp No.: TRAINING BASKET QUALIFY FOR TOMORROW Helpline No. 9015887887 WhatsApp No.: 9899080002 Regd. Off. Plot No. A-40, Unit 301/302, Tower A, 3rd Floor I-Thum Tower Near Corenthum Tower, Sector-62, Noida - 201309

More information

ENRICHING PRIMO RECORDS WITH INFORMATION FROM WORDPRESS. Karsten Kryger Hansen Aalborg University Library

ENRICHING PRIMO RECORDS WITH INFORMATION FROM WORDPRESS. Karsten Kryger Hansen Aalborg University Library ENRICHING PRIMO RECORDS WITH INFORMATION FROM WORDPRESS Karsten Kryger Hansen Aalborg University Library AGENDA Who am I History and use case Information distribution Detour: HTML, JavaScript etc. in Primo

More information

COMP519 Web Programming Lecture 3: HTML (HTLM5 Elements: Part 1) Handouts

COMP519 Web Programming Lecture 3: HTML (HTLM5 Elements: Part 1) Handouts COMP519 Web Programming Lecture 3: HTML (HTLM5 Elements: Part 1) Handouts Ullrich Hustadt Department of Computer Science School of Electrical Engineering, Electronics, and Computer Science University of

More information

Lecture 4. Ruby on Rails 1 / 52

Lecture 4. Ruby on Rails 1 / 52 Lecture 4 Ruby on Rails 1 / 52 Homeworks 2 & 3 Grades were released for homework 2 Homework 3 was due last night Everyone got a style freebie since my default setup ignores spec files and I didn't change

More information

Pemrograman Web MVC Programming and Design Pattern. Dosen: Dr. Eng. Herman Tolle

Pemrograman Web MVC Programming and Design Pattern. Dosen: Dr. Eng. Herman Tolle Pemrograman Web MVC Programming and Design Pattern Dosen: Dr. Eng. Herman Tolle MVC Design Patterns Model View Controller (MVC) is an architecture that separates the representation of information from

More information

Introduction to PHP. Handling Html Form With Php. Decisions and loop. Function. String. Array

Introduction to PHP. Handling Html Form With Php. Decisions and loop. Function. String. Array Introduction to PHP Evaluation of Php Basic Syntax Defining variable and constant Php Data type Operator and Expression Handling Html Form With Php Capturing Form Data Dealing with Multi-value filed Generating

More information

Monetra Payment Software

Monetra Payment Software Monetra Payment Software Monetra PaymentFrame Guide Revision: 1.0 Publication date August 30, 2017 Copyright 2017 Main Street Softworks, Inc. Monetra PaymentFrame Guide Main Street Softworks, Inc. Revision:

More information

Hyper Text Markup Language

Hyper Text Markup Language Hyper Text Markup Language HTML is a markup language. It tells your browser how to structure the webpage. HTML consists of a series of elements, which you use to enclose, or mark up different parts of

More information

Chapter 7 BMIS335 Web Design & Development

Chapter 7 BMIS335 Web Design & Development Chapter 7 BMIS335 Web Design & Development Site Organization Use relative links to navigate between folders within your own site o Sometimes dividing your site into folders makes maintenance and updating

More information

Hyper Text Markup Language

Hyper Text Markup Language Hyper Text Markup Language HTML is a markup language. It tells your browser how to structure the webpage. HTML consists of a series of elements, which you use to enclose, or mark up different parts of

More information

Pulse 01 - The Best Way to Make Templates in Pulse (From.

Pulse 01 - The Best Way to Make Templates in Pulse (From. How to template Pulse 01 - The Best Way to Make Templates in Pulse (From https://youtu.be/p-nfrevab9m Pulse CMS uses a centrally located template system to render all pages. You can use the default theme,

More information

Let's Look Back. We talked about how to create a form in HTML. Forms are one way to interact with users

Let's Look Back. We talked about how to create a form in HTML. Forms are one way to interact with users Introduction to PHP Let's Look Back We talked about how to create a form in HTML Forms are one way to interact with users Users can enter information into forms which can be used by you (programmer) We

More information

Computer Science E-1. Understanding Computers and the Internet. Lecture 10: Website Development Wednesday, 29 November 2006

Computer Science E-1. Understanding Computers and the Internet. Lecture 10: Website Development Wednesday, 29 November 2006 Computer Science E-1 Understanding Computers and the Internet Lecture 10: Website Development Wednesday, 29 November 2006 David J. Malan malan@post.harvard.edu 1 Agenda Webservers Structure Permissions

More information

Slide 1. Chapter 5. How to use the MVC pattern to organize your code. 2010, Mike Murach & Associates, Inc. Murach's PHP and MySQL, C5

Slide 1. Chapter 5. How to use the MVC pattern to organize your code. 2010, Mike Murach & Associates, Inc. Murach's PHP and MySQL, C5 Slide 1 Chapter 5 How to use the MVC pattern to organize your code and MySQL, C5 Slide 2 Objectives Applied 1. Use the MVC pattern to develop your web applications. 2. Create and use functions that do

More information

Agenda. 1. Brief History of PHP. 2. Getting started. 3. Examples

Agenda. 1. Brief History of PHP. 2. Getting started. 3. Examples PHP An Introduction Agenda 1. Brief History of PHP 2. Getting started 3. Examples Brief History of PHP PHP (PHP: Hypertext Preprocessor) was created by Rasmus Lerdorf in 1994. It was initially developed

More information

Easy Authcache documentation

Easy Authcache documentation Easy Authcache documentation Contents Contents... 1 Description... 2 Advantages of module differs it from Authcache:... 2 Disadvantages of module differs it from Authcache:... 2 Installation... 2 Easy

More information

Asciidoctor Demo. Dan Allen

Asciidoctor Demo. Dan Allen Asciidoctor Demo Dan Allen Table of Contents 1. First Steps with AsciiDoc..................................................................... 1 1.1. Lists Upon Lists..........................................................................

More information

JUnit 3.8.1, 64. keep it simple stupid (KISS), 48

JUnit 3.8.1, 64. keep it simple stupid (KISS), 48 Index A accessor methods, 11, 152 add parameter technique, 189 190 add() method, 286 287, 291 algorithm, substituting, 104 105 AND logical operator, 172 architectural design patterns, 277 278 architecture,

More information

AGENDA. HTML CODING YOUR HOMEPAGE [ Part IV ] :: NAVIGATION <nav> :: CSS CODING FOR HOMEPAGE [ <nav> & child elements ] CLASS :: 13.

AGENDA. HTML CODING YOUR HOMEPAGE [ Part IV ] :: NAVIGATION <nav> :: CSS CODING FOR HOMEPAGE [ <nav> & child elements ] CLASS :: 13. :: DIGITAL IMAGING FUNDAMENTALS :: CLASS NOTES CLASS :: 13 04.26 2017 3 Hours AGENDA HTML CODING YOUR HOMEPAGE [ Part IV ] :: NAVIGATION home works

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

How to use PHP with a MySQL database

How to use PHP with a MySQL database Chapter 4 How to use PHP with a MySQL database The syntax for creating an object from any class new ClassName(arguments); The syntax for creating a database object from the PDO class new PDO($dsn, $username,

More information

PHP MVC Framework (CakePHP)

PHP MVC Framework (CakePHP) PHP MVC Framework (CakePHP) 안철수연구소최호진 2008-10-23 당신은누구십니까? Ruby On Rails 좀들어보신분 PHP 로잘개발해보실분 MVC 의중요성을아시는분 작은것파일럿으로해보신분 Why FRAMEWORK? 어느팀이나복잡해지면생기는것 MVC 개념은항상존재해왔다코딩스타일을일치개발절차까지정형화 Why CakePHP? PHP! Ruby

More information

Building Websites with Zend Expressive 3

Building Websites with Zend Expressive 3 Building Websites with Zend Expressive 3 Rob Allen, Nineteen Feet February 2018 ~ @akrabat A microframework with full stack components µframework core Router Container Template renderer Error handler Configuration

More information

Chapter 16 Mobile Web Page

Chapter 16 Mobile Web Page Sungkyunkwan University Chapter 16 Mobile Web Page Prepared by J. Jung and H. Choo Web Programming Copyright 2000-2018 Networking 2000-2012 Networking Laboratory Laboratory 1/26 Native App vs. Mobile Web

More information

CONTROLLING ASP.NET MVC 4

CONTROLLING ASP.NET MVC 4 www.twitter.com/telerik www.facebook.com/telerik CONTROLLING ASP.NET MVC 4 Philip Japikse (@skimedic) phil.japikse@telerik.com www.skimedic.com/blog MVP, MCSD.Net, MCDBA, CSM, CSP Agile Practices Evangelist,

More information

Using Visual Studio 2017

Using Visual Studio 2017 C H A P T E R 1 Using Visual Studio 2017 In this chapter, I explain the process for installing Visual Studio 2017 and recreate the Party Invites project from Chapter 2 of Pro ASP.NET Core MVC. As you will

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

Purpose of this doc. Most minimal. Start building your own portfolio page!

Purpose of this doc. Most minimal. Start building your own portfolio page! Purpose of this doc There are abundant online web editing tools, such as wordpress, squarespace, etc. This document is not meant to be a web editing tutorial. This simply just shows some minimal knowledge

More information

Manual Html Image Src Url Path Not Working

Manual Html Image Src Url Path Not Working Manual Html Image Src Url Path Not Working _img src="file:///absolute/path/to/rails-app/public/image.png" alt="blah" /_. However i obviously want a relative path instead. Where is the relative path going.

More information

django-baton Documentation

django-baton Documentation django-baton Documentation Release 1.0.7 abidibo Nov 13, 2017 Contents 1 Features 3 2 Getting started 5 2.1 Installation................................................ 5 2.2 Configuration...............................................

More information

Taming Wordpress Theming with Twig & Timber. Jonathan Ginn PHP Dorset Nov 2015

Taming Wordpress Theming with Twig & Timber. Jonathan Ginn PHP Dorset Nov 2015 Taming Wordpress Theming with Twig & Timber Jonathan Ginn (@jonginn) PHP Dorset Nov 2015 Twig Users? Audience? CRASH COURSE Twig The flexible, fast, and secure template engine for PHP You ve probably already

More information

CakePHP. Getting ready. Downloading CakePHP. Now that you have PHP installed let s create a place in htdocs for your CakePHP development:

CakePHP. Getting ready. Downloading CakePHP. Now that you have PHP installed let s create a place in htdocs for your CakePHP development: CakePHP Getting ready Now that you have PHP installed let s create a place in htdocs for your CakePHP development: [tblgrant@silo htdocs]$ pwd /u/tblgrant/apache/htdocs [tblgrant@silo htdocs]$ mkdir cakewalks

More information

Programming of web-based systems Introduction to HTML5

Programming of web-based systems Introduction to HTML5 Programming of web-based systems Introduction to HTML5 Agenda 1. HTML5 as XML 2. Basic body elements 3. Text formatting and blocks 4. Tables 5. File paths 6. Head elements 7. Layout elements 8. Entities

More information

Save Our Sweeties. CS 008 Introduction to World Wide Web Design. Christopher Thomas Suitor, Nana Namiko, Kieran Edraney

Save Our Sweeties. CS 008 Introduction to World Wide Web Design. Christopher Thomas Suitor, Nana Namiko, Kieran Edraney CS 008 Introduction to World Wide Web Design Christopher Thomas, Nana Namiko, Kieran Edraney Assignment: CS008 Final Project Save Our Sweeties Version Table Of Contents Time Log 3 Introduction 5

More information

Summary. 1. Page 2. Methods 3. Helloworld 4. Translation 5. Layout a. Object b. Table 6. Template 7. Links. Helloworld. Translation Layout.

Summary. 1. Page 2. Methods 3. Helloworld 4. Translation 5. Layout a. Object b. Table 6. Template 7. Links. Helloworld. Translation Layout. Development 1 Summary 1. 2. 3. 4. 5. a. Object b. Table 6. 7. 2 To create a new page you need: 1. Create a file in the folder pages 2. Develop a class which extends the object Note: 1 = 1 Class 3 When

More information

Making the World a Better Place Version <1.4>

Making the World a Better Place Version <1.4> CS 008 Introduction to World Wide Web Design Sean Flynn Assignment: Making the World a Better Place (1.4) Making the World a Better Place Version Table Of Contents Time Log 3 Introduction 4 Purpose

More information

Meta Tag. Add metadata to your web pages by placing <meta> tags inside the header of the document which is represented by <head> and </head> tags.

Meta Tag. Add metadata to your web pages by placing <meta> tags inside the header of the document which is represented by <head> and </head> tags. Meta Tag Description: The tag provides metadata (Metadata is data that describes other data which is there in the webpage or website) about the HTML document. Metadata will not be displayed on the

More information

Part A Short Answer (50 marks)

Part A Short Answer (50 marks) Part A Short Answer (50 marks) NOTE: Answers for Part A should be no more than 3-4 sentences long. 1. (5 marks) What is the purpose of HTML? What is the purpose of a DTD? How do HTML and DTDs relate to

More information

Monetra Payment Software

Monetra Payment Software Monetra Payment Software PaymentFrame Guide Revision: 1.2 Publication date March 28, 2018 Copyright 2018 Main Street Softworks, Inc. PaymentFrame Guide Main Street Softworks, Inc. Revision: 1.2 Publication

More information

Session 5. Web Page Generation. Reading & Reference

Session 5. Web Page Generation. Reading & Reference Session 5 Web Page Generation 1 Reading Reading & Reference https://en.wikipedia.org/wiki/responsive_web_design https://www.w3schools.com/css/css_rwd_viewport.asp https://en.wikipedia.org/wiki/web_template_system

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

AGENDA :: MULTIMEDIA TOOLS :: CLASS NOTES. INSTALLING FONTS :: Download, Install, & Embed Your Fonts. LECTURE :: Responsive Web Design [RWD]

AGENDA :: MULTIMEDIA TOOLS :: CLASS NOTES. INSTALLING FONTS :: Download, Install, & Embed Your Fonts. LECTURE :: Responsive Web Design [RWD] CLASS :: 14 05.05 2017 3 Hours AGENDA INSTALLING FONTS :: Download, Install, & Embed Your Fonts LECTURE :: Responsive Web Design [RWD] DOWNLOAD ASSETS [ CSS ] :: Media Query [rwd.css] ADD HTML META TAG

More information

Mobile Site Development

Mobile Site Development Mobile Site Development HTML Basics What is HTML? Editors Elements Block Elements Attributes Make a new line using HTML Headers & Paragraphs Creating hyperlinks Using images Text Formatting Inline styling

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

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013 Basic HTML Lecture 14 Robb T. Koether Hampden-Sydney College Wed, Feb 20, 2013 Robb T. Koether (Hampden-Sydney College) Basic HTML Wed, Feb 20, 2013 1 / 36 1 HTML 2 HTML File Structure 3 HTML Elements

More information

Melis Platform V2. Front-Office. Create a website. Content: Date Version 2.0

Melis Platform V2. Front-Office. Create a website. Content: Date Version 2.0 4, rue du Dahomey 75011 Paris, France (+33) 972 386 280 Melis Platform V2 Front-Office Create a website Content: This document explains how to create a website using Melis Platform V2. It will go through

More information

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013 Basic HTML Lecture 14 Robb T. Koether Hampden-Sydney College Wed, Feb 20, 2013 Robb T. Koether (Hampden-Sydney College) Basic HTML Wed, Feb 20, 2013 1 / 26 1 HTML 2 HTML File Structure 3 HTML Elements

More information

PHP WITH ANGULAR CURRICULUM. What you will Be Able to Achieve During This Course

PHP WITH ANGULAR CURRICULUM. What you will Be Able to Achieve During This Course PHP WITH ANGULAR CURRICULUM What you will Be Able to Achieve During This Course This course will enable you to build real-world, dynamic web sites. If you've built websites using plain HTML, you realize

More information

Basic PHP Lecture 17

Basic PHP Lecture 17 Basic PHP Lecture 17 Robb T. Koether Hampden-Sydney College Fri, Feb 24, 2012 Robb T. Koether (Hampden-Sydney College) Basic PHPLecture 17 Fri, Feb 24, 2012 1 / 30 1 PHP 2 Basic PHP 3 The Extended echo

More information

Understanding Page Template Components. Brandon Scheirman Instructional Designer, OmniUpdate

Understanding Page Template Components. Brandon Scheirman Instructional Designer, OmniUpdate Understanding Page Template Components Brandon Scheirman Instructional Designer, OmniUpdate Where do PCFs come from??.pcf .PCF Agenda Implementation Process Terminology used in Template Development Hands-on

More information

Stamp Builder. Documentation. v1.0.0

Stamp  Builder. Documentation.   v1.0.0 Stamp Email Builder Documentation http://getemailbuilder.com v1.0.0 THANK YOU FOR PURCHASING OUR EMAIL EDITOR! This documentation covers all main features of the STAMP Self-hosted email editor. If you

More information

The connection has timed out

The connection has timed out 1 of 7 2/17/2018, 7:46 AM Mukesh Chapagain Blog PHP Magento jquery SQL Wordpress Joomla Programming & Tutorial HOME ABOUT CONTACT ADVERTISE ARCHIVES CATEGORIES MAGENTO Home» PHP PHP: CRUD (Add, Edit, Delete,

More information

Accelerated Mobile Pages v1.x Configuration for Magento 1 From Plumrocket Documentation

Accelerated Mobile Pages v1.x Configuration for Magento 1 From Plumrocket Documentation Accelerated Mobile Pages v1.x Configuration for Magento 1 From Plumrocket Documentation Contents 1. Configuring Accelerated Mobile Pages 2. AMP Home Page Configuration 2.1. Setting AMP Category Images

More information

XML Based Learning System. Abstract. Scope of Project. Design Overview

XML Based Learning System. Abstract. Scope of Project. Design Overview Proceedings of Student/Faculty Research Day, CSIS, Pace University, May 7th, 2004 XML Based Learning System Prashant Karmarkar, Alexander Roda, Brendan Nolan Abstract The system will allow an XML class

More information

1061SMAP12 TLMXM1A (8648) (M2143) (Fall 2017) (MIS MBA) (2 Credits, Elective) [Full English Course] Fri 8,9 (15:10-17:00) B206

1061SMAP12 TLMXM1A (8648) (M2143) (Fall 2017) (MIS MBA) (2 Credits, Elective) [Full English Course] Fri 8,9 (15:10-17:00) B206 Tamkang University Social Media Apps Programming Google Map API 1061SMAP12 TLMXM1A (8648) (M2143) (Fall 2017) (MIS MBA) (2 Credits, Elective) [Full English Course] Fri 8,9 (15:10-17:00) B206 Min-Yuh Day,

More information

Adding a RSS Feed Custom Widget to your Homepage

Adding a RSS Feed Custom Widget to your Homepage Adding a RSS Feed Custom Widget to your Homepage The first, and often hardest, task is to decide which blog or news source you wish to bring into your Avenue course. Once you have selected a blog or news

More information

Basic HTML Lecture 14

Basic HTML Lecture 14 Basic HTML Lecture 14 Robb T. Koether Hampden-Sydney College Fri, Feb 17, 2012 Robb T. Koether (Hampden-Sydney College) Basic HTMLLecture 14 Fri, Feb 17, 2012 1 / 25 1 HTML 2 HTML File Structure 3 Headings

More information

Making the World a Better Place

Making the World a Better Place CS 008 Introduction to World Wide Web Design Sean Flynn Assignment: Making the World a Better Place (1.5) Making the World a Better Place Table Of Contents Time Log 2 Introduction 3 Purpose 3 Definitions,

More information

Cookies and S essions 323

Cookies and S essions 323 Cookies and Sessions 9 The Hypertext Transfer Protocol (HTTP) is a stateless technology, meaning that each individual HTML page is an unrelated entity. HTTP has no method for tracking users or retaining

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

Introduction to Computer Science Web Development

Introduction to Computer Science Web Development Introduction to Computer Science Web Development Flavio Esposito http://cs.slu.edu/~esposito/teaching/1080/ Lecture 14 Lecture outline Discuss HW Intro to Responsive Design Media Queries Responsive Layout

More information

CSCI 4000 Assignment 5

CSCI 4000 Assignment 5 Austin Peay State University, Tennessee Spring 2016 CSCI 4000: Advanced Web Development Dr. Leong Lee CSCI 4000 Assignment 5 Total estimated time for this assignment: 12 hours (if you are a good programmer)

More information

Sections and Articles

Sections and Articles Advanced PHP Framework Codeigniter Modules HTML Topics Introduction to HTML5 Laying out a Page with HTML5 Page Structure- New HTML5 Structural Tags- Page Simplification HTML5 - How We Got Here 1.The Problems

More information