 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Derick Rethans: Mongo is dead, long live MongoClient
by Chris Cornutt November 28, 2012 @ 09:13:51
In this recent post to his site Derick Rethans mentions the shiny new "MongoClient" class that the latest release of the Mongo PHP drivers provides.
This afternoon we published version 1.3.0 of the MongoDB PHP driver. Besides a number of bug fixes since RC2 and RC3, this new release also includes a new MongoClient class. This new MongoClient class serves as a replacement for the Mongo class. The old Mongo class is now deprecated and will be removed in a future release, although we are keeping it in place for now because of backwards compatibility reasons. We have already removed it mostly from the documentation, and are working to update all our other material as well.
The main change that comes with the MongoClient class is that it now has acknowledged writes on by default (a "safe mode"). This option determines wether or not the client waits for a confirmation from the server when a write has happened. He includes a bit of code showing how to: turn it off, keep it on or using replica set acknowledged writes. You can also set it on a per-query basis.
voice your opinion now!
mongo class driver release mongoclient class confirm write
Kevin Shroeder's Blog: Zend_Log with multiple writers
by Chris Cornutt September 14, 2010 @ 10:39:34
Kevin Schroeder has a recent post to his blog about a handy trick Zend Framework developers can use to have Zend_Log write out to multiple sources at once pretty easily.
If you were not aware, Zend_Log provides facilities for writing to multiple logs through the same log instance. Additionally, you can do this via configuration options when using a Zend_Application resource plugin. Together those make for very powerful logging mechanisms. "How?" you ask? It's really easy.
The trick lies in the application.ini file configuration. He includes an example of how you can set this up showing how to make two different environments log differently - development writes to log/firebug and production just writes to the log. He includes some sample code for a basic controller showing you how to use it.
voice your opinion now!
zendlog zendframework tutorial multiple write development production
Brian Jones' Blog: If You Code, You Should Write
by Chris Cornutt September 10, 2009 @ 12:38:21
According to his latest blog post Brian Jones suggests that if you're writing code, you should share your thoughts with the world with some writing.
Writers often take the exact same course as do programmers. Programmers and writers alike are often given assignments. Assignments take the form of a problem that needs solving. For a programmer it's a function or method or class that needs implementing to perform a certain task. For a writer it's an article or column or speech that covers a particular topic.
He talks about some of the concepts around writing as opposed to coding - rough draft versus final version, the process you work through and how you can use writing to help others and yourself.
voice your opinion now!
code write opinion
Blue Parabola Blog: Writing Tech Books 101
by Chris Cornutt March 03, 2009 @ 11:11:28
For anyone out there looking to write a tech-related book, you will want to check out these tips from Matthew Turland over on the Blue Parabola blog. He gives eight (or so) tips to help out the budding authors in their pursuit for published stardom.
In lieu of a topic more focused on technical subject matter or practical application, I decided to take a post and detail some of my experiences in writing a book. [...] It's been quite the long haul, but I think being able to hold a copy of it in my hands will make it all worth it. So, here is the process as I've learned it from my own perspective.
Here's the overview of his list (there's lots more detail under each one):
- Be Serious
- Know Your Reasons
- Have a Concrete Idea
- Put Pen to Paper
- Do Your Homework
- Shop Around
- Find Editors
- Nose to the Grindstone
- Other miscellaneous items related to being an author
And, of course, the most important part - "Go Forth and Write".
voice your opinion now!
write technology book tip suggestion
PHPFreaks.com: Writing for PHP Freaks
by Chris Cornutt October 08, 2008 @ 07:51:58
If you're looking for a way to give back to the PHP community, there's plenty of ways - one of which could be writing for PHPFreaks.com.
We have decided to give people the chance to write tutorials and blog posts for PHP Freaks. [...] You'll be writing about things that are of general interest to PHP developers and you will be writing tutorials for people who are learning about PHP at any level (i.e. from beginner tutorials to advanced topics). We would rather have tutorials that teach programming/coding concepts or theory than specific things, such as a blog.
You'll need to request membership and join the "Authors" group to get started. Check out their list of other criteria you'll need to match too.
voice your opinion now!
phpfreaks write blog author article tutorials membership
WordPress Blog: 2.5 Sneak Peek
by Chris Cornutt March 20, 2008 @ 08:46:31
The WordPress blog has posted a sneak peek of the upcoming release of the popular blogging tool - WordPress 2.5.
A customizable dashboard, multi-file upload, built-in galleries, one-click plugin upgrades, tag management, built-in Gravatars, full text feeds, and faster load times sound interesting? Then WordPress 2.5 might be the release for you. It's been in the oven for a while, and we're finally ready to open the doors a bit to give you a taste.
They look at each of these - the new Dashboard, updates to the Write page and the changes to the Manage page. If you want to get a jump on the action before the stable release, go grab the latest Release Candidate and get going.
voice your opinion now!
wordpress update sneak peek dashboard write manage
|
Community Events
Don't see your event here? Let us know!
|