PHP

ClamAV as a Validation Filter in Zend Framework

Posted by on 19 January, 2012 at 1:50 pm

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 […]

Zend Server 5.6 is out

Posted by on 6 January, 2012 at 11:20 pm

Kevin Schroeder writes; Zend Server 5.6 is out.  I’m actu­ally pretty stoked about this release.  Here’s a few rea­sons why.

Zend Server CE now con­tains the full Zend Server stack.  Why do I find this excit­ing?  Because the upgrade path from CE to the full ver­sion is stu­pid easy.  That means you can try out all of […]

Connecting to PHPCloud.com through Zend Studio 9

Posted by on 21 November, 2011 at 2:51 pm

PHPCloud.com is the land­ing page for our new cloud offer­ing.  Using the Zend Appli­ca­tion Fab­ric you can build your appli­ca­tions in the same envi­ron­ment as you will be deploy­ing your apps to.  The appli­ca­tion is built on my.phpcloud.com and you can then deploy it onto any plat­form where the Fab­ric is sup­ported.
But how do you get started? […]

AMF Authentication & Authorization">Zend AMF Authentication & Authorization

Posted by on 7 September, 2011 at 11:29 am

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

Posted by on 4 September, 2011 at 8:10 am

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

Posted by on 31 August, 2011 at 10:27 am

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

Posted by on 2 August, 2011 at 11:34 am

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 […]

PHP using Flash Builder 4.5.x">Data paging with Flex and PHP using Flash Builder 4.5.x

Posted by on 2 August, 2011 at 11:19 am

Flash Builder 4.5 has a built-in data pag­ing fea­ture that gen­er­ates Action­Script code to retrieve data from the data­base incre­men­tally on demand. For exam­ple, sup­pose your data­base has thou­sands of records and you want to fetch only 20 rows at a time and dis­play them in a data grid. When you […]

PHP">Encrypt session data in PHP

Posted by on 3 May, 2011 at 6:28 pm

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, […]

XML to JSON in PHP">XML to JSON in PHP

Posted by on 3 May, 2011 at 5:53 pm

Zimuel writes; Last fri­day, in occa­sion of the April Zend Frame­work Bug-Hunt, I started to look at this bug: ZF-3257. This is an issue related to the Zend_Json class that occurs dur­ing the con­ver­sion from XML to JSON for some spe­cific XML doc­u­ments, like this one:

$xml= ‘bar’;

The result using Zend_Json::fromXml($xml, false) , where false indicated […]

PHP">Create daemons in PHP

Posted by on 29 March, 2011 at 2:51 pm

 
Kevin van Zon­n­eveld wrote a life sav­ing arti­cle that saved me quite a bit of time; Every­one knows PHP can be used to cre­ate web­sites. But it can also be used to cre­ate desk­top appli­ca­tions and com­man­d­line tools. And now with a class called System_Daemon, you can even cre­ate dae­mons using noth­ing but PHP. And […]

Usage of the Conditional Ternary operator to reduce brace and newline waste when processing optional method parameters

Posted by on 14 March, 2011 at 10:15 am

ralph­schindler writes; Usage of the Con­di­tional Ternary oper­a­tor to reduce brace and new­line waste when pro­cess­ing optional method parameters

< ?php
class Coor­di­nate
{
pro­tected $x;
pro­tected $y;
pub­lic func­tion __construct($x = null, $y = null)
{
(empty($x)) ?: […]

FINAL Released">Zend Framework 1.11.0 FINAL Released

Posted by on 2 November, 2010 at 8:21 pm

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 […]

0BETA1 Released">Zend Framework 1.11.0BETA1 Released

Posted by on 14 October, 2010 at 10:42 pm

The Zend Frame­work team is pleased to announce the imme­di­ate avail­abil­ity of the first beta 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 […]

WHAT with PHP? Chapter 10">You want to do WHAT with PHP? Chapter 10

Posted by on 29 September, 2010 at 7:05 pm

With the book out and released I now reach the final chap­ter excerpt that I will have. As I said in one of my pre­vi­ous chap­ter excerpts, I did not write this book to cover a wide range of top­ics. I wrote it to cover a nar­row range of top­ics, more fully. […]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes