PHP Developer - November 24th, 2006
On the IBM developerWorks site, there’s a new post talking about a new Service Component Architecture module that’s been released over on the PECL site - SCA_SDO.
We’ve just made our first release of SCA on the PECL repository. The code has been added into what was the SDO project and which has now been imaginatively renamed to SCA_SDO (you won’t believe how much thought went into that…).
Main features include:
- inclusion of the Service Component Architecture (SCA) component
- new PEAR packaging to install SCA and SDO as peer directories (PEAR/SCA and PEAR/SDO)
- new function in SDO_DAS_Relational to support multiple root data objects
- new function in SDO_DAS_XML to support CDATA sections (not yet complete)
To find out more about the project, check out its homepage.
Continue Reading ·
PHP Developer - November 24th, 2006
The Zend Developer Zone has posted another in the “Hidden Gems” series by Aaron Wormus, this time looking at the Zend_Config component.
Managing configuration is a pretty simple thing to do in PHP, in fact, I’d bet that at some point in their programming career every php programmer has written code. But as soon as you get a bit bigger you realize that you’re going to have trouble accessing your configuration variable.
There are many reasons to manage your configuration data indepenantly from your business logic. One common reason is that you don’t want to enter your configuration data into the public versioning system that you use.
Aaron looks at how you can use the component in your application easily including an example using the built-in inheritance functionality to easily manage a move from development to production.
Continue Reading ·
PHP Developer - November 24th, 2006
Continuing on from this previous post talking about Javascript in CakePHP applications, Felix Geisendorfer hands out more tips in this new blog entry targeted mainly at users of the jQuery Javascript library.
While the old solution was nice to manage the JS of a smaller application, this one is ment to structure your JS even in bigger projects. To make this possible I decided to go with a loose (MV)C pattern.
He gives an example of using a SiteController in connection with a CalendarController to help populate the information for the calendar.
Continue Reading ·