Home » Archive

Articles in the Web Development Category

Apache, Linux Administration, Web Development »

[4 Dec 2009 | One Comment | ]

mod_rewrite is a powerful Apache module that gives you the power over the URL’s displayed to your visitors to your site.
Much has been written already by many people using both examples and tutorials of the basics. The aim of my addition, as always is primarily for my own notes and secondarily to explain why you want to use mod_rewrite for SEO ranking retention.
Let’s say you have a website that enjoys well ranked pages and a lot of traffic via google or has a great deal of Backlinks from other …

Cross-Platform, Design, Open Source, Web Development »

[1 Oct 2009 | No Comment | ]

I have previous written about PDF Editors for Windows and Linux here and here, so this is, in effect Part 3.
I have used OpenOffice PDF Import Extension, PDFEdit and numerous other tools listed in my first posts but nothing works as well as the latest Inkscape. It has one downside though, right now. That is, you can only edit one page at a time.
So here’s a random PDF I found by googling for random PDF ;). Here’s a shot of the first page in my PDF Viewer (evince).

Now we open …

Cross-Platform, Linux Administration, Web Development »

[25 Jun 2009 | No Comment | ]

Today, I came across a document where I had to type a degree symbol in Linux. Thanks to this post at Arch Linux Forums, it was painless to find out how. So here it is:
In windows, apparently you hold down Alt+0176.
Linux is different and to achieve the same, hold down Ctrl+Shift and type u+00b0, though if you are writing for html, the correct symbol is
°
Alternatively you can copy and paste it from this table on wikipedia, which includes other useful symbols like Pound, Registered and Copyright.
It will actually type the …

Linux Administration, Virtualization (Virtualisation), Web Development »

[10 Jun 2009 | 2 Comments | ]

Pluf is a PHP Framework developed as a port of Django to PHP. It claims to be simple, elegant and easy for people used to Django but in PHP5 so easy to deploy all over the world.
After reading the documentation, the file layout and concepts are all quite similar to django, though a downside is that we lose much of the beauty of the Python language and it doesn’t seem to have the Admin interface that makes django so delightful to work with.
Here is a sample of a helloworld, which …

Apache, Bash, Javascript, Linux Administration, Web Development »

[1 Jun 2009 | 10 Comments | ]

So, you have used Website Optimization Analyzer or you installed Yslow for Firefox or you discovered somewhere else that compressing your files (html, javascript & css) is a good thing to do. Unfortunately, it’s not always as easy as it looks to do this.
In Apache web hosting environments, there is a module called mod_deflate (for 2.x versions) or mod_gzip (for 1.3) versions. This is generally the easiest way to get content compressed. As in my last post about Magento, you should normally be able to enable this safely with the …

Apache, Ecommerce, Javascript, Open Source, Web Development »

[7 Apr 2009 | 3 Comments | ]

Having implemented a number of websites now in Magento and being the web hosting provider for them also, it’s been both challenging and rewarding trying to get Magento running at an acceptable speed.People generally don’t understand what’s happening when they say “my website is slow”. So, for those of you unfamiliar with benchmarking / understanding what factors to consider when a page loads from a server, we have quite a number of variables.

Your URL you type into a browser, translates to an IP address – this check should take a …

Design, Internet Goodness, Open Source, Unix & Solaris, Web Development »

[5 Apr 2009 | One Comment | ]

One area sadly lacking in most Linux installs is the availability of really nice fonts useful for design and great fonts are not cheap, circa $150 for a font set. Best all in one location for getting great free fonts, I think is www.fawnt.com
If Ubuntu really wants to have a go at competing with the Mac, this is certainly an area that needs improving.
You can install fonts system wide by dropping them (or folders of font families) into /usr/share/fonts or alternatively, kfontviewer a KDE application will give you a nice …

Javascript, Joomla, Web Development »

[20 Feb 2009 | One Comment | ]

Joomla 1.5’s use of Squeezebox in the backend makes for easy use in the frontend. Thanks to this article at Dvector.com I was able to mash up a lightbox style feedback form for category listing in sobi directory component.
Technorati Tags: Joomla, Joomla 1.5, Squeezebox, Lightbox, Email

Apache, Linux Administration, Open Source, Web Development »

[29 Jan 2009 | No Comment | ]

Hopefully this helps me or someone else with the same issue in the future

suhosin[25917]: ALERT – configured POST variable limit exceeded – dropped variable ‘task_com_morfeoshow[]‘ (attacker ‘xxx.xxx.xx.xxx’, file ‘/home/user/public_html/administrator/index.php’)
in your php.ini (or suhosin.ini depending on your setup)
[suhosin]suhosin.post.max_vars = 2000suhosin.request.max_vars = 1000

Technorati Tags: suhosin, apache, joomla

Bash, Internet Goodness, Open Source, Python, Web Development »

[29 Oct 2008 | No Comment | ]

I have been playing around with boo a little bit because it has Python-inspired syntax, runs at C# speeds and is a first class citizen on dotnet.
So I decided to find out what it would be like to do some web programming in it. I learned a bit about asp.Net in the process and mono also.
So first thing I did was:
$ cd /usr/share/doc/boo/examples/asp.net$ xsp2
and then from your browser you can run any of the “inline” samples
http://localhost:8080/InlineBooButtonClick.aspxhttp://localhost:8080/InlineBooExpression.aspxhttp://localhost:8080/InlineBooHelloAspNet.aspx
but if you try and run one of the code behind samples, you get something …