PHPConUK 2007 Permanent link to this item in the archive.

Coming live from the PHP UK Conference 2007 in South London

First up is Cal Evans, editor of the Zend Devzone

 "My First Mashup"

 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

 In a Caspule

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

 Chaining function calls

 The Law of Demeter

 Avoid train/chain wrecks

 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

 Patterns

 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"

 "I hate programming"

 Load testing/benchmarking

 Create a v simple script

 estimate users and total requsts per sec

 http_load

 Callgrind

 KCachegrind

 

 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.

 'empty' over 'isset'

 PHP 5.2 APC_UPLOAD_PROGRESS

 http://progphp.com/progress.php

 http://progphp.com/progress.phps

 Req: APC and PHP5.2 >

 

 XML Handling

 Replace domxml with SimpleXML

 Replace SAX with xmlreaderr

 Replace PEAR SOAP or NuSOAP with new SOAP extension

 

 Lint check

 find /source/directory -name *.php -o -name *.inc -o *.html xargs -n1 php -ddisplay_errors=1 -derror_reporting=8191 -1

 APC: http://pecl.php.net/package/APC

 

 http://talks.php.net

 
February 2007
Sun
Mon
Tue
Wed
Thu
Fri
Sat
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
Jan   Mar

SUBSCRIBE TO MY FEED

dev test widget

http://my.podcast.com/kosso/mobile/
second life links from secondlife.reuters.com



















Technorati stuff...

Weblog Commenting and Trackback by HaloScan.com



Last modified: Monday, July 30, 2007 at 1:14 AM.