Thursday, 25 October 2012

DoClickSolutions is a Software Training with Development Institute. This is the place where students can experience the knowledge of software. Here we are to take through a successful IT carrier and guide the students to enhance them to apply their software skills in real time projects. We train them to bring out the knowledge to develop projects and execute them successfully.

JAVA, J2EE, .NET, PHP, MYSQL, ANDROID and WEB TECHNOLOGIES is technologies that are applied by programmers to develop high end software's.

The aim of DoClick Solutions is to make students come out with the abilities to develop their software skills and implement their aims and dreams to walk into a successful IT carrier. We help students to create academic live projects and IEEE projects trained by experienced real time consultant. Here we provide full Placement Training that consists of Aptitude, Communication and Technical skills that is trained by well experienced Professionals.


How to speed up your php website

There is a nice technique to reduce the amount of calls your browsers has to make to the server. This will be every image, every css and every JavaScript file included in the webpage. Each time you want to load in one of these elements you will be sending a request to the server which will return the requested object known as a HTTP request.
Reduce Page Loading Time With PHP

Each one of these uses up time on your page loading, so to reduce page load all you have to do is reduce the amount of calls being made. But what if you want to organise you JavaScript files, jquery file, general file, application file and page file. There could be upto 4 requests for some javascript for the page.
It is possible in PHP to combine these JavaScript files together and trick the browser into thinking they are just one JavaScript file, therefore reducing the amount of calls being made to the server. This is done by reading the JavaScript with PHP then changing the header to JavaScript like the example below.
Create a PHP file and use the readfile function to bring in your Javascript files then change the header to Javascript and the server will treat this page as Javascript.
readfile(jquery.js’);
readfile(general.js’);
readfile(jquery-ui.js’);
readfile(page.js’);
header(‘Content-type: text/javascript’);
This technique can be used for css files too.

JOB TRENDS IN PHP/MYSQL




No comments:

Post a Comment