Results matching “strict” from Ye Olde Rad Blog III

"Hey Rad Man!" began an email I received last week. "I'll pay $100 for a link on your Downloads page." Of course, there's no way of knowing if such offers are legit .. until the cash arrives.

 BenjaminI've researched Search Engine Optimization (SEO) enough to know I don't much care for it.

Programming I enjoy, but SEO contains a seemingly endless amount of info to digest, some of which conflicts from site to site.

And the suggested techniques are often time-consuming, with dubious results that demand the patience of a saint before you start to see results. Rather focus my energies on generating original content.

Moreover, some of the techniques used to 'optimize' web pages (for higher search engine rankings) seem manipulative, if not downright dishonest. Many of the SEO sites I've visited have a 'slimy' feel to them » detailing how to trick search engines into ranking your pages higher.

I learned that links from 'ranked' pages will (in turn) yield greater 'importance' to the pages that those links aim at (point to). This is (I assume) what this person had in mind when she contacted me.

The email seemed both professional and specific. (Not slimy.) The girl was clear about what she wanted. And best of all, her proposal could be implemented minutes. (Simple.)

The problem was .. that the page they wanted a link on was created back when I knew squat about web standards (XHTML & CSS). The underlying mark-up (code) was a rat's nest of deprecated tags and coding no-no's.

Downright embarrassing .. from a webmaster's point-of-view. Miracle the page would render at all (.. even in 'quirks' mode).

Reblog this post [with Zemanta]

Changed the type of layout I use on the home page .. to » LIQUID-ELASTIC hybrid. If I did this correctly, you shouldn't notice any difference .. unless you change your default text-size (.. by selecting 'Text Size' from the 'View' menu in IE). Lemme know if you notice any display quirks.

Liquid CSS Web Design LayoutThere are 4 different 'types' of layout designs:

  1. FIXED (column widths remain fixed, no matter what, used » here)
  2. ELASTIC (column widths change with changes to your preferred font-size)
  3. LIQUID (column widths change with changes to browser-window sizing, used » here)
  4. HYBRID (combination of two or more of the above, used »  here)

I've long preferred LIQUID layouts (sometimes called » FLUID), which resize column widths as you resize your browser window (called the "viewport" by those in the biz). It's easier for me to understand the concept behind LIQUID layouts .. than ELASTIC.

