issue118:tutoriel2
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue118:tutoriel2 [2017/02/28 11:09] – créée auntiee | issue118:tutoriel2 [2017/03/07 07:35] (Version actuelle) – d52fr | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | This course is a new project to learn how to program applications that work on Ubuntu Touch. In the process, I will generate documentation with all the phases of development of an application: | + | ===== 1 ===== |
- | This course is not a masterclass in which I explain something and others repeat them automatically. The idea is to publish chapters and complete | + | **This course is a new project |
- | The documentation will be structured as a book. Its access is free and any user can read it in a browser or as a PDF, ePub or Mobi file. It is possible to add comments | + | This course is not a masterclass in which I explain something |
- | Finally I want to thank the users who have encouraged me to start this madness, among them are kain_X_X and LarreaMikel. A course of this type can not be done by a single user. Evolving and achieving larger goals is possible only when many people contribute. | + | Ce cours est un nouveau projet pour apprendre la programmation d' |
- | Previous Knowledge | + | Ce cours n'est pas une classe magistrale où j' |
+ | |||
+ | ===== 2 ===== | ||
+ | |||
+ | **The documentation will be structured as a book. Its access is free and any user can read it in a browser or as a PDF, ePub or Mobi file. It is possible to add comments to the book, although it is necessary to have an account created in Gitbook. The source code for the examples and applications will be hosted on Launchpad using Bazaar as version control. On the same page there is a mailing list in which you can ask questions. Additional to the resources mentioned earlier, there is also a Trello board with the course status. | ||
+ | |||
+ | Finally I want to thank the users who have encouraged me to start this madness, among them are kain_X_X and LarreaMikel. A course of this type can not be done by a single user. Evolving and achieving larger goals is possible only when many people contribute.** | ||
+ | |||
+ | La documentation sera structurée comme un livre. L' | ||
+ | |||
+ | Enfin, j' | ||
+ | |||
+ | ===== 3 ===== | ||
+ | |||
+ | **Previous Knowledge | ||
Due to the subject of the course itself, some programming skills are required. In this course we will mainly use QML for the user interface and JavaScript or C/C++ for the logic. It helps to know either of the two languages, although it will not be critical. Each chapter will explain the basic elements and a bibliography will be included for the user to consult if in doubt. | Due to the subject of the course itself, some programming skills are required. In this course we will mainly use QML for the user interface and JavaScript or C/C++ for the logic. It helps to know either of the two languages, although it will not be critical. Each chapter will explain the basic elements and a bibliography will be included for the user to consult if in doubt. | ||
Ligne 13: | Ligne 27: | ||
The Ubuntu Touch Software Development Kit (SDK) is being released for the Ubuntu distribution. It will therefore be necessary to use Ubuntu or any of the distributions that take it as a base. Not meeting this requirement is not a serious problem either, because you can do the same in a virtual machine or using a Live USB. | The Ubuntu Touch Software Development Kit (SDK) is being released for the Ubuntu distribution. It will therefore be necessary to use Ubuntu or any of the distributions that take it as a base. Not meeting this requirement is not a serious problem either, because you can do the same in a virtual machine or using a Live USB. | ||
- | To make it easier to follow the course, I will include only the most important parts of the source code. The rest of the files will be in a source repository in Launchpad. It would be helpful knowing the basic commands of Bazaar. | + | To make it easier to follow the course, I will include only the most important parts of the source code. The rest of the files will be in a source repository in Launchpad. It would be helpful knowing the basic commands of Bazaar.** |
- | Objectives of the Course | + | Connaissances préalables |
+ | |||
+ | Étant donné le sujet même du cours, quelques compétences de programmation sont nécessaires. Dans ce cours, nous utiliserons principalement XML pour l' | ||
+ | |||
+ | Le Ubuntu Touch Software Development Kit (SDK - Kit de développement logiciel) est en train de sortir pour Ubuntu. Vous devrez donc utiliser Ubuntu ou une distribution qui est basée dessus. Ne pas remplir cette exigence n'est pas non plus un problème sérieux, parce que vous pouvez tout faire dans une machine virtuelle ou avec une clé USB Live. | ||
+ | |||
+ | Pour faciliter le suivi du cours, je vais y inclure uniquement les parties les plus importantes du code source. Les autres fichiers se trouveront dans un dépôt source sur Launchpad. La connaissance des commandes de base de Bazaar pourrait vous être utile. | ||
+ | |||
+ | ===== 4 ===== | ||
+ | |||
+ | **Objectives of the Course | ||
The main objective of the course is to learn how to program applications for Ubuntu Touch while having fun. Programming is a time-consuming task, and you have to like what you are doing. Applications can be simple or complex, the important thing is that they solve a need that we have. For example, an application that has a list of plants in the garden and lets us know when we have to water them. | The main objective of the course is to learn how to program applications for Ubuntu Touch while having fun. Programming is a time-consuming task, and you have to like what you are doing. Applications can be simple or complex, the important thing is that they solve a need that we have. For example, an application that has a list of plants in the garden and lets us know when we have to water them. | ||
- | A good design in the logic of the application can greatly reduce development time. In the same way, a bad design can cause us to throw the code to the recycle bin and start over, because it is easier to start with a different approach. | + | A good design in the logic of the application can greatly reduce development time. In the same way, a bad design can cause us to throw the code to the recycle bin and start over, because it is easier to start with a different approach.** |
- | Types of Applications | + | Les objectifs du cours |
+ | |||
+ | L' | ||
+ | |||
+ | Une bonne conception de la logique de l' | ||
+ | |||
+ | ===== 5 ===== | ||
+ | |||
+ | **Types of Applications | ||
Ubuntu Touch has three types of applications. We can find Web Applications (WebApps), Scopes, and Native Applications. | Ubuntu Touch has three types of applications. We can find Web Applications (WebApps), Scopes, and Native Applications. | ||
Ligne 29: | Ligne 61: | ||
The scope (bottom right) is the second type of application found in Ubuntu Touch. To some extent it behaves like a screen that shows information to the user. The information can be external, for example the weather forecast, or internal in the form of information aggregator. An example of this case would be the " | The scope (bottom right) is the second type of application found in Ubuntu Touch. To some extent it behaves like a screen that shows information to the user. The information can be external, for example the weather forecast, or internal in the form of information aggregator. An example of this case would be the " | ||
- | Finally we have native applications (top right). In this case the applications can access all the resources of the phone, and are, eventually, more complex than the Web applications and the scopes. Applications are confined in Ubuntu Touch and can only access their own information. If we want to access information from other applications, | + | Finally we have native applications (top right). In this case the applications can access all the resources of the phone, and are, eventually, more complex than the Web applications and the scopes. Applications are confined in Ubuntu Touch and can only access their own information. If we want to access information from other applications, |
- | Evolution of the Course | + | Les types d' |
+ | |||
+ | Il y a trois types d' | ||
+ | |||
+ | Une application Web (page suivante, en bas à gauche) est essentiellement l' | ||
+ | |||
+ | Le scope (en bas à droite) est le deuxième type d' | ||
+ | |||
+ | Enfin, il y a les applications natives (en haut à droite). Dans ce cas, les applications peuvent accéder à toutes les ressources du téléphone et sont, le cas échéant, plus complexes que les applications Web et les scopes. Les applications sont confinées dans Ubuntu Touch et ne peuvent accéder qu'à leurs propres informations. Si nous voulons accéder aux informations d' | ||
+ | |||
+ | ===== 6 ===== | ||
+ | |||
+ | **Evolution of the Course | ||
One detail that I want to point out (and that you will get tired of reading throughout the course) is that this course is not a masterclass. It is important that you participate with either questions, suggestions or errors. The order of the chapters can vary and chapters that were already closed can be opened to add new content. This course is alive and can be improved only if we all get involved. It doesn’t matter if questions are very basic or what the other users would say. The main reason for following this course is learning. Remember: The only stupid question is the one that you don’t ask. | One detail that I want to point out (and that you will get tired of reading throughout the course) is that this course is not a masterclass. It is important that you participate with either questions, suggestions or errors. The order of the chapters can vary and chapters that were already closed can be opened to add new content. This course is alive and can be improved only if we all get involved. It doesn’t matter if questions are very basic or what the other users would say. The main reason for following this course is learning. Remember: The only stupid question is the one that you don’t ask. | ||
Ligne 38: | Ligne 82: | ||
• The questions must be related to the course. | • The questions must be related to the course. | ||
• Spam of any kind is not allowed. | • Spam of any kind is not allowed. | ||
- | • Attacking other users is not allowed. | + | • Attacking other users is not allowed.** |
- | If any of these rules is broken, I will warn the person first. If the user continues with his attitude, he will be asked to leave the mailing list. I hope I never have to get to that end. | + | L' |
+ | |||
+ | Un détail que je veux souligner (et qui vous suivront tout au long du cours même si vous vous en lassez) est que ce cours n'est pas une classe magistrale. Il est important que vous y contribuiez aussi, avec des questions, des suggestions ou des erreurs. L' | ||
+ | |||
+ | L' | ||
+ | |||
+ | • Les questions doivent avoir un rapport au cours. | ||
+ | • Tout spam de quelque sorte que ce soit est interdit. | ||
+ | • Il est également interdit de s' | ||
+ | |||
+ | ===== 7 ===== | ||
+ | |||
+ | **If any of these rules is broken, I will warn the person first. If the user continues with his attitude, he will be asked to leave the mailing list. I hope I never have to get to that end. | ||
This course is not set as a whole and therefore I will write it week after week. For this reason, it is possible that some error appears. If this is the case, do not hesitate to warn me in order to correct it. This course is an opportunity to create content and give a boost to Ubuntu Touch. | This course is not set as a whole and therefore I will write it week after week. For this reason, it is possible that some error appears. If this is the case, do not hesitate to warn me in order to correct it. This course is an opportunity to create content and give a boost to Ubuntu Touch. | ||
Ligne 47: | Ligne 103: | ||
Mailing List: https:// | Mailing List: https:// | ||
+ | |||
People who have collaborated | People who have collaborated | ||
Ligne 54: | Ligne 111: | ||
• Cesar Herrera: revision of the English translation. | • Cesar Herrera: revision of the English translation. | ||
- | • Joan CiberSheep: revision of the English translation. | + | • Joan CiberSheep: revision of the English translation.** |
+ | |||
+ | Si jamais l'une de ces règles est enfreinte, la personne recevra un avertissement de ma part d' | ||
+ | |||
+ | Ce cours n'est pas un tout déjà préparé et je vais l' | ||
+ | |||
+ | Ressources | ||
+ | |||
+ | Liste de discussion : | ||
+ | https:// | ||
+ | |||
+ | Mes collaborateurs : | ||
+ | |||
+ | • Larrea Mikel : révision du chapitre en espagnol. | ||
+ | |||
+ | • Cesar Herrera : révision de la traduction anglaise. | ||
+ | |||
+ | • Joan CiberSheep : révision de la traduction anglaise. | ||
issue118/tutoriel2.1488276591.txt.gz · Dernière modification : 2017/02/28 11:09 de auntiee