Archive for the “PHP Programming” Category

( This is a guest post by Gwen Davis. Thank you ! )

What is MariaDB?

Read the rest of this entry »

Comments No Comments »

There comes a time in the life of a serious PHP programmer where they need to code (or be part) of a large scale project. Using the right tools is what separates the men from the boys. Virtually every well known large scale software written in PHP uses a template engine of some kind, with Smarty being one of the most well known ones.

Read the rest of this entry »

Comments 2 Comments »

What would happen if you tried to use a mirror as a surfboard ? Well, you may succeed in taming the waves for a little while, or even a big while, but deep inside, you know that this is not really the right way to do it. Weird as it may sound, the same principals apply to php programming. I’ve heard of people trying to learn PHP by studying it for like a weekend or more, but allow me to say, this is a pretty bad approach to learning this programming language.

Read the rest of this entry »

Comments 16 Comments »

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.

Read the rest of this entry »

Comments 11 Comments »

chocolatechipcookiesIn 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.

Read the rest of this entry »

Comments 7 Comments »

2Many 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

Read the rest of this entry »

Comments 1 Comment »