PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 141 to 160 of 227

NetTuts.com: 20 All Too Common Coding Pitfalls For Beginners

NetTuts.com: 20 All Too Common Coding Pitfalls For Beginners
On NetTuts.com there's a great list of tips and things to keep in mind if you're a budding programmer - a set of common pitfalls to watch out for as you hone your skills.Regardless of our current skill level, we all were beginners at one point in time. Making classic beginner mistakes comes with the territory. Today, we've asked a variety of Nettuts+ staff authors to chime in with their list of pitfalls and solutions - in a variety of languages. Learn from our mistakes; don't do these things!The article...

PHPMaster.com: Internationalization Made Easy

PHPMaster.com: Internationalization Made Easy
In this new tutorial posted to PHPMaster.com, Hari K T takes a look at internationalization in a Symfony2-based application using its own translation component.If you've ever worked to develop a site which needed to be available in multiple languages then you know how difficult it can be. With the help of Symfony2′s Translation component you can easily make internationalized sites. I'll show you how with some sample code and some discussion on its API.He includes a basic example of how the component...

DPCRadio: Episode #2012-27 - Elizabeth Smith's "SPL in the Wild"

DPCRadio: Episode #2012-27 - Elizabeth Smith's "SPL in the Wild"
The Dutch PHP Conference has posted their latest podcast in their DPCRadio series as recorded at this year's Dutch PHP Conference - Elizabeth Smith's SPL in the Wild:The standard PHP library (SPL) is growing in both maturity and use. But a lot of developers still aren't aware of the tools in SPL or simply haven't seen good examples of how to use the code. From interfaces to an autoload stack to classes that make objects act like arrays, there are tools to make every application leaner and faster, or...

Anatomy of an Attack: How I Hacked StackOverflow

Anatomy of an Attack: How I Hacked StackOverflow
Almost two years ago I had stumbled upon a pretty significant vulnerability in the StackExchange network. I say stumbled, because I wasn't actually trying to attack the site. Circumstance just showed me a door. The actual attack is pretty interesting, and it holds a lesson for everybody who builds or maintains websites or server infrastructure. So here's the story on how I hacked StackOverflow...Read more A

Free Ebook: Getting Hired

Free Ebook: Getting Hired
From the Introduction: aoThis e-book will hopefully show you how to put yourself across to a prospective employer in a way that makes it easy for them to spot what you have to offer them, to increases your chances of successfully finding a job in the United Kingdom's computing industry. aoRecruitment processes vary from employer to employer. I'll take you through the most likely steps that you need to get through. I'll explain the process from the employer's perspective first, and then from your point of...

Rob Allen: ZendServiceManager configuration keys

Rob Allen: ZendServiceManager configuration keys
Rob Allen has a new post to his site sharing some examples of the configuration possibilities for the ZendServiceManager module of the Zend Framework 2.ZendServiceManager is usually configured in two places: an array in a config file or a method within your Module class. In either case, you provide a nested array of configuration information. [...] Within the service_manager array, there are a set of nested arrays which are generally used to configure how you want a given class to be instantiated. the...

Adam Culp: Clean Development Series: Part 4, Rewrite dilemma

Adam Culp: Clean Development Series: Part 4, Rewrite dilemma
Adam Culp has published the fourth part of his "Clean Code" series to his site today (see more about parts 1-3 here) with a look at the "Rewrite Dilema" - whether it's more productive to just rewrite or to try to refactor.Unfortunately the first reaction to a poorly written application is usually a resounding "rewrite". Developers feel like a weight is lifted from their shoulders, as the manager hears a distant "cha-ching" sounds of money slipping away. [...] In the managers mind a rewrite means it must...

7PHP.com: Interview with Rob Allen: Author of Zend Framework in Action

7PHP.com: Interview with Rob Allen: Author of Zend Framework in Action
On 7PHP.com today they've posted the latest in their interview series with people from all across the PHP community. In this most recent post, they talk with Rob Allen, author of the "Zend Framework in Action" book and well known speaker and Zend Framework contributor.In this edition I talked with Rob Allen who is the main author of the famous PHP book "Zend Framework in Action". He is very passionate about the whole Zend stuffs: he's a contributor to the Zend_Config component in Zend Framework 1, he's a...

Community News: Packagist Latest Releases for 11.12.2012

Community News: Packagist Latest Releases for 11.12.2012
Recent releases from the Packagist:prggmr/prggmr (v2.0.1) guzzle/guzzle (v3.0.4) guzzle/http (v3.0.4) guzzle/stream (v3.0.4) zorbus/document-bundle (0.0.1) jdorn/sql-formatter (v1.1.0) zorbus/link-bundle (0.0.1) twig/twig (v1.11.1) jity/tag-generator (v0.2.0, v0.1.1) schnipseljagd/testdatabuilder (0.1) manymules/lodash-bundle (0.9.2) manymules/foundation-bundle (3.2.2) snc/redis-bundle (1.0.6, 1.1.0) manymules/marionettejsasync-bundle (0.2.0) alphalemon/alphalemon-cms-bundle (v1.0.0-RC4) guzzle/service...

Community News: Latest PEAR Releases for 11.12.2012

Community News: Latest PEAR Releases for 11.12.2012
Latest PEAR Releases: PHP_CodeSniffer 1.4.2

Should PHP be Copying the Java features and practices? Lately in PHP podcast episode 29

