News Feed
Jobs Feed
Sections



Recent Jobs

News Archive
feed this:

Reddit.com:
Let's talk Character Encoding
March 15, 2012 @ 11:07:07

On Reddit.com there's a recent post with a growing discussion about character encodings in PHP applications (with some various recommendations).

I would rather not have to convert these weird characters to the HTML character entities, if possible. I'd rather be able to use these characters directly on the web page. If this is for some reason a bad idea, let me know. This might be more of a general web design question (i already posted it there), but I figured it is still appropriate to post here as well since PHP is used to pull an entry from the database, and I figured a lot of you here would know the answer to the question.

The general consensus is to use UTF8 in this case, but there's a few reminders for the poster too:

  • Don't forget to make the database UTF8 too
  • Be sure you're sending the right Content-Type for the UTF8 data
  • an link to an article about what "developers must know about unicode/charactersets"
0 comments voice your opinion now!
character encoding advice reddit utf8 contenttype unicode



Reddit.com:
A Response to "The MicroPHP Manifesto"
January 04, 2012 @ 09:18:42

On Reddit today there's a rather large discussion going on about the recently posted manifesto from Ed Finkler about building simple, manageable tools rather than using "kitchen sink" frameworks for your applications.

As of the time of this post there's about sixty-five comments posted to the thread with widely ranging opinions:

  • "How is [lots of separate libraries scattered around] better than simply using a framework?"
  • "This is part of the reason for the PSR0 reference for auto loaders [...] Part of the problem is an inconsistent way to load modules."
  • "I would love to see this become a trend in the PHP community. I think this is exactly the direction needed to make PHP exciting again and regain mindshare in the wider dev community."
  • "I know, many people are currently on that micro trip but seriously, I think that there is as much to microframeworks as there is to microoptimization"
  • "A framework is a tool. If you don't need it, why use it?"
  • "There's a tool for ever job, I agree some projects or companies "need" something like Zend or Symfony for their enterprise projects. Whether or not you'd want to work on a project with 1000's of classes is something else all together."

Read the full responses to Ed's article here.

0 comments voice your opinion now!
reddit response opinion manifesto community


Reddit.com:
C'mon PHP. At this point, you're almost a parody of yourself
June 09, 2009 @ 16:35:28

Over on Reddit.com today there's an interesting post that kicks off a discussion as to PHP might be a "parody of itself" by making the choice to include "goto" functionality in the upcoming PHP 5.3 release (you can find release candidates here).

If you can manage to overlook the trolling and PHP bashing long enough, though, you'll see an interesting discussion on goto, how its implemented in other languages and even suggestions of how it has proved itself useful in several different languages (C, Lisp, Assembly). If you have the patience to sort through it all, there's some valid points made for both sides of the "goto in PHP" argument - for and against.

0 comments voice your opinion now!
goto reddit parody


Michael Kimsal's Blog:
Lessons learned from a reddit overload
June 30, 2008 @ 12:04:27

Thanks to it being posted on reddit, the traffic to a certain post on Michael Kimsal's blog gave him a crash (literally?) course in high load management on a WordPress blog.

The blog post was voted up on reddit, and the server got slammed. So slammed, in fact, that it was unusable for a few hours while I investigated the problem. I didn't know the post was on reddit, but I knew I was getting some traffic.

He spent some time trying to get the Apache server to finally die off and give him back his machine, at least enough to get a feel for what was going on. Part of his problem was not having APC installed like he thought and the other part - WordPress. While friendly on the outside, it's apparently somewhat lacking on the inside.

0 comments voice your opinion now!
reddit overload apc apache wordpress upload meter



Community Events





Don't see your event here?
Let us know!


symfony2 introduction database phpunit podcast voicesoftheelephpant testing unittest api injection language interview zendframework2 framework release zendframework conference application community opinion

All content copyright, 2012 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework