Dynamic Resolution Dependent Layout Using JavaScript

Its a few vowels short of a buzzword, but don’t hold that against it.

There is a strong trend at the moment towards dynamic resolution dependent layout via JavaScript, that is the page rearranges the layout of its content via element-wise x,y positioning or changes to some of it’s fundamental CSS properties in response to changes in the browser window size.

We have used this rather effectively in the V8 Supercars Media Center Application.

Here are some examples (Load the pages and re-size the windows).

Example 1

Example 2

Here are some good posts

Latest post of interest by The Man In Blue.

Keven Hale discusses it here.

PPK had something to say about it.

Posted in AJAX, Coolhunting, JavaScript, Web2.0 | Leave a comment

Contact

I can be contaced via MSN on james AT ebom.org or on googletalk or email as drmiaow AT gmail.com.

Posted in Uncategorized | 2 Comments

Bigpond V8 Supercars Panelbeaters Podcast

We have produced our first Podcast!

http://www.v8supercar.com.au/content/panelbeaters_podcast/podcast.xml

Its for V8 Supercars – the site we scooped the AIMIA awards with.

Posted in Massive | Leave a comment

Web3.0

Fantastic article about the hype and truth of Web2.0 by Jeffrey Zeldman.

“We pause but a moment to consider two AJAX-related headaches.

The first afflicts people who make websites. Wireframing AJAX is a bitch. The best our agency has come up with is the Chuck Jones approach: draw the key frames. Chuck Jones had an advantage: he knew what Bugs Bunny was going to do. We have to determine all the things a user might do, and wireframe the blessed moments of each possibility.

The second problem affects all who use an AJAX-powered site. If web signifiers and conventions are still in their infancy, then AJAX-related signifiers and conventions are in utero. I am still discovering features of Flickr. Not new features – old ones. You find some by clicking in empty white space. This is like reading the news by pouring ACME Invisible Ink Detector on all pieces of paper that cross your path until you find one that has words on it.”

Posted in Rants, Web2.0 | Leave a comment

No Mozilla Protocol Plug-in Example Or Documentation

http://www.mail-archive.com/mozilla-netlib@mozilla.org/msg02102.html

So looks like I’m giving up on Mozilla development of a protocol plugin in C++ – the platform is simply just not mature enough to develop against. I have wasted 4 hours of my life only to find that someone has been too lazy to build an example that builds against the gecko-sdk in C++, or too lazy to build a gecko-sdk that lets you build protocol plugins. Sorry Mozdev, but its just not reasonable to expect someone to have to download and use the entire Mozilla source tree to get a handful of IDL files.

Any modern browser should be able to have a pluggable protocol handler written in C++ (or at least something other than JavaScript)

Also the mozilla documentation is a bit of a joke.

Looks like I can do it under javascript – and hand off the binary stuff to a plugin – so we have a viable solution.

I will continue the C++ route for one more night – I’m hacking away at a C++ project file that builds me what I’m missing from gecko-sdk

I’m starting to miss the parser… want to get back to it soon. Wading through other people’s code and trying to get two interfaces to talk to each other but failing because I don’t know the secret undocumented massonic handshake is not my idea of fun.

This is why I prefer to write my own code from scratch – in some cases it takes just as long – and I learn something. if it does take longer At least you feel like you are achieving something and not hunting google for some scrap, anything that will make up for the lack of good docs – and I still learn something.

Research Notes

http://www.mozilla.org/projects/netlib/new-handler.html

http://archangel.mozdev.org/new-protocol.html

How to do it in JavaScript – yes but C++? No!

http://nexgenmedia.net/docs/protocol/

Promissing

http://www.mail-archive.com/mozilla-netlib@mozilla.org/msg02239.html

Not Perfectly Accurate Diagram

Mozilla Internals

http://mb.eschew.org/16.php

Looks like I can do it under javascript – and hand off the binary stuff to a plugin – so we have a viable solution.

Posted in C#, MetaWrap Server, Rants | Leave a comment

Web2.0 – Its All About The API – If You Want To Be Bought By Google/Yahoo/Microsoft

So Michael Air looks over my shoulder when I’m looking at egoRank and asks a fairly obvious question, “But how are they going to make any money?”.

My stock response came out “Someone will buy them.”.

Then it hit me.

Its all about the API.

So my response was as follows…

“Its all about the API, if they have an API and people start using it and it gets well infused into the net, then its harder for someone to just replicate what they have done and start competing from scratch.”

It would make more sense to purchase them for the goodwill associated with the penetration of their API.

If you want to take on an existing Web2.0 application you need to provide something that is compelling enough that people desire to migrate and believe that their current service won’t be able to replicate any time soon

Ideally you also need to clone the API so that its painless to migrate (Lawyers, Guns and Money).

 

Posted in Rants, Web2.0 | Leave a comment

Sydney, Unrest, Muslims, Kebab

Tonight I met a very tall man.

I am not short – but he towered over me.

He was very well educated and very well dressed.

His girlfriend was a gorgeous young woman.

Every year at Massive’s Annual Xmas party – I end up at Goreme’s to purchase a Kebab to sign off the night.

When I walked in this distinguished gentleman protagonist was waiting for his Kebabs. Then he and the proprietor discussed payment. The crux being that a kebab with “the lot” requires an extra fee.

Our tall bald protagonist storms off with his lovely girlfriend – leaving the Kebabs incomplete on the counter.

I am then assaulted with curses from the proprietor. “This man acts like an animal” – “This man – his mother works in Kings Cross” (Translation – His mother is a prostitute) – “This is what is wrong with Australia – animals like that”

Based on our protagonists accent its more likely that his mother worked, as a Judge, at Crufts – but I listened and understood.

I could only agree that our protagonist was rude and for some reason decided that tonight was the night to renege on a deal, an act that in middle eastern culture is the equivalent of taking a dump in someone’s loungeroom.

He could have at least haggled.

After he left, my kebab came, I paid and I left. I could not resist. I ate it before I had walked a block – and then I walked back and ordered one more.

Waiting in the shop, two blissfully silent minutes past.

Our protagonist bursts through the door with two bags of Burger King, and shoves them towards the proprietor saying “look look. Only cost me $14.00 – look!”

He was making his point and from the grin on his face obviously having a ball.

I just had to say something. – “What is your problem’ Why are you dong this'”

“Why are you getting involved'”

“Because you are being rude, and given whats been happening lately…”

“I am not being rude”

“In what way is anything that you have just done not rude'”

He walked right up to me.

At no point did I feel threatened – he was not a thug – just a young, tall, handsome and confident man from Great Britain. But he was so tall. He smiled and was ever so sure of himself – I felt my lips quiver.

“Why are you getting involved'”

I had to say it.

Its people like you wot cause unrest

“This is my argument with this man – why are you getting involved'”

“Because you are being rude, and given whats been happening lately I don’ think you are being very responsible – you entered into a verbal contract with this man to purchase some food and then you…”

The proprietor who was obviously very agitated bussled the man out of the shop – and I agreed quite happily to walk outside to continue the conversation

“Do you know anything about contracts or torts’ A Tort requires a duty of care on both sides and…”

OMG – I was in an argument with an upper class twit lawyer…. So I could take him on if it came to an argument about physics, chemistry, assembly language, solving partial differential equations, information theory, the web 2.0 movement, linguistics, entropy, quantum loop gravity and knot invariants in low order topology – but damned law – so I attacked on the only front I knew that lawyers were weak on.

“Do you know the difference between right and wrong'”

He paused, just for a moment.

The proprietor who was obviously very agitated asked me what I wanted on my kebab – and then called over the police who just so happened to be passing by.

The police seemed to recognise the situation and were completely on their toes. They could not have handled it any better, The man was questioned as to whether or not he ordered some food. Did money pass hands’ – The shopkeeper offered the the open cadaver of a kebab and probed at its innards with his finger angrily shouting- “This man is an animal – he is what is wrong!”

Our protagonist is asked to be on his way – the police say sorry – but “we can’t arrest someone for being an asshole”.

I paid for my kebab, the proprietor exclaims “100 times I say – you are a good man!”

I wanted to tell our protagonist much more – but he was off with his burgers under one arm and a model under the other.

I wanted him to define civilization and the requirement for self constraint. I wanted to ask him to consider what has been happening lately – and question if he has a duty of care towards our fragile society’

He will get home and feel good that he made a great argument and that he was perfectly within in his rights to do what he did.

And the proprietor of Goreme will go home and tell his community and family of the disrespect he got at the hands of someone that society says we should aspire to be.

Posted in Massive, Politics, Rants, Things To Do | 2 Comments

Attention Rank

Next years big web buzzword will be “Attention”

AttentionRank will be the new way of measuring relevance.

The poster child for Attention will be http://www.memeorandum.com/

Posted in AttentionRank, Coolhunting | Leave a comment

More Reason To Continue With The MetaWrap Rendering Pipeline

Great post by Dave Johnson that replicates and surpasses some of the benchmarking I have already into the practicality of using XSLT.

This is why XSLT is at the heart of the MetaWrap JavaScript Rending Pipeline.

The rendering pipeline and macro recorder are my current primary research interests – should have an interesting announcement in the next few months..

Posted in JavaScript, Web2.0, XML | Leave a comment

JavaScript Speed Trials – Post III

Comment Tests – Parsing

In this test the test code is parsed 100 times for each measurement.

The number of comments varies from 1 to 10000 in increments of 666. Each of the comments is 64 characters long

 

comments_ie_parsetime.png

 

Looks fairly linear – even for a large number of individual comments. Pretty much as expected. No severe penalty for making lots of comments other than the cost of loading and parsing.
Posted in JavaScript, JavaScript Benchmarks | 1 Comment