Noutati
|
|
Community News: Latest Releases from PHPClasses.org
|
|
|
Zend_Test
I admit I don't follow Zend Framework very closely, since I haven't been using it for any serious work.But I did write a piece about testing a Zend Framework action controller with View Helpers. This might need updating, since the testing capabilities of the Zend Framework have grown substantially since then. In particular, there is now a component called Zend_Test. I haven't had time to study it closely yet, but I hope to do so soon.
|
|
|
Brandon Savage's Blog: Hosting Made for PHP Developers
After looking around for different hosting for some of his projects (one that was a bit more PHP-developer friendly), Brandon Savage looked into Slicehost, a virtual server option that gives a bit more control than the larger, more typical shared hosting environments. Here's his review of the move. I'm not sure what I was expecting, but what I got was pretty amazing. Slicehost works by offering virtual servers for each account - that is, for ea
|
|
|
Brandon Savage's Blog: Hosting Made for PHP Developers
After looking around for different hosting for some of his projects (one that was a bit more PHP-developer friendly), Brandon Savage looked into Slicehost, a virtual server option that gives a bit more control than the larger, more typical shared hosting environments. Here's his review of the move. I'm not sure what I was expecting, but what I got was pretty amazing. Slicehost works by offering virtual servers for each account - that is, for ea
|
|
|
David Otton's Blog: php://memory, Unit Tests
In looking to test his fputscsv functionality, David Otton found a simple way to measure its performance by using streams. Then I realised I could use PHP's (fairly) new IO streams to dump the function's output to a temporary buffer, and read it back in for comparison. Not perfect, but it removes concerns about file mutexes, permissions, unique filenames, etc. and speeds up the tests, as they never touch disc. He uses a custom stream and points it to php://memory to store and read the data from. Code is included in the post as well as example usage. It runs an assert that the
|
|
|
David Otton's Blog: php://memory, Unit Tests
In looking to test his fputscsv functionality, David Otton found a simple way to measure its performance by using streams. Then I realised I could use PHP's (fairly) new IO streams to dump the function's output to a temporary buffer, and read it back in for comparison. Not perfect, but it removes concerns about file mutexes, permissions, unique filenames, etc. and speeds up the tests, as they never touch disc. He uses a custom stream and points it to php://memory to store and read the data from. Code is included in the post as well as example usage. It runs an assert that the
|
|
|
Sameer's Blog: Creating a Figlet text in php
Sameer has posted an example of a new(ish) component of the Zend Framework - the Zend_Figlet component - and how you can use it to render the multi-line ASCII text figlet users are familiar with. Zend_Text_Figlet is a Zend component which enables developers to create a FIGlet text. A Figlet is nothing but a technique of creating large letters using ordinary text. I don't know how to make a use of this in my daily matters, but its a nice recreation. A short history on Figlet can be found here. An example and the code to generate it is shown below. He includes a few quick code examples to show it in action - including how to make it work with your own fonts and styles.
|
|
|
Sameer's Blog: Creating a Figlet text in php
Sameer has posted an example of a new(ish) component of the Zend Framework - the Zend_Figlet component - and how you can use it to render the multi-line ASCII text figlet users are familiar with. Zend_Text_Figlet is a Zend component which enables developers to create a FIGlet text. A Figlet is nothing but a technique of creating large letters using ordinary text. I don't know how to make a use of this in my daily matters, but its a nice recreation. A short history on Figlet can be found here. An example and the code to generate it is shown below. He includes a few quick code examples to show it in action - including how to make it work with your own fonts and styles.
|
|
|
Eran Galperin's Blog: OO PHP Templating
On the TechFounder blog, Eran Galperin has taken a look at object-oriented templating in PHP applications, comparing the older search and replace method with the inclusion of PHP-based templates. PHP as a language can be considered a templating system, as in its root it was meant to modify HTML pages dynamically. The need for more structured templating systems arose as PHP applications have grown more and more complex, giving birth to much more specialized and focused solutions. He illustrates with an object replacement example - parsing the template as a PHP script and replacing any objects found with the corresponding object property value.
|
|
|
Eran Galperin's Blog: OO PHP Templating
On the TechFounder blog, Eran Galperin has taken a look at object-oriented templating in PHP applications, comparing the older search and replace method with the inclusion of PHP-based templates. PHP as a language can be considered a templating system, as in its root it was meant to modify HTML pages dynamically. The need for more structured templating systems arose as PHP applications have grown more and more complex, giving birth to much more specialized and focused solutions. He illustrates with an object replacement example - parsing the template as a PHP script and replacing any objects found with the corresponding object property value.
|
|
|
Johannes Schluter's Blog: SQL completion in PHP strings
Johannes Schluter has posted showing how the new version of Netbeans (with PHP support) offers SQL completion support. NetBeans 6.5 is soon to be released. After 10 years of NetBeans that's the first version of Sun's OpenSource IDE featuring PHP support. While 6.5 is waiting to be packaged the development didn't stop and the first features for the successor, NetBeans.next, are already being developed. David Van Couvering just showed a preview of a cool new feature: SQL completion in PHP strings, if it does what the screenshot promises that's a damn great addition in my opinion. Johannes includes
Citeste mai mult
| Comentarii (0)
| Salveaza
|
|
|
|
Johannes Schluter's Blog: SQL completion in PHP strings
Johannes Schluter has posted showing how the new version of Netbeans (with PHP support) offers SQL completion support. NetBeans 6.5 is soon to be released. After 10 years of NetBeans that's the first version of Sun's OpenSource IDE featuring PHP support. While 6.5 is waiting to be packaged the development didn't stop and the first features for the successor, NetBeans.next, are already being developed. David Van Couvering just showed a preview of a cool new feature: SQL completion in PHP strings, if it does what the screenshot promises that's a damn great addition in my opinion. Johannes includes
Citeste mai mult
| Comentarii (0)
| Salveaza
|
|
|
|
Smashing Magazine: 10 Advanced PHP Tips to Improve Your Programming
On the Smashing Magazine site Glen Stasberry has posted a few tips to help improve your PHP development practices. Because of PHP's huge popularity, it has become almost impossible for Web developers not to have at least a working knowledge of PHP. This tutorial is aimed at people who are just past the beginning stages of learning PHP and are ready to roll up their sleeves and get their hands dirty with the language. Listed below are 10 excellent techniques that PHP developers should learn and use every time they program. These tips will speed up proficiency and make the code much more responsive, cleaner and more optimized for performance. Suggestions include using a SQL injection cheat sheet, "shortcutting" the else in your conditionals, don't u
|
|
|
Smashing Magazine: 10 Advanced PHP Tips to Improve Your Programming
On the Smashing Magazine site Glen Stasberry has posted a few tips to help improve your PHP development practices. Because of PHP's huge popularity, it has become almost impossible for Web developers not to have at least a working knowledge of PHP. This tutorial is aimed at people who are just past the beginning stages of learning PHP and are ready to roll up their sleeves and get their hands dirty with the language. Listed below are 10 excellent techniques that PHP developers should learn and use every time they program. These tips will speed up proficiency and make the code much more responsive, cleaner and more optimized for performance. Suggestions include using a SQL injection cheat sheet, "shortcutting" the else in your conditionals, don't u
|
|
|
Zend Developer Zone: Zend Framework 1.7.0 is now available
The latest version of the Zend Framework, 1.7.0, has officially been released: The Zend Framework team would like to thank everyone who made this release possible. As always, our generous ZF community has provided countless new features, bug fixes, documentation translations, etc. We'd also like to thank Adobe Systems and Wade Arnold for contributing the new Zend_Amf component. A big thanks to PHP Belgium and everyone who participated in bug hunt day and/or the Zend Framework bug hunt week. This update includes lots of new components and features such as: an update to Dojo, Zend_Service_Twitter, support for Open Office Documents in the Zend_Search_Lucene component, Zend_ProgressBar, I18N improvements and much, much more. Check out the full
Citeste mai mult
| Comentarii (0)
| Salveaza
|
|
|
|