| Will You Add? |
Hubs | Hubbers | Topics | Request |
| #1 in Business | Subscribe Email Print |
|
You are here: Home > Internet and Businesses Online > Web Development > PHP Tips For Beginners |
|
Will You Add? - PHP Tips For Beginners
Building a Website With Little Knowledge but Loads of Ease y as it's only through godawful errors that your programming style will evolve. It can be extremely frustrating at times, but if you take a pro-active attitude to programming and do a little bit of research on the difficulties that you've been encountering then you'll overcome these hurdles and you'll become a stronger programmer.When starting out in business all those years ago, I knew that in today’s world a website would be a necessity. Now that the internet and Google, which has grown to become the worlds largest search engine, have out ranked the yellow pages in the home. I mean, how easy is it to find what you want know by just typing in a few keywords and hitting the button?Your product or service can get a real boost with even just a basic site, but just imagine what could happen 7) print_r() is your friend, particularly when it comes to debugging arrays. It can be crucial when it comes to diagnosing simple but persistant problems. 8) Once you feel confident in your ability as a PHP programmer, I seriously recommend joining Search Engine Optimization - the Facts 1) Do not rely solely upon one source for instruction and tutorials. I seriously recommend making use of all of the resources available to you whether they be from books or the internet. The Official PHP site, PHP Freaks and PHP Builder are your friends. There is so much out there to learn. 2) Does the_cat look better than theCat? Make your mind up early as it can be quite offputting naming a variable the_cat in one program and theCat in an other. It is best to decide on a convention for naming variables early on your PHP career as consistency is your friend in the long run. 3) Do not follow examples/tutorials blindly on the internet. This is important. A site may be trying to demonstrate a programming concept by using the example of a car company. If you've no interest in cars you won't be in the slightest bit interested. Why not try applying it to something you are interested in like music or sports? A good example of this was when I was trying to learn about classes in PHP. I had major difficulty staying awake as most of code I read was based around the analogy of a bank or something. So instead I decided to alter the example and create a class based around a soccer player. I couldn't believe how easily I grapsed the concept after this. As with everything in life if you are interested then half the battles won. 4) Comment your code whilst you are working on it. This is not a suggestion but an order. As you grow more competent with the language your coding style will inevitably change and you'll begin questioning your sanity when you look at your old code. Believe me, you'll think someone has broken into your computer and tampered with your scripts. "Was my code really that shabby? What the hell's this meant to do?!?!? Whaaa?????" are all phrases I've caught myself uttering whilst revising old code. 5) Read the PHP manual regularly. Its amazing how many times at the start you try to code a function that is already built into the language. This can be very frustrating. 6) Do not be frightened about writing bad code. Get stuck in and make your mistakes early as it's only through godawful errors that your programming style will evolve. It can be extremely frustrating at times, but if you take a pro-active attitude to programming and do a little bit of research on the difficulties that you've been encountering then you'll overcome these hurdles and you'll become a stronger programmer. 7) print_r() is your friend, particularly when it comes to debugging arrays. It can be crucial when it comes to diagnosing simple but persistant problems. 8) Once you feel confident in your ability as a PHP programmer, I seriously recommend joining Online Paid Surveys - Easy Way To Earn Cash? 2) Does the_cat look better than theCat? Make your mind up early as it can be quite offputting naming a variable the_cat in one program and theCat in an other. It is best to decide on a convention for naming variables early on your PHP career as consistency is your friend in the long run. 3) Do not follow examples/tutorials blindly on the internet. This is important. A site may be trying to demonstrate a programming concept by using the example of a car company. If you've no interest in cars you won't be in the slightest bit interested. Why not try applying it to something you are interested in like music or sports? A good example of this was when I was trying to learn about classes in PHP. I had major difficulty staying awake as most of code I read was based around the analogy of a bank or something. So instead I decided to alter the example and create a class based around a soccer player. I couldn't believe how easily I grapsed the concept after this. As with everything in life if you are interested then half the battles won. 4) Comment your code whilst you are working on it. This is not a suggestion but an order. As you grow more competent with the language your coding style will inevitably change and you'll begin questioning your sanity when you look at your old code. Believe me, you'll think someone has broken into your computer and tampered with your scripts. "Was my code really that shabby? What the hell's this meant to do?!?!? Whaaa?????" are all phrases I've caught myself uttering whilst revising old code. 5) Read the PHP manual regularly. Its amazing how many times at the start you try to code a function that is already built into the language. This can be very frustrating. 6) Do not be frightened about writing bad code. Get stuck in and make your mistakes early as it's only through godawful errors that your programming style will evolve. It can be extremely frustrating at times, but if you take a pro-active attitude to programming and do a little bit of research on the difficulties that you've been encountering then you'll overcome these hurdles and you'll become a stronger programmer. 7) print_r() is your friend, particularly when it comes to debugging arrays. It can be crucial when it comes to diagnosing simple but persistant problems. 8) Once you feel confident in your ability as a PHP programmer, I seriously recommend joining Most Profitable Adsense Web Sites: What They Do Different A good example of this was when I was trying to learn about classes in PHP. I had major difficulty staying awake as most of code I read was based around the analogy of a bank or something. So instead I decided to alter the example and create a class based around a soccer player. I couldn't believe how easily I grapsed the concept after this. As with everything in life if you are interested then half the battles won. 4) Comment your code whilst you are working on it. This is not a suggestion but an order. As you grow more competent with the language your coding style will inevitably change and you'll begin questioning your sanity when you look at your old code. Believe me, you'll think someone has broken into your computer and tampered with your scripts. "Was my code really that shabby? What the hell's this meant to do?!?!? Whaaa?????" are all phrases I've caught myself uttering whilst revising old code. 5) Read the PHP manual regularly. Its amazing how many times at the start you try to code a function that is already built into the language. This can be very frustrating. 6) Do not be frightened about writing bad code. Get stuck in and make your mistakes early as it's only through godawful errors that your programming style will evolve. It can be extremely frustrating at times, but if you take a pro-active attitude to programming and do a little bit of research on the difficulties that you've been encountering then you'll overcome these hurdles and you'll become a stronger programmer. 7) print_r() is your friend, particularly when it comes to debugging arrays. It can be crucial when it comes to diagnosing simple but persistant problems. 8) Once you feel confident in your ability as a PHP programmer, I seriously recommend joining Why Most Internet Marketers Fail 5) Read the PHP manual regularly. Its amazing how many times at the start you try to code a function that is already built into the language. This can be very frustrating. 6) Do not be frightened about writing bad code. Get stuck in and make your mistakes early as it's only through godawful errors that your programming style will evolve. It can be extremely frustrating at times, but if you take a pro-active attitude to programming and do a little bit of research on the difficulties that you've been encountering then you'll overcome these hurdles and you'll become a stronger programmer. 7) print_r() is your friend, particularly when it comes to debugging arrays. It can be crucial when it comes to diagnosing simple but persistant problems. 8) Once you feel confident in your ability as a PHP programmer, I seriously recommend joining Sales Leadership In A Down Market 7) print_r() is your friend, particularly when it comes to debugging arrays. It can be crucial when it comes to diagnosing simple but persistant problems. 8) Once you feel confident in your ability as a PHP programmer, I seriously recommend joining Rentacoder. It will give you practical experience in working with clients from all over the world and will force you to improve upon your understanding of the language and web design in general. 9) Play around with PHP and use its built-in functions to create something goofy. Let your PHP IDE be your sketchpad. This is meant to be fun god-damnit. Not a chore! 10) Download PHP Designer 2006. Trust me, it makes programming in PHP a hell of a lot easier. Plus its free, which is always good when you are a cheapskate student like myself.
HTTP = HTML link (for blogs, profiles,phorums):
Related Articles:The History of Sales: Dale Carnegie is Still with Us Biz Op Refunds and Future Rules to Protect Consumers
|