News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NETTUTS.com:
Using htaccess Files for Pretty URLS
July 31, 2009 @ 13:06:08

NETTTUS.com has a new tutorial that talks about "pretty URLs" and how you can make them happen on your site by combining a bit of htaccess/mod_rewrite magic with PHP.

While some claim pretty URLs help in search engine rankings, the debate here is fierce, we can all agree that pretty URLs make things easier for our users and adds a level of professionalism and polish to any web application.

To illustrate how it works, they create a simple URL shortening site, showing the difference between the two different methods (htaccess in Apache and PHP's URL handling) along the way. The application's pretty simple - store a URL in a MySQL database to be accessed via a special hash coming from the URL.

0 comments voice your opinion now!
htaccess pretty url tutorial apache


Vinu Thomas' Blog:
Replace print_r and var_dump with Krumo
April 09, 2008 @ 14:44:31

Vinu Thomas has proposed a replacement for the usual var_dump or print_r sort of debugging developers tend to do - Krumo.

To put it simply, Krumo is a replacement for print_r() and var_dump(). By definition Krumo is a debugging tool (now for PHP5 only), which displays structured information about any PHP variable [...] it does the same job, but it presents the information beautified using CSS and DHTML.

It also supports output of other data in a "pretty format" like backtraces, included files and a listing of all constants. You can check out a demo of it in action here.

0 comments voice your opinion now!
krumo printf vardump replace sourceforge css html pretty


SitePoint PHP Blog:
Pretty Blue Screen
April 05, 2006 @ 07:32:15

On the SitePoint blog today, Harry Fuecks shares some code he's worked up to create a "pretty exception" method for the Zend Framework.

Been playing around with Zend's framework some more and finally got annoyed enough about how exceptions are displayed to do something about it.

The code at the bottom of this post just needs including somewhere and enables a "pretty" exception handler-it's not specific to Zend's framework.

The idea is not original-it's PHP port from webpy which used code from Django - imitation and flattery.

The post includes several images of the output, showing the standard screen and examples of an various options expanded in different situations. The code is provided for you to simply cut and paste into your editor of choice.

0 comments voice your opinion now!
zend framework error handling pretty output zend framework error handling pretty output



Community Events





Don't see your event here?
Let us know!


bugfix developer unittest application list library laravel api wordpress community configure install podcast interview series code language release threedevsandamaybe introduction

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework