 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
PHPMaster.com: Localizing PHP Applications "The Right Way", Part 2
by Chris Cornutt November 02, 2011 @ 15:05:03
PHPMaster.com has posted the second part of their series about localizing PHP applications "the right way" (hint: it uses gettext).
Welcome back to this series of articles which teach you how to localize your PHP applications using gettext and its PHP extension. In Part 1 you took your first steps towards towards this by installing gettext and Poedit, creating a translation file, and writing a Hello World script. In this part you'll lean about each of the function used in the script, and dive more into the gettext library and its usage.
The explain some of the naming conventions gettext uses for things (like "domains" and "codeset") as well as the shorthand "_()" you can use to retrieve translated values. There's also a look at supporting multiple locales via multiple directories of .po and .mo files.
voice your opinion now!
localize application gettext poedit series part2
Ibuildings techPortal: PHPNW11 Conference Report - Part II
by Chris Cornutt October 28, 2011 @ 10:15:27
On the Ibuildings techPortal Marco De Bortoli has posted the second part of his summary of this year's PHP North West conference (you can find the first part here). In this part he briefly discusses the tutorial day and the main conference, including the sessions he attended.
This was a very social event from day one, warm and funny with a horde of geeks trying to mix with "normal people" (yes, that can happen if you attend the PHPNW conference, so try not to miss it next year). The best thing about PHP conferences is knowledge-sharing; you won't leave without a hundred different thoughts and ideas of how to do things better. Once again - definitely a good time, both personally and professionally. If you weren't there, you missed out!
The sessions he specifically mentions include the "Security" talk from Arne Blankerts, "Maintainable Applications in PHP Using Components" by Stuart Herbert, "PHP Extensions, why and what?" by Derick Rethans and "Acceptance & Integration Testing Using Behat" from Ben Waine.
voice your opinion now!
phpnw11 phpnorthwest conference report summary part2
PHPBuilder.com: Reading RSS feeds in PHP Part 2
by Chris Cornutt December 19, 2006 @ 15:48:00
PHPBuilder.com has posted part two in their series looking at working with RSS feeds in PHP. This time, they pick up from the previous part and look at parsing two new feeds and pushing that content into a database.
These two sample feeds are loosely based on some of the feeds supplied by Independent Online. Note that unlike last month's simplified example, each article item has a publication date. We'll call the two feeds africa.rss and southafrica.rss.
They give the contents of the feeds to be parsed and what the info (as parsed by the code from the previous article) spit out the other side would look like. They also give the schema for the database table you can push all of the content into to store it. The rest of the article is the code listing to get this system working (including the code to parse the feed itself).
voice your opinion now!
part2 rss feed parse database output tutorial part2 rss feed parse database output tutorial
|
Community Events
Don't see your event here? Let us know!
|