Archive for June 5th, 2007

MSBWare.com: Integrating FCKeditor With Your MySQL Database

On the MSBWare.com site there’s a new tutorial looking at the integration of the FCKeditor (a powerful web-based editor that works much like Word) with a MySQL database backend via PHP.

This article is intended to address the lack of documentation in integrating the FCKeditor with your MySQL database. Their tutorials show how to configure and use the editor, but how to get it to save to your database isn’t addressed at all. While this article will utilize the MySQL DBMS, the concepts are the same for any DBMS.

They start with the download and install of the editor, including placing it in a page where it can be used (inclusion and configuration). The next step is to wrap the entire editor block in a form to make it submittable and, finally, write the update script to happen on submit. Complete code is included at the end of the tutorial.

Continue Reading · Add comment

Soledad Penades’ Blog: Signs your PHP needs refactoring

As mentioned by Ed Finkler, there’s a list of signs your PHP needs refactoring from Soledad Penades.

I have had to go through a php application recently which has given me more than one headache and has required me to use all my possible patience. While working with it, I thought This is good material for an article, so that nobody else does the same in the future, and nobody else will need to experience the same displeasure as I have had to.

So here are the signs your PHP application needs a serious refactoring, right now

Included in the list are things like:

  • Uses global variables
  • Everything’s an array
  • The neverending switch
  • Interface inconsistency

It hits on one of the thing that bugs me too, the problem of “Brackets galore” - so many subarrays that you have to resort to three or more sets of bracketed keys to get to the value you want. It’s bad enough trying to follow someone else’s code without having to “trace down” an array to figure out which of the values they’re talking about.

Continue Reading · Add comment

Zend Developer Zone: PHP Abstract Episode 1 - PHP Secuity Tips

The Zend Developer Zone has released the first podcast of their new series - PHP Abstract. This inaugural edition is an interview with one of digg’s more famous PHP developers, Eli White.

PHP Abstract, the new PHP centric podcast is here. Sit back, relax, and let the funky beat wash over you. While you are at it, grab a nugget of information.

You can grab this first show directly from the site or just subscribe to the show’s feed to get it and all upcoming episodes.

You can also check out some of Eli’s thoughts on his blog about the podcast.

Continue Reading · Add comment

Job Posting: Carlton Group Seeks Web Developer/Analyst (Markham, Ontario)

Company Carlton Group
Location Markham, Ontario
Title Web Developer/Analyst (PHP5/MySQL)
Summary

Job Purpose

Web programming role involved in application design and development for multiple user interface platforms including desktop and potentially handheld web browsers.

Responsibilities

The developer will be creating complex web-based applications in PHP5 and MySQL following established standards and methodologies of OO/ORM design on the LAMP stack. The developer will be required to document code (using PHPDoc) as well as write technical documentation where needed.

Other responsibilities include:

  • Improving features in existing system
  • Implementing bug fixes
  • Working with other team members to integrate components
  • Requirements gathering and initial UML design

Skill Set

Programmers with a strong OO design background in languages other than PHP will also be considered for this position.

In addition to basic office computing proficiency, the individual must have the following skills:
OOP Design - 2+ years
RDBMS (Any) - 2+ years
PHP - 2 years
MySQL - 1 year
Linux - 1 year
AJaX - A plus!

Scope

The individual will interact with other members of the department during design and development. Interaction with clients and end users may also be necessary for gathering requirements and quality assurance.

Personality

The individual must be a team player able to work with others, possess a strong work ethic, and have high standards in product quality. He/she must be able to start and finish projects within the allotted timelines while adhering to the design specifications. He/she must be reliable and able to work at the Carlton office in Markham, Ontario during regular business hours or as required to finish a project. He/she must be willing to learn from other team members, be open to the ideas of others, and also be willing to take direction. Excellent verbal and written communication skills are a must.

Work Environment

Carlton Group’s development team consists of a tight-knit group of developers with a work hard, play hard mindset. We take our work seriously and we strive to make Carlton Group even more successful as we expand our department. We enjoy discussing new ideas and learning new technologies, moving with the industry as it evolves.

How to Apply

To apply for this position, please send an email to itjobs2007@carlton.ca with your resume and salary expectations.

Due to the volume of responses, only qualified candidates will be contacted for an interview.

Link More Information

Continue Reading · Add comment

International PHP Magazine: Poll Question: What Is the Best Way to Do QA for PHP?

The results from the latest poll conducted by the International PHP Magazine have been released. This time, they asked developers what they thought was the best way to do QA for their PHP applications.

Among the options were things like “Do API documentation”, “Use code analyzers that check CS violations, XSS or SQL injection attacks” and the number one choice - “Do unit tests using PHPUnit or phpt”. Three other options followed behind (using debugging tools, code analyzers and having a commit mailing list) with the API documentation falling down in last place.

They already started up this week’s poll too. This time, they ask developers to vote on which of the options make for good PHP code. There’s four options - structured, consistent, portable and secure. Get your vote in today!

Continue Reading · Add comment