DeeEmm

Pragmatism in code

Home

Waxing lyrical about life the universe and everything software related since lunchtime 2006.

Coda - Web Code The Mac Way

http://www.panic.com/images/major4-3.gif

 

It's been a long time since I switched from using Windows as my primary development platform, and whilst you may hear a fair bit about the effect that this has had within my posts (for better or worse). Something that i have never really been able to completely replace on either the Mac or Linux platform was my favoured editor - Ultraedit. Deep down I have a soft spot for Uedit, and whilst it can be a little bloated for simple tasks, years of useage and tweaking to my liking made it my favourite tool for all kinds of development work.Gedit on the Linux platform, once endowed with a few useful plugins, becomes a useable tool for web development. The inclusion of tools such as the 'Class Browser' (http://www.stambouliote.de/projects/gedit_plugins.html), 'Symbol Browser' (http://symbol-browser.sourceforge.net), 'Word Completion' (http://users.tkk.fi/~otsaloma/gedit) and 'Find in Files', makes Gedit a really useful editor, which whilst not really feature packed is more than capable, which is excellent for the standard packaged editor that is supplied with the Gnome desktop.For the Mac, there are quite a few editors out there, some free some not, none are really on par with Ultraedit featurewise, but this could be seen as a plus in some respects. I was quite happy using TextMate for web development work, especially as it had plugins available for code browsing and project handling, that is, until I found Coda.Coda, takes up where other editors on the Mac finish, and whilst it may only be aimed at web development, it includes everything that you might need in the day to day life of a web dev.Coda integrates the most useful programs all into one single IDE, it includes project management, an FTP client, text editor, preview window, css editor, SVN client and even a terminal window for remote access to your web server.The Project management features allows you to keep local and remote server details, as well as FTP and SSH login details all together, meaning that when working on a project it is easy to upload / download files, check the results of your work in the inbuilt browser, edit css etc. There is even a built in book library that includes books for HTML, Javascript, CSS and PHP, There is also the ability to add more if you so wish. The in built code navigator allows quick access to classes and functions, and with the addition of a few extra plugins you can also validate your PHP code, and perform other actions such as HTML tidying and url encoding. All of this is in addition to the standard expcted features of any decent editor such as tabbed MDI, syntax highlighting, find in files, text commenting, text conversion and even split window editing.Coda is not a free application, but does offer a free demo. If you're in the market for a decent development platform for web apps, then give Coda a try, I'm sure that you will not be  dissapointed.Coda is available from Panic software at http://www.panic.com/coda/ DM

  5171 Hits
  0 Comments
5171 Hits
0 Comments

New Communities

It's been a little while since I've posted anything here, my time has been taken up with other projects which has left me with very little time to work on the CMS or update the site. You would probably have noticed that the proposed version 8 is currently on hold (see DMCMS news), this is likely to stay like this for the foreseeable future, I simply have too much work on a present which means something has to give. There have been a few minor updates to the DMCMS release whch will be combined into the next release - Version 1 !!!!The code has been in regular use on many sites now and has proven to work reliably enough to wear the Version 1 badge. This means that the whole thing will be repackaged and supplied slightly differently from previous releases. The database layout will be the same but the table prefix will be shortened. there will be a conversion script for the previous versions database but it is reccomended to simply reinstall the software. For this reason there will be no update path from the current version to Version 1.The new version will hopefully be up within the coming weeks.One of the other project's I have been working on is a social networking site, this is still in it's early development stages but is up and running and utilising a social networking product called Dolphin. Dolphin is a PHP / SQL  and AJAX powered site that was initially designed to power dating sites. Dolphin has progressed in recent years and now can be modified quite easily to work with any type of social networking site. The dating specific features can be disabled or modified to be more suitable to the sites content. I may post more about Dolphin over the course of the project so if you're a dolphin user or need some help with your Dolphin site be sure to check back.

  3096 Hits
  0 Comments
3096 Hits
0 Comments

How To Pass It On

This week has been an interesting time in the Linux driven portion of the household. After struggling with my HTPC in the lounge getting slower and slower, it was finally taking longer to boot up than I had patience - which meant that I had to find some time to have a look at it. I put the machine together a few years back, it's based on an old Asus A7N8X Deluxe MOBO running an AMD Athlon XP 1250 that I fitted into an Origen AE case. I installed XP Media Centre on it and pretty much left it at that - that is until I decided to try and fix it.I tried all of the usual suspects - but none made any difference, I ended up trying a repair from the install disk, but the problem with XP MCE is that the media centre part is a hacked on extension to Win XP and not really part of the core. Needless to say - the recovery didn't fix it either,So left with the choice of a complete reinstallation or updating to Vista I decided to look elsewhere. The XP install would be relatively painless but as support will no doubt end soon upgrading is the sensible option. The only problem with that is that Vista is not really much of an upgrade- I had it on my laptop for less than a week and then junked all Micro$oft apps in favour of open source alternatives - Ubuntu / Open Office etc.

On the subject of Windows... Being a long time user of windows (3.11 > 95 > 98 > 2000 > XP) The transfer from 2000 to XP was a big step. I abstained from changing to XP for a long time as it had a lot of issues running the software that I used (IDE's for Industrial Robot and PLC programming). I nicknamed XP 'Windows for Girls' as it seemed to have no real benefit over earlier versions apart from the horrible little animated icons that automatically appeared to tell you how to do something that you already knew how to do. Whilst it may have looked more polished around the edges, it did not run that much better. It also gave me headaches by forcing me to migrate from a perfectly good VB6 to VB.Net.

The most amusing thing with XP was that not long after it was released SP1 appeared to fix massive seciurity issues (XP was advertised as more secure / faster / etc) The irony was that the patch to fix the security issues slowed the machine down massively and also broke most of the software that was released as XP compatible (afforementioned IDE's etc). As a result many of us ran XP without the SP1 update for quite a while.

When I bought my most recent laptop it came pre-installed with Vista. So I decided to give it a go.

Continue reading
  3260 Hits
  0 Comments
3260 Hits
0 Comments

Whats New?

It's been along time since I wrote anything to this page, this is mainly due to not having the time to spare to site and get some words together.So, what has been happening in the past four months?The DMCMS (DeeEmm CMS) project has been updated a couple of times, the updates were mainly security related and mostly due to the site being hacked (Damn script kiddies!) The development has been rather slow apart from that. The project has  now branched into two seperate versions, with a 'lite' version being available to download from Sourceforge - this is basically the normal version that has been available. The second branch is a version that is incorporating full user and permissions management.The new branch was originally going to be available this year but has now taken a back seat to other projects.The current 'lite' version is currenly still available as a beta version release, but it is likely that this will be released as version 1 before the new year.

Synergy

A great little program I come across that allows you to use one keyboard and mouse for more than one computer is 'Synergy' http://sourceforge.net/projects/synergy2/ Synergy is cross platform compatible and utilises the loacl LAN network to pass mouse and keyboard info between computers. The synergy client needs to be installed on both computers, and then setup to allow one computer (the one with the keyboard and mouse) to be run as the synergy server - the screen positions between both then need to be set and youre then ready.

To switch between computers the mouse is simply moved off of the screen and on to the next computer monitor, in the same way that multiple monitors work.

Continue reading
  3345 Hits
  0 Comments
3345 Hits
0 Comments

Exchange Mail And Linux Hosting + EMMA

Some of you may be aware that I've been setting up a new business - Indau Industrial Automation. Before setting up the new website and email servers I decided that I was going to look for exchange based email hosting packaged with a Linux web server. This would allow me to retain the Windows Mobile smart phone that I currently use and utilise it for push email and OWA Calendar and task synchronising. Having used Push based email for the past year it was high on the list of things to have - even though it meant retaining a tie to Micro$oft.

Unfortunately there are no comparible solutions available from the open source community yet, There are a few solutions that offer push email from the Linux platform but none that I wanted to risk trying, and none that are as feature rich as the Exchange + Windows mobile solution.

For the hosting package I looked no further than ComWebHosting my current service providers - although not advertised they were able to sort out a package that included Linux based web hosting with PHP and SQL along with exchange based Email. ComWebHosting come highly reccomended - I've used them for the past 8 or 9 years and have never had a problem - even now I'm based in Australia, using a UK based hosting company is not a problem - even for push email from my smart phone.

One new thing to sort out with the web hosting was the SQL database administration. Normally most web hosts provide phpMyAdmin to administer the database, some use other clients but there is normally a way in which you can upload a database backup or run an SQL query. As the sql database server was not the same as the webserver phpMyAdmin was not available so I needed to find a DB client that could be run remotely from the server - allowing me to install it on my local machine but access and administrate the database located on a different server.

Continue reading
  2093 Hits
  0 Comments
2093 Hits
0 Comments

Change Afoot

Well the new tax year here in Australia has brought change for in the guise of a new job. It's been a case of out with the old and in with the new as I have quit my old job and set up a company for industrial automation and software. For the past 3 or 4 years I have been working for an engineering company trying to set up an automation department for them, Unfortunately it's too much work for one person, and with little support and even less apparent interest from my employer I decided that I might as well put my effort into something that I would at least benefit from.At present I'm still setting things up, but look out for an announcement in the near future with further details. You can rest assured that there will be a website that uses the DMCMS code, and that there will be a bit of cross promotional marketing. If you're in need of software development or would like to employ an automation consultant - give me a shout.Another new development is that progress is being made on the 0.8.0 version and I have pretty much decided that the current 0.7.3 release should be released as a 'lite' version of the software. Generally I consider it to be stable, and whilst it may not be so pretty around the edges it deserves to live on rather than be simply discarded when the 0.8.0 version is released.The main differences between the two versions are that the 0.7.3 version has no user management outside of the appointment of additional admin users, whereas the 0.8.0 version has a full user permissioning and access rights system.I will take the time to tidy up the 0.7.3 admin interface to bring it into line with the 0.8.0 version and then schedule a release candidate for testing. Watch this space......DM.

  3232 Hits
  0 Comments
Tags:
3232 Hits
0 Comments

Firefox Download Day

Download Day - English

June 17th is 'Download Day' - the official release date for Firefox 3. Firefox have decided to try and set a world record for the highest number of downloads in one day by publicising the release day for the new Firefox 3 as Download Day 2008. To take part all you have to do is download Firefox - Simple huh?

As a user of Ubuntu Hardy I've already been introduced to the relevent merits of Firefox 3 as the beta version comes bundled with the Ubuntu Hardy package. I've now been using it as my primary browser for the past month or so with no problems at all. The first thing I noticed about the new version of Firefox was that it appeared to run a lot faster than the older version - a definate plus for computer impatient people like myself - this is a real boom when using it for web developing - especially when constantly refreshing to check changes.

My one gripe with the beta version was that many of the addons that I use were not ported and were not compatible - not really a problem at all - this is something that will obviously change with the production version as addon authors update to be compatible with the new version.

So if you're already a user of Firefox 2 or want to upgrade your internet explorer to something a little better, why not update tomorrow and be a part of a new world record.

  2512 Hits
  0 Comments
Tags:
2512 Hits
0 Comments

Ubuntu 8.04

Well not being able to resist the advert shown above, I decided to take the plunge and update my Ubuntu install. Generally I have been very happy with 'Gutsy' What could go wrong?

The update is very straightforward and is easily done via synaptics update manager - first you make sure that the current install is up to date and then it allows you to install the update. The whole process takes about 20 minutes whilst it downloads and installs the relevent files and then reboots.

There's  a load of updated apps which is great as some of the apps in the Gutsy repository were a little out of date, Unfortunately there is still no VMware and more unfortunately it is likely that your curent VMware will stop working as mine did - however - fear not - it is fixable - After the mandatory google - I simply reinstalled it following some instructions for 8.04 and all was good (don't forget to back up your Virtual machine files first just in case).

One dissapointment for me was the new version of Firefox - well not firefox exactly (it's even better than it usually is) but the fact that most of the extension developers have not updated thier code to work with the new version. This is a bit of a pain for me as I regularly use quite a few additional tools for web development. The biggest pain is google sync as I use it to sync my bookmarks between my machines. Firebug and FireFTP need to come to the party too.

Continue reading
  2855 Hits
  0 Comments
2855 Hits
0 Comments

A Good Time To Try Linux

With the New release of Ubuntu just around the corner and the bloated and expensive Vista requiring a hardware upgrade for most current 2000 / XP users to even be able to install it on thier machines it has never been a better time to try Linux. With the ability to be able to boot off of the disc and try Ubuntu without even having to install anything on your hard drive there is really no excuse - especially as it is free!

5 months and still smilingIt has now been about 5 months that I've been solely using Ubuntu Linux as both my work and 'play' operating systems which means it's being used about 10-12 hours a day. So far I have only had to revert to using Windoze on one or two occasions - and that was only to use an excel file that I had written a bunch of VB code for as open office does not seem to support it. Eventually I will get around to re-writing the file in Javascript as a standalone software package - then my ties with Windoze will be completely gone.For emergency use I had set up Windows XP as a virtual machine (as well as leaving the Vista installation as dual boot when I initially installed Linux) The vitual machine allowed me to use the Excel file for a client demo, and as the virtual machine integrates quite nicely within the Linux window handling I'll leave it installed (see THIS video I recorded whilst writing this article). The dual boot Vista on the other had has not been booted into since I installed Linux on the machine - when I get some spare time I'll look into removing it.Another item of note is that I have managed to function using Linux in a solely windows envoironment - everyone else (with the exception of one Mac user) uses Windows at work, the main server is running Windows SBS, most of our clients use Windows. Even considering that I am probably the only person using Linux file sharing and editing of shared files has not caused any problems - Email from the SBS 2003 server has not been a problem - even acessing and creating public exchange folders is possible. Despite all the success, there are a few things to look out for - occasionally Evolution (the mail client I use) goofs out, Incorrect formatting within office documents seems to get very exaggerated within open office and you will probably need to manually set up some things that you take for granted on windows (such as being able to connect to the internet via bluetooth on my WM6 Smartphone) - Mind you, one point of note is that Ubuntu is a LOT more stable - as well as simply working with my Asus laptop from day 1, it has never suffered one lock up - I cannot say the same for my experience with any windows operating system.

 

So,why not replace your MCE machine with Linux too?

Continue reading
  3236 Hits
  0 Comments
3236 Hits
0 Comments

Eclipse PDT And Xdebug (Better Than Ultraedit?)

Unusually I have found myself with a spare half hour this morning so decided to put it to good use and write a post here. Progress has been slow of late - the only thing that has really changed is the folder layout - I've created a few new folders and moved some files from the site root - the only real use this serves is simply to tidy things up a little. There's basically two new folders - 'javascript' and 'core_files' - both of these should be self explainatary. For those of you who are interested - checkout the latest CVS - you will see a branch called 'new_folder_layout' under the dmcms_080 module - that's the new site layout.Other worthy things of note are my continued useage of eclipse - some of you may recall that late last year I switched to Linux from Windoze (Ubuntu to be exact) the transition was relatively painless but it did leave me without a linux version of my trusty Ultraedit. Rumors of a Linux port aside it looked like UEdit Studio was not going to find its way over to the dark side and so that left me with little choice than to try something else - that something else was Eclipse with the PDT plugin (which I have installed by using the Pulse Eclipse manager).For the odd file edits here and there I must admit I use the built in text editor (Gedit) which has syntax highlighting and generally suits me fine but for project based stuff (like DMCMS) I've been using Eclipse. The integrated CVS client is great - there's not even any need for a key - just put in your password once and the checkout / update process is seamless and uninterrupted. Checking out into a project is very easy - in fact a project can be created when you check the files out if you require. Overall - very easy to use. My only (very small) complaint is that the CVS commands are hidden under a second level in the context menu (Under the 'Team' menu to be precise).With an active project you might want to set up the Xdebug integrated (free) php debugger - to do so you will need to select Xdebug as the default debugger from the properties menu (accessible under windows > properties) and add in the path to your php executable. A point worthy of note here is that you may not have a php executable if you installed PHP from the repository - you might need to add the command line interface version of PHP - you can easily do this by the following command-(for ubuntu)sudo apt-get install php5-cli

Obviously replace the php5 with your version - now you should be able to find php5 under Usr/Bin (type 'find php5' in a terminal to list all occurances of php5).

The Xdebug debugger http://xdebug.org/ is an open source project that is now bundled into Eclipse, it is free and thus very obviously a fraction of the price of the Zend version. For those of you who have a license for the Zend product - Eclipse also offers support for this too

With the Xdebug debugger installed and the CVS client up and running I now have a tool of comparible use to Ultraedit Studio for PHP work -for me it's still a bit clunky but then that's probably more to do with the fact that I've been using ultraedit for many years - I'm sure I'l eventually get used to it.

Continue reading
  5893 Hits
  0 Comments
5893 Hits
0 Comments

PhpBB Blog Mod

With the recent update of a site I help manage and some discussions about a new direction for DMCMS towards the social networking side of town I stumbled across a mod for phpBB that allows users to create thier very own blog. The mod, known as 'The Blog Mod' seems to have a very chequered history and is difficult to find somewhere that currently supports it. Trawling through the phpBB mods forums I found out that the original author (Hyperion) seemed to simply dissappear, A deluge of posting then raised the concern that the mod would simply die without some kind of rescue attempt - so another topic was started to discuss the relevent merits of saving the mod. The outcome of that discussion was that yet another topic was started to support the newly ressurrected 'Blog Mod' - after the topic was blasted for not being in the specific phpBB mod style, and the original auther gracefully backed out of thier offer of support yet another thread was started and the mod lived on...That was until about February when the official development thread on phpBB was locked. In addition the official website at http://www.theblogmod.com seems to have died about August time last year.It seems a shame that there is so much beurocracy over at phpBB that what appears to have been quite a well respected mod has now had the plug pulled on it by the closure of the thread, as for what happened to the official site, who knows?A little digging has found a few links to sites still hosting 'The Blog Mod' - http://forum.khurram.ca/viewtopic.php?p=1248

http://www.outshine.com/forums/viewtopic.php?p=3438#3438

If anyonw knows what happened to this mod shoot me a message via the forums.

DM.

  19363 Hits
  0 Comments
19363 Hits
0 Comments

MD Webhosting

Regular visitors will have noticed that the site has been out of action for a number of weeks now - this is due to my web hosting providers poor service. I have been plagued by bad service from this provider since I started hosting with them last year - access to the email server would stop, as would access to the site, then it would start, then stop again... this seemed to be hourly. 

No amount of service calls seemed to bring about a resolution - the tech team's standard response seems to be clear your browsers cookies and then restart your browser... mmmmmnnn... ok? Well, a recent security breach left me pretty pissed - my site was hacked, filled with phishing software and then used as a launchpad for a spam assault - it would appear that the security breach was server wide - no doubt someone gaining access as root. I lost my site when they deleted it - with no warning and then had all my service requests ignored. All I can say is it is a good job that this site is not for profit - if I relied on it for an income I would be bankrupt by now. Well enough was enough - I've now changed providers - hopefully the service should be a lot better. Mind you, I had the last laugh yesterday when MD Webhosting's site was down again - they're probably still getting hacked. My advice to anyone thinking of using MD Webhosting - DONT! They're not the cheapest and they're far from the best. Anyhows - that's enough ranting from me - Just thought I'd add to the plethora of Google results that say MD Webhosting suck - guess I should have read a bit deeper before deciding to go with them. Please be patient whilst I get the site back up and running, hopefully it shouldn't take too long. I'm limited for time at the moment so you may have to wait a while before I get the forum and Wiki back up. DM.

 

UPDATE: 13:54:55  2008-02-22 - The Wiki and Forum are now back online. However I have not been able to restore the Wiki backup - I may use this as an excuse to rewrite it.

  2600 Hits
  0 Comments
2600 Hits
0 Comments

One Week Later...

I've now been using Eclipse for the past 5 days and must admit I think I've found a serious contender for replacing Ultraedit. I've set up the CVS client plugin - which incidentally doesn't have the annoying problem found with crossvc and tortoise that requires you to input your password multiple times (I added it once and haven't needed to add it in again!!!) - the CVS client is as good as any others I've used - it integrates nicely into the main editor so you only really need to go into the plugin to set it up. Some of the terminology differs from what you might expect (instead of 'CVS' on the context menu it says 'team') but once you're used to it it really isn't a problem.

Eclipse as an editor has some nice productivity features - for instance - it searches all the code in the project and lists all instances of the text 'TODO' (and some other tags) and provides you with a task list in a window at the bottom the screen - these tasks link directly with the code in which they were found - clicking on them open the relevent file at the appropriate place. You can update / expand the text to make it more useable or readable, plus you can set priorities and mark them as finished too. What a great tool!!Code checking was one feature that I loved about using Ultraedit for writing PHP, well Eclipse not only includes code checking - it handles it in a very different way. Along side the task window you will find the 'Problems' window - this is a live list of all errors and warnings found in all files in the project - No need to syntax check each file - simple browse through the window content - again clicking on the error will take you directly to the relevent part of the code. Warnings and errors are also highlighted by a warning or error icon in the margin of the codepage.Another nifty feature that I love is the full page editing - if you double click on the tab for the page you want to edit all of the docked menus are automatically hidden and the page is shown full size within the editor - menus can still be accessed by the use of small icons around the edge of the screen. Double clicking the tab or selecting one of the restore icons returns the layout back to normal. This feature also works with any of the tabbed docked tool windows as well.I must admit however, I haven't found a column edit mode, which I use quite a lot in Ultraedit. In summary - I actually like this editor quite a lot, whether it is extensible enough to use for other non supported languages remains to be seen but as a PHP editing envoiroment it certainly cuts the mustard, I'm quite happy to adopt this as my primary PHP editor within the Linux envoironment.One thing of note is the way in which you choose to install it. I am running Ubuntu 7.10 (Gutsy) and found that if you wanted to install Eclipse via synaptics and then installl the plugin using the built in feature manager in Eclipse the PDT plugin will not install - this is because the version of Eclipse in the Gutsy repository is too old. this means that you can either manually install a later version of Eclipse, or install the PDT 'all in one'. There is also another alternative - you can use Eclipse 'Pulse' - this is an online plugin management service - it is free to use and currently in beta - Pulse provides PDT as a package as well.Anyhows...Enough talking for the moment - I actually have work to be getting on with. Currently I am working on getting the user group functionality sorted out for DMCMS - this will provide the possibility of many additional features - one of which will be user comments. (Hopefully some of you who read this might also contribute to the discussion) I just thoght I'd take the time to share my findings with Eclipse.L8RSDM.

  3325 Hits
  0 Comments
3325 Hits
0 Comments

Eclipse

Last Friday I decided to throw a curve ball at my editing practices and try something that didn't involve Ultraedit. Somehow I ended up on the Eclipse IRC network and had a chat about the relevent merits of Eclipse, it's useability, scalability etc. I had briefly tried Eclipse before but had not really tried to use it in earnest, plus I think that I probably had the wrong version installed. Eclipse is basically an editor platform on which plugins are added to flavour it to your requirements - if you want to edit and compile C++ you simply install the relevent plugins to turn it into a C++ IDE. Likewise for PHP / Web editing you add in the relevent PHP plugins - this is the part I didn't do last time! Armed with new information - and a link to the PDT package download page (the PDT package is the PHP Development Tools plugin) I installed a copy of Eclipse. It's worth noting at this point that if you don't have the Java Runtime installed on your machine you will need to install it as the program will not function correctly - the installer will alert you if you need to install it (you can install it easily via synaptics).My first impressions of the PDT package are that it seems to be pretty impressive - I like the way that it lists included files in a hand to use menu, the syntax highlighting is as good as most - generally the layout is well presented. Projects are easily generated and it has a built in CVS client although I havent set it up yet.I'm going to try using it for the next week or so and see how I get on. Watch this space...

  1516 Hits
  0 Comments
1516 Hits
0 Comments

CVS Linux Or Windows???

With my new Ubuntu installation taking shape there are only a few things left to sort out to make it 100% functional as my primary web developing machine. So far I have not regretted making the change, especially as I can now run my beloved Ultraedit Studio within VMware on a virtual XP machine. The transition has been pretty seamless, the interface is intuitive and a pleasure to use. I have made a few minor customisations to help increase productivity and changed the theme to add a little eye candy.

The main change was adding in the Compiz manager so that I could enable a few additional desktop effects - specifically I added a 'hot corner' to the 'Scale' effect so that I could use it as an entourage type screen switcher - this also works great with VMware. Normally you need to press the 'ctrl' + 'alt' key combo to release the mouse focus from the VM - setting a hot corner to the top right of the screen means that the Scale effect is called regardless - no need to press the key combo - simply moving the mouse to the top right not only releases the mouse focus but also calls the scale effect. Checkout the screenshot on the left - The VMware screen integrates seamlessly with the rest of the applications. For the best effect you should turn off the tabs, toolbar and summary so that the VM looks like any other Application window. Click on the image to open up a larger version.

Using VMware this way has allowed me to retain the use of Ultraedit (which is good as bought a lifetime subscription - lol), but it does leave me with another small dilema - what cvs program do I use?????

Up until now I have used Tortoise CVS - an excellent program that integrated nicely into the windows shell. For a while I also used the CVS built into Ultraedit but found Tortoise to be far superior.

Continue reading
  2699 Hits
  0 Comments
2699 Hits
0 Comments

Lamp Not Wamp

As regular readers would know, I have recently changed my primary operating system over to Ubuntu. This computer is mostly used for web development so running a Linux based system makes sense as the end platorm I write for is Linux based.On Windows I usually use WampServer to host and test PHP code on my local machine, this is basically an AMP stack (Apache2 + PHP5 + MySQL) bundled with phpMyAdmin and a nice task bar 'applet' where you can change settings, start / stop the server etc.. All of this is installed from a sinle installer file - things don't get much more convenient than that.To make my Ubuntu (Desktop version) installation more useable I needed to install the LAMP stack but this involved installing the components seperately. This isn't really that hard but it does require using the terminal and typing some commands in. Incidently, you can use Ubuntu server version which already has this set up, but being aimed at use as a server it is void of other programs.Installation of the AMP stack is best carried out in order - this is basically Apache > PHP > SQL.To install Apache2 you will need to use the following command - sudo apt-get install apache2You may get an error as follows - "apache2: Could not determine the server’s fully qualified domain name, using 127.0.0.1" this is easily remedied by adding the following line to your httpd.conf file

ServerName localhost

You can call the file up in the text editor by using the following command

gksudo gedit /etc/apache2/httpd.conf

Continue reading
  2843 Hits
  0 Comments
2843 Hits
0 Comments

Dual Boot Linux And Windows

As some of you may recall, after a recent hard drive crash I invested in a new laptop and then installed Ubuntu on the old laptop. This was a great idea as I found that all of the previous issues I had encountered whilst using Linux seem to have been addressed with Ubuntu (I have previously used Fedora). The only problem I found was that I was neglecting the new laptop and using the old machine with Ubuntu on it a little tto much.With renewed enthusiasm in Lunux I would love to make the jump from Windows but try as hard as I can - I cant seem to take the plunge and replace Vista on the new laptop with Linux. This is mostly due to not being to find a decent replacement for Ultraedit - I've tried the alternatives - none of which really cut the mustard, I've even installed Ultraedit running under WINE but nothing quite matches up to my expectations (Ultraedit is just too sluggish running under wine to be really useable for me)Well....Although I haven't one the whole hog - I HAVE taken the plunge and set up the new laptop as dual boot Linux / Vista.This is actually very easy to do with Ubuntu Gutsy - basically you'll need to have Vista already installed and then boot up with the Ubuntu CD. Once booted, click on the 'Install' icon on the desktop and the installation process will start - it will ask you a few questions and then launch into the partitioning tool. The partitioning tool will present you with 3 options - assisted partition / use whole disk / manual partition. Choose the first option (assisted partition). The tool will then ask you what size you want to adjust the partition to - choose a suitable size and then the installer will do the rest.When the installation is finished it will ask you to remove the disk from the drive and hit enter - the machine will then reboot and start with a boot menu allowing you to select what os you want - the bottom option will be windows.Anyhows.....With Ubuntu installed on my machine I have opted to install VMware under Linux so that I can run Windows as a Virtual Machine - this will allow me to run Ultraedit and the other applications that I need that I can't find Linux alternatives for (mostly work related applications such as robot programming clients). Setting it up in this way I can use Ubuntu as my primary ooperating system :)I have also taken the plunge and done the same for my company laptop - evolution works flawlessly as an exchange client and I seem to have less network problems with Ubuntu than I did with Windows. (plus I can't wait to see the look on the IT managers face - lol).The coming weeks will be a real test to see if I can live without windows - it shouldn't be a problem with the company laptop as I don't do any programming with that machine - just manager stuff involving the office suite (open office that is ;) ) and project based stuff for which I already use open workbench.If I can happily live without booting into Vista on the other machine I will remove it :DOne annoyance has come out of this - my new laptop came with a recovery disk - the disk is an Asus branded disk that will only allow installation onto an Asus machine - This however means that it won't allow me to install Vista into VMware as it does not see the virtual machine as an Asus machine - phah!!! - looks like I will have to revert back to XP for the time being.

DMCMS Latest

With renewed vigour I have been ploughing into getting the next release of DMCMS ready. At the moment I've been working on groups and group membership - I'm trying to set it up so that there can be any number of groups and users can be members of multiple groups - this level of flexibility when coupled with access permissions granted to group members should make DMCMS very flexible in terms of managing content access.

At the moment I'm thinking of access restrictions in terms of categories -

Continue reading
  2357 Hits
  0 Comments
2357 Hits
0 Comments

An E-Mail Server For Your WAMP Setup

For all of my development work I use an AMP stack running on my windows machine (commonly referred to as a WAMP server). This allows me to run Apache / PHP / MySQL on my windows box without the need for a Linux machine - very handy if you are developing something like DMCMS and don't have a linux box on which to test your work. Over the years I have tried many different WAMP distro's - I've even installed the seperate components myself.

Nowdays I tend to favour Wampserver - http://www.wampserver.com/ as it is compact, easy to install and has a nice, easy to use interface. I have also used UniServer (http://www.uniformserver.com/ ) as it has a very small footprint and can be installed on a memory stick so it can be used an any PC. However, it didn't integrate correctly with the syntax checking function in Ultraedit so for the time being Wampserver is my tool of choice (although I must admin I have no use for SqlLiteManager).

The only problem I found with Wampserver is that it does not include a mail server - this makes it impossible to test any mail functions within your software.

With my current focus on getting DMCMS Version 080 ready, it didn't take long for me to get bored with uploading changed files to a test site, so that I could test out changes involving sending mail, so I decided to install a mail server on my Windoze machine.

Continue reading
  4019 Hits
  0 Comments
4019 Hits
0 Comments

Start As You Mean To Go On...

With the first working week of the year at an end I am very pleased with myself - not only have I managed to release two DMCMS updates but I have also managed to keep my other resolutions too. The long long overdue security update was rolled out in Version 0.7.1 closely followed by another version to address a couple of small issues that were missed with the first release. Whilst only up for few hours the Version 0.7.1 release had 20 downloads - thats a lot of interest in such a short period of time - hopefully this is an indication of things to come.Work has continued on the Version 0.8.0 release with a number of items being crossed off of the To Do list. In a bid to keep visitors more informed I have added a 'Current Task' to the To Do page to indicate what I'm currently working on, I also split out the list into items scheduled for the next release (To Do List) and items for later releases (Wish List) - this has allowed me to review and remove a few items from the 0.8.0 release to speed up it's release. Hopefully this should provide an accurate status for future project development.Have you visited ohloh.net?

Also worthy of mention is http://www.ohloh.net - Ohloh was started up in 2004 as a way of providing more visitbility into software development. Utilising a number of aids ohloh provides analytical data and project overviews in an easy to read format. Statistics can be viewed for both projects and contributors alike. In addition Kudos points can be awarded between members. Members can also add projects to 'Stacks' (a personal colletions of projects) allowing projects to be suggested to them based on common choices.

Naturally I added DMCMS as a project. The project page proides entries for RSS feeds, descriptions and after adding CVS information a breakdown of the content of the project is displayed.

Amusingly the breakdown indicates that it would cost you approximately $844,130 if you wanted to hire a team to replicate DMCMS - And to think I gave it away for free - surely THAT should give me some kudos points.

  2472 Hits
  0 Comments
2472 Hits
0 Comments

Resolutions

Once again it is that time of year where most of us will make the resolve to change something for the New Year. Usually this ends up with failed attempts and frustrations with only some being lucky enough to follow through.Well - it is coming up to one whole year since I gave up smoking :) I guess this time round I was one of the lucky ones - although I didn't give up on New Years Eve - it was more like mid January. Maybe this is why I was successfull? Who knows? (If I did I would have spent the past year marketing my 'how to give up smoking' book).But now it's time for me to make some more promises to myself - this year my biggest goal is to get a little fitter (I managed to put a few pounds on in the process of giving up smoking), a hard task for most - hopefully I can apply the same determination to this as I did to giving up smoking last year (In a way I almost feel that now I've managed to give up smoking I can achieve anything).A much harder task to acheive will be getting DMCMS V0.8 into a state where it is ready to release - this is however one of my New Years Resolutions.Looking back over the past year a lot of progress was made on the development of DMCMS in the first 6 months - the whole project was made public on Sourceforge (there have been nearly 600 downloads to date from the Sourceforge site), it has been targetted by various hackers exploiting vulnerabilities in the code (which I see almost as an honour - lol), it has been promoted on various websites and it has continued to provide the basis for most of the websites that I create / manage. Unfortunately the latter part of the year provided no further releases due to other commitments.My commitment for 2008 is to get the Version 0.8 release finished so that it can be made public - The biggest part of the V0.8 release is the user management features. The decision to integrate user management into DMCMS was taken earlier in the year and it has proven to be quite a bit more work than originally anticipated. The current test releases have a functioning user management system that provides user registration and user commenting for registered users. The plan for the final V0.8 release is to also include a permissions system so that access can be restricted to created pages.Currently the permissions system allows users to be split into three different categories -

Users (this category is for registered users) Administrators (these users have access to all site features) Moderators (these users can modify / delete / add content).

These user categories are mostly to deal with the commenting system - moderators can be made to carry out moderation functions but thier access to other admin functions is completely restricted, Administrators obviously have access to do anything and Users have to be logged in to be able to post (therefore they have to be registered).No Guest posting is allowed as this will most probably just event in a lot of unwanted spam. User registration involves confirmation by email for account activation. I have also added captcha integration using the reCaptcha API for added anti-spam security - this may or may not be bindled with the release - I'm not sure at the moment - I personally think it's great but I also have to consider the added complexity it presents to the user setting up a DMCMS installation.The [currently] limited user account types will have to be expanded to provide access control to created pages, it is most likely that this will be expanded to customizable user groups. This route is almost a definate as it fits in well with another project that I am currently undertaking where I need to provide a seperate area for each logged in (subscribed) user - the ability to be able to create unique groups will allow me to be able to assign a group to each user. I can then create a page specifically for each user where access is only granted for the group associated with the user. Fully customisable user groups also allows the end user to choose a name for the groups that best suit thier site.

This method of access restriction works well, as a user can be made a member of many groups, meaning that access can be infinately complex. I may also add a timed function so that users can be made a member of a particular group from / until a specific time, this is something that I will need to do for the other project I am working on as paid subscriptions will be required, it seems logical to also include the features develped for my other projects in DMCMS too.

My other New Years Resolutions relate to other projects that I need to finish - I currently have a web based project that is in the initial stages of development, a desktop application that is 25% of the way through, a WM5 application that needs rescuing (it was finished but then a hard drive failure has meant that I lost some files) and an idea for another web based project. All of these projects (with the exception of the last one) need to be finished within the next few months, fortunately the web based project largely depends on DMCMS V0.8 so it is likely that this will cause the next DMCMS release to be pushed along nicely.

Continue reading
  2411 Hits
  0 Comments
2411 Hits
0 Comments

Wine At Christmas

Regular readers would remember my look into IDE's / Programming Editors for the Linux platform from the last post. My main reason for this was to try and find something to replace Ultraedit Studio which has been my weapon of choice for coding for the past 7 or 8 years. Well, I've possibly found a better alternative - running Ultraedit 'natively' on Linux!No, unfortunately IDM have not decided to port UE for Linux (although more on that below...), I have discovered Wine. Wine is an application layer that allows Windoze applications to run on Linux by allowing access to dll files.The Wine website has an application database that lists applications tested with Wine, this ranges from applications like UEdit to PC based games. There are several entries listed for Ultraedit - namely different versions. There are some reports that ftp functionality does not work or is limited but generally it appears that Ultraedit functions fine. The Database entry can be viewed HERE and the Wine Home page can be viewed HERE

Installation of Wine in Ubuntu is easy - simply choose Wine in the Synaptic Package Manager. Wine is also available for other flavours of linux, with installation options to suit each.

After installing Wine, you will now need to download a copy of Ultraedit to your linux box. I've chosen to download and install Ultraedit Studio. Installation involves setting the exe file to open with Wine - this can be easily done by right clicking on the file and choosing 'open with other application'.

A bit of a tip - I found that if I chose the custom installation it would fall over trying to register wodCertificate.dll - wheras choosing the typical installation had no problems.

Continue reading
  2909 Hits
  0 Comments
2909 Hits
0 Comments

Linux Programming Editors

A week or so in and I am really digging my Ubuntu installation, so much so that I'm almost regretting spending the cash on the new laptop - Installing Ubuntu on my old Dell Latitude has speeded it up end - it's now a much more useable machine. So far I have only had one issue with the Ubuntu installation - I've not yet been able to get WEP authentication working on wireless - the wireless card connects to non-secured networks no problem - but doesn't connect to WEP secured networks. Anyways - it's not a major issue and I'm sure I will sort it out in time.

EDIT: I reconfigured my router to use WEP Open Authentication and now it works!

I've decided to transfer over my web development onto the Ubuntu machine - I figure that if I can manage to comfortably use ubuntu to write code then I will junk my copy of Windoze Vista on the new laptop and make the jump over to linux permanent. The few programs that I need to run in windows can be run inside of VXWorks.My biggest issue is finding a replacement of Ultraedit - I've been using Ultraedit (Studio) for about the past 7 years and have found it hard to move away from using it, it simply has too many usefull features that many other editors do not. In the past I have tried many different open source editors for the Windoze platform but none quite hit the mark (I use Notepad++ on my work machine as they are too tight to cough up for a copy of Ultraedit). Linux appears to be no different.The main 'advanced' features I use for editing are syntax highlighting, function lists, bracket matching, project management, cvs integration, column editing, find / replace in files and php syntax checking.

I mainly use Uedit Studio for my web development - PHP / HTML / CSS, however it does get used for more specialist programming endeavours such as robot programming and so things like compiler integration is very handy.

Continue reading
  3321 Hits
  0 Comments
3321 Hits
0 Comments

Ubuntu

A recent hard drive crash ended up in me treating myself to a new laptop. Somehow the hard drive on my old Dell decided to just... well... stop working. A bit strange to say the least - the hard drive was less than a year old and hadn't really seen any rough use. But anyhows - I used the whole fiasco to talk myself into replacing the whole laptop with a new one (but of course bought a replacement H/D to revive the Dell)With my new machine pretty much installed and up and running, with the exception of a webserver to my taste (I've been playing with Ulimate Server - a slim php/sql distro that runs from a USB stick but it doesn't work with my syntax checker) I decided to get the Dell up and running with linux.After looking into the current range of Linux distro's I decided to give Ubuntu a go as it seemed like the least painfull route to getting it up and running. I have previously used Fedora but had a lot of trouble with wireless drivers.So far I must say that I am very impressed with ubuntu and the ease of installation. (I'm typing this from Firefox in ubuntu right now ;) ). everything has worked pretty much right out of the box. I've enabled Beryl (the expose style task switcher) and am currently setting up the avant window manager (a mac icon dock clone).Other software will get installed in time - I'm already happy using open office and gimp the only program I need to sort out is a decent text editor...I'll keep you posted of the progress.

  3244 Hits
  0 Comments
3244 Hits
0 Comments

Hold The Front Page

Regular visitors to the site will notice the sudden shift in editorial content on the front page. This used to be the space where info and download links for my open source CMS project was displayed, that is until now...I originally registered the site for the CMS and have used it as both a testbed for new CMS code and as a platform from which it is aupported and served. The change in focus is largely due to other developments now taking a larger protion of my time away from the CMS, and a descision to free up the DeeEmm name association from being solely associated with the CMS.The name DeeEmm is the phonetic spelling for DM, which is in turn an acronym for an old nickname of mine. I used to use the name (and still do of course) as a psuedonym under which I program. Nowdays my identity is much less of a secret than it was way back when I first assumed the DeeEmm nickname but old habits die hard.Hopefully this page will develop into my personal blog and include news about tech stuff that I'm working on. (Yup - I know - just what the world needs is another blog) In a sense it is also a massive advertisement for myself to the rest of the world and can potentially be used as a platform from which to offer my services - for that reason alone it needs to be at least jazzed up a little as it is just a little dull :)Work on the CMS is still continuing, the bugfix for the SQL injection vulnerability has been implimented in a number of test sites and will be rolled out soon. Version 8 is still on the horizon, there are still a number of items to fix up but it is basically operational. I have a live version 8 site up and running at the moment and all appears to be well. The site was successfully updated from version 7 using the update function and will be used to test out the remaining bux fixes and features before the next release.My main focus with the CMS at the moment is to get the user management system completely up and running - at present it is functional but wholely untested. The addition of the user management system was a decision made some time back, it has meant that the final release has been delayed quite considerably but it has also proven to be a sound decision due to the demand from a number of current projects to have user management functionality.One such project requires a subscription based access restriction system to be employed - hence my current focus on getting stuff to a point where it is functional. The same project also requires ecommerce functionality, but I doubt that this will make it's way into the open source release.Anyways....This is more than enough rambling from me, I have real work to do - specifically getting the commenting system tested - that way some of you folks reading this can comment.DM.

  2411 Hits
  0 Comments
2411 Hits
0 Comments

Open Source

A recent hard drive failure has forced me to purchase myself a long overdue new laptop. I ended up purchasing a nice Asus F3. The machine is a lot better than my old Dell 505 which has served me well for the past four years but unfortunately came installed with vista. A long time user of Dell products, I decided on the F3 as it has a very similar feel to the 505, which after struggling with my Toshiba Tecra at work was very important to me (the tecra has a number of really annoying features / non-features such as no right hand control button, windows button at top of keyboard, lack of bluetooth etc etc...)The spec of the machine is much better than my dell and should see me ok for the next few years.Originally I had considered changing to macs but the extortionate price of the macbook pro gave me trouble justifying it. My next choice was very obviously Dell, but as I really needed to pick something up this weekend I was left with little choice than to change manufacturer.Being a writer of open source code I decided that it was also long overdue to replace my aging office suite with a better and open source version - especially as I dont think my old version is compatible with vista.I've tried open office before - it came bundled with a fedora installation that I installed and I also installed / uninstalled it from my old laptop. this time though - I've decided that I will not give in to the pressure of installing office instead.Browsing duties go exclusively to Firefox of course, but with the addition of Internet Exploder / Opera and now Safari for testing purposes. Unfortunately the ieolas standalone version of IE6 no longer works :((deja vu)Another product that I've downloaded is netbeans - an open source and cross platform IDE supporting multiple languages. I've yet to use it and so cannot tell if it can replace visual studio express for me - I will keep you all posted.I previously used sharpsoft but ended up replacing it with visual studio express as it was a little too buggy.I'm embarking on a project to develop a desktop app - its a basic data handling and reporting app - I'm tempted to use the java portion of netbeans to write this - both as a test of the IDE and also to end up with a x-platform app.Another change for me is the adoption of Thunderbird as my email client - this coupled with the lighting calendar plugin has me pretty much set. This combo allows meeting requests to be sent to outlook clients with no porblems.All I need to do now is get push working with my windows mobile PDA when it gets back from the repairers and I can finally junk using the works SBS :)

  2484 Hits
  0 Comments
2484 Hits
0 Comments

Pocket PHP

I recently discovered a Pocket PC PHP server called PocketHPH. PocketHPH is available from MobileLeap and runs on various platforms including the WM5 that my JasJam runs. Also included is SQLite3 support to allow you to run dabase based php developments.You might wonder what use running a server on your Mobile phone would be, from my point of view it could allow me to work on DeeEmm CMS development whilst on the road without needing to take a laptop with me, although I'm not sure that it would run in it's current configuration. Currently I have it loaded up and am using it so that I can test the output of DeeEmm CMS on a mobile device whilst configuring the mobile css file.Pocket HPH is free for non commercial use.You can download it from http://mobileleap.net/hph/

Whilst on the subject of programs for Windows Mobile 5 I should also mention a few other apps that I find invaluable.

Minimo is a miniture version of Mozilla that is far better than the Internet Explorer that came with my JasJam. Amongst other things it includes tabbed browsing.

Minimo is available free for downbload from http://www.mozilla.org/projects/minimo

Continue reading
  8808 Hits
  0 Comments
8808 Hits
0 Comments

X10 Kit Arrived

I took delivery of my Active Home X10 starter kit yesterday. The kit is the 7 peice version that includes the Computer interface, appliance outlet, lamp outlets, bayonet fitting, radio receiver and remote control. As I already have the mControl demo installed on my laptop I decided to try and get control of at least one light. I fitted the bayonet adaptor into my hallway light and then plugged the radio receiver into a socket outlet. Using the remote I could easily trigger the appliance adaptor built into the radio receiver; by pressing '1' and then 'on' I heard a satisfactory click as the relay clicked on and off, however pressing '2' and then 'on' did not switch the light on as expected - that is until I realised I needed to obviously leave the light switch in the on position - D'OH!In less that 5 minutes I had a working system - I could now turn the hall light on and off from anywhere in the house and garden (for what pupose I'm not really sure). The range on the remote control seems very good - I now have it plugged in at one one of the house and can use the remote from the other with no problems.So now for the tricky part - getting it to work from my PC. I put the batteries in the pc adaptor and plugged it in, I then run the comms cable from the adapator to the comm port on my laptop (the unit I received is the serial version - a USB version is also available).With the connections done I opened up the mControl demo. I created a zone for the Hallway and added an LM14 device as it did not have an LM15 calling it Hall Light. After I saved it I clicked on the button to turn the lamp on and hey presto - the light went on!!! So far so good - this only leaves one thing left to test - My JasJam smart phone. I have a static IP address as I host some web sites on a home server which is great for accessing computers whilst i'm away from home. Its also possible to use some kind of service if you have a dynamically assigned address that allows you connect to your home server, but I haven't used this before. Before I could use the remote interface I created a rule on my firewall to pass port 29990 through to the IP address of my laptop, I then navigated my JasJam's broswser to http://myipaddress:29990/mobile.aspx I was pleasantly surprised to see the zone I had created with the hallway light in my browser, I could easily turn the light on and off with a surpringly quick reaction time of only a second or two.mControl rocks!!! - it worked right 'out of the box' with no fancy configuration required, the mobile remote access is also great - not only is it included with the package its easy to use and has well thought out controls for the small mobile screen.I am more than happy with the whole system (well - based on installing one light I am - lol) its easy to setup, use and the mControl software is worth every penny. I must admit I didn't even load up the software that came with the product - perhaps this is all you may require but if your're a Media Centre user I definately reccomend mControl for the integration into the MCE interface. The browser based access is also great - I tried this on a small 8" touchscreen which will be the permanent access point for the whole home automation system, the layout of the mControl interface works great at this size.All I now need is for the rest of my X10 parts and the Micro PC to turn up

  5555 Hits
  0 Comments
5555 Hits
0 Comments

Home Automation Part Duex

Regular visitors may remember me mentioning that I had been looking into home automation. My 'research' has lead me to invest in an x10 Active Home starter kit which includes a whole bunch of lamp and appliance controllers and most importantly a PC interface.

This and a bunch of other 'projects' have made me stop work on DMCMS for a while. Work on DMCMS will resume when I've finished the other more important stuff. Anyhows - back to my ramblings...

The PC interface comes with the Active Home software allowing you to program scheduled programs to control the modeules.

The modules themselves are controlled by signals carried through the pre existing power cables of the building, meaning that I dont need to run in a trillion new cables into my 80 year old house.

Continue reading
  2908 Hits
  0 Comments
2908 Hits
0 Comments

A New Project Is Born

Regular visitors to the site will recal that a few weeks back I mentioned that I was working on a new project. The new project is a software package aimed at making risk assessment easier and more precise. I have decided to split the development of this package away from this site and host it on it's own site. The main reason for this is that it is intended that the package will be a commercial product and for the time being I want to keep DeeEmm as an open source site. The other reason is simply one of branding.For the time being I intend to keep everything under wraps but as usual - watch this space!!!

  2275 Hits
  0 Comments
2275 Hits
0 Comments

Suggestions Please

Interest in DMCMS has slowly been building over the past few months. This increased interest has been reflected in the number of downloads that we have been seeing. Last month saw a total of 142 downloads, bringing the all time total to 405.The 0.7.0.beta release has now been bug free for the past month, with no user submitted bugs or developer bugs being reported within this time.Progress on 0.8.0.beta has been made, with improvements added for the search engine and the translation functions. The things to do page shows the current outstanding tasks needed to be acheived before 0.8.0.beta hits the streets.0.7.0.beta upgrade

I have been considering upgrading the 0.7.0.beta release to Release Candidate 1. It is stable with no known bugs, but obviouosly lacks the additional functionality offered with the upcoming 0.8.0.beta release - namely the user management / commenting system.

Suggestions Please

With version 0.8.0.beta fastly approaching or perhaps even 0.7.0.beta being promoted to version 1, it is time to make your suggestions and feature requests known. There has been very little input from users so far and so we would like to encourage users to get involved and join the forum, to make suggestions and to post critisiscms that you have with the software.

Continue reading
  2211 Hits
  0 Comments
2211 Hits
0 Comments

Test Drive

I've been getting the framework of the safety analysis / risk assessment software laid out to get a better idea of how to put it all together. The basic underlying usability is simply to identify, score and then reduce safety related hazards. The risk assessment process is pretty straight forward, in fact I have been successfully using a risk assessment model that I previously developed within excel. Along with some different reporting options, these will both be carried over to the software futher down the track.After doing a google I stumbled across a rival peice of software. Marketed at up to $3300 per floating user license I decided to take a look to see what the opposition had to offer (mostly as it offered a free trial).The software was pretty much as expected, and lacked ease of use for both the hazard scoring and the reporting functions and nether aided the assessor or provided any reccomendations based on the results. These are the main areas where I feel this type of software should be of benefit.The hazard identification aspect was relatively straight forward with pick lists to pick from that also incorporated the ability to be able to add user defined entries. Generally there appeared to be a lot of additional 'value added' aspects but when the extra options were scrutinised they were no more than gloss and padding. In my mind, not worth the stated $3300.

  2515 Hits
  0 Comments
2515 Hits
0 Comments

Home Automation

This week I've been delving a little into home automation. Home automation is a topic that I have been meaning to have a look into for quite some time. Being an industrial automation specialist, the home automation sector is a very interesting topic for me as it is something that should be relatively easy to someone of my background to do.Prior to looking into home automation I had a few pre-conceived ideas of usefull facets including modulated signals using domestic AC supply as a carrier wave. It was no surprise to see that this has been adpoted as part of the X10 standard.My personal view of home automation was to utilise a home PC, equipped as a master controller with inputs and outputs to control functions within the house such as lighting and access control. Modern Home Automation system can be much more sophisticated also including audio and video streams throughout the house.Home Automation is a relatively new sector, with relatively few companies providing off the shelf systems that can be catered to suit end user needs. With the utilisation of a development medium such as Visual Basic and a simple I/O interface or perhaps interfacing to the already available X10 standard it may be possible to greatly reduce Home Automation costs.

  2829 Hits
  0 Comments
2829 Hits
0 Comments

Risk Assessment Software

It has been nice to have some time away from the computer this week, perhaps it is something I should do more often. The 'holiday' has given me time to think about stuff like the development that goes on with DMCMS and the amount of time that it takes up. Whilst my current goal is to get it finished off to a standard where it can be realeased as a full and final version I may shift my focus a little and spend some time developing a couple of other ideas I have, ideas that potentially can bring in some revenue.One of the ideas that I would like to spend some time to develop is a risk management package for performing, scoring and recording risk analysis. Risk analysis is the procedure through which hazards are identified, prioritsed and then actions developed to minimise or eliminate the hazard. These hazards may be many and varied and can range from general workplace safety right up to the exotic - like perhaps space exploration. In fact, wherever there is human activity, there exists the possibility of a hazardous situation potentially being able to cause injury or harm. One of the hardest things for most companies / individuals involved in risk assessment is the ability to easily score or 'rate' the hazard. There are several techniques available to achieve this but all of them leave something open to interperetation.My idea is to develop a software package to make this task easier, and provide less room for error. By removing the 'grey' from the descision making process, the task of identifiying the hazards and providing a method of risk control becomes much easer and the need for expensive consultancy can be negated.My ultimate goal is to develop the software into a saleable item, to be sold right here from this site, as after all, the site is intended to be a platform for all my works, not just DMCMS. The software would initially be available on the PC platform, with a later development for mobile devices such as handheld PC's, allowing field operatives to easily carry out risk assessments in the field without having the need for even a laptop. Collected data can then be imported into the main application back at the office when it is more convenient.The coming weeks may see little change for DMCMS as I intend to spend at least a little time developing the initial idea / structure for the application.DM.

  2661 Hits
  0 Comments
2661 Hits
0 Comments

Risk Assessment Software

It has been nice to have some time away from the computer this week, perhaps it is something I should do more often. The 'holiday' has given me time to think about stuff like the development that goes on with DMCMS and the amount of time that it takes up. Whilst my current goal is to get it finished off to a standard where it can be realeased as a full and final version I may shift my focus a little and spend some time developing a couple of other ideas I have, ideas that potentially can bring in some revenue.One of the ideas that I would like to spend some time to develop is a risk management package for performing, scoring and recording risk analysis. Risk analysis is the procedure through which hazards are identified, prioritsed and then actions developed to minimise or eliminate the hazard. These hazards may be many and varied and can range from general workplace safety right up to the exotic - like perhaps space exploration. In fact, wherever there is human activity, there exists the possibility of a hazardous situation potentially being able to cause injury or harm. One of the hardest things for most companies / individuals involved in risk assessment is the ability to easily score or 'rate' the hazard. There are several techniques available to achieve this but all of them leave something open to interperetation.My idea is to develop a software package to make this task easier, and provide less room for error. By removing the 'grey' from the descision making process, the task of identifiying the hazards and providing a method of risk control becomes much easer and the need for expensive consultancy can be negated.My ultimate goal is to develop the software into a saleable item, to be sold right here from this site, as after all, the site is intended to be a platform for all my works, not just DMCMS. The software would initially be available on the PC platform, with a later development for mobile devices such as handheld PC's, allowing field operatives to easily carry out risk assessments in the field without having the need for even a laptop. Collected data can then be imported into the main application back at the office when it is more convenient.The coming weeks may see little change for DMCMS as I intend to spend at least a little time developing the initial idea / structure for the application.DM.

  431 Hits
  0 Comments
431 Hits
0 Comments

Time Out

I will be taking some time out this week to get some stuff done around the house, this means it is likely that I won't be sitting in front of my computer too much. I've been spending too much time trying to get everything finished off and neglecting my chores (which doesn't bode too well with the better half).After a quick tot-up I estimate that there are approximately 80 hours work left until the next (and hoipefully final) release is ready. There are a lot of new features planned including a full user based commenting / subscription system, reinstatement of the translation function (obviously working this time round) as well as a completely redesigned administration interface.A lot of the work has already been carried out and tested but will require further testing to make sure that it is reliable enough for release. The remaining items are either still in development or have yet to be started.The current release is hopefully stable enough that it will not cause any problems and so will likely remain as it is until the final release is ready.Some minor bug fixes have already been released and the packages updated to reflect the bugs found. As usual, if you find any errors / problems / bugs then don't hesitate to bring them to our attention, either as a Bug Tracker entry or in the forums.DM.

  2863 Hits
  0 Comments
2863 Hits
0 Comments

Insensitivity

In my haste to get the last version released it would appear that I wasn't thorough enough with testing it to make sure everything was okay - That's Right!!!! (We've hit another bug). This one is a relatively simple one to fix and is a by-product of developing for the Linux envoironment on a Windoze machine.

The bug is simply one that it caused due to case sensitivity on some linux installations - the offending files are the language files - the ones supplied with the old package have 'capitalised' names - ie the first letter is a capital. The filenames stored in the database start with a lower case letter. Simply renaming the files will clear up the issue.

As usual the downloadable packages have been updated (a big sorry to all those who have already had a problem with them).

DM.

  2408 Hits
  0 Comments
2408 Hits
0 Comments

Only Buggin

You may have noticed from the news flash that the DMCMS.0.7.0.BETA release has a bug in the SQL database file. This has hopefully now been sorted out - the files in the download area have been updated and an updated file is available to download should you require.The bug, whilst only a minor thing (I say this only because we are still in BETA) goes to show how difficult it is to cater for every platform and server software version. The bug didn't appear on any of my test installations that I carried out before uploading the code for public consumption but, was still there, none the less.The bug partly originated from a relic of a past version stuck in the database and partly from an error in the database backup function, I guess I need to be more careful in future.DM.

  2286 Hits
  0 Comments
2286 Hits
0 Comments

Hate Is A Strong Word

{jcomments off}Trying to get the latest incarnation of DMCMS ready for release seems to be a never ending battle. Just when I thought that I had it licked something else crops up - and guess what!! - it's yet another IE flaw / bug / idiosynchracy. After redesigning the admin interface into a nice tabbed affair that put everything on one page in an easy to digest format I then find that it doesn't work in explorer. Phah - seems to be about par for the course recently.

Now whilst this is really frustrating I wont declare to hate IE and it's odd renderings, after all, being a Firefox protagonist I am in the minority. IE is also the browser that I first discovered the internet on, so I must at least owe it something.

My day today is being spent at home, which is great as I get to spend some time trying to finish the 0.8.0.beta release off whilst heating is being installed in the house. It's also great as I am now within swearing distance of an internet connection so I can try out some of the stuff that requires connectivity to the world wide wobble (such as user registration verification).

I've decided to load the latest offerings onto my webserver at home and test everything out, first thing I wanted to do was create a new CVS branch for my source repository - pretty easy stuff. Then I check out the latest branch as a release so that I can load it onto the server and update the existing DMCMS test installation.

Continue reading
  2453 Hits
  0 Comments
2453 Hits
0 Comments

Admin Style

{jcomments off}This weekend I've been taking a look at the administration interface and how it is presented to the user. The admin interface is probably the biggest part of any CMS, even though it may actually be the least used. The age old addage is in full effect here - 'first impressions last', new users trying a CMS for the first time will be more impressed with how something looks rather than how it functions and will probably mistake an average interface for a good one if it looks the part. If the interface doesn't at least look capable, then chances are that the user will not give it more than a cursory glance before moving on to the next demo.

Part of my thinking whilst developing DMCMS was to keep everything very simple - to try and only use basic, compliant HTML / CSS and as little fancy effects and javascript as possible. Javascript has unfortunately been employed for a few functions, which I don't think is too bad, and for the most part there are no frills with the basic template supplied with DMCMS.

To try and create some kind of image to the Admin interface I have changed the way that it is presented. Some functions have been fused together and are now presented in a tabbed navigation structure. Javascript will be required to be enabled, but not absolutely necessary as the interface will still function without it - it will simply not look as good.

Bringing the different admin functions together into a more condensed interface acheives the goal of improving the first impressions factor tenfold: Rather than having to scroll down the page to see all of the different functions, the user can instantly see scope of what is controlled from within the interface.

Continue reading
  2319 Hits
  0 Comments
2319 Hits
0 Comments

Re-Integrated

{jcomments off}Latest offerings for the upcoming release is a better method of integration for 3rd party web applications (forums, wikis, etc. etc...). The current method using the phpBB integration file has been changed and will be known under a more generic name.

The basic method of useage is the same - the integration files is called from within the 3rd party application, the relevent DMCMS bits are created and then assigned to a local variable allowing the DMCMS parts (header and/or footer) to be seamlessly stitched into the 3rd party app.

It may be necessary to modify the 3rd party app so that the DMCMS header / footer replaces existing logos etc, but this is entirely down to you.

I revisited this a short time ago due to wanting to add the site footer onto the bottom of the forum, I've since revisited integration again as I have now included the DMWiki.

Continue reading
  2324 Hits
  0 Comments
2324 Hits
0 Comments

No Sleep Until 1am

{jcomments off}The automated user registration is now up and running on my test server. There are still some things to iron out and a few features to add to make administration easier but the basic system is in place and working.

I'm currently working on the backup / alternate method of user account activation so that, if required, activation can be done by administrators - this is usefull in cases where there is no access to a mail server or where site admins like to personally check and manually enable all registrations.

DM.

  2323 Hits
  0 Comments
2323 Hits
0 Comments

ReCAPTCHA

I just surfed across reCAPTCHA whilst researching some code for DMCMS. reCAPTCHA is a site developed to make better use of the 'Captcha' security devices utilised on most web sites. Captcha's are those pictures with distorted words that you need to type into a box to validate your submission when posting information on the web. They are used to prevent spam by trying to prevent automated scripts from posting information. The basic idea behind reCAPTCHA is that it uses Captchas to convert text scanned from books (the captcha picture) by validating and then storing the result - thus allowing books that cannot be recognised with OCR software to be converted into the digital format. A great idea!I am currently looking into integrating reCAPTCHA into DMCMS for user comment validation

  1081 Hits
  0 Comments
Tags:
1081 Hits
0 Comments

New Features On Their Way

{jcomments off}Work has been progressing towards the next release of DMCMS which will likely be another major revision due to the amount of changes that have happened. The template parsing methodology has completely changed, gone is the fixed layout and instead in it's place is a template based layout system that allow layouts to be configured within the template itself. configuration variables can also be set within a template configuration file allowing complete freedom to template writers.The user commenting system is also now up and running, in fact the only thing stopping the next version from being released is the incomplete user admin system which is currently being finished off.As usual I have discovered more IE related issues, this time relating to the layout, it's only a small bug and will be fixed by release time.I have also spent some time tidying up the code - although there is still a lot to do.DM.

  2128 Hits
  0 Comments
2128 Hits
0 Comments

0.7.0.BETA

Laughing
Laughing
Laughing
Laughing
Laughing
Laughing
Laughing
Laughing

{jcomments off}DMCMS.0.7.0.BETA is very nearly here. The files are finished and uploaded to SF.Net's servers but I just can't seem to add them to the download section. It might be my dodgy wireless internet card :cry: Hopefully I can finish the job when I get home later on.The 0.7.0.Beta update is a major update from the previous version (hence it's jump from version 0.6.X to 0.7.X) practically all of the files have been changed. The changes are mostly to address problems with how the site is rendered in Internet Explorer. which for the most part I have not taken care of due to mostly developing in Firefox.Hopefully now I have stopped alienating IE users by actually releasing something they can see/use the site traffic should go up and someone might actually join the forum.

All current bugs have been fixed in this version and some feature requests have also been incorporated. The main outstanding feature of user commenting has been postponed until a later release so that this release could be issued in a timely manner, work is already well underway on getting the next release finished.DM.

  2461 Hits
  0 Comments
2461 Hits
0 Comments

IE6 Display Issues

{jcomments off}It's just come to my attention that there are a few issues for Internet Explorer 6 users. This is mainly that the drop down menus do not work. A fix is being worked on at the moment, it will hopefully be ready for the 0.6.5 release this week.DM.

  2344 Hits
  0 Comments
2344 Hits
0 Comments

IE6 Display Issues Fixed

Wink

{jcomments off}The IE6 display issued have been traced to a simple spelling mistake (actually incorrect case on one character in a javascript function). The site has been updated but the fix will not be available until the release of version 0.6.5.beta. Work on 0.6.5.beta is currently progressing at a very fast rate, it is anticipated that it will be ready by the end of this week. Both the site and the demo site have been updated to the latest development ;evel.The Demo site is now also using the DMCMS template. There are still some issues to sort out with the template (mostly relating to IE6 not being able to correctly display PNG transparency) these will be addressed before the 0.6.5.beta release.For those of you who cannot wait until then for the IE6 drop down menu bugfix - simply make sure the term 'sfhover' is all lower case in the following files - /templates/.../banner.tpl & /templates/.../css/default.cssAlso, for those who cannot wait for the rest of 0.6.5.beta - all current changes are commited to the CVS repository - so you can checkout your own version.DM.

  2215 Hits
  0 Comments
2215 Hits
0 Comments