GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Programming  >  PHP

 Print  |  
Question:  What do you need to do to improve the performance (speedy execution) for the script you have written?



October 10, 2006 03:30:01 #2
 vinit sharma   Member Since: Visitor    Total Comments: N/A 

RE: What do you need to do to improve the performance ...
 
There are two approaches :1) Use the templates like SMARTY or Cache_lite FOR templates building.2) Break down the section of website which need not be repeated overa period of time say only to be updated in 2-3 days [For example Header , menu . footer , anouncement etc ], Create a html page for these sections using the php logic , that was used to create the page section in runtime , This can be automated using cron also . the rest of the section which has to be very dynamic will take less time to be build now ,
     

 

Back To Question