View Single Post
Old 11-26-2011, 11:17 PM  
unixmaid
Registered User
 
Industry Role:
Join Date: Nov 2011
Posts: 17
Quote:
Originally Posted by AZNNC View Post
Thanks for the help guys.
PS. If any of you are looking for programming work hit me up on icq 78478691. I always need a good programmer, and have had nothing but horrible flakes working with me. Hence why I've realized maybe its better to just learn it and do things myself in the future.
I'm always looking for interesting programming work! I just may do that.

I've been on the mainstream side of things for so long, I don't even have ICQ anymore.. I suppose I should get an account.

It's good that you've used another language! And yes, PHP really is a terrible "programming language" except in very specific contexts (like when you want to rapidly barf up some dynamic HTML)

Just as an experiment, you might try a SIMPLE form in something like perl WITHOUT USING CGI.pm. Not for production use, but to gain an understanding of how GET/POST works. I've actually met a few php coders who were confused about how the protocol works, how variables get from the browser to the script and the contexts they apply in, this is because PHP is (by design) pretty good at hiding these details from the programmer.

Just doing that exercise can illustrate whats going on, far better than any book could.

Also, if it's an older book.. you shouldn't be using the mysql_ functions anymore, look into PDO, specifically the place-holders.

PDO can save a lot of grief, including the prevention of SQL injection bugs and, in some DBMS's, improved performance, as the query plans can be cached when place-holders are used. (also saves a lot of round-trip network traffic and saves the DB from having to parse the SQL, for each and every insert)

I guess this is what I meant about books. People read them and maybe don't realize things like the above place-holder thing... I've seen a lot of crusty database code that suffers from this.

I'm not real wild about big fat books.
__________________
UNIX Geek / Software Design / Techie services
Looking for a few good clients: https://gfy.com/showthread.php?t=1047303
"I'm like a private detective for technology, except I usually avoid theatrical explosions"
unixmaid is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook