Mondi su mondi, sistemi di sistemi.

links for 2010-09-08

  • auto­ma­ti­cally hyphe­na­tes texts on web­si­tes if either the web­de­ve­lo­per has inclu­ded the script on the web­site or you use it as a book­mar­klet on any site.
    runs on any modern bro­w­ser that sup­ports JavaScript and the soft hyphen (­).
    auto­ma­ti­cally breaks URLs on any bro­w­ser that sup­ports the zero width space.
    runs on the client in order that the HTML source of the web­site may be ser­ved clean and svelte and that it can respond to text resi­zings by the user.
    fol­lows the ideas of unob­tru­sive JavaScript.
    has a docu­men­ted API and is highly con­fi­gu­ra­ble to meet your needs.
    sup­ports a wide range of lan­gua­ges.
    relies on Franklin M. Liangs hyphe­na­tion algo­ri­thm (PDF) com­monly known from LaTeX and OpenOffice.
    is free soft­ware licen­sed under LGPL v3 with addi­tio­nal per­mis­sion to distri­bute non-source (e.g., mini­mi­zed or com­pac­ted) forms of that code (see source code hea­der for details).
    pro­vi­des ser­vi­ces for custo­mi­zing, mer­ging and pac­king script and patterns.
  • The vast majo­rity of books and maga­zi­nes are type­set using hyphe­na­tion and justi­fi­ca­tion (writ­ten as H&J from here on in). All lines of text except the last lines of para­gra­phs are stret­ched out to the same length. Flush left and flush right. Hyphens are used to break words at the end of lines to help pre­vent gaps in word spa­cing. Like this:

    In con­trast, nearly all text on the web is set flush left, with no hyphens at the end of lines. (This assu­mes a left-to-right Latinate lan­guage like English.) In the world of print, this is some­ti­mes cal­led “rag­ged right” or a “hard rag” because of the saw­too­thed edge crea­ted on the right by the une­ven line lengths.

    This no lon­ger needs to con­ti­nue as it has. And if the many cri­ti­ci­sms of iPad typo­gra­phy are any guide, for many design niches like eBooks, it shouldn’t con­ti­nue if custo­mer expec­ta­tions are to be met.

  • XAuth is a way to share third-party authen­ti­ca­tion infor­ma­tion in the bro­w­ser. Instead of every appli­ca­tion nee­ding to go through the autho­ri­za­tion pro­cess for a ser­vice, XAuth is used to store this infor­ma­tion in your bro­w­ser and make it avai­la­ble to web deve­lo­pers. That means a site that can serve you a more rele­vant expe­rience when you’re signed into Yahoo! doesn’t need to make any extra requests to deter­mine if you’re signed in.

    Although the goal of XAuth is to pro­vide authen­ti­ca­tion ser­vi­ces, this same basic tech­ni­que can be applied to any data.

Per proseguire

Commenti e trackback sono disabilitati.