Better HN
topnewbestaskshowjobs
Log inSign up

codeguy

41 karma · joined Jul 24, 2010 (16y ago) · 14 submissions

Submissions

1.

Docker for PHP Developers(newmediacampaigns.com ↗)

4 points · by codeguy · 11y ago · discuss

2.

Facebook's Hack, HHVM, and the Future of PHP(programming.oreilly.com ↗)

2 points · by codeguy · 12y ago · discuss

comment 12y ago · link · parent

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.

4.

PourBot: Making an Arduino Pour Over Coffee Machine(krisjordan.com ↗)

1 points · by codeguy · 13y ago · discuss

comment 14y ago · link · parent

haha. Always good advice. But I checked. It's fine :)

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

As mentioned elsewhere in the comments, I'll be moving over to GitHub Pages tonight to do exactly this.

comment 14y ago · link · parent

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!

comment 14y ago · link · parent

Will be moving over to GitHub pages w/ Jekyll soon to automate build process.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

Thanks for the suggestion. Feel free to send a pull request and I'll be happy to add it in!

13.

Google Chrome Advertising on "New Tab" Screen(twitter.com ↗)

4 points · by codeguy · 15y ago · discuss

comment 16y ago · link · parent

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