UWE workshops
week 2
lecture examples
- data structures
- data structures 2
- user defined functions
- user defined functionsPassing parameters
Workshop
- calculator 1
- calculator 2 (using switch to change operator)
- calculator 3 as a function
week 2 continued
- Simple XML example pulls twitter feed tag=cat
- To output an particular element we need to know the structure of the RSS feed
- Simple XML array outputs the structure of the RSS feed
- Simple XML images outputs images only using xpath to pull second image link
week 3
lecture examples
- user defined function example of return statement
- user defined function example of return reference
- user defined function example of default values
- user defined function example of recusive function
- user defined function example of recusive functions 2
- user defined function example of anonymous functiosn(run time dynamicaly created function)
Workshop
week 3
- calculator Checks for numeric and divide by zero
week 4
lecture examples
- error lecture example
Workshop
week 4
- calculator Checks for numeric and divide by zero
week 5
lecture examples
Workshop
week 5
week 6
- person class lecture example
- student class extends person class lecture example of inheritance
- shape class is an abstract classIs extended by circle and rectangle classes. Lecture example of abstractraction
- calculator with eval
- calculator OOP OOP
- Calc class test OOP
week 7
lecture examples
- example lecture example
- static lecture example
- test static 2 lecture example
week 8
lecture examples
- test person class lecture example
- shape class is an abstract classIs extended by circle and rectangle classes. Lecture example of abstractraction
- car class is an abstract class
- vehicle class Car interfaces with vehicle class – The PHP version on my server does not support interface
currency converters
- Exchange Rates
- currency converter works out one preset currency
- currency converter 2 with drop down
converter