Greenguy's Board


Go Back   Greenguy's Board > Chit Chat
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-04-01, 05:07 AM   #1
spazlabz
You can now put whatever you want in this space :)
 
spazlabz's Avatar
 
Join Date: Apr 2003
Location: Bluegrass State
Posts: 963
Send a message via ICQ to spazlabz Send a message via AIM to spazlabz Send a message via Yahoo to spazlabz
I hate PHP

ya know, sometimes, when you get up at 2 am because something needs to get done and your sitting around attempting to focus on your screen.......a funny thought pops into your head (if your like me)
"I bet a PHP script can do that" is the type of thought I have. Simple enough right? unless your like me, in as much as I know what PHP is.....its a script right? a language special people called 'programmers' or 'coders' use to make life easier......yeah, it makes life easier.
Then why is it (since the most PHP I can type is the three letters "PHP") that this script that is supposed to make my life easier always seems to complicate it beyond all reasonably acceptable levels?
Here is the deal, you ask a question requiring a yes or no answer to a 'coder', example:

"Will the script allow me to say import a freesite using the special code put in the links so that the script will generate the affiliates link code on all the links to the tours on all four pages?"

A well worded and well thought out question if ever there was one right? (thats why I am an affiliate manager!)
the answer invariably goes like this:
"yes" or "no" LOL I am kidding! you NEVER get that answer, instead you get something like:
" I will look into it and get back to you."

LIES!! all LIES!! heh heh 6 weeks later you get a 'maybe' and your thrilled with that answer LOL

so does anyone else here HATE PHP??
__________________
spazlabz is offline   Reply With Quote
Old 2005-04-01, 09:01 AM   #2
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
I have a dislike for PHP for many reasons, but, we still develop software using it because it is almost universally installed. I cannot say the same for mod_perl (my current choice) or mod_python (my up and coming choice)

Zend has dutifully ignored an issue regarding security that would have removed SQL injections from being possible. Remember the Paris Hilton Phone hack fiasco? They have announced support for bind variables with the new 4.1 mysqli interface, but, to have avoided an issue for so long, and provided software with so many different configs that you cannot safely write code to handle security issues on every possible config, I think they really missed the point.

Followed by their fantastic answer to multi-threaded programming by issuing an exclusive lock before and after a task is running rather than doing a lock at only the times when the code isn't threadsafe, its an abomination.

php5 adds OOP as an afterthought. Its was the 'in' thing two years ago, lets shoehorn it in.

But, no other embedded language has made it into as many machines as php, few languages enjoy the glut of code available. And, given that it is somewhat universal, it is what it is.

Personally, its my last choice for development unless there is a good reason. Finding guys that know mod_perl (or even perl) or worse, python, is extremely difficult. Add on top of that templating engines and you have limited your employee pool substantially.

That being said, we did write almost 100k lines of php in the last 4 months for one project.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2005-04-01, 10:55 AM   #3
spazlabz
You can now put whatever you want in this space :)
 
spazlabz's Avatar
 
Join Date: Apr 2003
Location: Bluegrass State
Posts: 963
Send a message via ICQ to spazlabz Send a message via AIM to spazlabz Send a message via Yahoo to spazlabz
wow......... I did understand the the thing about you having a dislike for PHP LOL
__________________
spazlabz is offline   Reply With Quote
Old 2005-04-01, 03:18 PM   #4
SexyCityGlen
Aw, Dad, you've done a lot of great things, but you're a very old man, and old people are useless
 
SexyCityGlen's Avatar
 
Join Date: Mar 2005
Posts: 21
man im trying to learn PHP these days.. in fact u even posted a thread asking for some resources.. this is a good break LOL
SexyCityGlen is offline   Reply With Quote
Old 2005-04-04, 05:01 AM   #5
Mishi
I want to live. I want to experience the universe, and I want to eat pie.
 
Mishi's Avatar
 
Join Date: Aug 2003
Location: Where the wind comes sweeping down the plain
Posts: 661
Send a message via ICQ to Mishi
I adore PHP. I find it intuitive and efficient (though I'm not using it as effectively as I would like). Only time I hate it is when I want it to do client-side stuff...which, of course, it's not meant to do. But it's so friendly otherwise, it seems like it should just bend itself to my every whim.
Mishi is offline   Reply With Quote
Old 2005-04-04, 08:00 AM   #6
ClickBuster
I'm normally not a praying man, but if you're up there, please save me Superman!
 
ClickBuster's Avatar
 
Join Date: Dec 2004
Location: Bulgaria
Posts: 476
Send a message via ICQ to ClickBuster
Programmers/coders say that scripts are easy to do when you need something done fast, etc, because script coding compared to OS development is like a game for kids. If you're in a position when you have some good experience with PHP, let say a year of coding, you will know that learning it was one of the best things you could do. Although, it's not the most reliably and stabe type of coding, but it's the cheapest, the fastest to get something done, all hosts have PHP/MySQL installed, you can port the code to Windows or from Win to Linux or whatever you like - it's like a charm + It's easy to debug ready-to-go open-source packages and develop new features for them... so, no, I don't hate PHP, I adore it for what it is and the way it works
__________________
The tendency is to push it as far as you can
-- Fear and Loathing In Las Vegas
ClickBuster is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:21 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc