viagra generika shop ordina viagra tadalafil in farmacia cialis sans ordonnance en belgique viagra forum bestellen levitra cialis differenze kamagra gel farmacia svizzera cialis packungsbeilage viagra prix de vente cialis prezzo al pubblico vendo viagra alicante cialis generico funziona acheter cialis paris comprare cialis in italia levitra achat
kamagra sousajours 
cialis chez la femme 
sildenafil citrate avis 
sildenafil generique 
viagra livraison urgent 
levitra mg 
kamagra en france 
achat cialys 
viagra pharmacie en ligne envoi contre remboursement 
viagra moin cher 
viagra sécurité sociale 
viagra comment ca marche 
achat cialis sur internet 
prix boite cialis 
trouver du levitra 
viagra drugstore cheapest cialis online discount viagra online cialis cost buy kamagra paypal viagra naturel kamagra sale priligy bamazon buy wellbutrin india dissolvable kamagra uk buy levitra without prescription kamagra otc buy viagra on the internet cialis otc levitra professional mg

HTML Guide Textmate Snippets Open Sourced

One year ago I published “Design Guide or HTML Markup Guide” with link to the HTML guide we did for the biggest Danish business internet portal.

The HTML guide is a really useful tool for every public authority that must deliver applications for the portal.

As a help for my own work back then, I created virk_dk_htmlsnippets:

Snippets available

skel

(tab) — creates HTML skeleton in blank file. Adds correct doctype, head, body and container divs required for the virk.dk html to show correctly.

fieldset

(tab) Groups of form elements. Use where you would have used ordinary fieldsets. See HTML guide » Form grupper (fieldsets)

button

(tab) — submit button and other buttons. See HTML guide » Knapper

inputcheck

(tab) — standard checkbox with label and group

inputtext

(tab) — text field

select

(tab) — select element

Usage examples see HTML guide Simple form elementer, Særlige form elementer

table

(tab) — table element. See HTML guide » Tabeller

td

(tab) — table cell inside table row.

th

(tab) — table header cell inside table row.

I’m releasing the snippets as open source under the LGPL license so you can freely change, and distribute. However, I encourage you to send me the changes and I’ll work the relevant changes into the snippets.

Any editor that understands Textmate snippets can be used. E-texteditor for Windows or GEdit for Unix/Linux will read the snippets as well.

Download snippets

Go to the project page on GitHub to download virk_dk_htmlsnippets

Vision: Standard HTML for portals

In general, different portals have different HTML markup. Historically, this is because of many constraints: Limitations in the chosen web framework, limitations in chosen graphical design, random naming of css classes, developer laziness, etc.

What if portals could actually use the same HTML markup for most elements? This way, subcontractors and content providers could deliver content/portlets/webparts for multiple portals.

In Denmark there are only a few major public portals: Virk.dk for businesses, and Borger.dk for citizens. But some content would actually be relevant on both portals. Sadly, the HTML markup is very different.

Imagine how the public authorities would benefit from shared HTML markup:

  • Develop only one component with the wanted functionality.
  • Easier “mashup” and reuse of data for presentation on multiple portals
  • Lower learning curve for developers
  • More development accelerators like these snippets would emerge

Next time I get to do work for that project, I would probably also create a Ruby on Rails form builder that automagically would generate the right HTML.

Comments are closed.