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

Brandon Savage:
When To Write Bad Code
Jan 29, 2013 @ 17:14:51

Brandon Savage has posted some of his thoughts on when it's okay to write bad code in your development lifecycle:

I’ve been there myself. I recently needed to prototype something. As I sat down to work on it, I had absolutely no idea how I was going to write the component I was working on. And so, I started working - without a plan, without writing tests, without designing an architecture, and without really knowing how the component was going to end up. You know what? The component came out working, but when I was done it was ugly. Totally ugly. The code was bad. But I had a solution, and a solution that worked.

He points out that sometimes, doing things "the right way" can stifle creativity and experimentation - two things that a developer needs to solve the problems they face day to day. He notes that refactoring is a part of their job and moving from a rough prototype to a finished product often improves this skill and can find issues not discovered before.

This does NOT mean that developers can push bad code into a repository. Nothing lives longer than temporary code; see to it that your finished code is always good.
tagged: bad code opinion prototype experiment creative refactor

Link:

NETTUTS.com:
15 Wonderfully Creative Uses for PHP
May 04, 2009 @ 12:56:42

NETTUTS.com has posted their list of the top fifteen "wonderfully creative" uses for PHP on your sites.

If you are familiar with the basics of PHP, then you're probably wondering how you can use it to make your website more appealing. The possibilities are endless, and you can write your own PHP scripts or implement widely available scripts from around the web. Let's get started with 15 creative uses for PHP for your website!

Some of the uses mentioned include:

  • E-Commerce
  • Graphical User Interface
  • Building an Online Community
  • Parsing XML Files
  • Image Processing and Generation
  • Create a PHP Photo Gallery

Others include templating, working with Flash and with one of the more popular PHP blogging tools - WordPress.

tagged: creative use ecommernce gui community xml image flash wordpress template

Link:


Trending Topics: