Shine (formely 8hz-MP3) is a simple lightweight C-based MP3 encoder made by LAME developer Gabriel Bouvigne.
Description of Shine on his website:
The goal of this encoder was not quality, but simplicity. I tryed to simplify the encoding process as much as possible. So Shine is then a good starting point when a programmer needs a very […]
Helper class to write WAV formated audio files. The class expects audio input data in a byte array with samples represented as floats.
The default compressed code is set to PCM. The class resamples and formats the audio samples according to the class properties. The resampling geared for performance and not […]
Here is a very good multi-part tutorial on the ins and outs of mobile client / server development, that adds some quite useful functionality on Android, Apple IOS and Blackberry mobile devices.
In this Test Drive, you are going to create a Flex mobile application that retrieves, displays, and modifies database records (see Figure […]
Flash Builder 4.5 has a built-in data paging feature that generates ActionScript code to retrieve data from the database incrementally on demand. For example, suppose your database has thousands of records and you want to fetch only 20 rows at a time and display them in a data grid. When you […]
Zimuel writes; As promised in my last post I present an example of strong cryptography in PHP to secure session data.
This is a very simple implementation that can be used to improve the security of PHP applications especially in shared environments where different users have access to the same resources. As you know, […]
Zimuel writes; Last friday, in occasion of the April Zend Framework Bug-Hunt, I started to look at this bug: ZF-3257. This is an issue related to the Zend_Json class that occurs during the conversion from XML to JSON for some specific XML documents, like this one:
$xml= ‘bar’;
The result using Zend_Json::fromXml($xml, false) , where false indicated […]
Kevin van Zonneveld wrote a life saving article that saved me quite a bit of time; Everyone knows PHP can be used to create websites. But it can also be used to create desktop applications and commandline tools. And now with a class called System_Daemon, you can even create daemons using nothing but PHP. And […]
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 separate select elements to do this:
Screen shot of a 3 select boxes for a date on a form
A little bit of googling found this site http://codecaine.co.za/posts/compound-elements-with-zend-form which has not unfortunately disappeared, so the […]
ralphschindler writes; Usage of the Conditional Ternary operator to reduce brace and newline waste when processing optional method parameters
< ?php
class Coordinate
{
protected $x;
protected $y;
public function __construct($x = null, $y = null)
{
(empty($x)) ?: […]
Saša Stamenković writes; I know many of us have struggled with coding PHP using various text editors and IDE-s. Sooner or later, we pick our favourite weapon of choice and use it for every day development. My weapon of choice is Eclipse PDT (Helios) and today I will talk about code templates.
Just to make it […]
Nils-Fredrik G. Kaland writes; Let’s say you are working on the user interface in Ext Designer / Sencha Ext Js, and after a while you find out you have ended up with a great amount of data stores. You also need to handle lots of Ajax requests and all the server side coding […]
Integrate Doctrine 2 into your Zend Framework project. Drive with tests first!
via Zendcasts.
Joshua Thijssen writes; I sometimes hear: “make everything utf-8 in your database, and all will be fine”. This so-called advice could not be further from the truth. Indeed, it will take care of internationalization and code-page problems when you use UTF-8, but it comes with a price, which may be too high for you to […]
Rob Allen wites in his DevNotes; If you have a Zend Framework Front Controller plugin which throws an exception, then the action is still executed and then the error action is then called, so that the displayed output shows two actions rendered, with two layouts also rendered. This is almost certainly not […]
Rob Allen writes; A friend of mine recently had a requirement where she wanted to have two config files loaded into Zend_Application, so that the specific settings for the server were not stored in the version control system.
Hence she has two config files: application.ini and local.ini where local.ini is different on each server.
The easiest way […]