DESIGNING HTML HELPERS TO OPTIMIZE WEB APPLICATION DEVELOPMENT
|
|
|
- Lindsay Pierce
- 9 years ago
- Views:
Transcription
1 Abstract DESIGNING HTML HELPERS TO OPTIMIZE WEB APPLICATION DEVELOPMENT Dragos-Paul Pop 1 Building a web application or a website can become difficult, just because so many technologies are involved. Generally companies tend to people that work in teams to develop web applications. These teams are made up of professionals that focus on different technologies, such as CGI, HTML, JavaScript, CSS and databases. When the work of many people gathers to make up a single document there is often a mismatch between parts of code written by different team members. This article focuses on improving this matter by bringing consistency in code through the use of HTML helpers in server-side scripting languages. The examples in this article use PHP as the serverside language, but the model can be applied in any other language a developer works with. Keywords: HTML, CGI, Helper, OOP, code generation JEL Classification: L86 Introduction From its invention around 20 years ago, the World Wide Web has known one of the highest ascensions of all computer technologies. Most jobs put on the market by companies are web development related and most IT students tend to go the web way. We must admit that web development has somewhat of a bigger attraction than other IT technologies, mainly because it is easier to learn and lets people be more creative. Little effort is required to create a web page and most students are attracted by this fact. But there is a catch. Web development includes quite a lot of technologies and although getting started is easy, the learning curve gets steeper once people need to develop more complex websites or applications. When speaking of the web we include a lot of technologies. Web applications follow a client-server model and the World Wide Web is not a proprietary system. Actually, the system is just a way of interlinking hypertext documents and accessing them via the Internet. Several protocols have been design to accomplish this and there is a governing body that develops standards for the web. This body is known as the World Wide Web Consortium (or W3C) and is not a company, but a standards organization. This means that its goal is not profit. The W3C is made up of 317 organizations and includes all the great IT companies and corporations, like Microsoft, Apple, Mozilla, Yahoo, Google, IBM, HP and so on. The W3C is responsible of many web standards, like (X)HTML, CSS, XML and so on. 1 Ph.D. Student at the Academy of Economic Studies and Teaching Assistant at the Romanian-American University, Bucharest, Romania; [email protected]
2 I mentioned earlier that the web follows a client-server model. The W3C is responsible for the most important standards that technologies running on the client side should follow, like HTML, CSS, XML and the DOM, to name some of the most important. There are other client side technologies that are not governed by W3C like JavaScript, Flash and Silverlight. JavaScript follows the ECMA Script standard ruled by Ecma International. Flash is developed by Adobe and Silverlight by Microsoft. All the client side technologies are used to build hypertext documents that are interpreted by a web browser and presented to the end user. This is also an application that runs on the client machine. Browsers are diverse and are built by various companies and organizations. Microsoft makes the infamous Internet Explorer. Mozilla makes Firefox. Apple builds Safari and Google develops Chrome. We also have Opera, Konqueror and many more others. These are the most popular browsers people use on the Internet today. There is also a server side to the web application model. This is where the documents and all the information are stored. There are a lot of technologies for the server side too. These are used to store, access, fetch and build all the documents and information needed by the client. The application that handles document storage, retrieval and access is the server software. There are many server applications used today, but two of them stand out as the most used: the Apache Web server and Microsoft s Internet Information Services. On top of file management functions, these applications allow running scripts. This is where the CGI technology comes in. It is used to make websites and web applications more dynamic. It actually gives a developer a way to build hypertext documents on the fly, based on what information the user requested. These technologies allow data to be stored in databases. Scripting technologies include PHP, ASP, Java, Perl, Python, Ruby, Cold Fusion and a lot more. The problem Most hypertext documents residing on the server are dynamic. That means they will actually go through a CGI application on the server before being fed to the client. This allows for programming logic to be inserted in these documents. Often times, these documents, or scripts, tend to contain a mix of different types of code: HTML, CSS, JavaScript and CGI. CSS and JavaScript code can be taken out of the main document and put into different files, but server-side scripting code cannot. This leaves developers with files that contain two types of code. CGI languages give an option to require and include code from other files. This gives a way of separating logic from content even further. Still, a lot of the static HTML code needs to be generated by CGI, like tables, forms, lists and so on. This becomes a burden on the CGI developer, because he needs to focus on two technologies and have two types of code in his files. It also becomes a burden for the client side developer, because he needs to work with HTML code generated by the CGI developer. Many times table, form, list and other markup generated by the CGI programmer tends to be inconsistent across pages.
3 A typical portion of a server-side scripting file looks like the code snippet below. It generates a list of items that are used as a navigation menu. <ul style="border: thin slid black"> <?php if(isset($_session['user'])) echo "<li><a href='logout.php'>logout</a></li>";?> <?php if(isset($_session['user'])) echo "<li><a href='cont.php'>my ACCOUNT</a></li>"; else echo "<li><a href='login.php'>login</a></li>";?> <li><a href="cart.php" onclick= goto( wherever ); return false; >BASKET</a></li> <li><a href="contact.php">contact</a></li> <li><a href="galerie.php">gallery</a></li> <li><a href="faq.php">faq</a></li> <li><a href="despre.php">about</a></li> </ul> We can see that HTML, PHP, JavaScript and CSS code is intertwined. This style of programming gives headaches. The solution A way of solving the above problem is to build special pieces of code (mainly classes, for CGI languages that allow an object oriented programming style) that will be used to generate markup code. This way, the markup is no longer a burden on either the serverside developer or the client-side developer. On the client side, JavaScript provides a way of doing just this by using special methods and interacting with the DOM (document object model). This means that developers can use JavaScript to build and insert or modify HTML elements. It is as easy as calling the createelement function and passing it the type of HTML element to be built. The function returns a reference to a newly built object and then properties of it can be modified. The newly created element can then be inserted anywhere in the document. Similarly an existing element can be fetched and modified. Server-side scripting languages don t usually have functions that provide this functionality. But it can be built by the developer. The HTMLElement class The proposed model borrows heavily from JavaScript to help the developer build HTML elements and work with them. It is provides methods for creating elements, adding, removing and changing attributes, inner code and child nodes. Basically it is a DOM manipulation class. The listing of the class follows bellow with a detailed explanation of each method defined. class HtmlElement {
4 The class properties or attributes are: the element itself (this is a string and represents the name of the HTML tag; egg.: a, p, div, form, table etc.) a collection of attributes for the element (this is an array with key-value pairs representing the attribute name and attribute value; egg.: id-element1, class-error etc.) the inner HTML value of the element that is found between the opening and closing tags of the element; this could be plain text or HTML a collection of children of the current element; this is an array of other instances of this class the parent of the current element; represents an instance of the same class; crucial for DOM manipulation purposes finally the HTML code representation of the element, its attributes and children public $element = ""; private $attributes = array(); public $innerhtml = ""; public $children = array(); public $parent = NULL; private $code = ""; The construct function is the class constructor and takes none or one or two arguments: the element (the tag) and an array of initial attributes. public function construct($element="", $attributes = NULL) { if(!empty($element)) $this->element = $element; if(!empty($attributes)) $this->attributes = $attributes; The four functions bellow are part of PHP s magic methods. These are used to create and manage dynamic properties for a class instance. There are getters and setter for dynamic properties, as well as a destroyer and a checker. All of them work with the attributes property of the class, adding, fetching, checking or destroying certain key-value pairs. public function get($attribute) { if (array_key_exists($attribute, $this->attributes)) return $this->attributes[$attribute]; public function set($attribute, $value) { $this->attributes[$attribute] = $value; public function unset($attribute) { if (array_key_exists($attribute, $this->attributes)) unset($this->attributes[$attribute]);
5 public function isset($attribute) { return array_key_exists($attribute, $this->attributes); A usage example for the above methods is as follows: //creating a new instance of the class $paragraph = new HTMLElement(); //setting a known property $paragraph->element = "p"; //dynamically adding a first property $paragraph->id = "first_paragraph"; //dynamically adding a second property $paragraph->align = "left"; The next method creates the HTML code representation of the object. Basically it creates the code property. It begins with the opening tag, adds the attributes and, if the element has a closing tag, adds the children code and the closing tag. private function make_code() { if($this!=null) { $code ="<"; $code.= $this->element; $code.= $this->add_attributes_code(); if($this->end_tag()) { $code.= ">";//\n"; $code.= $this->innerhtml; $code.= $this->add_children_code(); $code.= "</"; $code.= $this->element; $code.= ">";//\n"; else $code.= " />";//\n"; $this->code = full_trim($code); else $this->code = ''; The add_child method receives an instance of this class and adds it as a child to the current element, by appending it at the back of the children array. Also, the child element gets its parent set to the current element to provide DOM accessibility. public function add_child($child) { if ($child instanceof HtmlElement) { $this->children[] = $child; $child->parent = $this;
6 For better DOM manipulation there are two more methods for adding children. The add_child_after, that adds an instance of the class after a certain child that has the id property provided as the first argument, and prepend_child that does what the name suggests. public function add_child_after($neighbour_id, $child) { if($child instanceof HtmlElement) { foreach ($this->children as $key=>$kid) { if($kid->id == $neighbour_id) { array_splice( $this->children, $key, 1, array($kid, $child) ); public function prepend_child($child) { if ($child instanceof HtmlElement) { array_unshift($this->children,$child); The following function generates a string that represents the attributes of the current element and their values. private function add_attributes_code() { $code = ""; if(!empty($this->attributes)) foreach ($this->attributes as $attr=>$val) $code.= ' '.trim($attr).'="'.trim($val).'" '; return $code; An important method is found just below. It provides a way of generating the HTML representation of the children of the current element. It actually calls each child s own make_code method and appends the string to the return value. private function add_children_code() { $code = ""; foreach($this->children as $child) { $code.= $child->code(); return $code; The code method provides a more accessible and friendly way of accessing the element s code attribute. public function code() {
7 $this->make_code(); return full_trim($this->code); The next method return true or false depending on whether the element has an ending tag or not. It just uses a switch statement based on W3C HTML standard tags. private function end_tag() { switch ($this->element) { case "img" : case "input" : case "area" : case "base" : case "br" : case "col" : case "frame" : case "hr" : case "link" : case "meta" : case "param" : return false; return true; The last methods are DOM accessing methods. They are used to get references to certain children of the current elements. The developer can search for a child by its ID or by a certain property-value pair. References to multiple children can also be returned by searching for a certain tag or common property-value pairs. public function get_child_by_id($id) { if($this->id == $id) return $this; foreach ($this->children as $child) if($el = $child->get_child_by_id($id)) return $el; return false; public function get_children_by_property($prop, $val) { $res = array(); if($this->$prop == $val) { return $this; foreach ($this->children as $child) { $el = $child->get_children_by_property($prop, $val); if(is_object($el)) array_push($res,$el); elseif(!empty($el)) foreach($el as $e) array_push($res,$e);
8 return $res; public function get_child_by_property($prop, $val) { $kids = HtmlElement::get_children_by_property($prop, $val); if($n = count($kids)) return $kids[$n-1]; else return NULL; public function get_children_by_tag_name($tag) { $res = array(); if($this->element == $tag) { return $this; foreach ($this->children as $child) { $el = $child->get_children_by_tag_name($tag); if(is_object($el)) array_push($res,$el); elseif(!empty($el)) foreach($el as $e) array_push($res,$e); return $res; Basic usage of the class is given in the examples bellow. A new HTML Form element is created and attributes are set. Then several other elements are created and used to populate the form. $form = new Form(); $form->enctype="multipart/form-data"; $form->class = "edit_avatar"; $form->method = "post"; $form->action = "cont/edit/avatar"; $fieldset = new HtmlElement("fieldset"); $legend = new HtmlElement("legend"); $legend->innerhtml = "Change avatar: "; $fieldset->add_child($legend); $avatar = new HtmlElement("input", array("type"=>"file", "name"=>"avatar", "id"=>"avatar")); $label = new HtmlElement("label", array("for"=>"avatar")); $label->innerhtml = "Avatar: "; $desc = new HtmlElement("span", array("class" => "description", "id" => "avatar_desc")); $desc->innerhtml = "The file must be jpeg or gif with a size of maximum 100 KB"; $div = new HtmlElement("div", array("class"=>"fieldline"));
9 $hidden = new HtmlElement("input", array("type"=>"hidden", "name"=>"max_file_size", "value"=>"300000")); $div->add_child($hidden); $div->add_child($label); $div->add_child($avatar); $div->add_child($desc); $fieldset->add_child($div); $submit = new HtmlElement("input", array("type"=>"submit","value"=>"change")); $div = new HtmlElement("div", array("class"=>"submit fieldline")); $div->add_child($submit); $fieldset->add_child($div); $form->add_child($fieldset); After the developer runs the code method on the newly created element he gets the following HTML string: <form enctype="multipart/form-data" class="edit_avatar" method="post" action="cont/edit/avatar" > <fieldset> <legend>change avatar: </legend> <div class="fieldline" > <input type="hidden" name="max_file_size" value="300000" /> <label for="avatar" >Avatar: </label> <input type="file" name="avatar" id="avatar" /> <span class="description" id="avatar_desc" > The file must be jpeg or gif with a size of maximum 100 KB </span> </div> <div class="submit fieldline" > <input type="submit" value="change" /> </div> </fieldset> </form> Conclusion Length of code might not be the biggest gain at first sight (although it will be after extending the class to create specialized Form and Table classes, as discussed in future articles), but DOM like manipulation is. The model also provides a way of taking HTML code out of scripting files for a more consistent look and feel of the code. Acknowledgement This work was co-financed from the European Social Fund through Sectorial Operational Program Human Resources Development , project number POSDRU/107/1.5/S/77213 Ph.D. for a career in interdisciplinary economic research at the European standards Bibliography
10 1. Zend Framework in Action, Rob Allen, Nick Lo, Steven Brown; Manning Publications; 1 edition (January 4, 2009), ISBN-13: Zend Framework 1.8 Web Application Development, Keith Pope; Packt Publishing (October 26, 2009), ISBN-13: PHP Object-Oriented Solutions, David Powers; friendsofed; 1 edition (August 21, 2008), ISBN-13: Beginning ASP.NET 4: in C# and VB (Wrox Programmer to Programmer), Imar Spaanjaars; Wrox; 1 edition (March 22, 2010), ISBN-13: Pro ASP.NET 4 in C# 2010, Matthew MacDonald, Adam Freeman; Apress; 4 edition (June 30, 2010), ISBN-13: Professional ASP.NET MVC 3 (Wrox Programmer to Programmer), Jon Galloway, Phil Haack, Brad Wilson, K. Scott Allen; Wrox; 1 edition (August 9, 2011), ISBN-13:
A MODEL FOR THE AUTOMATION OF HTML FORM CREATION AND VALIDATION. Keywords: html, form, web, automation, validation, class, model.
A MODEL FOR THE AUTOMATION OF HTML FORM CREATION AND VALIDATION Abstract Dragos-Paul Pop 1 Adam Altar 2 Forms are an essential part of web applications, but handling large forms proves to be very time
Server-Side Scripting and Web Development. By Susan L. Miertschin
Server-Side Scripting and Web Development By Susan L. Miertschin The OOP Development Approach OOP = Object Oriented Programming Large production projects are created by teams Each team works on a part
IT3503 Web Development Techniques (Optional)
INTRODUCTION Web Development Techniques (Optional) This is one of the three optional courses designed for Semester 3 of the Bachelor of Information Technology Degree program. This course on web development
ICAWEB502A Create dynamic web pages
ICAWEB502A Create dynamic web pages Release: 1 ICAWEB502A Create dynamic web pages Modification History Release Release 1 Comments This Unit first released with ICA11 Information and Communications Technology
A Comparative Study of Web Development Technologies Using Open Source and Proprietary Software
Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology IJCSMC, Vol. 4, Issue. 2, February 2015,
XHTML Forms. Form syntax. Selection widgets. Submission method. Submission action. Radio buttons
XHTML Forms Web forms, much like the analogous paper forms, allow the user to provide input. This input is typically sent to a server for processing. Forms can be used to submit data (e.g., placing an
Short notes on webpage programming languages
Short notes on webpage programming languages What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language is a set of
CSCI110: Examination information.
CSCI110: Examination information. The exam for CSCI110 will consist of short answer questions. Most of them will require a couple of sentences of explanation of a concept covered in lectures or practical
IT3504: Web Development Techniques (Optional)
INTRODUCTION : Web Development Techniques (Optional) This is one of the three optional courses designed for Semester 3 of the Bachelor of Information Technology Degree program. This course on web development
GLEN RIDGE PUBLIC SCHOOLS MATHEMATICS MISSION STATEMENT AND GOALS
Course Title: Advanced Web Design Subject: Mathematics / Computer Science Grade Level: 9-12 Duration: 0.5 year Number of Credits: 2.5 Prerequisite: Grade of A or higher in Web Design Elective or Required:
Web Pages. Static Web Pages SHTML
1 Web Pages Htm and Html pages are static Static Web Pages 2 Pages tagged with "shtml" reveal that "Server Side Includes" are being used on the server With SSI a page can contain tags that indicate that
PHP Tutorial From beginner to master
PHP Tutorial From beginner to master PHP is a powerful tool for making dynamic and interactive Web pages. PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.
Web Design Technology
Web Design Technology Terms Found in web design front end Found in web development back end Browsers Uses HTTP to communicate with Web Server Browser requests a html document Web Server sends a html document
ASP.NET. Web Programming. Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics
Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Hans- Petter Halvorsen, 2014.03.01 ASP.NET Web Programming Faculty of Technology, Postboks 203,
Introduction to web development
Santiago Canyon College CIS-132: Introduction to JavaScript Lesson 1 Introduction to web development (Chapter 1 in Murach s JavaScript & DOM Scripting textbook) Slide 1 Objectives Applied Load a web page
JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK
Programming for Digital Media EE1707 JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK 1 References and Sources 1. DOM Scripting, Web Design with JavaScript
It is highly recommended that you are familiar with HTML and JavaScript before attempting this tutorial.
About the Tutorial AJAX is a web development technique for creating interactive web applications. If you know JavaScript, HTML, CSS, and XML, then you need to spend just one hour to start with AJAX. Audience
OIT 307/ OIT 218: Web Programming
OIT 307/ OIT 218: Web Programming 1.0 INTRODUCTION Many applications nowadays work really well as a web application. Web programming is the practice of writing applications that run on a web server and
DIPLOMA IN WEBDEVELOPMENT
DIPLOMA IN WEBDEVELOPMENT Prerequisite skills Basic programming knowledge on C Language or Core Java is must. # Module 1 Basics and introduction to HTML Basic HTML training. Different HTML elements, tags
Lesson Overview. Getting Started. The Internet WWW
Lesson Overview Getting Started Learning Web Design: Chapter 1 and Chapter 2 What is the Internet? History of the Internet Anatomy of a Web Page What is the Web Made Of? Careers in Web Development Web-Related
Web Development. How the Web Works 3/3/2015. Clients / Server
Web Development WWW part of the Internet (others: Email, FTP, Telnet) Loaded to a Server Viewed in a Browser (Client) Clients / Server Client: Request & Render Content Browsers, mobile devices, screen
Release: 1. ICAWEB414A Design simple web page layouts
Release: 1 ICAWEB414A Design simple web page layouts ICAWEB414A Design simple web page layouts Modification History Release Release 1 Comments This Unit first released with ICA11 Information and Communications
Dreamweaver CS5. Module 2: Website Modification
Dreamweaver CS5 Module 2: Website Modification Dreamweaver CS5 Module 2: Website Modification Last revised: October 31, 2010 Copyrights and Trademarks 2010 Nishikai Consulting, Helen Nishikai Oakland,
Chapter 1. Introduction to web development
Chapter 1 Introduction to web development HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 1 Objectives Applied 1. Load a web page from the Internet or an intranet into a web browser.
ScienceDirect. Designing an MVC Model for Rapid Web Application Development
Available online at www.sciencedirect.com ScienceDirect Procedia Engineering 69 ( 2014 ) 1172 1179 24th DAAAM International Symposium on Intelligent Manufacturing and Automation, 2013 Designing an MVC
A review and analysis of technologies for developing web applications
A review and analysis of technologies for developing web applications Asha Mandava and Solomon Antony Murray state University Murray, Kentucky Abstract In this paper we review technologies useful for design
Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation
Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation Credit-By-Assessment (CBA) Competency List Written Assessment Competency List Introduction to the Internet
Internet Technologies_1. Doc. Ing. František Huňka, CSc.
1 Internet Technologies_1 Doc. Ing. František Huňka, CSc. Outline of the Course 2 Internet and www history. Markup languages. Software tools. HTTP protocol. Basic architecture of the web systems. XHTML
Introduction to web development and JavaScript
Objectives Chapter 1 Introduction to web development and JavaScript Applied Load a web page from the Internet or an intranet into a web browser. View the source code for a web page in a web browser. Knowledge
Web Development News, Tips and Tutorials
Web Development News, Tips and Tutorials In this section I will try to explain what we could and how we maybe helpful for your company and online business. The purpose of this site is to show what we had
Release 1. ICAPRG604A Create cloud computing services
Release 1 ICAPRG604A Create cloud computing services ICAPRG604A Create cloud computing services Modification History Release Release 1 Comments This version first released with ICA11 Information and Communications
Certified PHP/MySQL Web Developer Course
Course Duration : 3 Months (120 Hours) Day 1 Introduction to PHP 1.PHP web architecture 2.PHP wamp server installation 3.First PHP program 4.HTML with php 5.Comments and PHP manual usage Day 2 Variables,
Software Requirements Specification For Real Estate Web Site
Software Requirements Specification For Real Estate Web Site Brent Cross 7 February 2011 Page 1 Table of Contents 1. Introduction...3 1.1. Purpose...3 1.2. Scope...3 1.3. Definitions, Acronyms, and Abbreviations...3
Web Application Development
L i m n o r S t u d i o U s e r s G u i d e P a g e 1 Web Application Development Last update: January 29, 2015 Contents Introduction... 3 Create a project for web application... 3 Select Web Application
Fig (1) (a) Server-side scripting with PHP. (b) Client-side scripting with JavaScript.
Client-Side Dynamic Web Page Generation CGI, PHP, JSP, and ASP scripts solve the problem of handling forms and interactions with databases on the server. They can all accept incoming information from forms,
Next Generation Lab. A solution for remote characterization of analog integrated circuits
Next Generation Lab A solution for remote characterization of analog integrated circuits Background Goals Technologies Physical architecture Software architecture Conclusion Outline Background Based on
Web Programming Languages Overview
Web Programming Languages Overview Thomas Powell [email protected] Web Programming in Context Web Programming Toolbox ActiveX Controls Java Applets Client Side Helper Applications Netscape Plug-ins Scripting
Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence
Web Development Owen Sacco ICS2205/ICS2230 Web Intelligence Brief Course Overview An introduction to Web development Server-side Scripting Web Servers PHP Client-side Scripting HTML & CSS JavaScript &
4 Understanding. Web Applications IN THIS CHAPTER. 4.1 Understand Web page development. 4.2 Understand Microsoft ASP.NET Web application development
4 Understanding Web Applications IN THIS CHAPTER 4.1 Understand Web page development 4.2 Understand Microsoft ASP.NET Web application development 4.3 Understand Web hosting 4.4 Understand Web services
Web Cloud Architecture
Web Cloud Architecture Introduction to Software Architecture Jay Urbain, Ph.D. [email protected] Credits: Ganesh Prasad, Rajat Taneja, Vikrant Todankar, How to Build Application Front-ends in a Service-Oriented
By : Khalid Alfalqi Department of Computer Science, Umm Al-Qura University
By : Khalid Alfalqi Department of Computer Science, Umm Al-Qura University History of Web History of the Internet Basic Web System Architecture URL DNS Creating Static and Dynamic Information Security
Web application development landscape: technologies and models
Web application development landscape: technologies and models by Andrea Nicchi Relatore: Prof. Antonio CISTERNINO Controrelatore: Prof. Giuseppe ATTARDI WEB APPLICATION an Information System providing
Web Programming. Robert M. Dondero, Ph.D. Princeton University
Web Programming Robert M. Dondero, Ph.D. Princeton University 1 Objectives You will learn: The fundamentals of web programming... The hypertext markup language (HTML) Uniform resource locators (URLs) The
Web Development using PHP (WD_PHP) Duration 1.5 months
Duration 1.5 months Our program is a practical knowledge oriented program aimed at learning the techniques of web development using PHP, HTML, CSS & JavaScript. It has some unique features which are as
Developing Your School Website
Developing Your School Website Why do you need a website Determining website requirements Developing the website Ongoing maintenance of the site Why does your school need a website? Promotion and status
COURSE CONTENT FOR WINTER TRAINING ON Web Development using PHP & MySql
COURSE CONTENT FOR WINTER TRAINING ON Web Development using PHP & MySql 1 About WEB DEVELOPMENT Among web professionals, "web development" refers to the design aspects of building web sites. Web development
CSE 203 Web Programming 1. Prepared by: Asst. Prof. Dr. Maryam Eskandari
CSE 203 Web Programming 1 Prepared by: Asst. Prof. Dr. Maryam Eskandari Outline Basic concepts related to design and implement a website. HTML/XHTML Dynamic HTML Cascading Style Sheets (CSS) Basic JavaScript
Web Design and Development ACS-1809
Web Design and Development ACS-1809 Chapter 1 9/9/2015 1 Pre-class Housekeeping Course Outline Text book : HTML A beginner s guide, Wendy Willard, 5 th edition Work on HTML files On Windows PCs Tons of
ERIE COMMUNITY COLLEGE COURSE OUTLINE A. COURSE TITLE: CS 103 - WEB DEVELOPMENT AND PROGRAMMING FUNDAMENTALS
ERIE COMMUNITY COLLEGE COURSE OUTLINE A. COURSE TITLE: CS 103 - WEB DEVELOPMENT AND PROGRAMMING FUNDAMENTALS B. CURRICULUM: Mathematics / Computer Science Unit Offering C. CATALOG DESCRIPTION: (N,C,S)
This document is for informational purposes only. PowerMapper Software makes no warranties, express or implied in this document.
SortSite 5 User Manual SortSite 5 User Manual... 1 Overview... 2 Introduction to SortSite... 2 How SortSite Works... 2 Checkpoints... 3 Errors... 3 Spell Checker... 3 Accessibility... 3 Browser Compatibility...
Further web design: HTML forms
Further web design: HTML forms Practical workbook Aims and Learning Objectives The aim of this document is to introduce HTML forms. By the end of this course you will be able to: use existing forms on
AJAX The Future of Web Development?
AJAX The Future of Web Development? Anders Moberg (dit02amg), David Mörtsell (dit01dml) and David Södermark (dv02sdd). Assignment 2 in New Media D, Department of Computing Science, Umeå University. 2006-04-28
10CS73:Web Programming
10CS73:Web Programming Question Bank Fundamentals of Web: 1.What is WWW? 2. What are domain names? Explain domain name conversion with diagram 3.What are the difference between web browser and web server
How IBM is making Web applications more accessible with WAI-ARIA
How IBM is making Web applications more accessible with WAI-ARIA David Todd IBM Human Ability & Accessibility Center [email protected] 2008 IBM Corporation Overview How IBM Web applications notify screen
ERIE COMMUNITY COLLEGE COURSE OUTLINE A. COURSE NUMBER CS 215 - WEB DEVELOPMENT & PROGRAMMING I AND TITLE:
ERIE COMMUNITY COLLEGE COURSE OUTLINE A. COURSE NUMBER CS 215 - WEB DEVELOPMENT & PROGRAMMING I AND TITLE: B. CURRICULUM: Mathematics / Computer Science Unit Offering PROGRAM: Web-Network Technology Certificate
Tutorial 6 Creating a Web Form. HTML and CSS 6 TH EDITION
Tutorial 6 Creating a Web Form HTML and CSS 6 TH EDITION Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create input boxes and form labels
Designing for Dynamic Content
Designing for Dynamic Content Course Code (WEB1005M) James Todd Web Design BA (Hons) Summary This report will give a step-by-step account of the relevant processes that have been adopted during the construction
MASTERTAG DEVELOPER GUIDE
MASTERTAG DEVELOPER GUIDE TABLE OF CONTENTS 1 Introduction... 4 1.1 What is the zanox MasterTag?... 4 1.2 What is the zanox page type?... 4 2 Create a MasterTag application in the zanox Application Store...
Web Applications Come of Age
Web Applications Come of Age Table of Contents Executive Summary 1 A Brief History of Web Development 2 The JS Web App: A New Paradigm 4 Request-Response Model 5 JavaScript Web Application Model 7 Why
Performance Testing for Ajax Applications
Radview Software How to Performance Testing for Ajax Applications Rich internet applications are growing rapidly and AJAX technologies serve as the building blocks for such applications. These new technologies
WWW. World Wide Web Aka The Internet. dr. C. P. J. Koymans. Informatics Institute Universiteit van Amsterdam. November 30, 2007
WWW World Wide Web Aka The Internet dr. C. P. J. Koymans Informatics Institute Universiteit van Amsterdam November 30, 2007 dr. C. P. J. Koymans (UvA) WWW November 30, 2007 1 / 36 WWW history (1) 1968
Facebook Twitter YouTube Google Plus Website Email
PHP MySQL COURSE WITH OOP COURSE COVERS: PHP MySQL OBJECT ORIENTED PROGRAMMING WITH PHP SYLLABUS PHP 1. Writing PHP scripts- Writing PHP scripts, learn about PHP code structure, how to write and execute
Web Programming Step by Step
Web Programming Step by Step Lecture 13 Introduction to JavaScript Reading: 7.1-7.4 Except where otherwise noted, the contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller. Client-side
Overview. In the beginning. Issues with Client Side Scripting What is JavaScript? Syntax and the Document Object Model Moving forward with JavaScript
Overview In the beginning Static vs. Dynamic Content Issues with Client Side Scripting What is JavaScript? Syntax and the Document Object Model Moving forward with JavaScript AJAX Libraries and Frameworks
Web Design & Development - Tutorial 04
Table of Contents Web Design & Development - Tutorial 04... 1 CSS Positioning and Layout... 1 Conventions... 2 What you need for this tutorial... 2 Common Terminology... 2 Layout with CSS... 3 Review the
Designing and Implementing an Online Bookstore Website
KEMI-TORNIO UNIVERSITY OF APPLIED SCIENCES TECHNOLOGY Cha Li Designing and Implementing an Online Bookstore Website The Bachelor s Thesis Information Technology programme Kemi 2011 Cha Li BACHELOR S THESIS
Chapter 13 Computer Programs and Programming Languages. Discovering Computers 2012. Your Interactive Guide to the Digital World
Chapter 13 Computer Programs and Programming Languages Discovering Computers 2012 Your Interactive Guide to the Digital World Objectives Overview Differentiate between machine and assembly languages Identify
Business & Computing Examinations (BCE) LONDON (UK)
Business & Computing Examinations (BCE) LONDON (UK) Web Design Qualification Analysis & Occupational Outlook The development of BCE qualifications include extensive market research from the following sources:
Google AdWords TM Conversion Tracking Guide
Google AdWords TM Conversion Tracking Guide CONTENTS INTRODUCTION TO CONVERSION TRACKING...2 PRODUCT DESCRIPTION...2 OVERVIEW...2 DEFINITION OF TERMS...3 ADDING THE CODE SNIPPET...4 CONVERSION TRACKING
Web Programming with PHP 5. The right tool for the right job.
Web Programming with PHP 5 The right tool for the right job. PHP as an Acronym PHP PHP: Hypertext Preprocessor This is called a Recursive Acronym GNU? GNU s Not Unix! CYGNUS? CYGNUS is Your GNU Support
Tutorial: Building a Dojo Application using IBM Rational Application Developer Loan Payment Calculator
Tutorial: Building a Dojo Application using IBM Rational Application Developer Loan Payment Calculator Written by: Chris Jaun ([email protected]) Sudha Piddaparti ([email protected]) Objective In this
Credits: Some of the slides are based on material adapted from www.telerik.com/documents/telerik_and_ajax.pdf
1 The Web, revisited WEB 2.0 [email protected] Credits: Some of the slides are based on material adapted from www.telerik.com/documents/telerik_and_ajax.pdf 2 The old web: 1994 HTML pages (hyperlinks)
AUTOMATED CONFERENCE CD-ROM BUILDER AN OPEN SOURCE APPROACH Stefan Karastanev
International Journal "Information Technologies & Knowledge" Vol.5 / 2011 319 AUTOMATED CONFERENCE CD-ROM BUILDER AN OPEN SOURCE APPROACH Stefan Karastanev Abstract: This paper presents a new approach
Overview. History HTML What is HTML5? New Features Features Removed Resources 10/8/2014
Brian May IBM i Modernization Specialist Profound Logic Software Webmaster and Coordinator Young i Professionals Overview History HTML What is HTML5? New Features Features Removed Resources 1 A look back
The Web Web page Links 16-3
Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic HTML documents Describe several specific HTML tags and their purposes 16-1 Chapter Goals
From Desktop to Browser Platform: Office Application Suite with Ajax
From Desktop to Browser Platform: Office Application Suite with Ajax Mika Salminen Helsinki University of Technology [email protected] Abstract Web applications have usually been less responsive and provided
ASP.NET: THE NEW PARADIGM FOR WEB APPLICATION DEVELOPMENT
ASP.NET: THE NEW PARADIGM FOR WEB APPLICATION DEVELOPMENT Dr. Mike Morrison, University of Wisconsin-Eau Claire, [email protected] Dr. Joline Morrison, University of Wisconsin-Eau Claire, [email protected]
Pemrograman Web. 1. Pengenalan Web Server. M. Udin Harun Al Rasyid, S.Kom, Ph.D http://lecturer.eepis-its.edu/~udinharun udinharun@eepis-its.
Pemrograman Web 1. Pengenalan Web Server M. Udin Harun Al Rasyid, S.Kom, Ph.D http://lecturer.eepis-its.edu/~udinharun [email protected] Table of Contents World Wide Web Web Page Web Server Internet
WIRIS quizzes web services Getting started with PHP and Java
WIRIS quizzes web services Getting started with PHP and Java Document Release: 1.3 2011 march, Maths for More www.wiris.com Summary This document provides client examples for PHP and Java. Contents WIRIS
Interspire Website Publisher Developer Documentation. Template Customization Guide
Interspire Website Publisher Developer Documentation Template Customization Guide Table of Contents Introduction... 1 Template Directory Structure... 2 The Style Guide File... 4 Blocks... 4 What are blocks?...
4.2 Understand Microsoft ASP.NET Web Application Development
L E S S O N 4 4.1 Understand Web Page Development 4.2 Understand Microsoft ASP.NET Web Application Development 4.3 Understand Web Hosting 4.4 Understand Web Services MTA Software Fundamentals 4 Test L
How To Write A Web Server In Javascript
LIBERATED: A fully in-browser client and server web application debug and test environment Derrell Lipman University of Massachusetts Lowell Overview of the Client/Server Environment Server Machine Client
Web Hosting Features. Small Office Premium. Small Office. Basic Premium. Enterprise. Basic. General
General Basic Basic Small Office Small Office Enterprise Enterprise RAID Web Storage 200 MB 1.5 MB 3 GB 6 GB 12 GB 42 GB Web Transfer Limit 36 GB 192 GB 288 GB 480 GB 960 GB 1200 GB Mail boxes 0 23 30
HTML Form Widgets. Review: HTML Forms. Review: CGI Programs
HTML Form Widgets Review: HTML Forms HTML forms are used to create web pages that accept user input Forms allow the user to communicate information back to the web server Forms allow web servers to generate
CMSC434 TUTORIAL #3 HTML CSS JavaScript Jquery Ajax + Google AppEngine Mobile WebApp HTML5
CMSC434 TUTORIAL #3 HTML CSS JavaScript Jquery Ajax + Google AppEngine Mobile WebApp HTML5 JQuery Recap JQuery source code is an external JavaScript file
Chapter 1 Programming Languages for Web Applications
Chapter 1 Programming Languages for Web Applications Introduction Web-related programming tasks include HTML page authoring, CGI programming, generating and parsing HTML/XHTML and XML (extensible Markup
Whitepapers at Amikelive.com
Brief Overview view on Web Scripting Languages A. Web Scripting Languages This document will review popular web scripting languages[1,2,12] by evaluating its history and current trends. Scripting languages
Client-side Web Engineering From HTML to AJAX
Client-side Web Engineering From HTML to AJAX SWE 642, Spring 2008 Nick Duan 1 What is Client-side Engineering? The concepts, tools and techniques for creating standard web browser and browser extensions
SUBJECT CODE : 4074 PERIODS/WEEK : 4 PERIODS/ SEMESTER : 72 CREDIT : 4 TIME SCHEDULE UNIT TOPIC PERIODS 1. INTERNET FUNDAMENTALS & HTML Test 1
SUBJECT TITLE : WEB TECHNOLOGY SUBJECT CODE : 4074 PERIODS/WEEK : 4 PERIODS/ SEMESTER : 72 CREDIT : 4 TIME SCHEDULE UNIT TOPIC PERIODS 1. INTERNET FUNDAMENTALS & HTML Test 1 16 02 2. CSS & JAVASCRIPT Test
