PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 3201 to 3220 of 6889

Community News: SitePoint Launches PHPMaster.com

Community News: SitePoint Launches PHPMaster.com
The crew over at SitePoint have introduced a new PHP-specific resource that's looking to provide a good resource for those looking for community info and tutorials - PHPMaster.com.PHPMaster is the latest and greatest in the SitePoint family, dedicated to bringing you the highest quality in tutorials from some of the web's best PHP Developers, as well as news and information on events in the PHP Community.Tutorials posted so far include: Migrate from the MySQL Extension to PDO Monitoring File Integrity...

ProDevTips.com: MySQL replication in PHP - on the same machine

ProDevTips.com: MySQL replication in PHP - on the same machine
ProDevTips.com has a new tutorial posted today sharing a database replication script they've put together to keep two databases in sync.After reading up on MySQL replication for a bit I realized that it would go quicker to simply write something in PHP that would sync a subset of tables in one database to exact copies of the same tables in another. Note that the code/SQL [in the example] only works if you replicate from one database to another on the same machine since the main thing here are SQL queries...

ArrayAccess vs ArrayObject

ArrayAccess vs ArrayObject
I help people qualify for Zend Certification and in the last few months I've had questions about both ArrayAccess and ArrayObject. This post is an attempt to illuminate both. In very simple terms, ArrayAccess is an interface, which you can implement in your own objects; ArrayObject, on the other hand, is a class, which you can either use or extend. ArrayAccess ArrayAccess is an interface built in to PHP which lets you dictate how PHP behaves when an object has array syntax (square brackets) attached to...

Script-Tutorials.com: How to Use APC Caching with PHP

Script-Tutorials.com: How to Use APC Caching with PHP
On Script-Tutorials.com today there's a new article introducing you to using APC caching in your PHP applications. Their simple example sets up a caching class that handles the dirty work for you.Today I have another interesting article for PHP. We will talking about caching, and practice of using caching in php. I will make review of APC caching and will show you how you can use APC in PHP. [...] Now people have learned to use the server memory for data storage. RAM much faster than hard disk, and the...

Site News: Blast from the Past - One Year Ago in PHP

Site News: Blast from the Past - One Year Ago in PHP
Here's what was popular in the PHP community one year ago today:Perplexed Labs: Convert HTML to PDF in PHP (libwkhtmltox extension) Gonzalo Ayuso's Blog: Building an ORM with PHP Cal Evans' Blog: How do I find good PHP developers? Qafoo.com: Practical PHPUnit: Testing XML generation Daniel Cousineau's Blog: Doctrine 1.2 MSSQL Alternative LIMIT/Paging Brandon Beasley's Blog: Codeigniter Vanity URLs Ralph Schindler's Blog: Exception Best Practices in PHP 5.3 Kevin Shroeder's Blog: Zend_Log with multiple...

Quality Assurance on PHP projects - PHPUnit lessons learned

Quality Assurance on PHP projects - PHPUnit lessons learned
This is what I like about the PHP community: people work out similar ideas and share what they've learned in the process. Sometimes people pick up ideas and work them out, sometimes people just continue the conversation.And I believe Lars Tesmer has done the latter, where he blogs on testing PHPUnit itself and the lessons learned in that process.Thank you Lars for sharing your lessons.

Quality Assurance on PHP projects - PHPUnit lessons learned

Quality Assurance on PHP projects - PHPUnit lessons learned
This is what I like about the PHP community: people work out similar ideas and share what they've learned in the process. Sometimes people pick up ideas and work them out, sometimes people just continue the conversation.And I believe Lars Tesmer has done the latter, where he blogs on testing PHPUnit itself and the lessons learned in that process.Thank you Lars for sharing your lessons.

PHP Barcelona 2011

PHP Barcelona 2011
The PHP Barcelona User Group is proud to announce that the 5th edition of the PHP Barcelona Conference is here! There will be 30 one-hour talks and workshops in two days with three parallel tracks, covering many PHP development subjects such as Application Scalability, High Performance, Frameworks and IDEs, Continuous Integration, Unit Testing, Best Practices, Cloud Computing, and many more topics and surprises. The conference will take place from the 28th to the 29th of October and will...

A mysqlnd replication plugin presentation

A mysqlnd replication plugin presentation
After a short sprint for PHP 5.4 beta, which is on its way with mysqlnd as a configuration default for all three PHP MySQL extensions, we continued working on the mysqlnd replication plugin (PECL/mysqlnd_ms). Please, find a high level overview presentation further below in this blog post. Because replication ...


Johannes Schluter's Blog: mysqlnd plugins and json

