Browsershots - Get a view of your site on multiple browsers

Wednesday, June 4th, 2008

I was recently reading about a wordpress plugin on askapache.com, when I came across a previous post which he had written about CSS Browser Screenshots.

The utility is called Browsershots and it’s kick-ass! Well that’s only if you are worried about what your site looks like on numerous different web browsers on different operating systems. Different strokes for different folks ;)

The application generates screenshots of your site in the different browsers and then you can download the pack of images and be uber critical about your CSS.

Reviewing a CMS solution developed on Mediatemple with the Seagull PHP Framework, including Paypal integration

Wednesday, July 25th, 2007

On Friday 20th July I finally deployed a site which we as a team have been working on for a number of months. Working on the project has been a huge learning curve and has taken way longer than ever expected.

BD4D

The site which I am talking about is http://bd4d.com, which stands for By Designers 4 Designers is built using the seagull php framework with the new cms module

General comments

Media Temple Installation

During the live installation I encountered a few problems, most of which related to permissions of files on the server:

The main one however were the permissions of the /var/lib/php/session/ folder – it has to be writable

Plugins that I found really useful during development

There were two firefox plug-ins that I found very useful during development of the site:

Colorzilla – gives you # codes for colours on any webpage
IE tab – allows you to open up ie7 tabs within firefox, which is great for cross browser compliant xhtml/css

Thanks to the developers of these two add-ons ;)

Paypal

The site has a payment gateway for listing jobs and events which has transaction processing done by Paypal.

In terms of project mistakes, this was one of the biggest we made. The support that James received from Paypal was extremely poor and the general documentation which they supply is often out of date and incorrect. I am amazed that they have become such a successful company, when it is so difficult to integrate their transaction processing into one’s site.

However after a lot of waiting for accounts to go live, numerous queries, emails, phone calls and a lot of frustration, we did eventually get the transactions working. It is working fine now, but it was definitely not worth all of that hassle.

I would be interested to here about other experiences from developers using Paypal – hopefully you had a better one than we did.

Site Features

Showcase

The section of the site that I am most proud of is the Showcase section, which has flash and movies of some really cool clips which the bd4d guys have done. The section allows comments to be made on each of the movies and I think it looks pretty slick – even if I say so myself ;)
To get the section functioning, I used the following:

A comment manager which Dmitri initially developed and then I adapted that code to be used for the site.

To prevent spam on the site I used captcha package from the php pear library

And I used the following code in the template to hold the movies/flash files:

< object width="550" height="400" >
< param name="movie" value="{webRoot}/themes/bd4d/showcasemovies/
{oItem.media}" >
< param name="quality" value="high" >
< embed src="{webRoot}/themes/bd4d/showcasemovies/
{oItem.media}" quality="high" width="{oItem.width}" height="{oItem.height}" autostart="true">< / embed >
< / object >

Events

The Events calendar uses the default seagull events module as a basis, but there where a few enhancements made to fit the requirements of the site. The majority of the development of this section was done by James and I think that he did a pretty good job of it.

The calendar looks pretty slick and works really well, also the backend of the seagull events module provides a lot of flexibility for administrators wanting to manage events.

Job board

The Job board uses custom managers in the default module and as I have mentioned in my section about paypal, it allows members of the site to post jobs for a fee. The transaction processing handles straight paypal payments as well as credit card payments which are verified by paypal.

Conclusion

As I mentioned in the introduction this site took way longer than expected and there were a number of hard lessons which the whole team learnt. But at the end of the day, the site looks pretty good and works as expected, so in some way it can be seen as a success.

Tech 4 Africa - Technology conference

Friday, November 3rd, 2006

With the onset of an extremely cold snap of weather on the 1st November, I am longing to go back home to soak up some rays from the hot African sun during Christmas time.

Instead we will be hard at work in a cold and gloomy London, which is really not as bad as it seems. One of the things we have been working on is a project which is really close to the heart and will hopefully benefit the whole of Southern Africa.

The aim of this project is to hold a “web and emerging technologies conference” in South Africa. We want to get international speakers, who are industry leaders and who would like to give some advice to Africans involved in the Web and IT industry.

I have been doing quite a lot of research over the past few months and I really believe that a conference of this nature will be beneficial to the “African technology community”

We have a site up at and running (www.technologyforafrica.org), which is still undergoing some final testing before we start to contact Southern African companies involved in the IT industry. However, if you have any comments or suggestions please contact one of us, or just post a comment to this article.

I am hoping that we will get positive feedback from the majority of people who we contact because I think the concept of “Technology for Africa” is a fantastic opportunity.

The value of semantically correct XHTML, without using tables

Wednesday, October 11th, 2006

Ok, so I am going to use my revamping of the dating site as another topic for this post. As I identified in the previous post, we have inherited the code from a previous developer and are making improvements to the site.

The previous site was almost completely table based - yuck!! Dan Cederholm has a chapter in his book Web Standards Solutions, which is titled “Tables are evil?”. Now of course tables should be used when one is displaying tabular data, but in this case there is no tabular data on the site, maybe just some on the administrators CMS.

The “old” way of using tables for layouts is just so blotted and messy. Having tables within rows and doing styling within the code and not in the CSS, makes the site soooo difficult to manage and I am already seeing the benefits which the W3C have brought to website development.

So, some of the immediate benefits of not using tables, which I have been reminded of are the following:

  • Much less code - which means smaller files - which in turn means less space on your web server
  • Less code means less bandwidth and if you have a site with thousands of hits a day, this will have a huge impact on overall performance.
  • The ability to access the site with portable devices-mobile phones, PDAs etc.
  • It’s much easier to update layouts and styling via the CSS

I know that there are still loads of sites out there that are table based and which work perfectly. So I am not saying that it’s completely wrong to use them. It’s just that it’s so much easier not to use tables and there are lots of additional benefits which have become apparent in recent years.

The importance of good commenting

Monday, October 9th, 2006

We have been working on updating a cool dating website (well at least I think that it is cool ;)), to make it meet some of the new web 2.0 standards. The project involves revamping the original site, so we have inherited the previous code from the initial developer. I have been trying to do some backwards engineering of the code, to try and figure out how the site works. This is however proving to be quite a task because the previous developer did not put much effort into commenting and there is some quite complex code to sift through.

While I was studying, my programming lecturer always talked about the importance of commenting and he used to subtract marks from projects if the code wasn’t commented correctly. I am now realising how important a simple thing like commenting can be, especially if there are multiple developers working on a project.

I am sure that a vast majority of developers do use comments in their code and I will definetly make sure to use them more appropriately in the future