php - Optimising strategies for web app development -
many web apps out there these days using apis or code they've not worked themselves, , quite using inefficiently. google maps mashups come mind.
with php/asp backends, html, javascript (especially ajax these days) - there many potential bottlenecks, problems, inefficiencies , double-ups.
what strategies can suggest investigating, identifying , resolving slow-downs, redundant code, leaks , other issues in web-apps - both server-side , in browsesr on client-side?
a open ended , expansive question- may more productive compartmentalise each area opposed looking @ bigger picture, can overwhelming. 1 important aspect has impact on mention correctly auditing, analysing , debugging code, of tools below can this:
[...]investigating, identifying , resolving slow-downs, redundant code, leaks , other issues in web-apps - both server-side[...]
for php specific development,look at:
[...]and in browsesr on client-side?
for client side debugging, at:
webkit (safari / chrome browsers) - web inspector
ie - microsoft script debugger
for 'slow downs' caching, either using
ob_start (eg. ob_start('ob_gzhandler');
) , ob_end_flush
you can use:
these tools aside, important note ability produce great code whole (your entire app) dependant on third party apis rely on, , require (your code). more not constricted choice of apis (you have limited ability change source) , notably combination of apis choose. core focus should analysis of own coding layer, adhering of guidelines each api can...easier said done.
Comments
Post a Comment