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...
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...
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...
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
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 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 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...
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...
Recent releases from the Packagist:prggmr/prggmr (v2.0.1)
jity/tag-generator (v0.2.0, v0.1.1)
snc/redis-bundle (1.0.6, 1.1.0)
Latest PEAR Releases:
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...
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...
Recent releases from the Packagist:mjohnson/utility (1.2.0-rc1)
morrisonlevi/spl (0.3.1, 0.3.0)
opichon/autotabs (2.0.4, 2.0.3)
Recent releases from the Packagist:nekland/feed-bundle (2.0.0)
anroots/notify (2.0.1, 2.0, 1.1)
reprovinci/besimple-soap-client (v1.0.1, v1.0.0)
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...
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...
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 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 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...
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)
stripe/stripe-php (v1.7.10, v1.7.9)
aktive_merchant/aktive_merchant (1.0.2, 1.0.1)