Johannes Schluter's Blog: mysqlnd plugins and json
Johannes Schluter has shared a handy mysqlnd plugin that he's written up that does two common things at once when you're pulling data from your database and pushing it into JSON - a mysqlnd_query_to_json function.In my spare time I'm currently writing a shiny Web 2.0 application where I'm heavily using AJAX-like things, so what I do quite often in this application is, basically this: Check some pre-conditions (permissions etc.) then select some data from the database, do a fetch_all to get the complete...

Kevin Schroeder's Blog: ZendCon 2010 Podcasts

Kevin Schroeder's Blog: ZendCon 2010 Podcasts
Kevin Schroeder has a new post to his blog today with a huge list of podcasts for your listening pleasure - the complete list of ZendCon 2010 sessions as recorded at last year's event.I've decided to [...] just upload them all so that you can download them all in preparation for this year's ZendCon. As you listen to these paragons of PHP goodness think of how wonderful it would be for you to be there in person and talk to these founts of wisdom. You will find several of the speakers from last year at...

MySQL replication in PHP - on the same machine

MySQL replication in PHP - on the same machine
Copyright A 2011 http://www.prodevtips.com. Visit the original article at http://www.prodevtips.com/2011/09/14/mysql-replication-in-php-on-the-same-machine/.I just realized I needed to replicate some data from one database to another, but only certain tables.... Read More

Lars Tesmer's Blog: Learning Ruby: Gotchas and Pitfalls for PHP Programmers

Lars Tesmer's Blog: Learning Ruby: Gotchas and Pitfalls for PHP Programmers
Lars Tesmer is currently in the process of learning Ruby. He' been working through the tutorials and some sample scripts and has come across some pitfalls along the way. In his latest post he shares four of them that've stood out in his development so far.I'm currently learning Ruby. In this post I'll list some pitfalls for programmers coming from PHP that would probably cause some confusion if you aren't aware of them. This list is by no means complete, while I learn Ruby I'll very probably encounter...

Marco Tabini's Blog: Suggestions for a younger developer

Marco Tabini's Blog: Suggestions for a younger developer
In a new post to his blog Marco Tabini offers some quick advice to younger developers looking to make their mark in their profession (PHP-related or not). He shares five tips to keep in mind as you hone your process and write your code.Every now and then, I get asked by developers who are just getting started in the trade if I have any suggestions to help them out - favourite language, tips and tricks, and the like. None of these things matter, really, but there are a few things I wish I had known when I...

aY Dashes, spaces, and incompetence

aY Dashes, spaces, and incompetence
Take, if you would, a look at your credit card. Unless you come from a different planet, chances are that it, like mine, has a series of digits separated by spaces. Depending on which kind of card you're looking at, these numbers may be grouped in different ways, but, generally speaking, this is probably a valid statement for every kind of credit card in existence. Those spaces are there for a very specific purpose: they break the visual flow of your credit card number, providing your brain with anchors...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Named Parameters Namespace-aware autoloader Abstract HTTP Client Cronbach Alpha True DOM abstraction MySQL V class Parser geek

mysqlnd plugins and json

mysqlnd plugins and json
Some time ago I was already writing about the power included with mysqlnd plugins and how they can they can be used transparently to help you with your requirements without changing your code. But well, as mysqlnd plugins in fact are regular PHP extensions they can export functions to the PHP userland and providing complete new functionality. In my spare time I'm currently writing a shiny Web 2.0 application where I'm heavily using AJAX-like things, so what I do quite often in this application is,...

.Net Magazine: Create an SVG data visualization with PHP

.Net Magazine: Create an SVG data visualization with PHP
On the .net magazine site (yes, really) there's a recent post from Brian Suda about creating SVG images with PHP thanks to the GD functionality that's included in every release.If you're working online, then canvas springs to mind. It allows you to draw raster graphics quickly and easily. If you want, there are also plenty of image code libraries that can generate GIFs, JPEGs and PNGs on request. But what if your target isn't always online? What if you're aiming for print? Then you could use a raster...

Ibuildings techPortal: DPC Radio: Keynote - First Class APIs

Ibuildings techPortal: DPC Radio: Keynote - First Class APIs
The Ibuildings techPortal has started back up with their DPC Radio recordings from last year's Dutch PHP Conference with a recording of a keynote from Helgi, "First Class APIs".APIs are commonly an afterthought, like a hot tub awkwardly attached to a house‚ÄČ - a shoehorned approach that produces a suboptimal app with scarce support that lacks documentation. In effect, APIs are the ugly stepchild of the Web.He talks about why APIs are commonly an afterthought and some suggestions on how you can change...

Latest PHP Tweets