|
Sponsored Link
|
PayPal is the most popular platform for receiving online payments. The relative ease of opening a PayPal account and receiving payments compared to opening a merchant account for a traditional payment gateway is the number one reason, and another is the comprehensive API they provide for their payment services.
Foreclosure: The PayPal API is amongst the worst I've ever had to deal with - inconsistencies, sometimes poor and conflicting documentation, unpredictable failures and account changes and major...
After almost three years working at Liip, I have finally decided to take the plunge and start my own business. Together with Pierre Spring, in early May we will start building up Nelmio.
Why? To keep it short, Liip is a great company to be employed at - and they're hiring - but both Pierre and I have had the urge to be our own bosses for a while, and that is something that's hard to suppress. Eventually we had to give in.What next? We're both web devs, with lots of experience across the board. Pierre is...
In a recent post to NetTuts.com, they show you how to protect your CodeIgniter application from cross-site request forgery (CSRF) attacks by using tokens in your forms and pages to make things more "one time" and unique to the site.In today's tutorial, we will learn how to painlessly protect your CodeIgniter (pre 2.0) application against Cross-Site Request Forgery attacks. The library we'll be creating today will automate all of the protection mechanisms, making your site stronger and more secure.They've...
Earlier this week, I taught a "php|architect Live" session on Object Oriented Programming: Principles & Practice. While preparing for the course, I realized that despite regularly talking about Design Patterns in the PHP community, we primarily talk about just a few. So while we complain about Singletons and celebrate MVC, we leave out many of the others that can make our lives easier and our code better.
On the Dream In Code forums there's a recent post showing you how to prevent mail() header injections when taking user input, like from a form.PHP's mail() function is a very useful and powerful function, even to the point that it is very easy to exploit. A way hackers exploit this function is a method called email header injection. [...] I'm sure most of you can already tell that's not going to be pretty since we didn't check the user input and so forth. PHP provides us with functions such as filter_var...
On CodeIgniter.com today there's an official release talking about this year's CodeIgniter-centric conference - CICON 2011 US - happening in New York August 20th and 21st.CICON2011 US is the first CodeIgniter-only conference in the United States, and will be taking place at New Work City in lower Manhattan, New York, on August 20-21 2011. Speakers including Zach Kitzmiller, Eric Barnes, Greg Aker, John Crepezzi, Dan Horrgian, and Kenny Katzgrau will be presenting and conducting masterclasses on topics...
When automating mundane tasks of a project or development environment with a build tool like Phing or Ant, the driving build file will naturally accumulate several targets and tasks over time. To ease the build file acceptance within a team and at a later stage also the contribution rate by team members, it's crucial that all build targets have a description attribute to provide at least a rough outline of the build features at hand. When these attributes are in place the (potential) build file user will...
Eric Hogue has a recent post to his blog looking at one of the more tricky aspects of the latest versions of PHP (the 5.3.x series) - late static binding. In a nutshell, late static binding (LSB) lets static classes and methods work more correctly than before. Eric gets into a bit more detail than that:It came out almost 2 years ago, but it to me that many programmers around me have no idea about it. Myself, I have learned about it around 6 months ago. The PHP documentation defines late static binding as...
Popular posts from PHPDeveloper.org for the past week:Kenny Meyers' Blog: How CodeIgniter Works (Video from EECI 2010)
Community News: IPC10 - PHP: Yesterdays Scala and the Cobol of tomorrow? (video)
Victor Farazdagi's Blog: New Project: Phrozn - static site generator in PHP
WebTutor.pl: HipHop for PHP: Benchmark - Revenge of PHP
DZone.com: What I Love/Hate About PHP
Site News: Popular Posts for the Week of 04.15.2011
Project: Guzzle - RESTful web service client development framework
Zend Developer Zone:...
The PHP replication and load balancing mysqlnd plugin as been released as an alpha through PECL. Alpha is for those who want to try out the 1.0 feature set as early as possible. Alpha is for those who do not fear debugging, if need be. Notes on troubleshooting.
Testing load balancing and read/write split
There are three ways to verify that load balancing and read/write split works as it should:
within PHP script: checking thread/connection ids
within PHP script: monitoring statistics
externally:...
On the Dutch PHP Conference's site today there's a new post from Stefan Koopmanschap, the organizer of this year's DPC Unconference, talking about some of the recent advancements in it's organization.Last year we introduced the uncon track at Dutch PHP Conference, a separate track next to the conference tracks where you, the attendees of the conference, could be the speaker. [...] It was a great success thanks to all the speakers who stepped up to take an open slot and present their topic. [...] This...
Konstantin Kudryashov has linked to a new tool that's adds BehatMink browser abstraction library for your Symfony2 project as a part of the Behat project (a BDD testing tool for PHP).You can now test your Symfony2 applications with PHPUnit and Mink, thanks to brand new MinkBundle.This new tool provides a clean API, support for Symfony2's test.client browser emulator and support for the Goutte and Sahi browser emulators as well. In the README on it's github page, they've provided some sample code snippets...
In a new post to his blog Phil Sturgeon talks about a new CodeIgniter-related conference coming to New York in August - CICON2011.The CodeIgniter Community has decided to have a little holiday this summer, and head to New York for not just a meet up, but the biggest gathering of CodeIgniter developers to ever happen. The last event was in a pokey low budget venue in a rough part of Bristol UK, this event will be right bang smack in the middle of Manhatten, NY with a great venue and some amazing...
If you weren't able to make it to the PHP Community Conference, you're in luck! They're providing a live video stream from the event on OpenEvent.tv.Check out today's schedule for more information what the sessions are and summaries of what they're about. This morning's sessions are tutorials from Lorna Mitchell (web services) and Matthew Weier O'Phinney (Mastering Zend Framework 2 Patterns).You can also follow the official conference twitter account at @phpcomcon for the latest updates.
On the Script-Tutorials.com site there's a new article showing you how to use XPath to parse web pages, complete with screenshots of the page and the code to make it happen.Today I will tell you how you can make parsers of remote HTML pages (in PHP). In this article I will show you how to perform xpath queries to Web pages. XPath - a query language to elements of xml or xhtml document. To obtain the necessary data, we just need to create the necessary query. For the work, we also need: browser Mozilla...
PHP community luminary Chris Cornutt just wrote a post for the PHPD eveloper.org blog titled a€oIt's Not Just About the Newsa€ť. Click on inside for a totally un-biased and totally fair evaluation of this freakin awesome article written by one of the Saints of the PHP community.
Eric Hogue - a name that regular readers will remember from our recent coverage of his post on profiling - has written another short but informative piece on the topic of Late Static Binding. Click on in, let's pretend I've written an in-depth analysis of his post.
Originally, I was going to present these thoughts at the PHP Community Conference (in a session titled a€oIt's not Just About the Newsa€ť) but it didn't work out for me to be there. I still wanted to share some of my thoughts and experience in running PHPDeveloper.org for the last 11 years.
In its very first form, PHPDeveloper.org was just a page of links. It was hosted on a local server I had at the collegel I attended and was aliased to the outside world under the hostname a€obender.ods.orga€ť. I...
The Voices of the ElePHPant podcast has posted their latest episode - an interview with Ed Finkler, best known for his work on the Spaz Twitter client.Cal interviews Ed and asks him his "three questions" about this Open Source project (Spaz):
At what point did you realize you couldn't do it all yourself and what was the first role you created for someone else?
What ways do you use to communicate with your developer community and which works the best?
Other than coding, what's the most fun part about...
Here's what was popular in the PHP community one year ago today:Community News: php|architect Releases "Guide to Web Scraping"
PHPBuilder.com: Six Cool PHP Tricks You May Not Know
php|architect: Introducing four new PHP 5.3 components and Goutte, a simple web scraper
Brian Swan's Blog: PDO Cheat Sheet for SQL Server Driver for PHP
Architexa Blog: Simplifying Dependency Injection
Dougal Campbell's Blog: WordPress as a Forum?
The Bakery: Deploying CakePHP with Capistrano
Perforce Software: Seven Pillars...
|
|