Help:COAP-3180/week5: Difference between revisions
Jump to navigation
Jump to search
m (→Homework 5) |
|||
Line 58: | Line 58: | ||
; Teaching materials | ; Teaching materials | ||
* [[XML]] | * [[XML]] ('''exam topic, must know''') | ||
* [[DTD tutorial]] | * [[DTD tutorial]] (understand how to use/read a DTD only) | ||
* [[XSLT Tutorial - Basics]] | * [[XSLT Tutorial - Basics]] ('''exam topic, must know''') | ||
* [[XPath tutorial - basics]] | * [[XPath tutorial - basics]] ('''exam topic, must know''') | ||
* [[XQuery tutorial - basics]] (preview | * [[XQuery tutorial - basics]] (week 6 preview, '''exam topic, must know''') | ||
* [[PHP-MySQL tutorial -basics]] (in particular the section about XML output) | |||
; Teaching materials (older slides) | ; Teaching materials (older slides) |
Revision as of 19:18, 6 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 (exam topic, must know)
- DTD tutorial (understand how to use/read a DTD only)
- XSLT Tutorial - Basics (exam topic, must know)
- XPath tutorial - basics (exam topic, must know)
- XQuery tutorial - basics (week 6 preview, exam topic, must know)
- PHP-MySQL tutorial -basics (in particular the section about XML output)
- 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)