In a recent post to his blog Lee Davis gives an example of using the Zend Framework's pagination functionality, complete with some CSS to style it a bit better than the defaults.
One of the reasons why zend framework has been so popular is due to all the hard work put in to make sure components are extremely configurable. Sure there are default behaviours, but nothing is assumed and anything that needs to be overwritten or reconfigured can be. A strong emphasis on configuration over convention means...
In this new post from the ServerGrove blog Ismael Ambrosi shows how to create a "cache warmer" for a Symfony2 application - a handy tool that can pre-populate your applications cache with data you specify before it's needed by the app.The cache is a very important part of your Symfony application as it helps your web server to perform better by not executing unnecessary code on every request, this is especially true if your server is running with limited resources. Cache warming allows you to cache...
On PHPMaster.com today there's a new tutorial from Alejandro Gervasio about using virtual proxies in your application - a method in development that provides a layer of abstraction on top of domain objects and makes it more efficient to work with (and lazy load) them.Often referenced by a few other fancy names, the substitute is generically called a virtual proxy, a sort of stand-in that exploits the neatness of Polymorphism and interacts with the actual domain objects. Proxies aren't new to PHP....
Here's what was popular in the PHP community one year ago today:Zend Developer Zone: Book Report: Easy PHP Websites with the Zend Framework
WebTutor.pl: HipHop for PHP: Benchmark - Revenge of PHP
CodeIgniter.com: Tickets On Sale For CICON2011: The First US CodeIgniter Conference
Project: Guzzle - RESTful web service client development framework
NetTuts.com: Protect a CodeIgniter Application Against CSRF
Sftuts.com: Using Assetic in Symfony2 for CSS compression
DreamInCode.com: Preventing PHP Mail(...)...
At work, we've been looking for a
pastebin application
with a special feature set:
Self-hosted, so we can paste code and data without
having to care about sensitive customer data becoming public accidentially
written in PHP, since we're a PHP shop
editability so other people can do fixes for us
title support for pastes so we can find it later
navigation among pastes so we don't have to
remember the number later
search because navigation doesn't help with 1k+...
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...
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...
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...
We are down for maintenance, our apologies for the inconvenience.
A A A A A A A A A A A A A A A A A A A A A A A A A A
We are down for maintenance, our apologies for the inconvenience.
A A A A A A A A A A A A A A A A A A A A A A A A A A
We are down for maintenance, our apologies for the inconvenience.
A A A A A A A A A A A A A A A A A A A A A A A A A A
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...
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...
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...
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...
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
When most developers think about books on testing, they think about books that highlight things like a€otest driven developmenta€¯ or a€ohow 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 a€o100% test coverage.a€¯ But at the [...]
|
Latest PHP Tweets
|