PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 121 to 140 of 182

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:Alison's Blog: Upcoming WordPress Security Book NETTUTS.com: A Beginner's Introduction to HTTP and REST Web Developer Juice: 14 descriptive reasons why Ruby is better than PHP Anna Filina's Blog: Developer Community: Where to Start? - Part 1 ZendCasts.com: Unit Testing Action Helpers CodeIgniter.com: CodeIgniter 2.0 - Now with more Awesome Ruslan Yakushev's Blog: PHP 5.3 and PEAR available in WebMatrix Beta 3 Blancer.com: 10 Compelling...

PHP 5.4 RC1 released

PHP 5.4 RC1 released
The PHP development team is proud to announce the first release candidate of PHP 5.4. PHP 5.4 includes new language features and removes several legacy (deprecated) behaviours. Windows binaries can be downloaded from the Windows QA site. THIS IS A RELEASE CANDIDATE - DO NOT USE IT IN PRODUCTION! This is the first release candidate. No new features will be included before the final version of PHP 5.4.0. The release candidate phase is intended as a period of bug fixing prior to the stable release. Changes...

Symfony Blog: Developing the Symfony Community

Symfony Blog: Developing the Symfony Community
In this new post to the Symfony Blog, Fabien Potencier shares some of his thoughts about the Symfony community and tosses out an idea of a way to "gameify" the process to let community members proudly show off their level of involvement.When I say "community", I'm not talking about just the Symfony community, but I'm talking about all the people that are part of a larger ecosystem that makes Symfony better. [...] The corner stone of such a system is a unique account where all information are gathered and...

Chance Garcia's Blog: MAMP PRO, PECL, SSH2, and OSX CLI (AKA acronym madness)

Chance Garcia's Blog: MAMP PRO, PECL, SSH2, and OSX CLI (AKA acronym madness)
Chance Garcia has a recent post to his blog showing how he fixed an issue with his MAMP install involving development of a SSH wrapper he developed and some testing out of PHPStorm and PHPUnit.One thing I can say is that, even though I use a convenient app like MAMP PRO to set up my local development environment, I'm glad my sysadmin-fu is up to snuff enough to fly without the conveniences because after this ordeal, I feel like I might as well have made my MAMP stack from scratch with all the hoops I...

ZendCasts.com: Building a JSON End-Point With SLIM and jQuery: Part 2

ZendCasts.com: Building a JSON End-Point With SLIM and jQuery: Part 2
On ZendCasts.com today there's a new screencast in their "Building a JSON endpoint with the Slim microframework" series - part two focusing on jQuery integration. (Part one is here)[This screencast is] part 2 in a series on building a JSON end-point. We're using simple RESTful verbage to grab a list of names from a session store.You'll need to have the base scripts created in part one to follow along effectively. He picks up right where the previous part ends, creating a new view that uses some simple...

Kevin Schroeder's Blog: What programming rules should you ALWAYS follow?

Kevin Schroeder's Blog: What programming rules should you ALWAYS follow?
In a quick new post today Kevin Schroeder asks his readers for feedback on what programming rules you should always follow in your development practices.Earlier today, more for my own interest, I asked the question on Twitter "What programming rules should you ALWAYS follow, regardless of the scenario you're working in?" In other words, are there programming rules that you ALWAYS should follow. It doesn't matter if it's a script to copy a bunch of files for a one time migration or if you're building the...

Anthony Ferrara's Blog: Becoming A Better Developer

Anthony Ferrara's Blog: Becoming A Better Developer
Anthony Ferrara has a new post today on his blog with some things he think you can do to become a better overall developer (and not just in PHP). He shares six things from his own experience to help answer this question.One of the most frequent questions that I get asked is "How can I become a better developer?" I think that it's a very good question to ask that deserves a good response. But how can you respond to something like that? Becoming a better developer depends so heavily on past experience...

State of the Symfony2 CMF

State of the Symfony2 CMF
People keep asking me when the CMF will be ready. Or they say that they will join once its further along because they think its too far away to be relevant for their clients today. So the good news is that Liip already has a huge client using CMF components. The combination of Jackalope with Jackrabbit and the PHPCR ODM (provides a similar API than the other Doctrine ORM/ODM) is ready for prime time. There are also already a fair number of components in different state that are close to be finished,...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Amazon Mechanical Turk PHP REST API GD2 Imaging smrtClass Configs Autoloader Power Spawn Drawing

Executing MySQL queries with PHP mysqli

Executing MySQL queries with PHP mysqli
The mysqli quickstart series is coming to an end. Today, the post is about non-prepared statements. You may also want to check out the following related blog posts: Using MySQL prepared statements with PHP mysqli Using MySQL multiple statements with PHP mysqli Using MySQL stored procedures with PHP mysqli Using mysqli to execute statements Statements can be executed by help of the mysqli_query(), mysqli_real_query() and mysqli_multi_query() function. The mysqli_query() function is the most...

Slawek Lukasiewicz's Blog: PHP application diagnostics - Memtrack

Slawek Lukasiewicz's Blog: PHP application diagnostics - Memtrack
Slawek Lukasiewicz has posted about a handy tool that can be used to track memory consumption and performance in your PHP application - memtrack.Application profiling can help us determine bottlenecks and possible problems during development. But sometimes we also need to diagnose problems in production environment. Frequent performance problems are connected with functions and methods using too much memory.The tool allows you to set up thresholds for memory consumption and, if the scripts exceeds it,...

Till Klampaeckel's Blog: PHAR and FreeBSD

Till Klampaeckel's Blog: PHAR and FreeBSD
Till Klampaeckel has a new post about replacing the now-missing phar port on FreeBSD installations with a custom compile work-around. I noticed that archivers/pecl-phar vanished from the ports tree on one of my FreeBSD servers. Problem? Reasons to remove the port were: the port is unmaintained, the port was based on the outdated phar extension from pec and that phar (in pecl) contains open security issues. The simple solution is to create a new port which of course will use the phar which is bundled in...

Matthew Weier O'Phinney's Blog: Getting started writing ZF2 modules

Matthew Weier O'Phinney's Blog: Getting started writing ZF2 modules
Matthew Weier O'Phinney has posted a guide to modules in ZF2 - some helpful hints to get you started writing modules for the Zend Framework 2 to fit into the new architecture.During ZendCon this year, we released 2.0.0beta1 of Zend Framework. The key story in the release is the creation of a new MVC layer, and to sweeten the story, the addition of a modular application architecture. "Modular? What's that mean?" For ZF2, "modular" means that your application is built of one or more "modules". In a lexicon...

PHPMaster.com: The Importance of Standards

PHPMaster.com: The Importance of Standards
In a new article today on PHPMaster.com Robert Mariotti takes a look at standards and how important they can be when developing applications (both in following them and defining them correctly). It's not specifically targeted at PHP developers, but it does give some good food for thought.As a long-time programmer, often with a staff of other programmers to watch over, I learned early in my career how important enforcing programming standards is in contributing to the overall success of a project. Not...

php|architect: Geolocation: Easier Than It Looks

php|architect: Geolocation: Easier Than It Looks
On the php|architect site Jeremy Kendall has a new article looking at geolocation in PHP and how, despite some comments in the past about its difficulty, some more recent tools make it relatively simple.Have you ever wanted to add location-aware content to your web applications? Would you believe me if I told you it was dead easy, and you could be up and running in about 10 minutes? The first thing you want to do is use someone else's work. Geolocation is a solved problem; there's no need to roll your...

Community News: Latest PECL Releases for 11.08.2011

Community News: Latest PECL Releases for 11.08.2011
Latest PECL Releases: timezonedb 2011.14 mysqlnd_ms 1.1.2

Using MySQL with PHP mysqli: Connections, Options, Pooling

Using MySQL with PHP mysqli: Connections, Options, Pooling
Opening a database connection is a boring tasks. But do you know how defaults are determined, if values are omitted? Or, did you know there are two flavours of persistent connections in mysqli? Of course you, as a german reader, know it. I blogged about it in 2009 over at phphatesme.com (Nimmer Arger mit den Persistenten Verbindungen von MySQL?) a Database connections with mysqli The MySQL server supports the use of different transport layers for connections. Connections use TCP/IP, Unix domain...

MAMP PRO, PECL, SSH2, and OSX CLI (AKA acronym madness)

MAMP PRO, PECL, SSH2, and OSX CLI (AKA acronym madness)
Or madness in general. So as you may know, I've started using PHPStorm to work locally. I decided to dust off an old SSH2 wrapper I wrote and play with how PHPStorm uses PHPUnit and does refactoring. I knew that I would have to install the extension via PECL and was like, "Oh it can't be that bad to do it through MAMP PRO" and as you may have guessed, I sealed my own fate for a couple hours. One thing I can say is that, even though I use a convenient app like MAMP PRO to set up my local development...

Community News: EngineYard Hosts "Future of PHP" Live Panel - "PEAR & Pyrus"

Community News: EngineYard Hosts "Future of PHP" Live Panel - "PEAR & Pyrus"
EngineYard, a company that recently merged with the PHP platform as a service provider Orchestra.io, has a new live panel podcast about the Future of PHP, specifically involving PEAR and Pyrus.If you are a PHP developer using PEAR and Pyrus, we invite you to join us this week as we explore the future of PEAR and Pyrus. We'll be discussing issues such as where PEAR/Pyrus will be going in the next few years, what obstacles may be on the horizon, and how they're going to get where they're going.The live...

PEAR Blog: PEAR Development on Github

PEAR Blog: PEAR Development on Github
On the PEAR blog today it's been pointed out that many PEAR packages are moving to github as their standard place for development and repositories under the pear and pear2 accounts are available for anyone wanting to make the move.While the existing PEAR packages will continue to use the pear.php.net distribution and bug tracking capabilities; it's never been easier to contribute to a PEAR package - simply fork; add your changes and send us a pull request. If your preferred packages aren't yet on github,...