codeguy
Facebook's Hack, HHVM, and the Future of PHP
Re:The new PHP
on Tuesday March 04, 2014 @11:34AM (#7341259)
Hi nikic. Thanks for the feedback! (I'm the author of that article). The O'Reilly editors made a few changes to the wording without my review that make it more ambiguous as to what features were introduced in what version. I agree as is it can be confusing. But the point is that the latest version of PHP provides all of these features. The variadic function statement was an error on my part and it has since been corrected in the article.
PourBot: Making an Arduino Pour Over Coffee Machine
Re:PHP: The Right Way
on Saturday July 07, 2012 @06:25PM (#4212922)
haha. Always good advice. But I checked. It's fine :)
Re:PHP: The Right Way
on Saturday July 07, 2012 @05:59PM (#4212862)
I agree. It's very much in a v1.0 form right now. Once I move over to GitHub Pages, I hope to add more links to tutorials and code samples without bloating the document itself.
Re:PHP: The Right Way
on Saturday July 07, 2012 @05:48PM (#4212844)
As mentioned elsewhere in the comments, I'll be moving over to GitHub Pages tonight to do exactly this.
Re:PHP: The Right Way
on Saturday July 07, 2012 @05:33PM (#4212800)
I'd definitely filter input that goes into a database. But if you think the wording can be made better, definitely send a pull request. Thanks!
Re:PHP: The Right Way
on Saturday July 07, 2012 @05:26PM (#4212776)
Will be moving over to GitHub pages w/ Jekyll soon to automate build process.
Re:PHP: The Right Way
on Saturday July 07, 2012 @05:21PM (#4212765)
I think it's less about being "superior" than standardizing on a common style. Makes it easier to get up and running with someone else's code. But if your team agrees on a common but different style, that's fine too. It accomplishes the same goal. I'm only suggesting the official standard for new PHP developers.
Re:PHP: The Right Way
on Saturday July 07, 2012 @05:10PM (#4212739)
All good points. If you'd like to submit a pull request, I'll be happy to credit you with the additions and get them added to the site.
Re:PHP: The Right Way
on Saturday July 07, 2012 @05:08PM (#4212729)
Thanks for the suggestion. Feel free to send a pull request and I'll be happy to add it in!
Google Chrome Advertising on "New Tab" Screen
Re:Sinatra clone in PHP
on Monday September 20, 2010 @09:30PM (#1711133)
Looks promising! I've actually been developing my own Sinatra clone in PHP5. I've called it "Slim". It has RESTful GET, POST, PUT, DELETE routing. It has before and after callbacks. It has Page Not Found handling, halting, helpers to set custom response codes, and easy-to-extend templating (use Smarty, Twig, or whatever you want). See more at:
Documentation: http://slim.joshlockhart.com/
GitHub (with Download): http://github.com/codeguy/Slim
Still very much a work in progress, but thought I'd go ahead and get the word out.
Enjoy! Josh