Why You Should Learn PHP5
Why You Should Learn PHP5
We assume if you are reading this article that you want to learn PHP. Perhaps you are new to this language or are already experienced with PHP4. Now the question is why should you do PHP5? After all, PHP4 is quite good. Yes, but depending on what you are doing PHP5 can be better, much better. Just a simple reminder, we feel that most people who are new to programming should start with PHP4. Most people learn to walk before they learn to skate. But many great hockey players learned to ice skate before they learned to walk.
Object-oriented programming is the way to go when you want to develop sophisticated applications. Many purists say that people serious about programming should start with object-oriented programming right from the beginning. Don’t get me wrong. PHP4 provides many aspects of object-oriented programming. But it is missing many other aspects. The following is a partial list of functionality missing in Version 4 but available in Version 5. (This is not the place to explain these functions, don’t worry if you don’t know what they mean until you are ready to start using them.) PHP5 enables you to work with destructors, private and protected member variables and functions, static member variables and functions, interfaces, class type hints, abstract classes and methods, object iteration, and more. If that sounds like a lot to learn, it is. Should you need any or all of this functionality you will swear by this version. And swear at Version 4. If this is what you need don’t look for workarounds, download PHP5. By the way, PHP5 doesn’t only increase object-oriented functionality. Because of better internal management PHP5 actually works faster than PHP4 or the Microsoft alternatives, whether or not you are using this new functionality.
The
Feng Shui Colors For The BedroomFeng Shui Colors For The Bedroom Feng Shui is about balance and harmony in our environments. The bedroom is a very important room (we spend the majority of our day there), so many people naturally ask how to improve their bedroom using color selection according to Feng Shui. As we discuss bedroom colors, it isRead more ... Unique Home Decor – Thinking Outside The BoxUnique Home Decor – Thinking Outside The Box Home accents and surroundings today offer much more opportunity for self expression. Don’t be afraid to try something different. I’d rather decorate my home with items that appeal to my own individuality, than adhere to someone’s standards of what is the norm. Artisan crafted products truly createRead more ... Inexpensive Bedroom Decorating TipsInexpensive Bedroom Decorating Tips Your bedroom should be a place where you can ‘get away from it all. Doing a bedroom-decorating project adds to your individual taste and a key thought. Above all things, you want it to be at ease. Think of your bedroom as a retreat, and let your imagination go! Quality linensRead more ... |
world wide web is really world-wide. Yes, and many parts of the world don’t rely on our 26-letter alphabet. PHP5 supports non-Western character sets and Unicode so that you can develop web pages for the whole wide world.
If you use XML instead of HTML you should move to Version 5 for several technical reasons. Many sections of this product were rewritten in XML to extend, improve, and simplify it. Additional reasons for moving to PHP5 include dozens of new functions and improved MySQL support. On the downside, it is not supported on Windows 95. Considering that Microsoft no longer supports Windows 95 this is hardly a surprise. But you can run PHP5 on quite old computers. I have run PHP5 programs under Windows 2000 on a computer that was purchased new way back in August, 1999. And the entire PHP environment required less than 100 Megabytes.
Levi Reiss has authored or co-authored ten books on computers and the Internet. He loves the occasional glass of wine as exemplified by his wine websites including www.theworldwidewine.com. He teaches Linux and Windows operating systems plus other computer courses at an Ontario French-language community college. Visit his new website http://www.linux4windows.com which enables you to download and run Damn Small Linux on even outdated Windows computers.
Why You Should Learn PHP5 / Author: Levi Reiss