News Feed
Jobs Feed
Sections




News Archive
feed this:

Derick Rethans:
Mongo is dead, long live MongoClient
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.

0 comments voice your opinion now!
mongo class driver release mongoclient class confirm write


Qafoo Blog:
Webinar "Writing Testable Code"
March 21, 2012 @ 12:54:49

As Tobias Schlitt points out in this recent post to the Qafoo blog, the recording of a webinar he did (for Zend) about "Writing Testable Code" has been posted for listening online.

In this session you will gain insight into the secret of writing easily testable code and you'll learn how this relates essentially to good object orientation.

The recording is just one of many webinars Zend offers on a wide range of development topics, including:

Almost all presentations also come with PDF versions of their slides attached, too.

0 comments voice your opinion now!
webinar write testable code qafoo tobiasschlitt


Kevin Shroeder's Blog:
Zend_Log with multiple writers
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.

0 comments voice your opinion now!
zendlog zendframework tutorial multiple write development production


Derick Rethans' Blog:
Available for PHP Extension Writing
March 16, 2010 @ 09:40:24

Derick Rethans, realizing that he wasn't ready to jump back into a full-time position just yet has decided to refocus his efforts on helping make PHP a better place with work on PECL extensions and on internals-related issues.

Instead I will be available to work on (custom) PHP extensions and internals related issues. Extensions are a great way around PHP's limitations and performance issues.

His first project is a QuickHash extension to interface with the popular StumbleUpon and works more efficiently by using more clearly defined data structures. There's no stable release yet, but keep an eye on the subversion repository for the latest enhancements.

1 comment voice your opinion now!
extension write stumbleupon pecl


Brian Jones' Blog:
If You Code, You Should Write
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.

0 comments voice your opinion now!
code write opinion


Maarten Balliauw's Blog:
PHPPowerPoint 0.1.0 (CTP1) released!
April 30, 2009 @ 11:16:53

Maarten Balliauw has posted about the release of a new bit of software to help you read and write from/to Microsoft PowerPoint files - PHPPowerPoint (0.1.0 CTP1).

Just like with PHPExcel, PHPPowerPoint can be used to generate PPTX files from a PHP application. This can be done by creating an in-memory presentation that consists of slides and different shapes, which can then be written to disk using a writer (of which there's currently only one for PowerPoint 2007).

Some example code is included that creates a single-slide slideshow with the PHPPowerpoint logo and the text "Thank you for using PHPPowerpoint". There's plenty of configuration options and you can place things in the slides down to the pixel. You can try out this initial release here.

3 comments voice your opinion now!
phppowerpoint release powerpoint slide microsoft read write


Blue Parabola Blog:
Writing Tech Books 101
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".

0 comments voice your opinion now!
write technology book tip suggestion


Vinu Thomas' Blog:
Create a Storage engine for MySQL using PHP
December 31, 2008 @ 08:42:23

Using this article from Johannes Schluter as a starting point Vinu Thomas has worked up his own example of how the technique is used in the example on the Launchpad page.

This article is interesting because of the uses which come up when you can create custom Storage Engines using PHP. An interesting usecase for this is in creating test cases, where you can feed the data for a query from PHP and trap the activities on the database.

The example code defines methods for update, write and delete and the SQL to create the table and insert/manipulate rows is included (for a table created with "ENGINE=PHP").

0 comments voice your opinion now!
mysql storage engine tutorial write update delete example


PHPFreaks.com:
Writing for PHP Freaks
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.

0 comments voice your opinion now!
phpfreaks write blog author article tutorials membership


WordPress Blog:
2.5 Sneak Peek
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.

0 comments voice your opinion now!
wordpress update sneak peek dashboard write manage



Community Events











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


example framework tool language development opinion podcast object code zendframework2 interview functional conference unittest testing series release phpunit community introduction

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