Help:COAP-3180/week5: Difference between revisions
Jump to navigation
Jump to search
m (using an external editor) |
m (→Homework 5) |
||
Line 32: | Line 32: | ||
Details to be announced on Wednesday ... | Details to be announced on Wednesday ... | ||
* Pull out data in XML format from a database | |||
* | * Produce an XSLT file that will display the data (any maybe do some filtering) | ||
* Associate the XSLT file either server-side or client side. | |||
* Produce | The instructor will provide a php file that does the extraction. | ||
==== Submission Dates ==== | ==== Submission Dates ==== | ||
Line 44: | Line 44: | ||
==== Evaluation ==== | ==== Evaluation ==== | ||
=== Tips for the homework=== | === Tips for the homework=== |
Revision as of 18:36, 5 February 2010
Week 5 - COAP 3180
Topics Covered
- Homework and mid-term exam
- Quick feedback
- Termproject
- Each student should now have a "must-have" and "nice-to-have" list of features
- Demonstration of the Wordpress extension "Formidable"
- Crashcourse on XML
- XML - The formalism
- XML - where is it used
- XSLT - XML transformations
- XPath - identify elements in a tree (used by XPath and XQuery)
Classroom activities
(1) Wordpress
- Fire up MoWes and enter wordpress as admin
- Install "Formidable" if not already done so
- Best method is to click on Plugins in the Dashboard
- Else, use the ["manual" method] described by its developer.
(2) Edit an XML file
(3) Modify an XSLT file
- Filter data with XSLT
Homework 5
Details to be announced on Wednesday ...
- Pull out data in XML format from a database
- Produce an XSLT file that will display the data (any maybe do some filtering)
- Associate the XSLT file either server-side or client side.
The instructor will provide a php file that does the extraction.
Submission Dates
- This homework is due at start of wed week 6
- Students must provide the URL (where the instructor can see the widget) in the world classroom
- Each homework counts 10% in your global evaluation. The four best homeworks will be taken into account.
Evaluation
Tips for the homework
Links and teaching materials
- Software
- A good XML editor, e.g. XML exchanger light
- Online software
- none
- Teaching materials
- XML
- DTD tutorial
- XSLT Tutorial - Basics
- XPath tutorial - basics
- XQuery tutorial - basics (preview only)
- Teaching materials (older slides)
- http://tecfa.unige.ch/guides/te/files/xml-intro-edit.pdf
- http://tecfa.unige.ch/guides/te/files/xml-ns.pdf (optional)
- http://tecfa.unige.ch/guides/te/files/xslt-basics.pdf
- Optional reading
- Donald Bourret (2005). XML and Databases, http://www.rpbourret.com/xml/XMLAndDatabases.htm
- Darshan Singh, Essential XQuery - The XML Query Language, http://www.yukonxml.com/articles/xquery/
- XQuery http://en.wikipedia.org/wiki/XQuery (Wikipedia)