Scrydan Posted September 28, 2015 Share Posted September 28, 2015 Note that the thread title part "obsessive" is a joke. Because who can beat me when it comes to making code just for the sake of it? I kid, I bet more exists out there somewhere. So feel free to share stuff here. I got a lot of stuff so I'll come back and give a proper list of things I've done in my 5+ years of programming in this language primarily. Quote Link to comment Share on other sites More sharing options...
Kalmor Posted September 28, 2015 Share Posted September 28, 2015 I'm using PHP for one of my projects.I wouldn't say it was the most friendly language ever, considering some of the head-scratching stuff it sometimes spouts out... Quote Link to comment Share on other sites More sharing options...
ArielMT Posted September 28, 2015 Share Posted September 28, 2015 I came to PHP after learning other languages, and although I'm better for knowing it, I'm worse for actually using it in new projects for anything beyond the simplest of scripting. The failures of the language itself that have tripped me up most are its backwards ternary operator stacking and the need to use triple-equals instead of double-equals to check if standard library functions succeeded or failed. (An example of that latter bit, <?php $haystack="apple"; $needle="a"; $pos=strpos($haystack, $needle); if ($pos == FALSE) { echo "There is no $needle in $haystack."; } else { $pos=$pos+1; echo "$needle is letter $pos in $haystack."; } ?> will print "There is no a in apple.", while <?php $haystack="apple"; $needle="a"; $pos=strpos($haystack, $needle); if ($pos === FALSE) { echo "There is no $needle in $haystack."; } else { $pos=$pos+1; echo "$needle is letter $pos in $haystack."; } ?> will print "a is letter 1 in apple.") These days, I use C, Bash, and Ruby while I learn Perl and Python, and I mainly deal with PHP the same way people deal with COBOL: legacy project maintenance only.The last PHP code I wrote with lasting effects on the Web is a program to regenerate the static HTML page at start.thornton2.com, whose content I badly need to update. Quote Link to comment Share on other sites More sharing options...
Socks the Fox Posted September 28, 2015 Share Posted September 28, 2015 My current PHP project is based heavily off of a friend's code, that I've taken and made extensible, and then extended it to meet another friend's need for their website:https://github.com/socks-the-fox/ComicWingsExtensions include a comment system, an admin page, and a comic auto-update script.I'm probably going to take some of the general concepts from this system and make a simple static CMS system off it later. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.