Fresh PHP news, tutorials, tips and much more

Posts Tagged ‘code’

User registration form

Wednesday, May 14th, 2008

Nice article for PHP beginners to design and code user registration form. In this tutorial author shows how you can fast create user registration for your web application.

For any real application though, that won’t work and we require a “New User Registration’ system. That’s what we are going tot create in this post.

In this tutorial you would find code examples, good commented source. Looks like this tutorial is one of tutorial series. Great job from author.

Post tagged with: , , ,

Posted in Beginners | No Comments »

Useful in-browser development tools for PHP

Tuesday, May 13th, 2008

Found great article in Sitepoint about php tools for in-browser develop. It describes Xdebug, symphony development toolbar and other great tools.

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. The infamous var_dump have served for this purpose and version 4.3.0 of PHP brought us another equally useful function — debug_backtrace.

I think everyone must know how it is important  to debug code.

Post tagged with: , ,

Posted in Advanced, Beginners | No Comments »

Iterating PHP objects

Tuesday, May 6th, 2008

Akash Mehta in Developer Tutorials site posted new post in object orientated programming. Article shows how developer can easy setup their object iteration with couple simple code lines.

The Standard PHP Library (SPL) religiously utilises iteration for some outstanding results (and great code simplicity). PHP’s native language constructs are very readable, and by simplifying our code we can build applications faster and more effectively. The SPL demonstrates this with the power of its classes integrating with language constructs, such as the foreach loop.

Author gives simple example of how you can use objects iteration in your php applications. Also object iteration makes code more readable.

Post tagged with: , , ,

Posted in Advanced, Beginners | No Comments »