News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
feed this:

Ivan Guardado's Blog:
How to debug PHP code
October 14, 2008 @ 08:44:17

Ivan Guardado has posted a recent tutorial looking at debugging your PHP code with the help of a popular tool - FirePHP (that interfaces with an equally popular Firefox extension, Firebug).

Nowadays, the code debugger is a tool that has almost all programing environments which allows you to watch the internal work of your applications and finding errors at run time for a easy way. The trouble is when you are working in a client-server architecture model, because from where you send the request (client) can not access the code hosted on the server.

He points out FirePHP as one that doesn't require this sort of installation. Included is a quick tutorial on getting it up and running for your development environment as well as the output formats and how to handle the output you want for debugging only.

0 comments voice your opinion now!
firephp firebug firefox extension debug browser



DevShed:
Generate PDF Documents with PHP on the Windows Platform
September 17, 2008 @ 12:03:25

In a new tutorial on DevShed, they show you how to create PDF documents in a Windows environment with the help of PHP.

If you're a PHP programmer who has tried to generate PDF documents on the Windows platform, you may have run into some very irritating issues. This article will discuss those issues, show you how to generate PDF documents that can be viewed on a desktop and through a browser, and help you troubleshoot if you run into problems.

They show how to set up the PDF libraries, create a simple PDF document ("hello world" of course) including the use of true type fonts and the best ways to output it to the browser for public consumption.

0 comments voice your opinion now!
pdf document windows tutorial browser


Total PHP:
Browser based template editor
September 04, 2008 @ 14:34:36

On the Total PHP blog today, there's a new tutorial showing how to make a very basic template editing form to update the templates for your site.

A common feature to CMS scripts is a browser based means of editing your templates. This can be helpful if you manage your site remotely or on the move quite often. In this tutorial we walk through how to create a simple template editor in PHP.

The process is pretty simple - a form that allows you to either create or edit a current template file and some PHP that handles the submit. It takes in the data from the textarea and pushed it out to the correctly named file. It's a pretty simple setup and it requires that the web server user can write to the files, but it can be a big help when you can't get into the machine otherwise.

0 comments voice your opinion now!
tutorial template editor form browser


Michael Kimsal's Blog:
Why do browsers still not have file upload progress meters?
June 26, 2008 @ 08:41:52

On his blog today Michael Kimsal asks a question that hasn't come up much in recent months - with all of the advancements browsers are adding in, why aren't there better hooks for measuring file downloads?

This current tirade stems from implementing a file upload progress meter in PHP5. Yes, PHP5.2 has some hook, and there's a PECL extension. [...] I realize this is partially a PHP issue I'm ranting about, but it's ultimately a hacky workaround to a basic piece of functionality that browsers should support.

He mentions an example where he basically directly asked a member of the IE team about it. It wasn't greeted seriously and still hasn't managed to be included in most of the popular browsers of today.

0 comments voice your opinion now!
browser flie upload progress meter pecl extension apc


SitePoint PHP Blog:
Useful in-browser development tools for PHP
May 13, 2008 @ 11:14:48

This new post from Troels Knak-Nielsen on the SitePoint PHP blog shares a few helpful in-browser development tools that could come in handy in your day to day coding.

While debuggers exists, there isn't much of a tradition for using them in PHP. People have largely come to rely on injecting debugging code directly into the program, for inspecting program scope.

Tools mentioned include traceers and error handlers (like XDebug), some debugging parts of the popular PHP frameworks and the set of *cachegrind tools to help you parse the output of XDebug for profiling your application.

0 comments voice your opinion now!
browser development tool webbased debug error


Sebastian Bergamnn's Blog:
SeleniumTestCase Improvements in PHPUnit 3.2
August 21, 2007 @ 07:56:00

Sebastian Bergamnn spotlights one of the features of the upcoming version of PHPUnit (a unit testing software suite for PHP) - the Selenium integration. Specifically, he looks at improvements made to the SeleniumTestCase extension.

Probably the most important improvement to SeleniumTestCase is the fact that you can now run each test using a set of browsers instead of just one browser. [...] Other improvements to SeleniumTestCase include more robust error handling and better error messages.