Today however, I'm demo'ing a » HYBRID layout .. that combines elements of both LIQUID & ELASTIC. [ If you've read my SCSI guide, you know I'm a fan of hybrid config's. ]

The center section/column remains » LIQUID, while the two sidebars (blue-green colums) are now » ELASTIC. This means they will resize with changes made to your preferred font-size (e.g. » small, medium, large, gigantic, etc.). The center section will continue to change proportionally, as you resize your browser window - just like before.

Resizing your browser window will no longer affect the width of the blue-green sidebars (which are already skinny), while changing your default font-size will not affect the width of the center column/section.

The design itself of the home page has remained unchanged. Only the 'type' of layout has been modified (.. from LIQUID to » LIQUID-ELASTIC hybrid). This new type of page layout is considered more 'accessible' ..

.. especially for those who might have difficulty reading smaller text, and need to bump up their default font-size.

Two concepts introduced early-on in the career of any aspiring programmer are » syntax & semantics. Syntax refers to the structure (or form) of code that a programming language specifies. Semantics refer to the meaning .. assigned to symbols, characters & words.

Arabic numeral threeI first became familiar with the notion of syntax while studying Cascading Style Sheets. CSS syntax employs the following form » selector {property:value}. Simple enough, no?

This form/structure allows you to style your web pages with 'rules' such as » p {color:green} .. which will change the color ('property') of text in a paragraph ('p' = selector) to (a 'value' of) » green.

While CSS might not be an official programming language, it does contain aspects that (in some ways) resemble them. And all programming languages employ syntactic rules. BTW - here's a good CSS book.

A professor once told me that the standard form (syntax) of a sentence in the English language is » Noun-Verb-Direct Object. In other words » 'Bill hit the ball.' Or, 'Mary ran up the the hill.' ( "This does that to the other." )

Most English-speaking people would agree that this format tends to work best (to convey ideas). But it is not a hard-n-fast rule. You can easily say » 'Up the hill ran Mary,' or 'Mary up the hill ran.' People might think you weird, but they'll know what you mean.

In English, we say "black beans." But the Spanish-speaking Mexicans here in Southern California put the adjective AFTER the noun » "Frijoles negros." (Can't believe frijoles negros has its own dang Wikipedia entry.) I'm chowing on a bowl of some frijoles negros & rice right now.

Programming languages (on the other hand) have little sense of humor. Break one of their structural rules and they will not only protest, but boycott your program outright. Obviously there are reasons for this strict precision. There can be no misunderstanding.

One of the concepts that keeps popping up in my study of Programming languages is » expressiveness. Loosely defined, expressiveness is » the ability to say a lot with a little (my own definition).

ShakespeareWhere Programming languages are concerned, expressiveness might be the ability to DO a lot with a little.

Related terms » Meaningful. Concise. Simplicity (as it applies to the elimination of unnecessary complexity). Elegance. Efficiency.

No doubt, you know an 'expressive' person or two. But sheer volume of words does not an expressive person make.

Some people can talk for hours without really saying anything (.. at least not anything meaningful). While others can speak volumes with a simple glance.

In programming, the notion of expressiveness is often touted as a plus, associated with "higher level" languages. I could be wrong, but the idea I get is » the more expressive (a language is) the better. Notice the statement that begins the second paragraph here:

"My contention is that expressive power is the absolutely most important property to focus on right now."

This from a developer with an admitted "unhealthy interest in programming languages," who's currently developing his own. Since the learning process often involves relating new information to things we already know, that's what I've been doing.

As chance would have it, I was watching Hamlet last night (the Kenneth Branagh version). Didn't take long to realize much of what was being said wasn't getting thru. ( "Say what?" )

So I enabled English subtitles and started vigorously working the pause button .. in order to read & digest the Elizabethan chatter. Much better.

Saying Much with Little

Note how the phrase » 'To be or not to be' is exceedingly simple. Yet it carries much meaning beneath the surface (.. especially that 'not-to-be' part).

The ability to "say much with few words" is a primary reason cited when discussing Shakespeare's literary prowess. In other words, it's not just what he says, but the way in which he says it .. that makes his writing so .. descriptive, enchanting.

It occurred to me again today, while composing a short thank-you note, that Texans donate more to the Rad cause (this site) than all other states combined.

TexasNever been ever to figure out this statistical curio, seeing I live in California.

I've lived in many states over the years .. including Connecticut (where I grew up), Florida, (where I attended both bootcamp & the Navy's Nuclear Power school), Maine (shipyard at Bath Iron Works), Hawaii (the first state away from home to feel like home), Idaho (gorgeous .. in the summer), Washington, Pennsylvania & Illinois, and vacationed in many others, but Texas isn't one of them ..

.. tho I do recall being enchanted with the sense of expanse there as I drove thru the panhandle on I-40 (on my way to California). There was something compelling about the landscape .. readily apparent soon as we crossed the border. Vast & open. Felt like I could see for a hundred miles. Couldn't stop looking, as if it were beckoning.

So maybe Texans are simply the most generous?

Anyway, thanks to all you Texans for your continued generosity over the years .. especially during these difficult economic times, when so many are struggling financially. I'm sincerely grateful.

If I knew then what I know now. Ever uttered those words? Looking back on my progression of web skills, one omission stands out » incorporating the use of templates to help develop & maintain the pages of my web site.

Templates are both powerful & flexible for two reasons:

  1. They speed up site development, by allowing the rapid creation of web pages based on a preformed (uniform) structure .. so all your pages have the same look & feel.

  2. They facilitate site maintenance, by enabling structural changes site-wide via the editing of a single-file .. similar to how CSS works. This aspect of templates is considerably more significant than item #1.

Dreamweaver TemplatesIf your web site grows bigger than expected (as they usually do), and you want to make structural changes (non CSS-based changes) to your web pages, you'll have to edit each page individually (.. which suks giant goose eggs). Tedious maximus.

When CSS came along, website designers could transfer all style controls into a single file, so that the look of an entire site could be modified by editing a single file (provided, of course, the entire site was based off of the same style sheet). Very cool development.

But what about structural changes? That's where templates come in. To be honest, I'm not sure if web design programs (such as Dreamweaver and Expression) had the ability to generate templates back when I launched the site. But they do now.

CSS-based Tabbed Menu (Centered)

|

Created a tabbed menu today .. something I've been meaning to do for ages.

Kandinsky's Black Spot

The menu displayed at the top of the homepage is pure-CSS driven (no images used). Using images would allow for more creativity, but would also add to the page's download-weight. (And I use enough images already .. in the daily entries.)

My goal was to design a tabbed menu that was both simple & functional. I'm pleased with how it turned out .. tho it took a surprising amount of tweakage to get it to look the way I wanted.

Now that I've developed a basic format, I can tweak & adapt as necessary.

Might look simple, but centering that menu had me jumping thru hoops. I reviewed several methods and finally decided to modify Ethan's approach .. so it would resemble the cleanness of Eric Meyer's tabbed navbar (which is not centered).

Photos from Moçambique, Afrika

|

As promised, here's some photos from my South Afrikaan friend (who lives in Johannesburg). He works in the Film industry down there and loves cool technology.

Mozambique Woman

Seems like he's always traveling to one exotic place or another .. places with exotic names .. like Drakensberg (Afrikaan: Devil's Mountain) and Patagonia. (Yes, I'm jealous.)

Today's photos come from » Moçambique. (I actually had to look on a map to see where that is .. as is the case with most of the photos he sends.)

Moçambique sits on the east coast of Afrika, just above South Africa. It also shares borders with Zimbabwe, Zambia, Malawi and Tanzania. Off its coast sits the island of Madagascar.

Steve sent 5 pics, with the following note:

Just returned from a weekend escape across the border to Moçambique. Here's some pics from the capital city, Maputo, and surrounding areas.

Jo'burg sits on a high-altitude grassy plain. In comparison to most of Africa, its climate is rather harsh and frigid. Maputo, on the other hand, is further north. It sits right on the coast, and as a result is hot, humid & verdant.

"Pick the professor, not the course" is sage advice for those heading off to college. With that in mind, I've discovered an exceptional instructor for folks wishing to master some of the programs contained in Adobe's Creative Suite.

Deke McClelland | Boulder, ColoradoSeems like I'm always up for learning some new digital tricks and » Deke is da-best instructor of Adobe programs I've found yet .. where the term best means easiest to learn from.

He specializes in Photoshop, but also teaches Illustrator & InDesign. It's clear he has been teaching and refining these courses over many years.

Of course, we all have different learning styles, so we respond differently to different types of instructors. But I feel comfortable recommending any of the titles he has authored, especially those contained in his trademark series » One-on-One.

I like how he comes across as someone who is more concerned that students learn the program and its accompanying toolset than trying to impress you with their level of knowledge. I most like that he obviously has the technolust. His enthusiasm is contagious.

His courses nicely balance a folksy demeanor (he lives in Boulder) with technical jargon. Very personable. Doesn't seem to take himself too seriously.

For example, he has no problem referring to Illustrator's Selection and Direct Selection tools as » "the black-arrow tool" and » "the white-arrow tool." Little touches like this help demystify Adobe's most sophisticated programs.

Redesigned the site's » Archive index page (from scratch). It contains links to all monthly archives posted since the site's launch (summer of 2000). Gateway to Memory Lane.

Knights debating the importance of good table design with King Arthur

Been meaning to do that for some time now (years, actually). That page was the single-most mucked-up page on the entire site. The code was a rat's nest of deprecated standards, poor design choices and mark-up errors. I'm surprised it would render.

Began that page back when I knew very little about HTML and before I'd even heard of CSS. Over the years, the muck seemed to multiply as the page grew. It's not a highly trafficked page, so I didn't worry about it.

Tho at sundry times, I'd go in and try to manually clean up the code. That always proved an exercise in futility. Seemed like the more I tried, the worse things got. The only real solution was a complete makeover (a move which could be viewed as symbolic of the site's growth and development).

