Archive for Development

Text editors revisited

As a web developer my main tool is my text editor, which I use for pretty much EVERYTHING from coding HTML, to PHP to perl. A text editor is an essential part of my day-to-day life.

Meaning I need a text editor that I does what I want, the way I want it.

Read the rest of this entry »

Comments (4)

10 reasons why phpBB3 sucks!

I’ve been using phpBBv2 for a long while now, on quite a few sites for one reason and another. I like phpBB because it’s simple to use, for both users and admin. Things like the “ego search” are features I wouldn’t want to live without.

phpBBv2 was great, things like the templates, and installing mods was much to be desired, however workarounds appeared and we got used to dealing with them.

Upon the announcement that phpBB3 was coming out I got excited. Now usually I wait until the first bug fix release comes out before I start using the product, however I wanted to start a new forum, so instead of installing phpBB2 I decided to try phpBB3

This is what I found…

Read the rest of this entry »

Comments (4)

Adding table controls and support to TinyMCE in WordPress

One thing wordpress has always lacked is the ability to handle tabular data. This is not because it can’t handle it, after all it’s only HTML, but the problem is that by default the setup does NOT include tablecontrols in it’s TinyMCE setup.

Here’s what you need to do to get table controls added into WordPress’s TinyMCE…

Read the rest of this entry »

Comments (3)

eCommerce shopping cart software

So you’ve got a shop, or perhaps a new product range and you want to build a website so you can sell online.

What you need is some kind of web based eCommerce shopping cart system, the question is which?

I decided to build a short list of web based eCommerce shopping cart software out there.

The scenario is this, you have a client who wants an eCommerce solution, they are paying you, but not nearly enough, you’re doing this as more of a favour. You started to develop a solution for them, but felt their feedback wasn’t sufficient which would ultimately lead to missing things out, and it probably wasn’t worth it anyway. What is needed is a base platform to build upon.

The rules are this, it must be open source, and it must work out of the box.

Please remember, this is based purely on my options, by all means, take them on board, and form your own options.

Read the rest of this entry »

Comments (5)

Storing mySQL database settings for php and perl in one file

I have a situation where there’s two scripts.

  1. The main core of the code which is PHP based.
  2. A perl script which is called by the mail server for parsing incoming mail.

Both of these scripts require database access to the same database.

Read the rest of this entry »

Comments (2)

Word separators in URLs

In the world of web development and search engine optimisation you find this topic is frequently discussed, yet often without any reasoning or conclusion. Therefore the purpose of this article is to investigate why.

So, let’s start at the very beginning, and find out what “word separators” actually are, and why we need them in URLs.

Traditionally a word separator is a space, yes, an every day space you create with your space-bar key.

The problem with using spaces in URLs is that when the URL is utilised in a browser (for example), the URL is encoded using percent encoding which causes spaces to appear as the encoded “%20″, resulting in an ugly URL formation which is humanly difficult to read.

ie: http://www.example.com/percent%20encoding

How do we overcome the problem? Over the years a workaround has developed…

…the dash, no the hyphen, no in fact it’s the minus sign (yes, I mean this “-” symbol)…

ie: http://www.example.com/not-percent-encoding

Read the rest of this entry »

Comments

Transfering domains from Godaddy.com to TuCows OpenSRS

I need to transfer a bunch of domains from Godaddy (aka Godamnannoying) to TuCows (aka OpenSRS), surly it can’t be that difficult? Right?

I found that there were lots of articles on how to transfer to Godaddy, but not how to get out. This is a short guide on how to transfer away from Godaddy, in this case we will be transferring to OpenSRS.

This guide is appropriate for .com, .net, .org, .name domain names.

Read the rest of this entry »

Comments

Does registering a domain for a longer term increase your search engine rankings?

Recently I come across a claim by Network Solutions stating:

Did you know? Registering a domain name for a longer term not only saves you money, but helps to increase your search engine ranking. Consider a 5-year term!

Why it works: Search engines perceive domain names registered for 5 years or longer to be more legitimate than domain names registered for a shorter term, and therefore rank them more highly.

Source

Read the rest of this entry »

Comments (2)

PHPbase web framework

What is the PHPbase web framework?

PHPbase web framework (also known as PHPBase 0.0.1) is a PHP based frame work library for building websites, originally written in 2003.

Note: This framework is old, very old, dating back to 2003, however it does work in php4, for php5 I recommend ezcomponents, also take a look at symfony, however this is not as highly rated, also check pear.

Read the rest of this entry »

Comments (5)

How to search by nearest UK postcode in PHP

Often clients ask me to create a function where by a visitor can come onto their website, there they can enter in their postcode, the idea is to then display the closest location based on locations in a database.

Aim: To display details of a predefined location that is closest to the visitor based on the postcode they enter.

Read the rest of this entry »

Comments (3)

« Previous entries · Next entries »