Should PHP be Copying the Java features and practices? Lately in PHP podcast episode 29
Should PHP be Copying the Java features and practices? Lately in PHP podcast episode 29 By Manuel Lemos Particularly since version 5.0, PHP has been copying many of Java features and practices of Java programmers. This means that if Java programmers practices tend to be bureacratic and less productive, PHP programmers that use those features or adopt those Java practices may also become less productive. This was one of the main topics discussed by Manuel Lemos and Michael Kimsal on the episode 29 of...

ZendCon 2012

ZendCon 2012
October is often the month where all PHP businesses look towards sunny California, because it's ZendCon time! This year was no exception and it was a true blast. And ZendCon means not just 4 days of PHP goodness but also 2 days and a half of Uncon power. And this year I had the honour and pleasure to be in charge of the ZendUncon sessions.Because my involvement in those uncon sessions, I missed most of the regular tracks. But on the bright side I was able to discover new speakers and was sitting in a few...

Community News: Packagist Latest Releases for 11.11.2012

Community News: Packagist Latest Releases for 11.11.2012
Recent releases from the Packagist:mjohnson/utility (1.2.0-rc1) morrisonlevi/spl (0.3.1, 0.3.0) troydavisson/phrets (1.0.0) jity/tag-generator (v0.1.0) gigablah/sphinxphp (2.0.6-alpha) najidev/javascript-data-bundle (1.0.0) najidev/common (1.0.1) opichon/autotabs (2.0.4, 2.0.3) vojtech-dobes/nette-multi-authenticator (v1.0.1) najidev/javascript-data (1.0.0) aktive_merchant/aktive_merchant (1.0.3)

Community News: Packagist Latest Releases for 11.10.2012

Community News: Packagist Latest Releases for 11.10.2012
Recent releases from the Packagist:nekland/feed-bundle (2.0.0) mjohnson/uploader (3.7.2) amazonwebservices/aws-sdk-for-php (1.5.16) socalnick/scn-social-auth (1.1.2) gabordemooij/stamp (v2.0.4) sauce/connect (v3.0.21) silverstripe/postgresql (1.0.0) anroots/notify (2.0.1, 2.0, 1.1) reprovinci/besimple-soap-client (v1.0.1, v1.0.0) kometphp/core (0.9.0-beta) phery/phery (2.0.1)

OpenShift Blog: Integrate PHPStorm and SFTP into OpenShift

OpenShift Blog: Integrate PHPStorm and SFTP into OpenShift
On the RedHat OpenShift blog (platform-as-a-service PHP hosting) they have a new post showing you how to integrate PHPStorm into OpenShift and make deployment simpler."PhpStorm is a lightweight and smart PHP IDE focused on developer productivity that deeply understands your code, provides smart code completion, quick navigation and on-the-fly error checking. It is always ready to help you shape your code, run unit-tests or provide visual debugging." In this tutorial I will show you how to use build in...

Community News: PHP Niagra User Group Kickoff

Community News: PHP Niagra User Group Kickoff
For those in the St. Catharines area of Ontario looking for a group of like-minded PHP developers to hang out with, you're in luck. Mike Cousins has helped to start up PHP Niagra, a group for PHP and web development fans/professionals in the area.The PHP Niagara Users Group is for PHP and related Web developers in the Greater Niagara area; whether you're a seasoned veteran or struggling with your first WordPress blog, you're welcome to come out and learn, network, share, and have a good time.Their first...

I am not a programmer. And neither are you!

I am not a programmer. And neither are you!
Last weekend I was at the True North PHP conference in Toronto, Canada. Aside from being an incredible experience (really, it was an incredible conference, huge props to Chris Hartjes (@grmpyprogrammer) and Peter Meth (@mrpmeth)), it was an inspiration. I was particularly inspired by both of the keynote speakers. They both really took really unique spins on programming and how the culture of open source inspires, enables and empowers programmers to do cool and important things. The problem with all of...

Igor Wiedler: Scaling a Silex code base

Igor Wiedler: Scaling a Silex code base
Igor Wiedler has a new post to his site today talking about scaling Silex-based applications (a microframework based on Symfony components) and using it for more than just the basic applications.One common misconception about silex and microframeworks in general is that they are only suited for small, simple apps, APIs and prototyping. Of course, those use cases are the main selling point, but they are by no means the limit of what is possible.He shares some code that's the common "first steps" for...

Oscar Merida: Smelly PHP code

Oscar Merida: Smelly PHP code
Oscar Merida has written up a sort of continuation to this series from Adam Culp about clean code, one that shares more tips on knowing when to refctor.Adam Culp posted the 3rd article in his Clean Development Series this week, Dirty Code (how to spot/smell it). When you read it, you should keep in mind that he is pointing out practices which correlate with poorly written code not prescribing a list of things to avoid. It's a good list of things to look for and engendered quite a discussion in our...

Community News: Packagist Latest Releases for 11.09.2012

Community News: Packagist Latest Releases for 11.09.2012
Recent releases from the Packagist:squizlabs/php_codesniffer (1.4.2) eloquent/equality (2.0.0, 1.2.0, 1.1.1, 1.1.0) sauce/connect (v3.0.20) stripe/stripe-php (v1.7.10, v1.7.9) compwright/codeigniter-installers (1.1.3) fresh/doctrine-enum-bundle (v1.0) gabordemooij/stamp (v2.0.3) brandonwestcott/li3_varnish (1.0.1) sauce/sausage (v0.6.0) aktive_merchant/aktive_merchant (1.0.2, 1.0.1) aviat4ion/query (v1.1.0) zenstruck/php-excel-plus (v1.2.0) tp/redactor-bundle (v1.0.0) zeichen32/headerbundle (v1.0)...