If you are a newcomer to PHP programming but an experienced programmer overall, chances are that you find PHP pretty simple to program with. PHP is actually a combination of C++ and Perl, created so that we can write our websites along with database management and more.
In an not so old tutorial, i’ve described how one can use urllib in Python to fetch url data and write cunning little scripts that automate online works. Sometimes, especially when you need to server some content to other users via a website, you will need to write such programs in php. Learning how to use curl is a pretty nice idea overall, since there are wrappers for the famous libcurl library at almost every language you can imagine. Therefore, you will sooner or later be using that.
Many programmers take up web programming at least once in their lives. Almost all of them, including myself of course, do it the wrong way at our first attempt. The first thing we learn is HTML along with CSS and then most move to PHP and mySQL in order to make dynamic websites. The one and most important mistake we make is writing HTML AND PHP in the same pages, creating a very bad mixture of unmaintanable code. Moreover, we are not that knowledgeable on creating website templates that work well and tend to write the same code over and over again. I’ll be attempting to explain how to avoid this, giving you some insight on how to propery code your websites so that you clear clear and easily maintanable code.
Smarty Template System – A must for web programmers