Oily Rag 1: Introduction

From The Uniform Server Wiki
Revision as of 21:52, 8 July 2008 by Ric (talk | contribs)
Jump to navigation Jump to search
Oily Rag: Be prepared to get your hands dirty.

UniServer 3.5-Oily Rag Introduction

I am slightly saddened by the fact; Uniform Server 3.5 is the last in its series. The new model "four" series will eventually supersede it. However before that time comes with its boast of go-faster stripes, super plugins and 0-60 in the blink of an eye, I thought it worthwhile having an in-depth look at 3.5, sort of lift the bonnet and have a poke around.

Analogy

I use a car analogy because Uniform Server 3.3 is reminiscent of older cars where you can dive in, get your hands dirty, fine tune and bolt on a few goodies to make it uniquely yours.

Like a car you would not recast an engine block or camshaft, these are fixed components similarly DLLs and exe files are pre-complied hence are fixed components. In both scenarios you can tweak, move components around, add little extras, even move the air intake to act as a vacuum cleaner, this blows your engine apart as it sucks up a puddle of water.

Leads me onto component reuse, buried within 3.5’s architecture are some very elegant, standalone components just asking to be reused, perhaps in other projects however I am thinking more in terms of tweaks saving extra work when coding.

Top

That dream

Ever purchased a brand new car, sat there looking at the dashboard wishing you could remove or add a new switch.

Not a chance for fear of devaluing the car, however take a look at 3.5 admin’s panel and reek your revenge; it won’t be devalued when you break it, just install a brand new one.

Top

Opulence

Well if you are feeling opulent you can have a model 3.5 for every day of the week.

I purposefully neglected to state what the model refers to, thus giving me the opportunity to empathise that Uniform Server is much more than a web server.

Top

Just get on with it!

If I were reading this article, by now I would be screaming! Show me something new and shut up. OK at least it’s not full of those irritating adverts.

So I lied!

Could not resist it.

At best they provide eye candy.

After a time become so irritating

Result Click through

Bandwidth is valuable don't waste it

Top

Title

For this series I could not think of a better title, oily rag seemed appropriate.

Anything you read in this section requires you to roll up your selves and get your hands dirty.

However I take no responsibility for any hair loss, blood dripping down walls (please bang your head against something else) or laptops that are hurled out of windows (could move to a basement flat).

Top

Skills

Skills required, knowledge of CSS, HTML, be a competent programmer preferably in C++, PERL, PHP, MySQL and machine code and that’s only to service a car.

To complete any topic in this section I found copy and paste more that adequate.

For once in my life I will be very serious no mater what fancy titles or terminology you see it all boils down to one thing, manipulation of text files. If you know where to find these text files you can hack them to your hearts content and make them work for you.

Top

Oily Rag - Content

3.5-Apollo problems and bugs

In keeping with the oily rag philosophy you will find detailed information on how to correct bugs in Uniform Server 3.5-Apollo.

The bug count has increased slightly I have consolidated these in a separate section 3.5-Apollo problems and bugs

Running 3.5-Apollo as a Service

I have retained this in the Oily Rag section because various pages require changing however installing and running see Running 3.5-Apollo Service remain easy.

Check out Combined bug fix it includes all pages that need changing.

CD Part 1

Introduces techniques required to convert Uniform Server to run from a CD. Highlights files which pose a problem these contain functions that require read/write access. These are modified to produce a working example no frills check out Part 1

CD Part 2

The example in Part 1 although functional is a one way process Part 2 introduces the concept of file switching which greatly enhances the plugins functionality. Concludes with a down loadable plugin USCD1.

CD Part 3

Part 3 highlights problems with plugin USCD1. Proposes an alternative solution to file switching and introduces Perl commands (instructions) that will be used in a new plugin USCD2.

CD Part 4

Part 4 consolidates all the ideas to produce something resembling a usable plugin. You can download plugin USCD2 this provides a reasonable starting point that you can tailor to your own application.

CD Part 5

Part 5 Introduce components required to provide a complete CD solution.

CD Part 6

Part 6 Looks at making the CD independent of an host PC's browser. It also shows how to host several sites on the same CD.

Dedicated drive

Running Uniform Server on a dedicated drive is extremely easy. No need to run as a service, removes the need for a virtual drive. This gives it a slight speed advantage when run on a USB stick or separate partition on a hard drive or even a separate hard drive.

Top


Ric