Now the page contains a third the mark-up it did before (10-KB vs 30) and the styling looks 3X cleaner, by making use of advanced techniques such as colgroup styling for better readability. Leaner, meaner and faster-loading.

Rad Goes Strict (XHTML 1.0)

|

I converted the homepage to » XHTML 1.0 Strict (document type declaration) from XHTML 1.0 Transitional (which applies the rules associated with rendering web pages more loosely).

Strict

Only problem I had was the square Google AdSense ad, which I've traditionally wrapped in a <table> tag/element .. which is not the correct way to code it. (Cuz it's not really a table. Rather it's a JavaScript script.)

In Strict, I needed to convert the <table> to a <div> and "float it" left (in CSS) .. otherwise none of the other text would wrap up alongside the ad (like it does now).

All the images in the center section had to be assigned a class and 'floated' right (in CSS), cuz the Strict DTD does not allow you to align="right" .. like I used to do.

Aligning deals with "presentation" (as opposed to structure and content), and the Strict DTD moves everything pertaining to presentation out of XHTML (and into CSS).

I'm actually fairly comfortable with the requirements of the XHTML 1.0 Strict DTD .. enough to begin creating all new pages using the Strict doc-type declaration.

WiredTree Virtual Private Servers (VPS)Biggest problem I had moving the site (to our new VPS server) .. was the blog not working.

Readers could still view pages/entries, but the blog-interface (which allows me to create new entries) would not load.

Instead of launching the interface, the master script-file (mt.cgi) prompted a *download*. ("Would you like to download, open or cancel?")

That suk'ed .. cuz I make much use of the blog .. to help keep the home-page lean-n-mean.

(Tho I create these entries in Dreamweaver, cuz it's a far superior tool to what you find in the MT interface, far as web page creation goes. Then I copy-n-paste into MT. That's why the blog entries always come after you see/read it on the home page.)

Normally I have a plenty of tools in my Troubleshooting bag-of-tricks, but this problem left me scratching my head.

I'd never seen this type of behavior. And neither had anyone at the Movable Type forums. (I use the new Open Source version of Movable Type » v4.1.)

Not being able to use the blog was a major bummer. Fortunately, I found an article that offered a solution .. even tho it appeared to address a different problem.

Find recent content on the main index or look in the archives to find all content.