22nd June 2008
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
- Added a dashboard to the control panel front page.
- Added cancel buttons to forms.
- Added new CSS styles to create buttons.Added icon() to Page library.
- Added a generate password feature to the member administration area
- Added CSS caching using CSS Tidy in the Page library.
- Added output_variables() to Page library.
- Added conditional CSS files in the Page library.
- Added meta tag creation into the Page library.
Modifications
- Added a value option to <button> elements so the form can submit.
- Updated some of the documentation so its simpler to navigate around.
- Updated getUsers() in User_model.php to also fetch user profile columns.
- Changed the version control system from including a date to release candidate, purely to be shorter.
- Updated Nested_sets_model.php to remove the public attribute from the constructor
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.
26th April 2008
Its been a while since I have posted anything on BackendPro, mainly due to me having such a hectic last 2 weeks. But hopefully things will pick up from here.
I know quite a lot of people have downloaded BackendPro so far (400+) so I hope some of you are finding it helpful. Hopefully it will with this new bit of news get a little bit better. Currently I am developing it all locally, now the issue with this is any changes I make aren’t released until I upload a new version. I have wanted to make the SVN commits more public but never found a simple way which worked, I tried Google Code but that just failed in so many ways. Now with Assembla I think I have it sorted.
So from now on BackendPro’s development home will be here. So whats differen’t? Well you will be able to get the full project source out of SVN at any time. There is also a full issue tracking system to make sure bugs are reported and fixed.
I also hope to have a new version coming out soon which should implement some new features I have been meaning to put in. So take a gander and I hope you find the new development features helpful.
13th April 2008
A new build has been released to fix some minor problems and also some PHP4 compatibility issues.
- Replaced the use of static $_container in MY_Controller.php to use var $_container. This was due to static only being available in PHP5. Please run a replace command on all your user created files to replace Site_Controller::$_container with $this->_container to use the new variable naming.
- Deprecated _generate_random_string() in Userlib.php to use CodeIgniters string helper function random_string()
- Updated the admin menu view file so the System item would have language support
- Added language support to the application/controllers/admin/settings.php file for defining preference groups
- Removed passing $obj by reference to passing by argument due to issue if allow_call_time_pass_reference is false in INI file, in modules/auth/models/access_control_model.php
- Moved the modules folder into the root dir
Please check out the BackendPro project home page for details.
6th April 2008
The first public release is now available. Please see Projects > BackendPro for more details.
4th April 2008
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.
2nd April 2008
Well April the 1st has passed, I both love the day and hate it. Me being quite gullible I tend to believe some of the subtle jokes. But on the other hand I do try to make a few myself. I feel it’s great that even in this day and age when companies are looked upon so much that they still find time to make the odd joke. I also feel that it shows a lot about a company and what its work ethos is depending on if it goes along with April 1st. So shame on all you who didn’t do anything.
So did anyone find any good ones this year? Here are a few of my favourites.
My personal one was to do with CodeIgniter. Since there is a lot of talk about CodeIgniter 2.0 at the moment, I thought I would see how many fellow CodeIgniter’s I could catch out. At first I had no idea what to do, I didn’t want to do anything too silly, CodeIgniter 2.0 cancelled was out of the question. In the end I went for CodeIgniter 2.0 to be charged for. I felt this was just in the realms of plausibility. Here is the thread of the main post and peoples replies.
Well I hope everyone had a good day yesterday, hope no one played any horrible pranks on you.
28th March 2008
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.
19th March 2008
Do you get the feeling that Mr Gates hates you and has made Windows so when you most need it, it decides, ‘Well actually today I shall do something totally unexpected expected’, CRASH. Why else would I use it apart from to practice in the art of pulling my hair out and being baffled as to why this has happened to me.
So what went wrong? Well I got a computer in from someone which needed fixing. So I booted it up and got this.
lsaa.exe Security Accounts Manager initialization failed because of the following error: The handle is invalid.
Error status: 0xc000008. Please click OK to shutdown this system and reboot into Safe Mode, check log for more detailed information
If your wondering at the moment why I am writing this, its to try and save you some time if you get stuck in the same situation. In total I spent about 5 hrs trying to sort the problem out. I tried all of the following:
- Booting into safe mode to read the log and fix the issue, FAILED due to the same error
- Trying to perform a repair installation using the Windows XP Pro CD, FAILED due to the same error
- Trying to boot using the XP CD and then use the recovery console, FAILED since the administrator password had been corrupted also
- Using a CD bootable version of Windows and restore the system to a previous restore point, including the registry, FAILED
- Replace the lsaa.exe file with a new copy, FAILED
So in the end I had to perform a fresh install. I must say this worked fine. So my advice for anyone who gets the same error, don’t expect it to be an easy fix. In the end it probably will end up with you wiping the computer.
I must also point out I know everyone’s situation isn’t likely to be the same as mine, also I did learn something from this. If the PC in question is a Dell and you have the reinstall CD you can do a lovely fresh clean install wiping every partition and don’t need to worry about Product Keys or Activation. Which I have to say before this I didn’t know about, good news then if you buy a Dell but don’t want any of the ‘free’ programs they leave on which are impossible to use.
Anyway good luck to anyone who has the same issue. A very good tool I also picked up along the way which didn’t help so much with this issue but I can see could come in very handy is BartPE. It is a very good application which creates a small version of Windows XP you can boot straight off the CD. It provides network access and other useful administration features to perform actions on the target PC if you cannot get anything out of the local install of Windows.
15th March 2008
Yes its nearly ready, not long now. BackendPro alpha release should be available for download as soon as I finish off a few last bits. Its been quite a while but I have only been able to work on it about once a week for the past few months, so progress has been slow. It has also undergone many redesigns, trying to make the interface simpler but still very usable. I think I have the final version now, its not my own but it was so good I had to use parts of the original. Many thanks to Steve Smith for the ideas and his Tiger Wordpress theme.
What is BackendPro?
BackendPro is a control panel for developers. This means it includes a load of useful things which a developer would fine useful. Its not a CMS, its not built so all the work is done for you but so it can be used to speed up development. It has many features which I feel are lacking from other authentication libraries.
Features
- User Authentication using ACL
- Site preferences (allows you to create your own site preferences and use the built in form creation to update them, instead of using config files)
- Simple breadcrumb creation
- Asset library (set default assets, load assets on the fly, server asset caching)
- PHP to javascript variable conversion
- Default styles for forms and other useful HTML elements
- Status messages (create success/info/warning/error messages to display to the user in a pretty form)
- ReCAPTCHA
- Language detection
Over the next weeks ill try to polish off the rest of the control panel and get some documentation written up for it. There’s no point releasing it and no-one knowing how on earth it works. I suppose you could look at it. So that’s it for now, but check back for news on the alpha, ill try and get it out soon.