Tag Archive

ClamAV as a Validation Filter in Zend Framework

Published on 19 January, 2012 By Danny Froberg

Matthew Set­ter writes a very inter­est­ing arti­cle; Ok, so you’re pretty com­fort­able with using the Zend Frame­work, specif­i­cally the use of Forms. Along with that, you have a good work­ing knowl­edge of how to com­bine a host of stan­dard val­ida­tors such as Cred­it­Card, EmailAd­dress, Db_RecordExists, and Hex, and stan­dard fil­terssuch as Compress/Decompress, Base­Name, Encrypt, and Real­Path. But what do you do when a sit­u­a­tion arises that’s out­side the […]

AMF Authentication & Authorization">Zend AMF Authentication & Authorization

Published on 7 September, 2011 By Danny Froberg

dkozar evolved a work­ing method to Authen­ti­cate and Autho­rize a Flex based app datas ser­vice call using Zend AMF, he writes;
I’ve been strug­gling with it, and fig­ured it all out — so, per­haps it could help oth­ers.
The authen­ti­ca­tion is called on the server only if cre­den­tials sup­plied from the client (via the remote pro­ce­dure call […]

Authentication using Zend_Amf

Published on 4 September, 2011 By Danny Froberg

Kevin Schroeder writes; I for­get why, but a few days ago I started doing some dig­ging around with authen­ti­ca­tion in Zend_Amf_Server. I had fig­ured that I would add an adapter to the Zend_Amf_Server::setAuth() method and that would be it.
But I was wrong.
AMF allows for mul­ti­ple request bod­ies to be sent at the same time. Of those there […]

AMF">File uploads with Adobe Flex and Zend AMF

Published on 31 August, 2011 By Danny Froberg

Leonardo França writes; Zend AMF is an imple­men­ta­tion done in PHP to work with the com­mu­ni­ca­tion pro­to­col binary AMF (Action Mes­sage For­mat) and is part of Zend­Frame­work. I had to imple­ment a sys­tem to upload files that were a lit­tle dif­fer­ent than what is typ­i­cally used in Flash, with this fea­ture had to be integrated […]

Flex Builder 4.5.x Test Drive for Mobile Tutorials

Published on 2 August, 2011 By Danny Froberg

Here is a very good multi-part tuto­r­ial on the ins and outs of mobile client / server devel­op­ment, that adds some quite use­ful func­tion­al­ity on Android, Apple IOS and Black­berry mobile devices.
In this Test Drive, you are going to cre­ate a Flex mobile appli­ca­tion that retrieves, dis­plays, and mod­i­fies data­base records (see Figure […]

Zend_Config_Ini and a string

Published on 20 June, 2011 By Danny Froberg

Rob Allen as usual writes use­ful stuff; One thing that is dif­fer­ent between Zend_Config_Xml and Zend_Config_Ini is that with Zend_Config_Xml you can pass in an XML string as the first para­me­ter of the con­struc­tor and it will work. This doesn’t work with Zend_Config_Ini as we use parse_ini_file() under the hood.
With PHP 5.3 how­ever there is is […]

PHP">Encrypt session data in PHP

Published on 3 May, 2011 By Danny Froberg

Zimuel writes; As promised in my last post I present an exam­ple of strong cryp­tog­ra­phy in PHP to secure ses­sion data.
This is a very sim­ple imple­men­ta­tion that can be used to improve the secu­rity of PHP appli­ca­tions espe­cially in shared envi­ron­ments where dif­fer­ent users have access to the same resources. As you know, […]

A Zend Framwork compound form element for dates

Published on 21 March, 2011 By Danny Froberg

Rob Allen writes; A while ago I needed to ask a user for their date of birth on a Zend_Form. The design showed three sep­a­rate select ele­ments to do this:
Screen shot of a 3 select boxes for a date on a form
A lit­tle bit of googling found this site http://codecaine.co.za/posts/compound-elements-with-zend-form which has not unfor­tu­nately dis­ap­peared, so the […]

ExtJs, ExtDesigner and Zend Framework

Published on 2 March, 2011 By Danny Froberg

Nils-Fredrik G. Kaland writes; Let’s say you are work­ing on the user inter­face in Ext Designer / Sen­cha Ext Js, and after a while you find out you have ended up with a great amount of data stores. You also need to han­dle lots of Ajax requests and all the server side coding […]

Unit Testing Doctrine 2 Entities

Published on 6 February, 2011 By Danny Froberg

Inte­grate Doc­trine 2 into your Zend Frame­work project. Drive with tests first!
via Zendcasts.

Handling exceptions in a Front Controller plugin – Rob Allen’s DevNotes

Published on 20 December, 2010 By Danny Froberg

Rob Allen wites in his DevNotes; If you have a Zend Frame­work Front Con­troller plu­gin which throws an excep­tion, then the action is still exe­cuted and then the error action is then called, so that the dis­played out­put shows two actions ren­dered, with two lay­outs also ren­dered. This is almost cer­tainly not […]

Local config files and Zend_Application

Published on 29 November, 2010 By Danny Froberg

Rob Allen writes; A friend of mine recently had a require­ment where she wanted to have two con­fig files loaded into Zend_Application, so that the spe­cific set­tings for the server were not stored in the ver­sion con­trol sys­tem.
Hence she has two con­fig files: application.ini and local.ini where local.ini is dif­fer­ent on each server.
The eas­i­est way […]

Unit Testing Action Helpers

Published on 16 November, 2010 By Danny Froberg

A look at how action helpers func­tion and effec­tive ways of unit test­ing them.
via Zendcasts.

FINAL Released">Zend Framework 1.11.0 FINAL Released

Published on 2 November, 2010 By Danny Froberg

The Zend Frame­work team is pleased to announce the imme­di­ate avail­abil­ity of the gen­eral access release of Zend Frame­work 1.11.0.
This release is the cul­mi­na­tion of sev­eral months of effort by con­trib­u­tors and Zend Frame­work part­ners, and offers sev­eral key new fea­tures, includ­ing sup­port for mobile devices and the first sta­ble release of the Sim­ple­Cloud API.
You may […]

Zend SimpleCloud and Azure

Published on 22 October, 2010 By Danny Froberg

Josh Holmes writes a infor­ma­tive arti­cle on Sim­ple­Cloud here;
I’ve been play­ing with Zend’s Sim­ple­Cloud API for the web­cast that I’m doing with Zend today. I started with the Zend Frame­work Quick­start tuto­r­ial but changed out the back­end to hit the Azure Tables and such (well kinda – I used Zend Stu­dio 8 Beta 2 and didn’t […]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes