e_schrade writes; There is a bunch I could say to introduce this chapter. However, I think that by reading the first few paragraphs you will know what I’m talking about. For those who are experienced developers some of these items might seem a little basic, but there are reams and reams of […]
eschrader writes; So I was sitting here thinking to myself “This is Friday and I’m not getting much of anything done. Maybe I should write another Friday Framework Highlight.” I figured that it was a good idea so I pondered what I should write. I came up blank and so I asked […]
Till posted this little snippet;
It’s so useful I just had to share it
find . \( –name “*.php” –o –name “*.phtml” \) –exec php –l {} \;
Just go to your project directory and fire it off, it will help you find those pesky unmatched {}
Bill Karwin posts a useful little snippet that will list and search each class for function names that match except for the underscore prefix, private / protected functions.
< ?php
/**
* Find methods that differ only by the underscore prefix.
* by Bill Karwin August 2010
*
* I release this code […]
Here is an interesting project that could prove quite useful for us PHP buffs;
PHP for Android project (PFA) aims to make PHP development in Android not only possible but also feasible providing tools and documentation.
We currently have an APK which provides PHP support to ASE (PhpForAndroid.apk).
Irontec is the company behind this project. About this project
FAQ (Frequently […]
I have som rather large and time consuming queries running in the Statistics screen of an NOC (Network Operations Center) Flex/Flash Builder 4 application i’we been tinkering with, to prevent the database server to be boggen down by multiple queries fired by this app in multiple places I had to implement caching.
And to do this […]
Writing maintainable code is an art that takes effort and practice to master.
Part of that art is learning what tools and strategies will assist you in that effort. In this tutorial, we will cover a variety of practices and tools that can make your life, and the lives of your team members, […]
According to the official documentation, PHP namespaces have been designed to prevent name collisions between classes from different packages and to avoid the use of very long names in the code to refer to classes or functions—nobody really wants to have to deal with something called Zend_Db_Adapter_Mysqli or PHPUnit_Framework_Constraint_IsInstanceOf, after all. This means that namespaces […]
Matthew Weier O’Phinney shares a bit of very useful code to inject request params into a Zend Framework request object from a JSON or XML POST request.
“Below is a plugin I use to translate JSON or XML raw post request data to request user parameters.
Note that it expects a “Content-Type” header of either “application/json” or […]
Take a peak at Web Developer Juice’s writeup on how to configure and use ActiveMQ (Message Queues), defenitely worth the read.
Apache ActiveMQ is one good option for implementing message queue in your PHP application. It can be easily installed on your server and it’s web accessible admin interface really makes administrator’s life easy. […]
Romain Lalaut wants some feedback on his proposal for Zend_Session_SaveHandler_Cookies is a save handler which stores data into the cookies client.
The main benefit is to avoid the storage of such data on the server. It is especially useful when you have a farm of servers to manage.
Give him a hand here Zend_Session_SaveHandler_Cookies.
While pouring over some posts about Doctrine I stumbled upon a very nice solution to the Cascading Delete issue when using the SoftDelete behaviour on an Doctrine Model. Here is what the guys at Elink Media writes;
I have been using Doctrine ORM for a while now. Here I want to discuss 2 tricky issues […]
Bradley Holt writes a good article about Front Controller Patterns; I recently gave a Zend Framework Introduction presentation at our local PHP Users Group. I built a demo blogging application called Postr that I used as an example throughout the presentation. There was way too much material to cover in the […]
Chris Hartjes writes a very nice article about how to make (re)usable zend_forms; After searching around online for some examples of building simple forms, I was dismayed to discover there were two different ways of building the form. I could (a) do it the long way and create specific instances of the form elements using […]
On behalf of the Zend Framework team and the framework’s many contributors, I’m pleased to announce the immediate availability of the stable release of Zend Framework 1.10.0. You can download it from our downloads page: