[wsf-c-dev] [PHP] WSDL generation PHP scripts - few thoughts

Afkham Azeez azeez at wso2.com
Mon Feb 5 21:46:15 PST 2007


Samisa Abeysinghe wrote:
> 1. Code indentation is terrible. We must use a coding convention for PHP
> scripts. I propose that we use:
> http://framework.zend.com/manual/en/coding-standard.coding-style.html
> 
> 2. Doc comments in the code are missing. Classes/methods/functions need
> to be documented. Again we should follow the conventions in the coding
> guideline given above.
> 

I don't know about the PHP coding conventions, may be there are good PHP
IDEs which will make it easier for the developers to follow coding
conventions.

> 3. The scripts use "include"; I suggest that we use include_once instead.
> 

Isn't it always better to use "require" or "require_once" instead of
"include"?


-- 
Afkham Azeez
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760

http://www.wso2.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://wso2.org/pipermail/wsf-c-dev/attachments/20070206/b64c7109/signature.pgp


More information about the Wsf-c-dev mailing list