A Day in the Life of a Developer
20 Sep
Well I was just designing the new look and feel of a project I have started and it required the use of some gradients images. Now the problem was simple I had a background colour and I needed to fade this to white in my footer (Please see image below). So I created the gradients in PS and saved it as a png.

Upon loading it in FF all was good, but loading it in IE showes the gradient image was not only darker than that in FF but it didn’t blend with the underlying base color.
I strached my head for quite a while and in the end learnt the following.
IE .png palette has a bug in which it cann’t display the gAMA chunk of the image. This causes them to be rendered incorrectly.
Now there are two possible fixes for this.
7 Aug
It has been pointed out to me that there is an issue with BackendPro 0.6 on some web servers. The issue is with some new files in the site module. The problems comes because of the CamelCase used in the filenames of the site libraries.
If you get the follow error when visiting a BackendPro page:
Unable to load the requested class: bep_site
I am working on a new release which I will try to get out shortly, but for the mean time please do the following:
Change include_once(’Bep_AssetFile.php’);
To include_once(’Bep_assetfile.php’);
Change $this->CI->load->library(’Bep_Browser’);
To $this->CI->load->library(’bep_browser’);
I want to thank Christian Schneider for pointing this out and for the fix.
17 Jul
BackendPro 0.6 has been released at last. Not too many little updates in it but the major thing is the new Asset library. Replacing the old Page library, it now has improved and more intelligent caching, along with the ability to have asset dependencies.
A full list of the changes can be found in the user guide here. Please download it and give it a try, any issues can you either send me an email or post about it on the CodeIgniter forums (posting a comment here will also get my attention).
23 May
A new release of BackendPro has been released due to a major bug being fixed. Please head over to the project page and get the changes asap.
21 Mar
After a long cold winter BackendPro 0.5 is here. This release is mainly about bug fixes and a few new little features. So if you havn’t tried BackendPro yet, give it a whirl. If you are currently using it, upgrade if possible to get the new features and bug fixes. A list of the things changed and added is below:
13 Dec
Well I’m going to say sorry for taking so long. The last several months have been tough to find time to work on BeP, but its done.
Now this release was more about trying to improve the current BeP system rather than add new things. There are a few bug fixes which were needed and also some Optimisation. Now BeP won’t load unless you use its controllers. Which means Ajax controllers are now possible (without haven’t to load the whole BeP system). This should decrease the loading required.
A quick overview of changes are below:
So head over to the BackendPro development site and get a copy. Hopefuly now with the Upgrade instructions it will be easy to move your current system accross OR click HERE to download the zip file.
22 Jun
Well I must first apologise to everyone for taking so long to get this next release out, but the last 2 months have been so busy with University finals, but they are all behind me now so as promised a new release. The majority of this release is a few new features which I was planning to incorporate in BeP for a long time. Examples of these are a dashboard for the control panel, conditional CSS files (for IE), features to use CSSTidy to optimise CSS code and many more.
Additions
Modifications
So head over to the BackendPro Development home and download it. Please as usual if you find any problems raise a ticket or post on the forum thread. As always if you want the latest updates keep an eye on the SVN repository.
6 Apr
The first public release is now available. Please see Projects > BackendPro for more details.
4 Apr
Being a part time web developer its important I find to use the right tools to get a job done. Now normally every morning I get about 10 blog posts on my RSS feed saying “50 most needed tools for developers”. Half of them do the same as the other half and the other half have no point in life. So, I feel to be a good web developer you don’t need a lot to get the job done, they always say quality over quantity.
Firebug (Firefox)
This is probably my most important extension for firefox. With the built in javascript debugging and tools to see http requests it actually makes ajax and css quite fun. Its the sole reason I use firefox over other browsers. Along with many other features including page loading time statistics, it greatly helps you see what’s taking that extra 0.2s to load on your page.
HTML Validator (Firefox)
Now I don’t know how many of you actually check that your web pages are both HTML and CSS valid but this is getting an increasing issue. (I cannot claim all of my sites are valid since I am currently in the process of making them valid with this new tool). This tool sits in your status bar and tells you of any errors in the HTML code. You can also specify that it will only be enabled on websites of your choosing (e.g ones you are developing)
SVN
Its happens too many times, change a file and something breaks but you forget what you changed and then take several hours trying to get it working again. SVN is a version control system which means you will always have every change you made to your code. It can be unusual to use at first but after a while its a real godsend. If your just a small developer and don’t have an SVN server then try Tortoise. Its not just an SVN interface but also can create local repository’s on your computer.
IE Developer Toolbar
This does nearly everything Firebug does, but for IE. It even does a bit more. Another must since not all CSS designs work in both IE and FF.
Multiple IE’s
This is a great tool for windows which allows you to install multiple versions of IE on your computer at once. No more having multiple computers running IE6 & IE7. Also it means you don’t need to use BrowserShot websites to test every page. Another must have.
A Text Editor
There is no link here since this is a very personal choice. But find a good text editor you like and get on with and stick to it. I have tried a few (all for windows) and can say for small time developers HTML Kit Tools is rather good but for bigger developers PhpED is perfect.
So there you go. That’s what I use. Its not a lot but it gets the job done. I don’t belive in hundrends of programs to do everything for me, and what I do use I only want to help me if I ask for it.
28 Mar
As I am nearing the end of my initial development phase of BackendPro there’s some useful bits of code I came up with to handle annoying but simple tasks. Over the next week or so I will be releasing a lot more small applications and libraries but felt this may help a few people. Its a small script to check and un-check multiple html check boxes. Its prime use is to save the user time from having to check/un-check many check boxes. It uses jQuery and is only 1/2 lines long.
$("input[name='all']").change(function(){
var parent = $(this);
$("input[name='"+parent.val()+"[]']",parent.parents('form:first')).each(function(){$(this).attr('checked',parent.is(':checked'));});
});
All you need to use it is the following HTML code.
<form> <input type="checkbox" name="all" value="myitems"> <input type="checkbox" name="myitems[]" value="1"> <input type="checkbox" name="myitems[]" value="2"> <input type="checkbox" name="myitems[]" value="3"> </form>
So when the user clicks on the check box with name all, all check boxes with the name specified in the value attribute of this ‘all‘ check box will be toggled. I hope someone finds it helpful.