 | News Feed |
 | Jobs Feed |
Sections
|
Matthew Weier O'Phinney's Blog: Proper Layer files when using Dojo with Zend Framework
by Chris Cornutt September 08, 2008 @ 07:54:52
Matthew Weier O'Phinney has another post full of Dojo/Zend Framework goodness today - this time he looks at making proper layer files by combining the two.
During my Dojo and ZF webinar on Wednesday, Pete Higgins of Dojo fame noted that I could do something different and better on one of my slides. This particular item had to do with how I was consuming custom Dojo build layers within my code. I contacted him afterwards to find out what he suggested, and did a little playing of my own, and discovered some more Dojo and javascript beauty in the process.
The improvement replaced the need for a manual commenting/uncommenting of an addLayer call with a bit of namespaced layers that, based on the environment, adds a dependency for the right file. One less manual process, one less thing to go wrong on deployment.
voice your opinion now!
dojo zendframework layer file environment improvement
Lorna Mitchell's Blog: PHP REST Server (Part 3 of 3)
by Chris Cornutt September 05, 2008 @ 12:55:48
Lorna Mitchell has posted the last part of her development process towards creating a sample REST server in PHP:
This is part 3 of my article about writing a restful service server. If you haven't already, you might like to read part 1 (covering the core library and grabbing the information we need from the incoming request) and part 2 (covering the service handler itself) before reading this section. This part covers the Response object that I used to return the data to the user in the correct format.
She show how she created the object to push the response back out to the client with an output() method that displays the XML response in a manually generated format.
voice your opinion now!
rest server tutorial response xml object
Symfony Blog: Call the expert How to implement a conditional validator?
by Chris Cornutt September 05, 2008 @ 12:06:18
On the symfony blog today, there's a new post that looks at creating a conditional validator in the context of a classic login form for the framework.
Jon works on a symfony 1.1 project with a classic login form. The form is composed of two fields: a username and a password. The validation rules are quite straightforward: he wants each field to be required and he wants to check the correctness of the password.
They show how to set up a normal login widget and how to apply a sfValidatorCallback in the configure() method to check the values in the form. This method checks the username and password values and tosses an error with sfValidatorError if a problem is found.
voice your opinion now!
conditional validator tutorial symfony framework
Andi Gutmans' Blog: Zend Framework 1.6 Featuring Dojo, SOAP, Testing, and more...
by Chris Cornutt September 05, 2008 @ 10:23:26
With the recent release of the 1.6 version of the Zend Framework, Andi Gutmans has posted some thoughts and highlights of features in the new version.
The Zend Framework Community has delivered another feature-rich release of Zend Framework and I'm extremely proud and happy to see the energy and excitement around this project. The ZF team (Wil Sinclair, Matthew Weier O'Phinney, Ralph Schindler, Alexander Veremyev) along with many others in the ZF community and at Zend, have been doing a superb job and have been working very hard to put this release together.
He mentions the Dojo integration, the updates to the SOAP component, updates to make test-driven development simpler and a reminder about ZendCon08 coming soon that will feature several Zend Framework-centric talks.
voice your opinion now!
zendframework dojo soap testing zendcon08
Kae Verens' Blog: Moving email from qmail to postfixadmin
by Chris Cornutt September 05, 2008 @ 09:30:05
In this new blog post Kae Verens shares a method he came up with to change over about 300 domains' worth of email over from qmail to posfix in an orderly, automated fashion.
Yesterday we had to move about 300 domains from one machine to another. We bought a new machine recently and are taking this opportunity to move from Qmail (difficult to use, in my opinion) towards Postfix. After doing one or two by hand, i decided that's stupid - why not just automate the whole thing.
The script reads from vqadmin and pushes that information over to mailadmin who makes the emails over on the postfix side. The script makes heavy use of the cURL extension to get the job done.
voice your opinion now!
move email postfix qmail mailadmin automate vqadmin
Chris Hartjes' Blog: Don't Fear The Command Line Using CakePHP Shells
by Chris Cornutt September 05, 2008 @ 07:53:01
Chris Hartjes has a new post to his blog today focusing on using a bit of the CakePHP framework's functionality from the command line.
I'm porting a spaghetti-PHP application over to using CakePHP I am moving their existing authorization system over to using Cake's Auth component. Of course, they are storing all their passwords in plaintext in the user account table, so I needed an easy way to convert all the existing passwords over to be encrypted using the same hash that Auth would use.
With the help of the shells and tasks that the framework makes availiable, he's able to make a simple 24 line class (EncryptPasswordShell) that extends the Shell object and loops through the data to push it back into the database in the correct password format.
voice your opinion now!
cakephp commandline shell task tutorial convert password
|
Community Events
Don't see your event here? Let us know!
|