Feb 5, 2009 -
Changelog:
- Zend Framework was updated to 1.7.4
- PEAR::Net_Useragent_Detect was updated to 2.5.0
- jQuery::form was updated to 2.19
- P4A_DB_Source::setQuery() now strips out final semicolon from the passed SQL query (if present) (bug #2557215)
- P4A_DB_Source::setWhere() now calls a firstRow() if the DB_Source isn’t in the “new row” state (bug #2316271)
- P4A_Filename2File() now uses the fileinfo module if no mime type is detected otherways (bug #2121565)
- a bug with P4A_Field::getAsDate() and Internet Explorer was fixed (thanks to Mario Spada)
- P4A_Thumbnail_Generator::setWidth() now resets the max_width to avoid conflicts
- P4A_Thumbnail_Generator::setHeight() now resets the max_height to avoid conflicts
- P4A_Thumbnail_Generator::setMaxWidth() now resets the width to avoid conflicts
- P4A_Thumbnail_Generator::setMaxHeight() now resets the height to avoid conflicts
- P4A_Thumbnail_Generator::processFile() height/width calculation was
rewritten in order to fix bug #2270922
Download P4A 3.2.1 now!
Filed in: P4A, PHP, Things I do
Tags: P4A
Sep 9, 2008 -
Are you on Facebook? Then you sure don’t want to miss the new and shining P4A Facebook page!
Filed in: P4A, PHP, Things I do
Tags: Facebook, P4A
Sep 2, 2008 -
Time for a new maintenance release for our beloved framework, here you’ve the complete changelog:
- P4A_Thumbnail_Generator now supports ie’s pjpeg extension
- a bug with P4A_I18N::_format() method was solved
(YYYY was changed to yyyy)
- P4A_Field::setYearRange() method was added to be able to
manage the year range in the datepicker
- 10px top padding was added to P4A_Fieldset
- jQuery::maskedinput 1.1.4 plugin was added
- P4A_Field::setInputMask() and getInputMask() methods were added,
check the code reference for usage
- popup template support for “top” zone was added
- P4A_Table’s caption (label) is now automatically traslated at run time
- P4A now triggers the “ontranslate” event, you can intercept it
(getting string/translation/istranslated parameters) to track
translations while developing your application
- a bug with P4A_Table’s label with IE6 was fixed
- P4A_Table’s navigation bar’s “go to page” label’s CSS was changed
so now it will remain on a single line
- a typo in P4A_DB_Source documentation was fixed
- a PHP warning was fixed in P4A_DB_Navigator
- more info were added in products_catalogue’s index.php file
- P4A_Mask::setRequiredField() and unsetRequiredField() methods
now check if the field exists before calling the addValidator()
otherwise show an error message
Download P4A 3.0.3
Filed in: P4A, PHP, Things I do
Tags: P4A
Aug 21, 2008 -
I’m taking a bit of time (before leaving for a week of pure holiday) to write some pages of the P4A manual.
After the latest post about P4A’s I18n I’m now working on the first mask page, containing documentation about building widgets, displaying them in the mask, using layout managers (frames, fieldsets, canvases, sheets) and using the field.
Work is nearly completed, I think I’ll finish it today and that will be great!
We still have a lot of parts that need documentation, you can find the list here, you know… your help would be really appreciated!
Filed in: P4A, PHP, Things I do
Tags: P4A
Aug 20, 2008 -
Filed in: P4A, PHP, Things I do
Tags: I18N, P4A
Aug 4, 2008 -
We’re not on holiday yet, time for a new minor release :-)
Changelog:
- a small change was done on P4A_Array_Source to enable the usage of empty array_sources without warnings
- tooltips are now automatically translated at rendering time
- P4A_DB_Source::saveRow() now reads pk values back from Zend_DB_Table::insert() gaining better functionality with auto increment primary keys
- jQuery UI was updated to 1.5.2
- a small bug with P4A_I18N::_normalize() method was solved
- p4a_focus_set() javascript function was reworked to avoid a javascript warning in firebug
- loading a P4A_Array_Source with a simple array of data now does not create the “0″ field anymore, it’s been renamed to “f0″ to avoid problems with some PHP configurations with numerical object properties
Download P4A 3.0.2
Filed in: P4A, PHP, Things I do
Tags: P4A
Jun 29, 2008 -
Changelog:
- a bug about session name was solved
- FCKEditor was updated to 2.6.2
- a bug with shadows CSS was solved (unused shadow.png file is not linked by screen.css anymore so we’ve no “file not found” in web server’s logs)
- P4A_Error_Handler() global function now uses the P4A::messageWarning() wrapper for P4A::message() solving a bug with the warning icon name that was changed in 3.0.0-rc5
- jQuery UI was updated to 1.5.1
For the first time p4a is also available as .deb package. We encourage all users of Debian based distros to test this new package and give us feedback.
Download P4A 3.0.1
Filed in: P4A, PHP, Things I do
Tags: P4A, PHP
Jun 24, 2008 -

It was a long long journey started on December 17th, 2007, with more than 800 commits it has really been an hard work but we’re proud to tell everybody that P4A 3.0 is finally released!
Thank you everybody contributed to this wonderful release!
I suggest you to check the official release notes, they’re full of useful info and… For who was waiting… commercial license is available too.
Note: the image at the top is just a humorous revisitation of P4A logo with some “300 the movie” effect :-) hope you enjoyed.
Filed in: P4A, PHP, Things I do
Tags: P4A, PHP
Jun 17, 2008 -
I spend some hours working on the new P4A wiki that’s finally open for contributions, I finished some guides:
and I’m working on the new P4A manual which is definitively a long work and would really need your help.
I think that we can expect the final P4A 3 release in a few days :-)
Filed in: P4A, PHP, Things I do
Jun 10, 2008 -
It’s been a long time since we published rc4 (2 weeks? :-)) anyway, we wanted to work a bit on the graphic theme giving develpers the possibility to change the look&feel of their applications with ease and we introduced some variations to the default P4A theme which was pretty the same since some years :)
Now check out the new default theme:

You can notice that we’ve shadows, gradients and some new icons… but… with just a few lines of code you can get:

or this:

or thousands more :-)
To know how to create color schemas and icons pack just check the rc5 overview on P4A TV
Now, I’m running out of time so let’s jump to the changelog:
- P4A_Table’s CSS was beautified a bit
- _disabled icons were removed, opacity: 0.2 filter is added to buttons
to simulate the disabled effect
- P4A_Message’s CSS was changed due to the variation of its usage,
now it’s not black/bold anymore
- P4A_Table’s order/row indicators were replaced with HTML entities
removing the need for icons
- default fonts in CSS were changed because of the lack of some UTF-8
characters in IE6
- P4A_Menu’ submenu indicator icon was replaced with an HTML entity
which is applied by a javascript function because the indicator
has no reason to be in the HTML
- spacer.png image was removed ’cause unused
- loading.gif was moved from icons directory to theme directory
- some new constants were added to customize theme colors
- a bug with PNG uploads under IE was fixed
- separator.png icon was removed
- P4A_Toolbar’ separators are now rendered as empty divs instead of
an image
- P4A_Toolbar’ were switched from P4A_Image to P4A_Box
- P4A_Toolbar::setSize() method now checks if buttons have the setSize
method to propagate it, otherwise tries the setHeight method, otherwise
throws a warning
- P4A_Message default size was changed to 32
- 48 pixels icons were removed
- a gradient was added to some elements in the default theme
- P4A::messageInfo(), messageWarning() and messageError() methods
were added wrapping P4A::message() method
- P4A icons now implements the freedesktop icon naming specifications:
http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
- P4A_Mask’s default icon size was changed from 48 to 32
- P4A_Table_Navigation_Bar’s current page indicator was switched from a
P4A_Label to a P4A_Box because the P4A_Label has to be bundled with a
P4A_Field
- a nice shadow effect was added to system messages and tooltips if
not on handheld or internet explorer browsers
- jQuery::UI was updated to 1.5
- P4A_DB_Navigator’s HTML was reworked to work on ie6 without GIF images
and removign inline CSSes
DOWNLOAD P4A 3.0.0-rc5
Filed in: P4A, PHP, Things I do