Archive for September 16th, 2009

A sim­ple PHP redi­rect script

September 16th, 2009
/* Redirect browser */
header("Location: http://theos.in/");
/* Make sure that code below does not get executed when we redirect. */
exit;

Is pro­gram­ming an art form?

September 16th, 2009

Well, what is art any­how? I think to a cer­tain degree art, like beauty, is defined in some mea­sure by the beholder. As I have come to define the term ‘art’ for myself; art is a craft that is per­formed with some mea­sure of inspi­ra­tion. Any­one with the right train­ing can paint a car, but an artist can paint a car beau­ti­fully. To that, much of the same can be said for pro­gram­ming. Any­one with the right train­ing can pro­gram and make an appli­ca­tion but an artist can make a truly mag­nif­i­cent and effi­cient appli­ca­tion that can be very useful.

Art is a form of com­mu­ni­ca­tion between humans on a sub­con­scious level; art ‘hap­pens’ when we make a con­nec­tion that we are con­sciously unaware of but still feel has some mean­ing or sense of pur­pose. Yes I say, pro­gram­ming is an art. Pro­gram­mers are not too far removed from the tra­di­tional mean­ing of an author; both are smiths of lan­guage and syn­tax — albeit the tar­get audi­ences are mar­gin­ally dif­fer­ent. One audi­ence hopes to be informed or taken on an imag­i­nary jour­ney while the other audi­ence is a machine that only under­stands the dif­fer­ence between a one and a zero.

Pro­gram­ming, like any other form of art requires a con­cep­tual under­stand­ing and a desire to prac­tice. Does the author long for days of sit­ting behind a desk in an office? Does the painter wish to deliver the mail? My point is this; in order to pro­duce truly excep­tion art you must pro­duce truly inspired art, which starts with a true desire to learn. If the painter really doesn’t want to paint, it will even­tu­ally show in his paint­ings, once the nov­elty of being a painter has passed.

As in any form of art, the truly inspired prac­ti­tion­ers seem to share some like­nesses in char­ac­ter and per­son­al­ity. The art of pro­gram­ming tra­di­tion­ally seems to attract those who dis­play an out­wardly ana­lyt­i­cal ratio­nal, are math­e­mati­cians, are good with dif­fer­ent types of puz­zles or may have a back­ground in the sci­ence com­mu­nity. By no means is that a con­cise list of per­son­al­ity mark­ers but does embody some of the more com­mon ones.

Pro­gram­ming is cer­tainly not going to be for every­one, like many things it takes a par­tic­u­lar genetic makeup to have the desire to be a pro­gram­mer and not just ‘be’ a pro­gram­mer. I don’t have to be a painter to enjoy going to an art museum, just like you don’t have to be a pro­gram­mer to appre­ci­ate your favorite com­puter game.

SMTP2Go World­wide SMTP Email Ser­vice For Travelers!

DIY Home-Made Energy!

Writ­ten By:

Ryan Huff
ryan@rthconsultants.com
http://rthconsultants.com

Ryan Huff is a free­lance web devel­oper, tech­nol­ogy men­tor, mar­tial artist, busi­ness devel­oper and an avid inter­net mar­keter. You can con­nect with Ryan at RTH Con­sul­tants, fol­low Ryan at Twit­ter or at Face­book

So its finally time to learn about this PHP thing, eh?

September 16th, 2009
http://php.net

http://php.net

You can’t go five steps on Google with­out run­ning into it, a good per­cent­age of the web sites you fre­quent use it, peo­ple on the inter­net talk about it like com­mon place … so what is PHP and why should I learn it?

PHP, in my hon­est opin­ion is the best and most ver­sa­tile web server script­ing lan­guage around, hands down.  It is sup­ported by nearly every major server plat­form and works with most server con­fig­u­ra­tions.  Addi­tion­ally due to it’s near English-like syn­tax struc­ture, the PHP learn­ing curve is rel­a­tively small for begin­ners and prac­ti­cally neg­li­gi­ble for sea­soned pro­gram­mers.  Aside from all of that, the sin­gle great­est fea­ture of PHP in my opin­ion; it is an open source tech­nol­ogy (free)!

Click Here for a great PHP Learn­ing Guide!

There are many rea­sons for learn­ing PHP, it has wide com­mu­nity adop­tion and it is vir­tu­ally every­where. Entire careers are based off of know­ing PHP!  More impor­tantly, if you truly want to be suc­cess­ful on the Inter­net you are going to want to at least have a con­cep­tual under­stand­ing of how the Inter­net, web servers and web script­ing lan­guages func­tion.  In my opin­ion, there is no bet­ter way to gain that under­stand­ing than to learn PHP!

Learn­ing PHP can be strug­gling at times, as can learn­ing any­thing but the frus­tra­tions that you may encounter are gen­er­ally  going to revolve around gen­eral pro­gram­ming con­cepts rather than a spe­cific aspect of PHP. PHP will give you a great under­stand­ing of how com­puter lan­guages talk to the com­puter and it is a great entrance into the world of com­puter pro­gram­ming!  PHP will undoubt­edly leave you want­ing to learn addi­tional languages!

The best way I have found to learn PHP is through exam­ples.  When I began my PHP learn­ing endeavor, I would take a work­ing script that I found on some dark cor­ner of the inter­net and I would break it apart and reverse engi­neer it and eval­u­ate what each line of syn­tax was doing. Break­ing down work­ing exam­ples allowed me to learn dif­fer­ent ele­ments of the lan­guage in a pace much more suited to my learn­ing style.

The Code­Tree pro­vides you with a wealthy library of scripts, snip­pets and exam­ples for you to use and reverse engi­neer! You can use the scripts to help you learn like I have through reverse engineering.

Visit the Code and Snip­pet Library on The Code­Tree today! You may also sub­scribe to the feed!

If you have a more tra­di­tional style of learn­ing, there are sev­eral qual­ity resources avail­able to you for lit­tle or no money, all you need to do is Google! I have taken some of the leg work for you though, if you would like a great resource that can fast-track your PHP edu­ca­tion then please con­sider Sim­ple PHP by Rober Plank, a great PHP learn­ing resource.

Save Amer­ica! US on slip­pery slope to eco­nomic collapse

September 16th, 2009