Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint WebTech Blog:
Give Your Visitors a Rough Time
Mar 06, 2008 @ 14:44:00

In a new post to the Web Tech blog over on SitePoint, Toby Somerville has posted something he calls "RoughTime" - his method for displaying a more "human friendly" output of a timestamp.

When asked the time, we generally don't need to be military accurate with our response [...] we generally communicate the approximate time. i.e. 'its nearly ten' or 'its just gone half past three'. Yet on the web, time is generally shown as '12:24:13 AM', or similar — not very visitor friendly.

His RoughTime uses two switch statements to map the hour and minute values to different strings. For example, minutes between 15 and 20 become "quarter past" and the hours are changed over from numeric versions to their word counterparts.

tagged: roughtime switch approximate time hour minute translate

Link:

Chris Shiflett's Blog:
PHP Lightning Talks
May 10, 2006 @ 19:49:43

Chris Shiflett has posted some new information about this year's O'Reilly Open Source Conference - this year's Lightning Talks.

If you're attending OSCON this year, be sure to check out the PHP Lightning Talks being hosted by George and Laura.

In the meantime, you can learn all about lightning talks, read some tips on giving lightning talks, or submit a PHP lightning talk proposal of your own to lightningtalks-oscon2006@omniti.com. Proposals are being accepted until 21 Jul 2006.

The talks are collections of 5-minute talks given by the presenters (PHP community) with topics ranging from new ideas to Q&A sessions, even rants. If you'd like to enter your suggestions for a lightning talk of your own, be sure to get them in before July 21st, 2006!

tagged: oscon conference lightning talks five minute oscon conference lightning talks five minute

Link:

Chris Shiflett's Blog:
PHP Lightning Talks
May 10, 2006 @ 19:49:43

Chris Shiflett has posted some new information about this year's O'Reilly Open Source Conference - this year's Lightning Talks.

If you're attending OSCON this year, be sure to check out the PHP Lightning Talks being hosted by George and Laura.

In the meantime, you can learn all about lightning talks, read some tips on giving lightning talks, or submit a PHP lightning talk proposal of your own to lightningtalks-oscon2006@omniti.com. Proposals are being accepted until 21 Jul 2006.

The talks are collections of 5-minute talks given by the presenters (PHP community) with topics ranging from new ideas to Q&A sessions, even rants. If you'd like to enter your suggestions for a lightning talk of your own, be sure to get them in before July 21st, 2006!

tagged: oscon conference lightning talks five minute oscon conference lightning talks five minute

Link:


Trending Topics: