PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 61 to 80 of 183

NetTuts.com: Advanced CodeIgniter Profiling With XHProf

NetTuts.com: Advanced CodeIgniter Profiling With XHProf
On the NetTuts.com site today there's a new tutorial showing how to use XHProf to profile CodeIgniter-based applications and fidn the spots that are causing the most overhead/issues.XHProf will provide you with a hierarchical profile of the functions your application calls, allowing you to follow the chain of events that lead up to resource intensive code running. You'll be able to see exactly how much wall time (the actual time elapsed), CPU time and memory your application uses. This tutorial will help...

DZone.com: Selenium on Android

DZone.com: Selenium on Android
On DZone.com there's a recent post from Giorgio Sironi looking at running Selenium tests on the Android platform via the PHPUnit Selenium interface.Testing web applications is not only based on unit and functional tests for the server-side (PHP, Java) and client-side (JavaScript) components, but also on end-to-end tests like the ones performed with Selenium. Selenium is capable of driving a real browser like Firefox in the same way a user would do, letting you express a test with a series of page to...

Lorna Mitchell's Blog: We Don't Know Deployment: A 4-Step Remedy

Lorna Mitchell's Blog: We Don't Know Deployment: A 4-Step Remedy
In a new post to her blog Lorna Mitchell has written a beginner's guide to deployment for web based applications in response to a recent email from a reader.I [replied to the email] with some suggestions (and my consulting rate) attached, and we had a little email exchange about some improvements that could fit in with the existing setup, both of the hardware and of the team skills. Then I started to think ... he probably isn't the only person who is wondering if there's a better way. So here's my...

Maintenance

Maintenance
We are down for maintenance, our apologies for the inconvenience. AAAAAAAAAAAAAAAAAAAAAAAAAA

Maintenance

Maintenance
We are down for maintenance, our apologies for the inconvenience. AAAAAAAAAAAAAAAAAAAAAAAAAA

Maintenance

Maintenance
We are down for maintenance, our apologies for the inconvenience. AAAAAAAAAAAAAAAAAAAAAAAAAA


Brandon Savage's Blog: Book Review: The Grumpy Programmer's Guide To Building Testable Applications

Brandon Savage's Blog: Book Review: The Grumpy Programmer's Guide To Building Testable Applications
On his blog Brandon Savage has a new post reviewing a book from Chris Hartjes, "The Grumpy Programmer's Guide To Building Testable Applications".When most developers think about books on testing, they think about books that highlight things like "test driven development" or "how to build a test for X." [...] This is not true of Chris Hartjes' book, "The Grumpy Programmer's Guide To Building Testable PHP Applications". When I asked Chris if I could review his book, I expected a step-by-step guide to...

Auto Draft

Auto Draft

Auto Draft

Auto Draft

Anthony Ferrara's Blog: Properly Salting Passwords, The Case Against Pepper

Anthony Ferrara's Blog: Properly Salting Passwords, The Case Against Pepper
In this new post to his blog Anthony Ferrara looks at a common idea that comes up when the discussion of encryption of passwords in PHP - the global salt (or "pepper").The other day I announced the release of my new password hashing library, PasswordLib. As I've come to expect, Reddit was full of interesting commentary on the topic. Some was good, some was bad and some surprised me. What surprised me was the insistence on a global salt (otherwise known as a "pepper"). So, I started thinking about it some...

Voices of the ElePHPant Podcast: Interview with Harrie Verveer

Voices of the ElePHPant Podcast: Interview with Harrie Verveer
On the Voices of the ElePHPant podcast site, they've posted the latest episode - an interview with Harrie Verveer, an organizer for the Dutch PHP Conference and an employee of Ibuildings.Cal's "three questions" during the interview relate to What pushed you into wanting to speak at a user group? As a speaker, what advice do you have for people wanting to get started at user groups or conferences? As an organizer, has your perspective on speaking changed? What advice do you have for people to get to the...

Generating graphs from MySQL table data

Generating graphs from MySQL table data
Graphs and charts are a useful visual way to view historical data - they make it easier to detect trends and get a big-picture view of data. All we need is timestamped data - table rows that are stamped with a specific date/time format, that can be used to group rows into time periods. Time stamped data In order to aggregate table data by time periods / ranges, we need a date/time column in the table we want to analyze. Appropriate types for such a column include TIMESTAMP, DATETIME and DATE, but we can...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
CSS fix Verify User CSSfix FormGenerator Image Embedder Complete Pagination Secure MySQL Class DB connection using mysql and mysqli Little Benchmark Comprehensive Data Validation charts Backup Task Interpolate Real Numbers CAPTCHA Code

Book Review: aoThe Grumpy Programmer's Guide To Building Testable Applicationsa

Book Review: aoThe Grumpy Programmer's Guide To Building Testable Applicationsa
When most developers think about books on testing, they think about books that highlight things like aotest driven developmenta or aohow to build a test for X.a There are lots and lots of testing books out there that supposedly teach us how to write tests and reach milestones like ao100% test coverage.a But at the [...]

We Don't Know Deployment: A 4-Step Remedy

We Don't Know Deployment: A 4-Step Remedy
Someone emailed me recently, having read my book and wanting some advice. Here's a snippet of his email: So here's my problem. We dont know deployment. We work from same copy on one test server through ftp and then upload live on FTP. We have some small projects and some big collaborative projects. We host all these projects on our local shared computer which we call test server. All guys take code from it and return it there. We show our work to clients on that machine and then upload that work to live...

DZone.com: PHP Ajax Cookbook (Book Review)

DZone.com: PHP Ajax Cookbook (Book Review)
On Dzone.com there's a book review from Ivan Ilijasic covering a recently released title from Packt Publishing, the "PHP Ajax Cookbook" (by Milan Sedliak, Rajesh Jeba R. Anbiah and Roshan Bhattarai). His review gives a "one minute bottom line" about the book and its contents.I've been in PHP development for more than 10 years and this book is really useful material. I could recommend it to beginners and experienced developers. From my point of view, there are three types of developer books - complete...

Stefan Koopmanschap's Blog: GlobIterator: Easy access to specific files

Stefan Koopmanschap's Blog: GlobIterator: Easy access to specific files
Stefan Koopmanschap has a new post to his blog showing a handy use of the GlobIterator to access only certain files.For a project I am working on I needed to iterate over all .xml files in a specific directory. I started out with a DirectoryIterator, then considered I didn't want the XML filtering to take place inside my foreach loop. I decided to add a FilterIterator to the setup, but then felt this was not the right solution either. So I turned to my favorite SPL guru, Joshua Thijssen, to see if I was...

Code2Learn.com: Using HighCharts with php, MySQL and CodeIgniter

Code2Learn.com: Using HighCharts with php, MySQL and CodeIgniter
New on the Code2Learn site there's a tutorial showing how to integrate HighCharts, PHP, MySQL and CodeIgniter to create a simple graph based on database data.While working on a project I found out that HighCharts is the best to display graphs on webpage as it has less overhead and requires less space. But the biggest challenge was to implement it using php and not jQuery. We will implement it using MVC pattern as CodeIgniter follows the same.Included in the post is a library for interacting with...

DZone.com: The standard PHP setup

DZone.com: The standard PHP setup
On DZone.com Giorgio Sironi shares what he describes as his "standard PHP setup" - the tools and standards he commonly uses when developing his projects.Last week I passed a day speeding up a Java and Ruby oriented team which started developing a PHP application: not only a standard project structure was required, but also some hints on the default tools and process to work with it. Here's what I thought was crucial during the setup, based on the question of my Rubyist colleague. Of course one of the...