|
Sponsored Link
|
I am a huge fan of bit.ly and use their tools for a wide variety of different things. They recently did a big relaunch with some lovely new features, which are for the most part pretty good, but which are inaccessible in places. In particular, it seems that there aren't any short URLs for the bundles - which is annoying for me as I use that feature a lot!
To get around this, I used their API to make a page which lists my bit.ly bundles, and creates shortlinks for each of them (once you've created a...
Even Dexter Knows html (Photo credit: mollyeh11)
A while back, the Zend Framework 2.0 team decided that automatic escaping for Zend\View (a template engine where all templates are written in PHP itself) was too unsuitable and potentially confusing to be included. As a result, Zend\View templates will continue relying on manual escaping against Cross-Site Scripting (XSS) vulnerabilities using a new Zend\Escaper component.
Nevertheless, the decision was not taken lightly. Automatic escaping has a certain...
Engine Yard has released their latest "Cloud Out Loud" podcast episode - an interview with Garrett Woodworth, a member of the EngineYard development group and a founding member of the recently sponsored Lithium PHP framework.On the heels of our Lithium sponsorship announcement, Elizabeth Naramore interviews Garrett Woodworth (fondly known as Gwoo) about the roots of Lithium, where it's going, and how he develops it on a boat.They talk about why he contributes to Open Source, his involvement with the...
The latest episode of the /Dev/Hell Podcast has been posted - Episode #14 (or "The PHP Guy is Sulking"):This week we're joined by Justin Searls, JavaScript developer and JS testing EXPERT. We talk lots about building and testing "fat" browser apps, particularly about best practices and different testing approaches. After a while Chris felt bad and told us to shut up.Lots of topics are touched on in this episode including:
TestDouble
Backbone.js
Michael Feathers book on working with legacy code
Webassets...
Oscar Merida has a recent post to his blog about using the bcrypt functionality to more securely store the password information for your application's users.
The linkedin password breach highlighted once again the risks associated with storing user passwords. I hope you are not still storing passwords in the clear and are using a one-way salted hash before storing them. But, the algorithm you choose to use is also important. [...] The choice, at the moment, seems to come down to SHA512 versus Bcrypt...
In this recent post to Reddit.com, the question is asked "Where can I find a free place to edit PHP code and see the results?"
Hey everyone,
Recently I was tasked with coming up with some code for an possible job opportunity. I'm wondering if anyone could point me to a place where I can easily write and edit PHP code and see the actual program run.
Suggestions from the comments include:
Codepad.org
Ideone.com
The built-in webserver for PHP 5.4.x
Ignite.io
Nikita Popov has a new (language agnostic) post to his blog today about one of the most powerful things you can use in your development - something that a lot of developers don't understand the true power of - regular expressions.As someone who frequents the PHP tag on StackOverflow I pretty often see questions about how to parse some particular aspect of HTML using regular expressions. A common reply to such a question is: "You cannot parse HTML with regular expressions, because HTML isn't regular. Use...
Popular posts from PHPDeveloper.org for the past week:Arvind Bhardwaj's Blog: How to Test PHP Emails on Localhost
Project: CodeSniffer for PSR's (PSR-0, PSR-1 & PSR-2)
PHP-Tip-a-Day: PHP Tutorial: The Allegory of The Factory Pattern
Luis Atencio's Blog: Dependency Injection in PHP
Web and PHP Magazine: Issue #3 Released - "Quality Time"
PHPBuilder.com: Capture Screenshots in PHP with GrabzIt
PHP-Tip-a-Day: PHP Tutorial: The Legend of the Singleton
MongoDB Blog: MongoDB for the PHP Mind, Part 1...
Just wanted to share news of an event that I'll be at in a couple of weeks: LAMP and Beyond. This event is organised by PHPNW and held at Madlab in Manchester on June 30th (it's a Saturday).
The idea is that we bring together a bunch of interested developers plus a few people who know something about some of the technologies which are often used with LAMP but aren't part of the acronym - and work on ... whatever you want to work on! Between us we'll be able to advise on choosing and implementing new...
As someone who frequents the PHP tag on StackOverflow I pretty often see questions about how to parse some particular aspect of html using regular expressions. A common reply to such a question is:
You cannot parse html with regular expressions, because html isn't regular. Use an XML parser instead.
This statement - in the context of the question - is somewhere between very misleading and outright wrong. What I'll try to demonstrate in this article is how powerful modern regular expressions really...
According to this new post on the EngineYard blog, they've decided to become the official sponsor behind the Lithium PHP framework, a project that's been going for several years but just hasn't seen the adoption of other frameworks that are PHP 5.3-centric.We are proud to announce that Engine Yard is now the first official sponsor of the open source project, the Lithium PHP framework. We believe that Lithium holds a great deal of promise and we want to help it reach its full potential. Therefore, not...
In this new post from Manuel Lemos on the PHPClasses.org blog about some of the performance enhancements that were introduced in the latest PHP releases (the 5.4.x series) including variable access optimization.PHP 5.4 introduced several performance optimizations. One of them was not discussed much in the PHP community but it may affect the performance of your code depending on the way you write it.He gets into some of the details surrounding the variable access optimization, pointing out how to get the...
In this recent post to his blog Jonas Hovgaard talks about how he "stopped writing awesome code" by dropping a few things from his usual development practices - like unit tests and interfaces.If writing awesome code is using all the best practices I can find, writing interfaces, unit tests and using top notch IoC containers to control my repositories and services all over my application's different layers - Then I'm not writing awesome code at all! I've been that guy, the one writing the awesome code,...
In this quick post to her blog, Lorna Mitchell shares an interesting bit of benchmarking she did between PHP versions 5.3 and 5.4, finding 5.4 twice as fast as it's previous version sibling.So recently I was working on some benchmarks for different versions of PHP, because I heard that PHP 5.4 is "faster" and since I'm a data geek I want to know how much faster! Now, PHP 5.4 is, in general, faster than PHP 5.3 but not twice as fast* unless you pick a use case which has been particularly optimised. My...
On NetTuts.com they're posted a new tutorial about using the Stripe service to accept credit cards on your site. Thanks to some handy libraries they provide, integration is a relatively simple process.Until recently, accepting credit cards on a website was expensive and complicated. But that was before Stripe: a radically different and insanely awesome credit card processing company. Today, I'll show you how to start accepting cards in 30 minutes or less - without spending a dime.They step you through...
The PHP project has just released the latest versions in the PHP 5.4.x and 5.3.x series - PHP 5.4.4 & 5.3.14:The PHP development team would like to announce the immediate availability of PHP 5.4.4 and PHP 5.3.14. All users of PHP are encouraged to upgrade to PHP 5.4.4 or PHP 5.3.14. The release fixes multiple security issues: A weakness in the DES implementation of crypt and a heap overflow issue in the phar extension. PHP 5.4.4 and PHP 5.3.14 fixes over 30 bugs. Please note that the use of php://fd...
On PHPMaster.com today there's a new tutorial looking at using separated interfaces in your OOP applications, a design pattern that emphasized decoupled components.Considering that the concept may sound rather tangled and twisted at first, this shifting of protocols between components lives and breaths under the umbrella of a basic design pattern known as Separated Interface, which at least to some extent, goes hand in hand with the commandments of the Dependency Inversion Principle. Moreover, because of...
The PHP development team would like to announce the immediate
availability of PHP 5.4.4 and PHP 5.3.14. All users of PHP are
encouraged to upgrade to PHP 5.4.4 or PHP 5.3.14.
The release fixes multiple security issues: A weakness in the DES
implementation of crypt and a
heap overflow issue in the phar extension
PHP 5.4.4 and PHP 5.3.14 fixes over 30 bugs. Please note that the
use of php://fd streams is now restricted to the CLI SAPI
For source downloads of PHP 5.4.4 and PHP 5.3.14 please visit our...
Here's what was popular in the PHP community one year ago today:Philip Norton's Blog: PHPNW11 Blind Bird Tickets Closing Soon
9Lessons: Import GMail Contacts Google OAuth Connect with PHP
Adminxweb.com: PHP Frameworks Benchmarked: Here Are the Results
Josh Adell's Blog: Neo4j for PHP
Warren Tang's Blog: PHP Unit Testing & Mock Objects with SimpleTest plugin for Eclipse
DZone.com: Automated code reviews for PHP
Richard Miller's Blog: Symfony2: Moving Away From the Base Controller
DevShed: Implementing the...
The Secret PHP Optimization of version 5.4
By Manuel Lemos
PHP 5.4 introduced several performance optimizations. One of them was not discussed much in the PHP community but it may affect the performance of your code depending on the way you write it.
Read this article to learn more about this less known PHP 5.4 optimization and what you need to do to make your PHP code take advantage of this optimization to run faster spending less memory.
The article also talks about a speculation of what PHP 6 and...
|
|