Wednesday, December 30, 2009

PHP code optimisation tips


  • No inline css
  • Try to avoid inline javascript code
  • Apply Caching Techniques like customized cache, mem cache.
  • Avoid calculating count of array in for loop store it in variable and use that variable
  • Avoid using autolaod
  • Prefer to use include and reuqire instead of require_once and include_once
  • Array key should be quoted in single or double quotes.

SOA

Today I will talk about SOA. SOA is like big elephant so everybody has different perceptions and views to look at SOA. Lets talk about basic components of SOA. SOA have major components.
  • ESB (Enterprise Service Bus)
  • Service Repository
  • Service Registry
I will add code and sample to implement in php in further updates in this blog.