Category Archives: web development

8 Ways to Fine Tune your PHP Programming

PHP
Today I am going tell you some methods which will help those learning PHP & also those who are planning to start learning PHP. For those who are planning to learn PHP, I just want to say that every programming language has the same logic only the grammar (coding style or structure) changes.

1. Always follow the standard method of coding e.g. writing a single if statement without the curly braces {} works but always use them since this will result in easy updating in future.

2. Use comments to result in better understanding of the code. And also saves a lot for another programmer.

3. In case of any doubt, always refer to the online PHP Manual since it has a unique feature of adding the user comments which may provide better understanding of the issue. And also saves a lot of time since it minimizes the risk of any possible bug in the final program.

4. Use an IDE for PHP development just to enhance your programming skills and will also save a lot of time. Like NuSphere PhpED IDE(http://www.nusphere.com/). Even you can try Wamp Server or XAMPP for running your PHP scripts at your end.

5. Try to reduce the HTTP Request of files. It will in turn reduce the server load & increase the processing speed.

6. Always write a detailed list of things you expect your program to do. In technical terms, a Software Requirement Specification (SRS). So that you clearly know what you are going to do? Read this post for Writing SRS.

7. Use PHP Cheat Sheet or Reference Sheet while coding just to minimize the risk of errors. PHP Cheat Sheet is a collection of all the syntaxes, structures, etc.

8. Always give credit if you borrow some idea or code from someone else. Since the most important thing is that we should not be only a programmer but a good programmer & for that we must show respect towards the community of programmers. This result in worldwide acceptance & support for your work.

Let us hope these points will help you in honing your skills in PHP.

Note: Few points are also applicable to other programming languages

Update: Beginning PHP5, Apache, and MySQL Web Development can be used as a desk reference for a ready reference.

Shubhamoy

An engineer by chance and a blogger by choice. Love to share my knowledge with the masses. My main focus is always on open source technologies and latest gadgets. This blog provides me the platform to cherish my passion.

Website - More Posts

Give Polaroid Look To Your Images!!

Hi Folks,

Do you want to give a polaroid look to your pics taken from your digicam or mobile phone? Like this:

shubhamoy_polaroid

So you need to visit Rollip.com, a free online tool which gives polaroid effect to your images. It just takes only three simple steps to give a polaroid look to your images. You can download and share your pics. It is really an amazing and unique concept.

You all must give it a try and share your views with me. So happy rolliping :)

Shubhamoy

An engineer by chance and a blogger by choice. Love to share my knowledge with the masses. My main focus is always on open source technologies and latest gadgets. This blog provides me the platform to cherish my passion.

Website - More Posts

Optimize Wibiya Toolbar

Wibiya Toolbar(or Wibiya Wibar) is an amazing and multi purpose toolbar. It is an all-in-one plugin for a blog. You can read more about it @ Wibiya Toolbar for Blogs. It had been a week using it, I faced a trouble with it’s loading time. So here is a way to decrease, it’s loading time.

Wibiya Toolbar

Wibiya Toolbar

For WordPress and Other Sites:

  1. Move to “http://blog.yourname.com/wp-admin/plugin-editor.php
  2. Select Wibiya Plugin from the drop down list
  3. Now check line 10-11. Find out toolbarId=xxxx. Add ‘&pl=1
  4. Check out your blog!

Shubhamoy

An engineer by chance and a blogger by choice. Love to share my knowledge with the masses. My main focus is always on open source technologies and latest gadgets. This blog provides me the platform to cherish my passion.

Website - More Posts