Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    MicroB and deep linking

    Reply
    devu | # 1 | 2010-05-04, 22:16 | Report

    Hi Guys.

    I have very specific question regarding to MicroB and deep linking approach.

    Flash and Ajax websites or apps if wont to support deep linking very often using this solution:

    http://www.asual.com/swfaddress/samp...ash/#/contact/

    However MicroB seems to be ignore everything after # which is very important here. If I am trying to enter this address reloading website from scratch. Is any chance that MicroB could support it? It's very useful since a lot of people pointing out lack of deep linking in flash as disadvantage. Which is not really true because that method exist from hmm.. 5 years or more, The only issue is laziness of developers ?
    But MicroB made it useless again.

    Hope there is somebody with a bit knowledge about this subject.
    MicroB it's completely new thing for me.

    Thanks in advance.

    Edit:
    For example very famous company in flash world http://www.2advanced.com/ using it as well. It's impossible for now to see their content on N900 at the moment.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by devu; 2010-05-04 at 22:20.

     
    Andre Klapper | # 2 | 2010-05-04, 22:49 | Report

    Is this a Flash-only issue, or is there also an example webpage without Flash?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    devu | # 3 | 2010-05-04, 22:58 | Report

    Not only flash

    Ajax version, working even worst because completely reloading whole website each time when script calling to address.js

    http://www.asual.com/swfaddress/samples/ajax/

    I've checked Midori and Chromium, those browsers can handle that without any issues.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    devu | # 4 | 2010-05-08, 05:49 | Report

    I was trying to find solution to that.

    Another one approach
    jQuery Address API

    http://www.asual.com/jquery/address/...pi/#/section/2

    Same issue.
    MicroB removing # sign.

    so.. no Ajax support, slower flash version in 1.2 what else?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    TomJ | # 5 | 2010-05-08, 07:17 | Report

    Surely the # in a url points it to an anchor element with the name attribute given after the #? Therefore #/... is invalid?
    http://www.w3.org/TR/html401/types.html#type-name

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to TomJ For This Useful Post:
    benny1967

     
    devu | # 6 | 2010-05-09, 01:56 | Report

    After your clue I founded example that working

    for example
    www.drupal.com/#1

    But this is nor deep linking in Ajax style at all.
    Anchors are pointing to elements inside one document.
    Deep Linking solution only using it, and fact the web browser will not reload whole page and let you change the state, pass some variables.

    But my point is, as web developer you have to prepare the content to make it compatible. Any other web browser doing it for you. I don't think we can force developers to rewrite some stuff on web because we wish to see it on MicroB

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by devu; 2010-05-09 at 02:03.

     
    Alex Atkin UK | # 7 | 2010-05-09, 02:57 | Report

    The big question here is - does linking in that way actually conform to a standard? You can't blame MicroB if that is a none-standard way of using the URL.

    Basically, you call a URL there is always a chance the page will reload, that is normal behaviour AFAIK. It looks to me like what you are wanting is actually a hack relying on web browsers not caring there is invalid data after the #, I am not at all certain if that is considered normal behaviour or none-standard.

    If its an actual w3 standard than fair enough, but if not then you can hardly blame MicroB for web developers poor choice of coding techniques.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Alex Atkin UK; 2010-05-09 at 04:19.
    The Following User Says Thank You to Alex Atkin UK For This Useful Post:
    benny1967

     
    devu | # 8 | 2010-05-09, 11:54 | Report

    Originally Posted by Alex Atkin UK View Post
    The big question here is - does linking in that way actually conform to a standard? You can't blame MicroB if that is a none-standard way of using the URL.

    Basically, you call a URL there is always a chance the page will reload, that is normal behaviour AFAIK. It looks to me like what you are wanting is actually a hack relying on web browsers not caring there is invalid data after the #, I am not at all certain if that is considered normal behaviour or none-standard.

    If its an actual w3 standard than fair enough, but if not then you can hardly blame MicroB for web developers poor choice of coding techniques.
    Don't get me wrong, I am not blaming MicroB, it's great browser but in this particular example doesn't work and is only one browser I know that doesn't support this "hack". Yes that's hack refer to W3C.

    I do not agree personally that everything what W3C will say is good because very often they are against technology evolution. And I don't wont to guess who really is behind this organization.

    But whatever we can say about this doesn't change the fact that many Ajax solutions just doesn't work because only 1 method that became popular.

    Anyway if somebody would like to create MicroB friendly content I have couple of useful links. Especially if you are working with flash.

    The best well know practice how to embed flash file:
    http://code.google.com/p/swfobject/wiki/documentation

    Something that you need to deal with to make it working
    https://developer.mozilla.org/en/DOM/window.location
    https://developer.mozilla.org/en/DOM...w.onhashchange

    And how to deal with
    http://www.actionscript.org/resource...t-3/Page1.html

    This way you can prepare your own solution and actually more efficient than swfaddress method.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Alex Atkin UK | # 9 | 2010-05-09, 20:37 | Report

    What bothers me is that Ajax is "supposed" to be standards compliant, and obviously that is not.

    Granted, I see no reason why that hack should not be a standard as it kinda makes sense. Its basically an anchor inside a plugin, rather than an anchor within the HTML. But it bothers me that sites might use something like that and make it essential for the site to work, when there should always be a fall-back.

    I use HTML5 webkit/mozilla rounded corners on my site and a custom font, but it doesn't break anything if support is missing. Although I do not test my site in other browsers anywhere near as much as I should. Often find silly things broken in IE.

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout