 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
MaltBlue.com: Use RouteMatch in Zend Framework 2 For Easy Routing
by Chris Cornutt May 02, 2013 @ 11:14:22
In the latest to his site Matthew Setter takes a look at easy routing with RouteMatch in Zend Framework 2 applications. The RouteMatch component gives you better control over your routing and lets you define "match paths" for URL to Controller mappings.
Today using Zend Framework 2 RouteMatch, Router and Request objects, I show you an easy way to dynamically update the current route. It's almost painlessly simple. [...] Well, like most things in web application development, what starts out simply in the beginner often grows more complex over time. So too is my once simple route.
His "simple" route started getting a bit out of control when he added in some pagination to the page (and query for the path match). He wanted to figure out how to re-render data with the same filters but show the next page of data. He shows how to use the RouteMatch component to achieve just this. He creates a custom module with a "listViewToolbar" helper that lets you read the router, request and handle the parameters sent via the URL. The "invoke" method is called to render the toolbar in the page, complete with the new settings.
voice your opinion now!
routematch zendframework2 tutorial routing http toolbar pagination
phpDevelopment: Zend Framework Tutorial Series Part 2 - Debugging your application
by Chris Cornutt June 14, 2010 @ 09:11:12
On the phpDevelopment blog today Anderi Gabreanu has posted the second part in this Zend Framework tutorial series with a look at how to successfully debug your application with the help of the ZFDebug Toolbar.
Continuing with the tutorial series, we will see how to debug the application. Debugging include easy to use methods of printing data on the screen, including ZFDebug Toolbar in order to manage all errors and queries, using the logger to log messages to Firebug, using a simple debug function that will place debug messages in your ZFDebug Toolbar, in a special Debug panel, using a redirect debug function in order to see what is happening during your requests, using redirect in a Controller plugin.
He shows how to set up your index file (front controller) to make the ZFDebug toolbar work with your application and how to relay messages back out for your to view.
voice your opinion now!
zendframework debug tutorial zfdebug toolbar
Dennis Docter's Site: Zend Debugger Toolbar Extension for Chrome
by Chris Cornutt January 19, 2010 @ 14:37:14
Dennis sent in a submission about a toolbar he's created to work with the Zend Debugger (in an extension) for the Chrome Browser:
Since i have not yet seen an official extension for chrome (or i have not looked hard enough), i created one so i don't have to switch back to Firefox all the time, while I wait for the official extension. It only has the basic functionality (debug, debug next, profile and some configuration options) and it probably has some bugs and quirks, but it functions fine for me.
You can download this toolbar from here and if you have issues installing it, you might check out this post on the Zend Forums.
voice your opinion now!
zend debugger extension toolbar chrome
Johannes Schluter's Blog: NetBeans plugin for running phpt tests
by Chris Cornutt December 18, 2008 @ 09:35:16
In a new post to his blog today Johannes Schluter talks about a plugin for the NetBeans IDE that allows you to run tests for PHP's regression test suite right in the editor.
The test system therefore produces a bunch of files, a file containing the expected output, one containing the actual output and a diff between these as relevant files. The problem there is that the diff, for being portable, is using a quite simple mechanism which only shows the lines which differ without any context.
[...] Lately I've changed my way of working and use vim less, I still use it, but I use NetBeans as an IDE more and more. So I thought a bit about that test issue and searched my brain for my Java skills and started playing around to see whether I manage to write a NetBeans plugin which can run the tests and report the results in a usable way.
Hes created a project for the plugin (where you can download the latest version - 0.6.0) and install it to your local IDE copy. It adds a toolbar icon, asks for the location of the binaries to test and runs the diff quickly and easily. You can see a screenshot of the tool in action here.
voice your opinion now!
netbeans plugin phpt test regression toolbar button wizard
Symfony Blog: New in symfony 1.2 Customize the Web Debug Toolbar
by Chris Cornutt August 27, 2008 @ 08:49:50
The Symfony blog points out a handy feature included with the latest release of the framework - a web debugging toolbar that gives you a quick summary of the stats for the current page.
The symfony web debug toolbar is one of the developer best friend. It is always conveniently accessible in the browser when using the development environment. It gives you everything you need to know about the current page and ease the debugging of your applications. Until now, all the information available in this toolbar were hardcoded. But as of symfony 1.2, the web debug toolbar is entirely configurable.
The toolbar contains information like: the version of the framework you're using, cache information, logging, memory usage and the execution time of the page. They also include a bit on how to customize your toolbar, adding and removing panels from the bar as well as changing up the look with styles.
voice your opinion now!
symfony framework debug toolbar customize
|
Community Events
Don't see your event here? Let us know!
|