PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 3341 to 3360 of 6889

Remote Debugging PHP with a Firewall in the Way

Remote Debugging PHP with a Firewall in the Way
Remote Debugging PHP with a Firewall in the Way London, UK Thursday, August 25th 2011, 21:42 BST The PHP debugging extension Xdebug has "remote" debugging capabilities for single-step debugging PHP applications. This works by setting your favourite IDE into listening mode and instructing Xdebug (with one of the handy browser extensions for example) to initiate debugging. When Xdebug is instructed it tries to make a connection to the IP address and port number that are configured in php.ini. On this IP...

aoHey, didn't you use to blog?a

aoHey, didn't you use to blog?a
I imagine the title of this post is probably on the minds of all three of the regular readers of this blog (or probably not, since you probably figured this was on the slow road to just another abandoned WordPress blog). Well, as often in the case, life gets in the way, and in this caseAmore soAmy professional life than anything (though having an additional little one in the picture certainly didn't help). Let me recap my last few months: Got an incredible promotion to become the Community Manager at...

DashExamples.com: Add a Content Security Policy(CSP) to your Web Site with PHP

DashExamples.com: Add a Content Security Policy(CSP) to your Web Site with PHP
Related to this other post about content security policies in PHP sites, DashExamples.com has a quick new post about what you'll need to add to your application to implement a policy of your own.Content Security Policy(CSP) is a mechanism in the browser that restricts what content will be requested and run by the browser. CSP does this by passing in a specific response header that tells the browser what resources (images, javascript, css, frames, etc) can be requested and accepted to execute. There are...

Theme.fm: Deploying WordPress with Capistrano

Theme.fm: Deploying WordPress with Capistrano
In this recent post to Theme.fm they have a guide to deploying your WordPress site (or really any sort of PHP-driven site) with Capistrano. There's some WordPress specific bits in there, but it's a good overall guide to deployment with this handy tool.I'm not a Capistrano expert (yet) and in this post I'll try to give you an overview how to set it up and how to deploy WordPress applications (websites) in seconds. We'll work with only one server today but the principles in deploying to two or more are...

Robert Basic's Blog: Importing Symfony2 security settings from a bundle

Robert Basic's Blog: Importing Symfony2 security settings from a bundle
In a new post to his blog Robert Basic takes a brief look at importing Symfony2 security settings from a bundle he's been creating back into the main configuration.I started to work on/figuring out the security part in Symfony2 and one part where the docs fail so far is to explain how to import security settings from a bundle. Once I put some thinking into it, it's pretty easy actually. Simply import the needed security file in your main config file.His trick is to use the "imports" key in his YAML...

James Morris' Blog: How to Strip EXIF Data Using Imagick

James Morris' Blog: How to Strip EXIF Data Using Imagick
James Morris has a quick tutorial today showing how to pull the exif data from a photo and make it into something useful you can either display on on the site or store for categorization.Today I spent a good amount of time trying to figure out how to strip exif data from an image using Imagick. The first port of call was the (pathetic) documentation at php.net. I searched for 'exif' but found nothing. [...] I was tipped off by a colleague to the method Imagick::stripImage() which apparently did what I...

Srdjan Vranac's Blog: Custom Repository with DIC in Symfony2

Srdjan Vranac's Blog: Custom Repository with DIC in Symfony2
Srdjan Vranac has a new post to his blog showing you how to create a custom repository with the dependency injection features that already come with the Symfony2 framework.I am currently working on some Symfony2 bundles, I needed a custom repository to house hold my custom queries, that part is easy with sf2, and quite nicely explained in the Manual.He walks you through the setup of a simple custom repository (a part of a Code4Hire bundle) and a (less elegant) call that can be used to reference it and...

IT World: Lost programming skills

IT World: Lost programming skills
On IT World there's an interesting article about the programming skills that seem to be lost in today's coders and how what they may not know might hurt them in the end.Some of these skills aren't likely to be needed again, any more than most of us need to know how to ride a horse or (sigh) drive a manual-transmission vehicle. But other skills and "lessons learned" may still or again prove relevant, whether developers are banging their heads against legacy systems, coding for new mobile and embedded...

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:Jani Hartikainen's Blog: Now you can write PHP code...without writing any code PHPBuilder.com: 10 Productivity-boosting Tools for Your PHP Development Stefan Koopmanschap's Blog: phpBB and Symfony: Combining Communities 9Lessons.info: Facebook Style Tag Friends with Jquery, Ajax and PHP Developer.com: Quercus: Bring Java's Power to Your PHP Development (and Vice Versa) Klaus Graefensteiner's Blog: Climbing the CodeIgniter PHP MVC framework...

Zend Developer Zone: Announcing the August 2011 Zend Framework Bug-Hunt

Zend Developer Zone: Announcing the August 2011 Zend Framework Bug-Hunt
On the Zend Developer Zone today they've announced this month's Zend Framework Bug Hunt starting tomorrow (the 25th) and running through Saturday (the 27th):For those who haven't put the recurring event in their calendar, the Zend Framework Monthly Bug-hunt is here again! This Thursday, Friday and Saturday (the 25th, 26th and 27th of August), we'll be hosting our monthly bug hunt. For those of you unfamiliar with the event, each month, we organize the community to help reduce the number of open issues...

Lee Blue's Blog: What's The Best PHP Framework?

Lee Blue's Blog: What's The Best PHP Framework?
Despite the somewhat inflammatory title, Lee Blue's latest post wondering about the best PHP framework has some interesting insight into a few of them that he's tried out - CodeIgniter, Zend Framework, Kohana, Yii and his pick for his needs, the Fat-Free Framework.There is an enormous number of PHP frameworks available so I thought I share my experiences working with some of the most popular frameworks for PHP development. I have personally used all of the frameworks I describe either for my own projects...

Ryan Gantt's Blog: Horizontal reusability with traits in PHP 5.4

Ryan Gantt's Blog: Horizontal reusability with traits in PHP 5.4
Ryan Gantt has a new tutorial posted to his blog today looking at one of the features in the upcoming PHP 5.4.x releases - traits. Specifically he looks at the horizontal reusabillity they allow for in your applications.The ability for a class to inherit from multiple parents is maligned by many, but can be a good thing in some situations. For those working in PHP, multiple inheritance has never been an option; classes are limited to one parent, though they can implement many other datatypes through the...

Project: Zend Framework Google Analytics Code Generation

Project: Zend Framework Google Analytics Code Generation
Martin Aarhof has put together an handy tool for Zend Framework applications that creates the async javascript analytic code recommended by Google to provide tracking information back to Analytics.It supports: browser Settings Detection, campaign Duration, campaign Fields (custom), cross-domain linking and last but not least Ecommerce tracking.The configuration lets you set the various keys for your Analytics accounts, the domain name for it to live under, browser detection settings and various other...

David Stockton's Blog: Zend JSON - An Introduction

David Stockton's Blog: Zend JSON - An Introduction
David Stockton has a new post to his ZendTutorials.com site today introducing you to an increasingly more handy Zend Framework component that can make your messaging needs easier. The new tutorial introduces you to Zend_Json, a component for generating and parsing JSON messages.In the past few years, JSON, or JavaScript Object Notation has seemed to overtake XML and other data encoding methods on the web. [...] I've also seen numerous examples of developers who create their own sort of JSON encoder...

Zend Framework Contributors Mailing-List Summary; Edition #2 (July 2011)

Zend Framework Contributors Mailing-List Summary; Edition #2 (July 2011)
Image via Wikipedia It's been a busy month in Zend Framework land which I'll blog about shortly so, after a few weeks of delay, here's the July 2011 Summary of the zf-contributor's mailing list. ZF2 Feedback Late June kicked off with this topic from Robert Basic with a set of notes on his experiences in getting started with ZF2 by migrating a ZF1 application. Adam Lundrigan noted, correctly, that a lot of aobleeding edgea code is not included in the main repository at this time and is distributed across...

Jackalope progress

Jackalope progress
At Liip, employees can propose open source projects they want Liip to support. Together with Daniel Barsotti, I did this for the PHP Content Repository implementation Jackalope and Liip was so nice as to grant us a couple of man-weeks to implement stuff for Jackalope. Now that we used up the allocated budget, its time for a progress report what Jackalope can now do. I don't want to claim all the progress as being me and Dan. Some of the improvements also come out of projects, or of discussions. See the...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
SQLite Wrap CFA Library C# getters and setters in PHP Day Tips Show Sayidan Yaziya i18n_ meansdev Yggdrasil MME Class ip2c by Ofloo

Customizing the Yet Another Related Posts Plugin

Customizing the Yet Another Related Posts Plugin
I love WordPress. I really do. Maybe not as much as Olaf, but he's made a convert out of me. I'm using it more and more for my sites but am getting increasingly frustrated at how many of the astandard' plugins and widgets don't seem to be as complete as they could be. So many [...]

New Site Theme

New Site Theme
If you're reading this on a feed, you might like to click in to inspect the new look which has now arrived on lornajane.net! I've moved all my existing content to wordpress, and the lovely people at magmadigital made the theme that you see here. The aim of the site move was to give me a more grown-up feel to my site, which has evolved from crazy pink personal blog (although it's been MUCH less pink in recent years) to the home page of my consultancy business. It has navigation and should make it much...

SkyTechGeek.com: 10 Exceptional Tools For Website Testing

SkyTechGeek.com: 10 Exceptional Tools For Website Testing
Sometimes a little (external) testing of your website is in order and Gagan Chhatwal has posted his list of ten tools you can use to check everything from how much load the site can take to what can be done to optimize the load time.When maintaining or running a website, Webmasters need to keep in mind that one of the pertinent issues they will need to focus on is :Website Testing, which is not only vital for the website itself but for the user as well and one should not overlook its importance. [We...

Latest PHP Tweets