To illustrate the "run each test in multiple browsers" feature, Sebastian includes the code for a test that runs three times, once for three different types of browsers - IE, Safari, and Firefox.

0 comments voice your opinion now!
seleniumtestcase improvement phpunit unittest selenium multiple browser seleniumtestcase improvement phpunit unittest selenium multiple browser


Jakob Westhoff's Blog:
It's alive - Image_3D live browser rendering
April 04, 2007 @ 08:32:00

There's plenty of 2D graphics libraries out there, some 3D ones as well, but that hasn't stopped Jakob Westhoff from creating his own driver for the Image_3d package to allow for live 3D image browser rendering.

Quite some time ago my friend Kore Nordmann had a talk at our local PHP Usergroup about 3D rendering techniques which was quite inspiring. Shortly after that talk I decided to write a simple 3D renderer. But, hey there are so many of them already out there, that I decided to do something more unusual.

I just started over and began to write a ECMA Script based live 3D renderer for browsers which understand the new "canvas" tag. After some simple tests I realized that it would be quite cool to implement this as a driver for Kore's Image_3D package, which is entirely written in PHP.

Be sure to check out his post to see what this new driver makes possible. There's an image complete with controls to rotate, zoom, turn of its axis and export to both the SVG and PNG formats. Definitely work checking out!

0 comments voice your opinion now!
3d image render browser driver package rotate zoom export 3d image render browser driver package rotate zoom export


Ligaya Turmelle's Blog:
W3C Launches New HTML Working Group
March 12, 2007 @ 10:46:00

Ligaya Turmelle has relayed some great news in her latest blog entry, something that the web's been needing for a long time - a new group from the W3C created specifically for enhancing the HTML standard.

Now I have to admit to being curious about what is going on - after all anything new dealing with the web affects me as PHP coder. Since the W3C is supposedly interested in input from the Web community and content developers, I decided to see who from PHP would be there. Granted it is very early for the formation of the group so it didn't really surprise me to see no one from PHP that I know or heard about in there, but I wonder if anyone from the PHP Group will become a "invited expert" somewhere down the road.

The group is looking for members to help define this next generation of markup on the web. Check out their page for some of the qualifications needed to participate and for some of the upcoming events.W3C Launches New HTML Working Group

0 comments voice your opinion now!
w3c working group enhance html launch chartered browser w3c working group enhance html launch chartered browser


Richard Heyes' Blog:
Browser Detection
January 22, 2007 @ 14:45:38

Richard Heyes has posted a quick script to help you tailor your site to the browser a viewer is using.

If you ever wanted some browser detecion code, here it is. It works along the same lines as the Ultimate Javascript Client Side Detector, however it's server side. It doesn't pollute the global namespace (much), and it's very simple. Just include the code and call the function. Easy.

The code is as simple to use as an include and a call to the GetUserAgent function to get what you need. You can download the script here.

0 comments voice your opinion now!
browser detect include class simple download browser detect include class simple download


phpPatterns.com:
Creating XUL applications with PHP
October 09, 2006 @ 14:19:00

Please note: this article was incorrectly attributed to PHPHacks.com. The correct author/site has been identified and the information below is the correct information.

phpPatterns brings another tutorial to the PHP community today with this guide to creating XUL applications with the help of PHP.

XUL, or the XML User Interface language, is the common thread running through all Mozilla-powered applications - both desktop and web-based. XUL is a way to describe an application's user interface using XML. XUL is similar in many ways to HTML, while borrowing from, yet not exactly imitating its syntax.

To start off with, we need a simple XUL file that contains a form. This form could consist of anything, but for this example, I will be using a simple Login form that you might be familiar with while building web applications.

They provide the full code of the XUL, PHP, and Javascript to make everything worrk together. They explain how it all goes together and even some of the basics of XUL.

2 comments voice your opinion now!
xul application mozilla browser login form javascript tutorial xul application mozilla browser login form javascript tutorial



Community Events









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


developer application zendframework mysql conference cakephp releases example zend code PHP5 job package PEAR ajax book framework database security release

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