Tag Archives: Zend Framework

P4A 3.6.0 is finally out!

It’s time for a big P4A release before the summer vacation :)

The changelog is really long as usual but there are no explosive changes or new features, the main focus was porting from the old FCKEditor to the new CKEditor 3.3 (that now has come to a complete and stable feature set).

I also worked on updating all various softwares we embed (Zend Framework and jQuery plugins), fixing some bugs and reworking the AJAX stack.

After CreaLabs (the company I previously own) closure don’t worry, I’ll still continue to work and support P4A, I’ll keep using it for all my jobs and I also have some big plan for the future releases :)

So here you’ve the full changelog:

– Zend Framework was updated to 1.10.3
– FCKEditor was dropped and CKEditor 3.3 was added
– all AJAX stack was rewritten to use JSON instead of XML
– in full AJAX environment external javascripts are loaded only if
they were not loaded before
– in full AJAX environment widgets can now execute javascript code before
or after the HTML substitution
– focus internal management was rewritten
– P4A_Mask::setLeftSidebarWidth(), setRightSidebarWidth(),
getLeftSidebarWidth() and getRightSidebarWidth() methods were added
– jQuery::form was updated to 2.43
– jQuery was updated to 1.4.2
– jQuery UI was updated to 1.8.1
– jQuery::autocomplete plugin was replaced by jQuery UI autocomplete
– mask’s right sidebar is now shown correctly
– P4A_Data_Source::exportToCSV() deprecated method was removed
– P4A::isPopupOpened() deprecated method was removed
– P4A_Mask::unsetFocus() deprecated method was removed
– P4A_Mask::displayText() deprecated method was removed
– P4A_Table::setHeader() deprecated method was removed
– P4A_Box::setValue() and getValue() deprecated methods ware removed
– P4A_DB::getAll(), queryAll(), getRow(), queryRow(), getCol(), queryCol(),
getOne() and queryOne() deprecated methods ware removed
– P4A_Output_File now supports the “new window” param
– P4A_DB_Source::rowByPk() method now returns the retrieved row
– pt_BR translation was added to products_catalogue sample application
(thanks to Cassiano Faria)
– es_MX translation was added to products_catalogue sample application
(thanks to Edgar Joel)
– Yahoo CSS reset was updated to 3.1.0
– P4A_I18N::normalize() $num_of_decimals params now has a default value
– P4A_Table_Rows’ onformat event now passes a 5th parameter to the interceptor
method, this param is the complete row
– P4A_DB_Navigator::setRootLabel() and getRootLabel() methods were added
– P4A_DB_Navigator::allowMovementToRoot() method now supports a 2nd param
(root element label)
– P4A_DB_Source::getRowPosition() now adds “GROUP BY” clause
– default CSS font is now “Verdana,Arial,sans-serif” to match
jQuery::UI settings

Download P4A 3.6.0
Have fun!

Zend_Calendar, when?

Zend Framework has a quite impressive Zend_Date and Zend_Locale modules which finally do things we needed 4 years ago with MerlinWork and then P4A, like normalizing localized dates and parsing the Unicode’s Common Locale Data Repository but I think we still need a good calendar module that would do the things that Pear::Calendar does now. I’ll post an issue to Zend ASAP.