By Nabil ADOUI, member of the 4D Technical Support team

Size: px
Start display at page:

Download "By Nabil ADOUI, member of the 4D Technical Support team"

Transcription

1 XSLT with PHP By Nabil ADOUI, member of the 4D Technical Support team

2 Contents Summary... 3 Introduction... 3 Important elements... 3 The PHP XSL library... 4 The PHP XSL API... 5 XSLTProcessor:: construct... 5 XSLTProcessor::setParameter... 5 XSLTProcessor::importStylesheet... 6 XSLTProcessor::transformToXML... 6 XSLTProcessor::transformToURI... 6 Demonstration... 7 Error management Conclusion... 11

3 Summary In this technical note, we are going to cover the XSL(PHP) extension used to perform XSL Transformations. This extension will replace these 4D commands: XSLT APPLY TRANSFORMATION, XSLT SET PARAMETER and XSLT GET ERROR. Introduction XSLT is a standard defined by W3C. This language transforms an XML file to another type of file (XML, HTML or any other type recognized by the browser) in order to give a more meaningful visual presentation to the original document. Important elements An XSL Transformation receives two elements as input: The XML document that you want to transform An XSL style sheet (XML style sheets). This is an XML file describing the presentation of the contents of our document. It must be declared as follows: <? xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl=" m" version="1.0">... </xsl:stylesheet> Both these files will be used by an XSLT processor based on the PHP XSL library that will replace the XALAN C++ processor currently used by 4D. The result is an XML document that includes the contents of the original document represented according to the specified style sheet.

4 The PHP XSL library PHP XSL is an implementation of the XSLT standard that uses the libxslt library (XSLT C library for GNOME). It contains a single XSLTProcessor class with a dozen or so methods shown below: XSLTProcessor XSLTProcessor class XSLTProcessor:: construct Creates a new XSLTProcessor object XSLTProcessor::getParameter Returns the value of the parameter XsltProcessor::getSecurityPrefs Returns the security preferences XSLTProcessor::hasExsltSupport Determines whether PHP supports XSLT XSLTProcessor::importStylesheet Imports style sheet XSLTProcessor::registerPHPFunctions Allows the use of PHP functions as XSLT functions XSLTProcessor::removeParameter Deletes a parameter XSLTProcessor::setParameter Sets the value of a parameter XSLTProcessor::setProfiling Sets an output file for a profile XsltProcessor::setSecurityPrefs Sets the security parameters XSLTProcessor::transformToDoc Transforms to a DOM document XSLTProcessor::transformToUri Transforms to a URI XSLTProcessor::transformToXML Transforms to an XML In the remainder of this technical note, we re going to focus on just 5 of these methods: XSLTProcessor:: construct XSLTProcessor::setParameter XSLTProcessor::importStylesheet XSLTProcessor::transformToXML XSLTProcessor::transformToURI

5 The PHP XSL API XSLTProcessor:: construct This method is simply the constructor of the XSLTProcessor class. It can be used to create a new XSLTProcess type object. It does not accept any parameters or return any values. Signature: XSLTProcessor:: construct ( void) Example call: $xsl = new XSLTProcessor; XSLTProcessor::setParameter This method saves one or more parameters to be used in the transformations that follow it. You can call this parameter in your XSL file using the «$» symbol followed by the parameter name. Signatures: bool XSLTProcessor::setParameter ( string $namespace, string $name, string $value) bool XSLTProcessor::setParameter ( string $namespace, array $options ) $namespace: URI namespace of the XSLT parameter, $name: local name of XSLT parameter $value: new value of XSLT parameter $options: array of name => value pairs Example call: $xsl = new XSLTProcessor(); $xsl->setparameter('', 'param1','value1'); You can also pass an array of parameters:

6 $params['param1'] = 'value1' ; $params['param2'] = 'value2' ; $xsl->etparameter(' $params); XSLTProcessor::importStylesheet This method imports the style sheet represented by the XSL file that we want to apply during the transformation. Signature: void XSLTProcessor::importStylesheet ( object $stylesheet ) Example: $xsl = new DOMDocument; $xsl->load('xslt2.xsl'); $proc = new XSLTProcessor; $proc->importstylesheet($xsl); XSLTProcessor::transformToXML TransformToXML converts the source document to a text by applying the XSL file imported using the importstylesheet method. Signature: string XSLTProcessor::transformToXML ( DOMDocument $doc ) XSLTProcessor::transformToURI This method transforms the source document to a file that will be saved to the URI specified as a parameter of the method, after applying the chosen style sheet. Signature: int XSLTProcessor::transformToURI ( DOMDocument $doc, string $uri )

7 Demonstration For our example, we will use the following XML document containing song/album titles and performers, as well as the years they were released: <?xml version="1.0" encoding="utf-8"?> <catalog> <title>empire Burlesque</title> <performer>bob Dylan</performer> <year>1985</year> <title>hide your heart</title> <performer>bonnie Tyler</performer> <year>1988</year> <title>greatest Hits</title> <performer>dolly Parton</performer> <year>1982</year> <title>still got the blues</title> <performer>gary Moore</performer> <year>1990</year> <title>eros</title> <performer>eros Ramazzotti</performer> <year>1997</year> <title>one night only</title> <performer>bee Gees</performer> <year>1998</year> <title>sylvias Mother</title> <performer>dr.hook</performer> <year>1973</year> <title>maggie May</title> <performer>rod Stewart</performer> <year>1990</year> <title>romanza</title> <performer>andrea Bocelli</performer> <year>1996</year> </catalog>

8 Next we are going to apply an XSL transformation with PHP XSL based on the following style sheet: <?xml version="1.0" encoding="iso "?> <xsl:stylesheet version="1.0" xmlns:xsl=" <xsl:output method="html" version="4.0" encoding="utf-8" indent="yes"/> <xsl:template match="/"> <html> <body> <h2>my collection</h2> <table border="1"> <tr bgcolor="#9acd32"> <th>title</th> <th>performer</th> </tr> <xsl:for-each select="catalog/cd"> <tr> <xsl:choose> <xsl:when test="year > $param1"> <td bgcolor="red"><xsl:value-of select="title" /></td> <td bgcolor="red"><xsl:value-of select="performer" /></td> </xsl:when> <xsl:otherwise> <td><xsl:value-of select="title" /></td> <td><xsl:value-of select="performer" /></td> </xsl:otherwise> </xsl:choose> </tr> </xsl:for-each> </table> </body> </html> </xsl:template> </xsl:stylesheet> This style sheet will group the data of the XML file into a two-column array. To make the task a bit more interesting, we re going to highlight rows where the release year is higher than the ($param1) parameter that we will provide in our PHP code.

9 So here is our PHP code: <?php $xml = new DOMDocument; $xml->load('xml_file.xml'); // Loading XML document $xsl = new DOMDocument; $xsl->load('xsl_file.xsl'); // Loading style sheet $proc = new XSLTProcessor; // Creating XSLT processor $proc->importstylesheet($xsl); // Attaching XSL rules $proc->setparameter('','param1','1996'); // Inserting $param1 parameter echo $proc->transformtoxml($xml); // Applying transformation?> In this example, we assume that the XML and XSL files are located in the same directory as the source PHP file; otherwise, we would have to provide the complete pathname. On the 4D side, we ll execute this PHP code using the following commands: $filepath:=get 4D folder (Current resources folder)+"php.php" $isok:=php Execute($filePath;"";$res) PHP GET FULL RESPONSE (stdout;errlabels;errvalues;httpheaderfields;httpheadervalues) If ($isok) vhtml:=$res End if The result of the transformation will be saved in the vhtml variable.

10 After this 4D method is executed, vhtml will contain the following HTML code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " collection</h2>\n<table border="1">\n<tr bgcolor="#9acd32">\n<th>title</th>\n<th>performer</th>\n</tr>\n<tr>\n<td>empire Burlesque</td>\n<td>Bob Dylan</td>\n</tr>\n<tr>\n<td>Hide your heart</td>\n<td>bonnie Tyler</td>\n</tr>\n<tr>\n<td>Greatest Hits</td>\n<td>Dolly Parton</td>\n</tr>\n<tr>\n<td>Still got the blues</td>\n<td>gary Moore</td>\n</tr>\n<tr>\n<td bgcolor="red">eros</td>\n<td bgcolor="red">eros Ramazzotti</td>\n</tr>\n<tr>\n<td bgcolor="red">one night only</td>\n<td bgcolor="red">bee Gees</td>\n</tr>\n<tr>\n<td>Sylvias Mother</td>\n<td>Dr.Hook</td>\n</tr>\n<tr>\n<td>Maggie May</td>\n<td>Rod Stewart</td>\n</tr>\n<tr>\n<td>Romanza</td>\n<td>Andrea Autrement, vous pouvez utiliser la méthode XSLTProcessor::transformToURI de la manière suivante ; <?php $xml = new DOMDocument; $xml->load('xml_file.xml'); $xsl = new DOMDocument; $xsl->load('xsl_file.xsl'); $proc = new XSLTProcessor; $proc->importstylesheet($xsl); $proc->setparameter('','param1','1996'); echo $proc->transformtouri($xml,'out.html');?> The result will be saved in the «out.html» file next to the PHP code file; however, you can provide another path if you want.

11 Here is a preview of the result: Error management If an error occurs during the transformation, the error message will be copied into the errvalues variable that was passed in the PHP GET FULL RESPONSE command. Conclusion The PHP XSL library is an excellent tool which can replace the XSLT APPLY TRANSFORMATION, XSLT SET PARAMETER and XSLT GET ERROR commands after their removal. This library provides a rich API allowing you to carry out all the operations necessary for your XSL transformations.

XSL - Introduction and guided tour

XSL - Introduction and guided tour Concepts and Technologies of XML 6.1 XSL - Introduction and guided tour CT-XML 2014/2015 Warning! Authors " João Moura Pires (jmp@di.fct.unl.pt) " With contributions of Carlos Damásio (cd@di.fct.unl.pt)

More information

Web Server Logs Analyze Using the XML Technologies

Web Server Logs Analyze Using the XML Technologies Web Server Logs Analyze Using the XML Technologies Author: Tayeb L. E-mail: Tayeb.Lemlouma@inrialpes.fr July 2002. We introduce here an approach to write and analyze server logs using the XML technology.

More information

PHP Oracle Web Development Data Processing, Security, Caching, XML, Web Services and AJAX

PHP Oracle Web Development Data Processing, Security, Caching, XML, Web Services and AJAX PHP Oracle Web Development Data Processing, Security, Caching, XML, Web Services and AJAX Yuli Vasiliev Chapter 8 "XML-Enabled Applications" In this package, you will find: A Biography of the author of

More information

Markup Sprachen und semi-strukturierte Daten

Markup Sprachen und semi-strukturierte Daten Markup Sprachen und semi-strukturierte Daten http://www.pms.informatik.uni-muenchen.de/lehre/markupsemistrukt/02ss XSLT 1.0 Tutorial Dan Olteanu Dan.Olteanu@pms.informatik.uni-muenchen.de What means XSLT?

More information

Data Integration through XML/XSLT. Presenter: Xin Gu

Data Integration through XML/XSLT. Presenter: Xin Gu Data Integration through XML/XSLT Presenter: Xin Gu q7.jar op.xsl goalmodel.q7 goalmodel.xml q7.xsl help, hurt GUI +, -, ++, -- goalmodel.op.xml merge.xsl goalmodel.input.xml profile.xml Goal model configurator

More information

XML WEB TECHNOLOGIES

XML WEB TECHNOLOGIES XML WEB TECHNOLOGIES Chakib Chraibi, Barry University, cchraibi@mail.barry.edu ABSTRACT The Extensible Markup Language (XML) provides a simple, extendable, well-structured, platform independent and easily

More information

Interactive, dynamic Scalable Vector Graphics

Interactive, dynamic Scalable Vector Graphics Interactive, dynamic Scalable Vector Graphics Table of Contents If you're viewing this document online, you can click any of the topics below to link directly to that section. 1. Introduction.. 2 2. Overview..

More information

XSLT - A Beginner's Glossary

XSLT - A Beginner's Glossary XSL Transformations, Database Queries, and Computation 1. Introduction and Overview XSLT is a recent special-purpose language for transforming XML documents Expressive power of XSLT? Pekka Kilpelainen

More information

T XML in 2 lessons! %! " #$& $ "#& ) ' */,: -.,0+(. ". "'- (. 1

T XML in 2 lessons! %!  #$& $ #& ) ' */,: -.,0+(. . '- (. 1 XML in 2 lessons! :.. 1 Lets start This presentation will answer the fundamental questions: What is XML? How do I use XML? How does it work? What can I use it for, anyway? 2 World Wide Web Consortium (W3C)

More information

Extending XSLT with Java and C#

Extending XSLT with Java and C# Extending XSLT with Java and C# The world is not perfect. If it were, all data you have to process would be in XML and the only transformation language you would have to learn would XSLT. Because the world

More information

Introduction to XML Applications

Introduction to XML Applications EMC White Paper Introduction to XML Applications Umair Nauman Abstract: This document provides an overview of XML Applications. This is not a comprehensive guide to XML Applications and is intended for

More information

Chapter 3: XML Namespaces

Chapter 3: XML Namespaces 3. XML Namespaces 3-1 Chapter 3: XML Namespaces References: Tim Bray, Dave Hollander, Andrew Layman: Namespaces in XML. W3C Recommendation, World Wide Web Consortium, Jan 14, 1999. [http://www.w3.org/tr/1999/rec-xml-names-19990114],

More information

F O R U M N O K I A. Implementing Trucking Logistics with Nokia Handsets. Version 1.0; July 18, 2003. Java /XML

F O R U M N O K I A. Implementing Trucking Logistics with Nokia Handsets. Version 1.0; July 18, 2003. Java /XML F O R U M N O K I A Implementing Trucking Logistics with Nokia Handsets Version 1.0; July 18, 2003 Java /XML Contents 1 Introduction: On the Road Again...4 1.1 The Business Process...5 1.2 UI Design...5

More information

10CS73:Web Programming

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

More information

Filen ex_e.xml. Her kommer koderne Det der står skrevet med fed er ændret af grp. 2.121. <?xml version="1.0"?>

Filen ex_e.xml. Her kommer koderne Det der står skrevet med fed er ændret af grp. 2.121. <?xml version=1.0?> Her kommer koderne Det der står skrevet med fed er ændret af grp. 2.121 Filen ex_e.xml Semester

More information

Managing XML Documents Versions and Upgrades with XSLT

Managing XML Documents Versions and Upgrades with XSLT Managing XML Documents Versions and Upgrades with XSLT Vadim Zaliva, lord@crocodile.org 2001 Abstract This paper describes mechanism for versioning and upgrding XML configuration files used in FWBuilder

More information

Thursday, February 7, 2013. DOM via PHP

Thursday, February 7, 2013. DOM via PHP DOM via PHP Plan PHP DOM PHP : Hypertext Preprocessor Langage de script pour création de pages Web dynamiques Un ficher PHP est un ficher HTML avec du code PHP

More information

XSL Elements. xsl:copy-of

XSL Elements. xsl:copy-of XSL Elements The following elements are discussed on this page: xsl:copy-of xsl:value-of xsl:variable xsl:param xsl:if xsl:when xsl:otherwise xsl:comment xsl:import xsl:output xsl:template xsl:call-template

More information

XML Processing and Web Services. Chapter 17

XML Processing and Web Services. Chapter 17 XML Processing and Web Services Chapter 17 Textbook to be published by Pearson Ed 2015 in early Pearson 2014 Fundamentals of http://www.funwebdev.com Web Development Objectives 1 XML Overview 2 XML Processing

More information

XML for RPG Programmers: An Introduction

XML for RPG Programmers: An Introduction XML for RPG Programmers: An Introduction OCEAN Technical Conference Catch the Wave Susan M. Gantner susan.gantner @ partner400.com www.partner400.com Your partner in AS/400 and iseries Education Copyright

More information

Speech Interface Implementation for XML Browser

Speech Interface Implementation for XML Browser Speech Interface Implementation for XML Browser Aki Teppo & Petri Vuorimaa Telecommunications Software and Multimedia Laboratory Petri.Vuorimaa@hut.fi http://www.tml.hut.fi/~pv/ Agenda Introduction X-Smiles

More information

WIRIS quizzes web services Getting started with PHP and Java

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

More information

Overview of DatadiagramML

Overview of DatadiagramML Overview of DatadiagramML Microsoft Corporation March 2004 Applies to: Microsoft Office Visio 2003 Summary: This document describes the elements in the DatadiagramML Schema that are important to document

More information

XSLT Mapping in SAP PI 7.1

XSLT Mapping in SAP PI 7.1 Applies to: SAP NetWeaver Process Integration 7.1 (SAP PI 7.1) Summary This document explains about using XSLT mapping in SAP Process Integration for converting a simple input to a relatively complex output.

More information

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 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

More information

Enabling Web Services

Enabling Web Services Enabling Web Services Phillip J. Windley, Ph.D. phil@windley.org http://www.windley.com Web services are a topic that has garnered a lot of attention in the last few years. The term has numerous meanings

More information

Concrete uses of XML in software development and data analysis.

Concrete uses of XML in software development and data analysis. Concrete uses of XML in software development and data analysis. S. Patton LBNL, Berkeley, CA 94720, USA XML is now becoming an industry standard for data description and exchange. Despite this there are

More information

JBoss Portlet Container. User Guide. Release 2.0

JBoss Portlet Container. User Guide. Release 2.0 JBoss Portlet Container User Guide Release 2.0 1. Introduction.. 1 1.1. Motivation.. 1 1.2. Audience 1 1.3. Simple Portal: showcasing JBoss Portlet Container.. 1 1.4. Resources. 1 2. Installation. 3 2.1.

More information

Electronic Bank Account Management - EBAM

Electronic Bank Account Management - EBAM Electronic Bank Account Management - EBAM EBAM and Digital Signature This guide provides an overview of how to use a digital signature in the EBAM solution to sign the XML messages and the potential attachments.

More information

FileMaker Server 9. Custom Web Publishing with PHP

FileMaker Server 9. Custom Web Publishing with PHP FileMaker Server 9 Custom Web Publishing with PHP 2007 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker is a trademark of FileMaker,

More information

San Joaquin County Office of Education Career & Technical Education Web Design ~ Course Outline CBEDS#: 4601

San Joaquin County Office of Education Career & Technical Education Web Design ~ Course Outline CBEDS#: 4601 Web Design Course Outline I II 1 Course Content 5 5 Student Evaluation Employment Opportunities 2 XHTML 10 10 Creating an HTML Document Formatting Text with HTML Adding Graphics with Multimedia Using forms

More information

Building A Very Simple Website

Building A Very Simple Website Sitecore CMS 6.5 Building A Very Simple Web Site Rev 110715 Sitecore CMS 6.5 Building A Very Simple Website A Self-Study Guide for Developers Table of Contents Chapter 1 Introduction... 3 Chapter 2 Creating

More information

Localizing dynamic websites created from open source content management systems

Localizing dynamic websites created from open source content management systems Localizing dynamic websites created from open source content management systems memoqfest 2012, May 10, 2012, Budapest Daniel Zielinski Martin Beuster Loctimize GmbH [daniel martin]@loctimize.com www.loctimize.com

More information

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence Web Development Owen Sacco ICS2205/ICS2230 Web Intelligence Introduction Client-Side scripting involves using programming technologies to build web pages and applications that are run on the client (i.e.

More information

Mobile Web Design with HTML5, CSS3, JavaScript and JQuery Mobile Training BSP-2256 Length: 5 days Price: $ 2,895.00

Mobile Web Design with HTML5, CSS3, JavaScript and JQuery Mobile Training BSP-2256 Length: 5 days Price: $ 2,895.00 Course Page - Page 1 of 12 Mobile Web Design with HTML5, CSS3, JavaScript and JQuery Mobile Training BSP-2256 Length: 5 days Price: $ 2,895.00 Course Description Responsive Mobile Web Development is more

More information

WTP-101 Developing Web Applications with Standards. using W3C org standard technologies such as, HTML, CSS, XML, XSD and XSL

WTP-101 Developing Web Applications with Standards. using W3C org standard technologies such as, HTML, CSS, XML, XSD and XSL WTP-101 Developing Web Applications with Standards using W3C org standard technologies such as, HTML, CSS, XML, XSD and XSL Attributions World Wide Web Consortium http://www.w3c.org Sandra Clark CSS for

More information

A DIAGRAM APPROACH TO AUTOMATIC GENERATION OF JSP/SERVLET WEB APPLICATIONS

A DIAGRAM APPROACH TO AUTOMATIC GENERATION OF JSP/SERVLET WEB APPLICATIONS A DIAGRAM APPROACH TO AUTOMATIC GENERATION OF JSP/SERVLET WEB APPLICATIONS Kornkamol Jamroendararasame, Tetsuya Suzuki and Takehiro Tokuda Department of Computer Science Tokyo Institute of Technology Tokyo

More information

Short notes on webpage programming languages

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

More information

An Introduction to Developing ez Publish Extensions

An Introduction to Developing ez Publish Extensions An Introduction to Developing ez Publish Extensions Felix Woldt Monday 21 January 2008 12:05:00 am Most Content Management System requirements can be fulfilled by ez Publish without any custom PHP coding.

More information

PeopleSoft Compare Process

PeopleSoft Compare Process PeopleSoft Compare Process Agenda Describe Compare Process Run Compare and Report Viewing Compare Report Describing the Compare Process Source and Target Database PeopleSoft Application Designer enables

More information

Terms and Definitions for CMS Administrators, Architects, and Developers

Terms and Definitions for CMS Administrators, Architects, and Developers Sitecore CMS 6 Glossary Rev. 081028 Sitecore CMS 6 Glossary Terms and Definitions for CMS Administrators, Architects, and Developers Table of Contents Chapter 1 Introduction... 3 1.1 Glossary... 4 Page

More information

The full setup includes the server itself, the server control panel, Firebird Database Server, and three sample applications with source code.

The full setup includes the server itself, the server control panel, Firebird Database Server, and three sample applications with source code. Content Introduction... 2 Data Access Server Control Panel... 2 Running the Sample Client Applications... 4 Sample Applications Code... 7 Server Side Objects... 8 Sample Usage of Server Side Objects...

More information

WEB DEVELOPMENT COURSE (PHP/ MYSQL)

WEB DEVELOPMENT COURSE (PHP/ MYSQL) WEB DEVELOPMENT COURSE (PHP/ MYSQL) COURSE COVERS: HTML 5 CSS 3 JAVASCRIPT JQUERY BOOTSTRAP 3 PHP 5.5 MYSQL SYLLABUS HTML5 Introduction to HTML Introduction to Internet HTML Basics HTML Elements HTML Attributes

More information

Web Services Technologies

Web Services Technologies Web Services Technologies XML and SOAP WSDL and UDDI Version 16 1 Web Services Technologies WSTech-2 A collection of XML technology standards that work together to provide Web Services capabilities We

More information

PHP and XML. Brian J. Stafford, Mark McIntyre and Fraser Gallop

PHP and XML. Brian J. Stafford, Mark McIntyre and Fraser Gallop What is PHP? PHP and XML Brian J. Stafford, Mark McIntyre and Fraser Gallop PHP is a server-side tool for creating dynamic web pages. PHP pages consist of both HTML and program logic. One of the advantages

More information

Google Web Toolkit. Progetto di Applicazioni Software a.a. 2011/12. Massimo Mecella

Google Web Toolkit. Progetto di Applicazioni Software a.a. 2011/12. Massimo Mecella Google Web Toolkit Progetto di Applicazioni Software a.a. 2011/12 Massimo Mecella Introduction Ajax (Asynchronous JavaScript and XML) refers to a broad range of techniques Beyond the technical jargon,

More information

WTP-101 Developing Rich Internet Applications with Java Web Frameworks

WTP-101 Developing Rich Internet Applications with Java Web Frameworks WTP-101 Developing Rich Internet Applications with Java Web Frameworks Hands on Exercises Copyright eteration a.s. 2008 ITU Teknokent ARI-1 No:25 34469 Istanbul Turkey Except for third party materials

More information

Developing a Web Server Platform with SAPI Support for AJAX RPC using JSON

Developing a Web Server Platform with SAPI Support for AJAX RPC using JSON Revista Informatica Economică, nr. 4 (44)/2007 45 Developing a Web Server Platform with SAPI Support for AJAX RPC using JSON Iulian ILIE-NEMEDI, Bucharest, Romania, inemedi@ie.ase.ro Writing a custom web

More information

Developing Web Views for VMware vcenter Orchestrator

Developing Web Views for VMware vcenter Orchestrator Developing Web Views for VMware vcenter Orchestrator vcenter Orchestrator 5.1 This document supports the version of each product listed and supports all subsequent versions until the document is replaced

More information

CSET 3100 Advanced Website Design (3 semester credit hours) IT Required

CSET 3100 Advanced Website Design (3 semester credit hours) IT Required CSET 3100 Advanced Website Design (3 semester credit hours) CSET Elective IT Required Current Catalog Description: This course covers the creation of HTML forms, creation of static and animated web graphics,

More information

DTD Tutorial. About the tutorial. Tutorial

DTD Tutorial. About the tutorial. Tutorial About the tutorial Tutorial Simply Easy Learning 2 About the tutorial DTD Tutorial XML Document Type Declaration commonly known as DTD is a way to describe precisely the XML language. DTDs check the validity

More information

INSTALLING, CONFIGURING, AND DEVELOPING WITH XAMPP

INSTALLING, CONFIGURING, AND DEVELOPING WITH XAMPP INSTALLING, CONFIGURING, AND DEVELOPING WITH XAMPP by Dalibor D. Dvorski, March 2007 Skills Canada Ontario DISCLAIMER: A lot of care has been taken in the accuracy of information provided in this article,

More information

BCS THE CHARTERED INSTITUTE FOR IT. BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 6 Professional Graduate Diploma in IT WEB ENGINEERING

BCS THE CHARTERED INSTITUTE FOR IT. BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 6 Professional Graduate Diploma in IT WEB ENGINEERING BCS THE CHARTERED INSTITUTE FOR IT BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 6 Professional Graduate Diploma in IT WEB ENGINEERING Wednesday 26 th March 2014 - Morning Answer any THREE questions out

More information

A Form-based Approach for Application Development By Web Service Integration

A Form-based Approach for Application Development By Web Service Integration A Form-based Approach for Application Development By Web Service Integration Takeshi Chusho, Ryousuke Yuasa and Shinpei Nishida Department of Computer Science, Meiji University Kawasaki, 214-8571, Japan

More information

Data Exchange with. 2012, Business-DNA Solutions GmbH 1

Data Exchange with. 2012, Business-DNA Solutions GmbH 1 Data Exchange with 2012, Business-DNA Solutions GmbH 1 Introduction Name: Markus Schlegel, Business-DNA Solutions GmbH Position: Software-Architect Email: customerservice@business-dna.ch Version: 1.0,

More information

Web Container Components Servlet JSP Tag Libraries

Web Container Components Servlet JSP Tag Libraries Web Application Development, Best Practices by Jeff Zhuk, JavaSchool.com ITS, Inc. dean@javaschool.com Web Container Components Servlet JSP Tag Libraries Servlet Standard Java class to handle an HTTP request

More information

ONTOLOGY-BASED MULTIMEDIA AUTHORING AND INTERFACING TOOLS 3 rd Hellenic Conference on Artificial Intelligence, Samos, Greece, 5-8 May 2004

ONTOLOGY-BASED MULTIMEDIA AUTHORING AND INTERFACING TOOLS 3 rd Hellenic Conference on Artificial Intelligence, Samos, Greece, 5-8 May 2004 ONTOLOGY-BASED MULTIMEDIA AUTHORING AND INTERFACING TOOLS 3 rd Hellenic Conference on Artificial Intelligence, Samos, Greece, 5-8 May 2004 By Aristomenis Macris (e-mail: arism@unipi.gr), University of

More information

Chapter 2: Interactive Web Applications

Chapter 2: Interactive Web Applications Chapter 2: Interactive Web Applications 2.1 Interactivity and Multimedia in the WWW architecture 2.2 Client-Side Multimedia in the Web (Example HTML5) 2.3 Interactive Server-Side Scripting (Example PHP)

More information

ACE: Dreamweaver CC Exam Guide

ACE: Dreamweaver CC Exam Guide Adobe Training Services Exam Guide ACE: Dreamweaver CC Exam Guide Adobe Training Services provides this exam guide to help prepare partners, customers, and consultants who are actively seeking accreditation

More information

PL/JSON Reference Guide (version 1.0.4)

PL/JSON Reference Guide (version 1.0.4) PL/JSON Reference Guide (version 1.0.4) For Oracle 10g and 11g Jonas Krogsbøll Contents 1 PURPOSE 2 2 DESCRIPTION 2 3 IN THE RELEASE 3 4 GETTING STARTED 3 5 TWEAKS 4 6 JSON PATH 6 7 BEHAVIOR & ERROR HANDLING

More information

An XML Based Data Exchange Model for Power System Studies

An XML Based Data Exchange Model for Power System Studies ARI The Bulletin of the Istanbul Technical University VOLUME 54, NUMBER 2 Communicated by Sondan Durukanoğlu Feyiz An XML Based Data Exchange Model for Power System Studies Hasan Dağ Department of Electrical

More information

White Paper Using PHP Site Assistant to create sites for mobile devices

White Paper Using PHP Site Assistant to create sites for mobile devices White Paper Using PHP Site Assistant to create sites for mobile devices Overview In the last few years, a major shift has occurred in the number and capabilities of mobile devices. Improvements in processor

More information

Software documentation systems

Software documentation systems Software documentation systems Basic introduction to various user-oriented and developer-oriented software documentation systems. Ondrej Holotnak Ondrej Jombik Software documentation systems: Basic introduction

More information

XML and Tools. Muhammad Khalid Sohail Khan Mat #: 745783 University of Duisburg Essen Germany

XML and Tools. Muhammad Khalid Sohail Khan Mat #: 745783 University of Duisburg Essen Germany XML and Tools Muhammad Khalid Sohail Khan Mat #: 745783 University of Duisburg Essen Germany 1 Tables of Contents 1 Main Topics... 2 1.1 What is XML?... 3 1.2 XML Syntax... 3 1.3 Namespace... 5 2 XML Schema...

More information

.NET Best Practices Part 1 Master Pages Setup. Version 2.0

.NET Best Practices Part 1 Master Pages Setup. Version 2.0 .NET Best Practices Part 1 Master Pages Setup Version 2.0 2014 CrownPeak Technology, Inc. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means, electronic

More information

JobScheduler Web Services Executing JobScheduler commands

JobScheduler Web Services Executing JobScheduler commands JobScheduler - Job Execution and Scheduling System JobScheduler Web Services Executing JobScheduler commands Technical Reference March 2015 March 2015 JobScheduler Web Services page: 1 JobScheduler Web

More information

How To Use Dreamweaver With Your Computer Or Your Computer (Or Your Computer) Or Your Phone Or Tablet (Or A Computer)

How To Use Dreamweaver With Your Computer Or Your Computer (Or Your Computer) Or Your Phone Or Tablet (Or A Computer) ITS Training Introduction to Web Development with Dreamweaver In this Workshop In this workshop you will be introduced to HTML basics and using Dreamweaver to create and edit web files. You will learn

More information

Firewall Builder Architecture Overview

Firewall Builder Architecture Overview Firewall Builder Architecture Overview Vadim Zaliva Vadim Kurland Abstract This document gives brief, high level overview of existing Firewall Builder architecture.

More information

HOW TO CREATE THEME IN MAGENTO 2

HOW TO CREATE THEME IN MAGENTO 2 The Essential Tutorial: HOW TO CREATE THEME IN MAGENTO 2 A publication of Part 1 Whoever you are an extension or theme developer, you should spend time reading this blog post because you ll understand

More information

Building A Very Simple Web Site

Building A Very Simple Web Site Sitecore CMS 6.2 Building A Very Simple Web Site Rev 100601 Sitecore CMS 6. 2 Building A Very Simple Web Site A Self-Study Guide for Developers Table of Contents Chapter 1 Introduction... 3 Chapter 2 Building

More information

Calculator Notes for the TI-Nspire and TI-Nspire CAS

Calculator Notes for the TI-Nspire and TI-Nspire CAS INTRODUCTION Calculator Notes for the Getting Started: Navigating Screens and Menus Your handheld is like a small computer. You will always work in a document with one or more problems and one or more

More information

CONFIGURING A WEB SERVER AND TESTING WEBSPEED

CONFIGURING A WEB SERVER AND TESTING WEBSPEED CONFIGURING A WEB SERVER AND TESTING WEBSPEED Fellow and OpenEdge Evangelist Document Version 1.0 August 2010 September, 2010 Page 1 of 15 DISCLAIMER Certain portions of this document contain information

More information

Visualizing ECL Results Technical Preview

Visualizing ECL Results Technical Preview Visualizing ECL Results Technical Preview Provided by HPCCSystems Visualizing ECL Results Boca Raton Documentation Team November 2011 Version 3.4.0b (Technical Preview) Copyright 2011 HPCC Systems. All

More information

Study of GML-Based Geographical Data Visualization Strategy

Study of GML-Based Geographical Data Visualization Strategy Study of GML-Based Geographical Data Visualization Strategy ZHANG LIN 1, CHEN SHI-BIN 2 1 College of Information Technology, ZheJiang University of Finance & Economics, HangZhou 310012, China 2 College

More information

INTRO TO XMLSPY (IXS)

INTRO TO XMLSPY (IXS) INTRO TO XMLSPY (IXS) Student Notebook Intro to XMLSpy Page - 1 Revised: 11/8/2005-3:25:38 PM Table of Contents Example Files...4 Introduction...5 Course Objectives...6 Three Parts of XMLSpy s Main Window...7

More information

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: 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

More information

An Oracle White Paper May 2013. Creating Custom PDF Reports with Oracle Application Express and the APEX Listener

An Oracle White Paper May 2013. Creating Custom PDF Reports with Oracle Application Express and the APEX Listener An Oracle White Paper May 2013 Creating Custom PDF Reports with Oracle Application Express and the APEX Listener Disclaimer The following is intended to outline our general product direction. It is intended

More information

Standard Registry Development and Publication Process

Standard Registry Development and Publication Process Document number: DSP4006 Date: 2007-12-12 Version: 1.1.0 Standard Registry Development and Publication Process Document type: Specification Document status: Informational Document language: E Copyright

More information

Exploiting XML Digital Signature Implementations

Exploiting XML Digital Signature Implementations White paper Exploiting XML Digital Signature Implementations Hack In The Box - Kuala Lumpur 2013 James Forshaw technical@contextis.co.uk October 2013 Contents Introduction 4 Implementations Researched

More information

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 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

More information

Exchanger XML Editor - Canonicalization and XML Digital Signatures

Exchanger XML Editor - Canonicalization and XML Digital Signatures Exchanger XML Editor - Canonicalization and XML Digital Signatures Copyright 2005 Cladonia Ltd Table of Contents XML Canonicalization... 2 Inclusive Canonicalization... 2 Inclusive Canonicalization Example...

More information

Sitecore Dashboard User Guide

Sitecore Dashboard User Guide Sitecore Dashboard User Guide Contents Overview... 2 Installation... 2 Getting Started... 3 Sample Widgets... 3 Logged In... 3 Job Viewer... 3 Workflow State... 3 Publish Queue Viewer... 4 Quick Links...

More information

JJY s Joomla 1.5 Template Design Tutorial:

JJY s Joomla 1.5 Template Design Tutorial: JJY s Joomla 1.5 Template Design Tutorial: Joomla 1.5 templates are relatively simple to construct, once you know a few details on how Joomla manages them. This tutorial assumes that you have a good understanding

More information

Visual Basic Programming. An Introduction

Visual Basic Programming. An Introduction Visual Basic Programming An Introduction Why Visual Basic? Programming for the Windows User Interface is extremely complicated. Other Graphical User Interfaces (GUI) are no better. Visual Basic provides

More information

General principles and architecture of Adlib and Adlib API. Petra Otten Manager Customer Support

General principles and architecture of Adlib and Adlib API. Petra Otten Manager Customer Support General principles and architecture of Adlib and Adlib API Petra Otten Manager Customer Support Adlib Database management program, mainly for libraries, museums and archives 1600 customers in app. 30 countries

More information

Documentum Developer Program

Documentum Developer Program Program Enabling Logging in DFC Applications Using the com.documentum.fc.common.dflogger class April 2003 Program 1/5 The Documentum DFC class, DfLogger is available with DFC 5.1 or higher and can only

More information

MICROSOFT ACCESS 2003 TUTORIAL

MICROSOFT ACCESS 2003 TUTORIAL MICROSOFT ACCESS 2003 TUTORIAL M I C R O S O F T A C C E S S 2 0 0 3 Microsoft Access is powerful software designed for PC. It allows you to create and manage databases. A database is an organized body

More information

XML- New meta language in e-business

XML- New meta language in e-business 1 XML- New meta language in e-business XML (extensible Markup Language) has established itself as a new meta language in e-business. No matter what, text, pictures, video- or audio files - with the flexibility

More information

Introduction to Web Development

Introduction to Web Development Introduction to Web Development Week 2 - HTML, CSS and PHP Dr. Paul Talaga 487 Rhodes paul.talaga@uc.edu ACM Lecture Series University of Cincinnati, OH October 16, 2012 1 / 1 HTML Syntax For Example:

More information

Change Management for XML, in XML

Change Management for XML, in XML This is a draft for a chapter in the 5 th edition of The XML Handbook, due for publication in late 2003. Authors: Martin Bryan, Robin La Fontaine Change Management for XML, in XML The benefits of change

More information

Last Week. XML (extensible Markup Language) HTML Deficiencies. XML Advantages. Syntax of XML DHTML. Applets. Modifying DOM Event bubbling

Last Week. XML (extensible Markup Language) HTML Deficiencies. XML Advantages. Syntax of XML DHTML. Applets. Modifying DOM Event bubbling XML (extensible Markup Language) Nan Niu (nn@cs.toronto.edu) CSC309 -- Fall 2008 DHTML Modifying DOM Event bubbling Applets Last Week 2 HTML Deficiencies Fixed set of tags No standard way to create new

More information

XML and the College Website A Practical Look at the Use of XML and XSL

XML and the College Website A Practical Look at the Use of XML and XSL WHITE PAPER XML and the College Website A Practical Look at the Use of XML and XSL By Shahab Lashkari, Product Manager and Max Kaufmann, Technical Product Specialist, OmniUpdate What are XML and XSL, and

More information

Drupal CMS for marketing sites

Drupal CMS for marketing sites Drupal CMS for marketing sites Intro Sample sites: End to End flow Folder Structure Project setup Content Folder Data Store (Drupal CMS) Importing/Exporting Content Database Migrations Backend Config Unit

More information

Here is a quick diagram of the ULV SSO/Sync Application. Number 3 is what we deal with in this document.

Here is a quick diagram of the ULV SSO/Sync Application. Number 3 is what we deal with in this document. University of La Verne Single-SignOn Project How this Single-SignOn thing is built, the requirements, and all the gotchas. Kenny Katzgrau, August 25, 2008 Contents: Pre-requisites Overview of ULV Project

More information

Document Builder. Thien Tran Department of Computer Science San Jose State University thien_t_tran@hotmail.com

Document Builder. Thien Tran Department of Computer Science San Jose State University thien_t_tran@hotmail.com Thien Tran Department of Computer Science San Jose State University thien_t_tran@hotmail.com Dr. Mark Stamp Department of Computer Science San Jose State University stamp@cs.sjsu.edu Dr. Jon Pearce Department

More information

REDUCING THE COST OF GROUND SYSTEM DEVELOPMENT AND MISSION OPERATIONS USING AUTOMATED XML TECHNOLOGIES. Jesse Wright Jet Propulsion Laboratory,

REDUCING THE COST OF GROUND SYSTEM DEVELOPMENT AND MISSION OPERATIONS USING AUTOMATED XML TECHNOLOGIES. Jesse Wright Jet Propulsion Laboratory, REDUCING THE COST OF GROUND SYSTEM DEVELOPMENT AND MISSION OPERATIONS USING AUTOMATED XML TECHNOLOGIES Colette Wilklow MS 301-240, Pasadena, CA phone + 1 818 354-4674 fax + 1 818 393-4100 email: colette.wilklow@jpl.nasa.gov

More information

Whitepapers at Amikelive.com

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

More information

Address Phone & Fax Internet

Address Phone & Fax Internet Smilehouse Workspace 1.13 Payment Gateway API Document Info Document type: Technical document Creator: Smilehouse Workspace Development Team Date approved: 31.05.2010 Page 2/34 Table of Content 1. Introduction...

More information

Java Server Pages combined with servlets in action. Generals. Java Servlets

Java Server Pages combined with servlets in action. Generals. Java Servlets Java Server Pages combined with servlets in action We want to create a small web application (library), that illustrates the usage of JavaServer Pages combined with Java Servlets. We use the JavaServer

More information

Schematron Validation and Guidance

Schematron Validation and Guidance Schematron Validation and Guidance Schematron Validation and Guidance Version: 1.0 Revision Date: July, 18, 2007 Prepared for: NTG Prepared by: Yunhao Zhang i Schematron Validation and Guidance SCHEMATRON

More information