logo
Currently Browsing: PHP Programming

Top 10 PHP Techniques That Will Save You Time and Effort

logo

makes eat time 150x150 Top 10 PHP Techniques That Will Save You Time and EffortWhat 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.

(more…)

PHP Design Patterns – How to Properly Create a Website Index Page

logo

php 150x150 PHP Design Patterns   How to Properly Create a Website Index PageIf 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.

(more…)

Use CURL with PHP to Handle HTTP Requests and Create Useful Scripts

logo

chocolatechipcookies 150x150 Use CURL with PHP to Handle HTTP Requests and Create Useful ScriptsIn 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.

(more…)

Using Smarty as a Template Engine For Your Php Websites

logo

2 150x150 Using Smarty as a Template Engine For Your Php WebsitesMany 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

(more…)

logo
Copyright 2009 All Rights Reserved