|
PHPConUK 2007 
Coming live from the PHP UK Conference 2007 in South London
First up is Cal Evans, editor of the Zend Devzone
| | Consuming webservices using PHP, then Javascript. |
| | Quite in depth example of a UPS Trackgin app with Google Maps with the results |
| | What with all the troubles I have been having with performing secure conne ctions to GData, since Google are about to force blogger.com user to user their login system, I would have like t see that. |
| | Zend do have a GData framework available, but it does appear to support the requirements of a secure registered web apps. |
| | Which is plain odd, if you ask me ;) |
| | I like looking at other people's code, as they explain it line by line - but then : I'm a geek :) Heh |
Simon Laws : From IBM Open Source SOA project team working with the open source Apache and PHP communities to build Java, C++ and PHP implementations of the Service Component Architecture (SCA) and Service Data Object (SDO) specifications.
| | "Web services - drop it into Apache and away you go!" |
| | Seperating business logic from design in a Service Component Architecture |
| | Quite a deep exmaple of using the "PECL SCA_SDO" Extension (links to come) |
| | It uses a strange method where the services need to actually parse special code in PHP comments. Someone just pointed out that this would cuase performance issues. The excuse is, is that the technology is not finished yet. Someone else says it's not that bad actually. |
Definitely more of 'lecture' than a conference so far. Which is fine by me. ;)
LUNCH
Kevlin Henney : "Objects of Desire"
| | Kevin specialises in programming languages, OO design, agile development process, patterns and software architecture. He has been a columnist for various magazines and sites, including The Register, Application Development Advisor, Java Report and C/C++ Users Journal. Kevlin is coauthor of two recent volumes in the Pattern-Oriented Software Architecture series. |
| | A brief history of Object Oriented Programming |
| | Comparisons of different Type systems. |
| | Explanation of Encapsulation |
| | Declare data private, steer clear of protected, and only make methods public if you knowwhy and where you're going to use them and how to test them |
| | So, encapsulation is about data privacy? |
| | No, it relates to stability, coherenece and ease of use of an object - data privacy is a by-product |
| | How big should a class be? |
| | Big enough, but not too big ;) |
| | Avoid Vampires - Don't invite them in!! Only offer small classes with specific methods |
| | 'LSP' : Liskov Substitution Principle |
| | Organise class hierarchies accourding to type substitutability... |
| | Quote : "He who dares not offend can not be honest" - Sandy MacArthur |
| | A good pattern aptures a [proven solution practice along with the problem it addresses and the context in which it applies |
| | QUOTE: "The only thing to do with good advice is to pass it on. It is never any use to oneself." Ocsar Wilde |
Rasmus Lerdorf : (father of PHP) "Fast and Rich Web Applications in PHP5"
| | Load testing/benchmarking |
| | estimate users and total requsts per sec |
| | See php.net/filter - A data firewall |
| | Helps prevent cross-site scripting |
| | usage of include, require, include_once, etc. |
| | Use less larger include files over more smaller ones. |
| | PHP 5.2 APC_UPLOAD_PROGRESS |
| | Replace domxml with SimpleXML |
| | Replace SAX with xmlreaderr |
| | Replace PEAR SOAP or NuSOAP with new SOAP extension |
| | find /source/directory -name *.php -o -name *.inc -o *.html xargs -n1 php -ddisplay_errors=1 -derror_reporting=8191 -1 |
|