Nl:Ubiquity 0.1.2 Auteur Tutorial: Difference between revisions

m (New page: Terug naar Labs/Ubiquity. Auteur: Aza Raskin, Blair McBride, Abimanyu Raja, Jono DiCarlo, Atul Varma == In andere talen == * 简体中文l * [[...)
 
Line 22: Line 22:
Van een commando van 8 regels om een e-mail adres van een contactpesoon in een willekeurig tekst veld in te voegen tot een commando van 50 regels voor twitter integratie, deze tutorial loopt je door het process van ontwikkelen met Ubiquity.
Van een commando van 8 regels om een e-mail adres van een contactpesoon in een willekeurig tekst veld in te voegen tot een commando van 50 regels voor twitter integratie, deze tutorial loopt je door het process van ontwikkelen met Ubiquity.


'''WARNING''': Ubiquity is still in flux. This is a 0.1 release. The API is  likely to change drastically in later revisions. While this means that what you write today might not work next week, it also means that by writing commands and giving us [[Labs/Ubiquity#Participation|your feedback]], you'll be able to directly influence the direction that Ubiquity goes.
'''WAARSCHUWING''': Ubiquity is nog veranderlijk. Dit is een 0.1 release. De API zal waarschijnlijk nog drastisch wijzigen in latere revisies. Hoewel dit betekent dat de code die je vandaag schrijft volgende week misschien niet meer werkt, betekent het ook dat je door commando's te schrijven en ons [[Labs/Ubiquity#Participation|je feedback]] te geven de richting waarin Ubiquity zich beweegt zult kunnen beïnvloeden.


The rest of this page documents the command developer API as it currently stands in the latest released version of Ubiquity, 0.1.1.  However, if you have the latest source checkout, then you'll have a newer API with some additional features not in 0.1.1.  You can read about the latest and greatest source-tip API on [[Labs/Ubiquity/Ubiquity Source Tip Author Tutorial|Ubiquity Source Tip Author Tutorial]].
De rest van deze pagina beschrijft de commando ontwikkel API zoals deze werkt in de laatst verschenen versie van Ubiquity, 0.1.1.  Echter, als je de laatste source versie hebt beschik je over een nieuwere API met enkele aanvullende mogelijkheden die niet beschikbaar zijn in 0.1.1.  Je kunt lezen over de nieuwste-van-het-nieuwste source-tip API op [[Labs/Ubiquity/Ubiquity Source Tip Author Tutorial|Ubiquity Source Tip Author Tutorial]] (nog niet vertaald).


== Real Time Development ==
== Real Time Ontwikkelen ==


Ubiquity doesn't require you to restart Firefox as you develop. That's a barbaric act, and we want none of it. Instead, Ubiquity reloads the commands every time it is summoned. When you are using the built-in editor then you don't even need to save!
Ubiquity verlangt geen herstart van Firefox tijdens het ontwikkelen. Dat zou een barbaarse actie zijn en daar willen we niets van weten. In plaats daarvan herlaadt Ubiquity de commando's elke keer dat ze worden aangeroepen. Als je de ingebouwde editor gebruikt hoef je niet eens op te slaan!


To open the Ubiquity command editor, summon Ubiquity (control/alt + space) and use the "command-editor" command. Throughout this tutorial, when we want you to run a command in Ubiquity, we'll say '''Ubiq''' it. For instance, to open the editor, just Ubiq "command-editor".
Om de Ubiquity commando editor te openen, roep je Ubiquity op (control/alt + spatie) en gebruik je het "command-editor" commando. In deze tutorial, als we willen dat je een commando uitvoert in Ubiquity, zullen we zeggen '''Ubiq''' het. Bijvoorbeeld, om de editor te openen Ubiq je "command-editor".


In the following examples, just type in this editor. Updates happen the next time you summon Ubiquity.
In de volgende voorbeelden typ je gewoon in deze editor. Het commando wordt bijgewerkt de volgende keer dat je Ubiquity oproept.


= Hello World: The First Command =
= Hello World: The First Command =
10

edits