• Search:

Top menu



Planet eZ publish




ymc

› Frischfilm gewinnt den Grimme Online Award 2010

Mehr zur Entscheidung der Jury kann hier nachgelesen werden.

02/07/2010 11:16 am (UTC)   YMC   View entry   Digg!  digg it!   del.icio.us  del.icio.us

derick rethans

› Xdebug 2.1

Xdebug 2.1

xdebug_logo.png

I've just released Xdebug 2.1. This new release contains all the bug fixes and new features that have been developed over the past three years. It provides full PHP 5.3 support, but it no longer supports PHP versions below 5.1.

A description of all the new features follows:

Error Collection

I've added xdebug_start_error_collection(), xdebug_stop_error_collection() and xdebug_get_collected_errors(), which allow you to collect all notices, warnings and error messages that Xdebug generates from PHP's error_reporting functionality so that you can output them at a later point in your script by hand.

Header Setting Interception

All functions that set HTTP headers such as with header() and setcookie() are now intercepted by Xdebug. The intercepted headers are stored internally in an array that can be retrieved by calling the xdebug_get_headers() function. This is very useful in cases where you need to test certain functionality that sets headers somewhere deep in code. This function is also used in eZ Components' test suite to test whether the correct HTTP headers are set in the MvcTools component.

Variable Assignment Tracing

The new setting xdebug.collect_assignments allows you to record changes to variables in scripts to trace files. I've already written more about it in Variable tracing with Xdebug.

"Scream" Support

The scream PECL extension disables the @ (shut-up) operator to actually see all notices, warnings and errors that PHP generates. The scream extension's functionality have been duplicated as Xdebug's xdebug.scream php.ini setting. Why disabling the @-operator is a good thing, I've already outlined in Five reasons why the shut-op operator (@) should be avoided.

Additions for Stack Traces

All HTML containers generated by Xdebug (error messages, xdebug_var_dump() output) now contain a CSS class for easier styling.

The new setting xdebug.file_link_format allows you to turn any file/line link in Xdebug's output to be decorated to a link with a specific format. For example you can set it to txmt://open/?file://%f&line=%l for opening files directly in Textmate, or gvim://%f@%l with some shell script for gvim and Firefox.

Remote Debugging

The new setting xdebug.remote_connect_back, contributed by Lucas Nealan and Brian Shire, allows Xdebug to try to make a debugging connection to the IP address from which the browser request came from. This setting is an additional solution for debugging with multiple users.

The old gdb and php3 remote debugging engines have been removed.

Overloaded var_dump

The newly introduced setting xdebug.overload_var_dump can be used to turn off Xdebug's default behavior of overriding PHP's var_dump() function with the xdebug_var_dump() function that uses pretty HTML for formatting a variable structure. It does not stop xdebug_var_dump() from working however.

Donations

You can probably imagine that writing and support Xdebug is a time-consuming effort. It's a tool that saves a lot of work during developement of applications, as well while debugging. If you think Xdebug is valuable for you, perhaps you would like to consider a donation. All donations are greatly appreciated and support future development and availablity of Xdebug.

If you want to sponsor a (new) feature in Xdebug, feel free to contact me as well.

Download and Support

The new version of Xdebug can be downloaded through the download page. A list with all changes can be found on the updates page. Support information can be found on the support page, and issues and feature requests can be filed in the bug tracker. Before asking for support, please have a look at the FAQ first.

29/06/2010 4:17 pm (UTC)   Derick Rethans   View entry   Digg!  digg it!   del.icio.us  del.icio.us

gilles guirand

› eZ Conference 2010 slides about eZ Find 2.2 customization & advanced development

On June 24th, at the 2010 eZ Conference developer track, I proposed a talk about eZ Find 2.2 customization & advanced development. This talk illustrate and summarize my eZ Find articles / tutorials you'll find below, with new schemas and real project exemples. Thanks to all the eZ Community for their interest and questions during the conference. I hope to have time to write one of these requested tutorials in coming month.

I'd like to thanks Nicolas Pastorino for the english translation of my articles on share.ez.no.

Download the PDF version, or browse the slideshare version.

Slideshare version

Articles / tutorials about eZ Find

French articles about eZ Find on gandbox.fr :

English articles about eZ Find (translation from French), on share.ez.no :

27/06/2010 5:34 pm (UTC)   Gilles Guirand   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez projects

› eZOnRails 0.1 released

How it works:

1. create php class "goofy", with a method "index", drop it in the the controllers dir.
2. that method will be executed when the user browses to http://ez.server/etc/index.php/siteaccess/ezonrails/goofy
3. now add a method "action1" to the "goofy" class
4. that method will be executed when the user browses to http://ez.server/etc/index.php/siteaccess/ezonrails/goofy/action1
5. back to step 3
6. do not forget to assign execution permissions on your new methods (module: ezonrails). NB: whenever you add a new method to a controller class, be sure to clean all caches before trying to add a permission to execute it, as the list of available controllers and actions is cached for speed

22/06/2010 6:09 pm (UTC)   eZ Projects   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez projects

› gg Webservices 0.5 released

Still working on proper support for creating SOAP webservices with proper WSDL...

In the meantime, you get:

  • allow to register webservices methods with dots in their name
  • a new webservice: ezp.authandexec; it allows to authenticate and execute a 2nd webservice in a single call. Very useful for those ws clients that do not support session cookies
  • a new policy limitation on the webservices/execute view: per siteaccess
21/06/2010 11:44 am (UTC)   eZ Projects   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez projects

› Release 2.0

Many new menu options for this last release.

There are many things left to do but the extension is in a relatively good state.

20/06/2010 8:30 am (UTC)   eZ Projects   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez projects

› ggSysInfo 0.3 released

More great new additions:

  • 'log display' view, to display log messages within the console
  • 'log stats' view, with size and last modification date of all log files
  • 'log churn' view, with graphs of the messages per minute saved to log files
  • an info view for the wincache accelerator

NB: permission policy checking on the provided views has been fixed; all users are encouraged to upgrade

20/06/2010 12:05 am (UTC)   eZ Projects   View entry   Digg!  digg it!   del.icio.us  del.icio.us

david linnard

› Making use of the 404 Error Page in eZ Publish

For all commercial sites I have worked on in eZ Publish, no site has had a useful error page, despite the fact that using template overrides makes it so straightforward. In this post I will demonstrate how easy it is, showing how a custom 404 page for your site can be made. Our final page [...]
19/06/2010 8:20 pm (UTC)   David Linnard   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez projects

› eZ Webservices API 0.1 released

Not yet quite complete, this release supports:

  • invocation of any existing fetch function (including ones from extensions)
  • invocation of any existing module view (including ones from extensions)

via the following webservice protocols:

  • jsonrpc
  • xmlrpc
  • ajax (via jsonrpc)

Fine-grained access control is possible (with limitation at the level of the single view/fetch function)

18/06/2010 3:02 pm (UTC)   eZ Projects   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez projects

› ggxmlview 0.2.1 released

A single fix: fatal error in the view xml/xsd (was not including the required template.php file)

17/06/2010 3:41 pm (UTC)   eZ Projects   View entry   Digg!  digg it!   del.icio.us  del.icio.us