issue65:devweb
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue65:devweb [2012/10/06 23:22] – créée andre_domenech | issue65:devweb [2012/10/26 15:16] (Version actuelle) – auntiee | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ** | ||
What is a CRUD? CRUD is an acronym for Create, Remove, Update, and Display: the main basic premise for any app. | What is a CRUD? CRUD is an acronym for Create, Remove, Update, and Display: the main basic premise for any app. | ||
Ligne 6: | Ligne 7: | ||
Side note: if you are having troubles choosing a good text editor to code with, I would like to suggest my favorite. Sublime Text 2 is a very feature-packed and stable editor and I tend to have a lot of fun with it. I also rely on it a lot. Here is a URL to a quick review I did a while back, if you are interested in reading more about it: http:// | Side note: if you are having troubles choosing a good text editor to code with, I would like to suggest my favorite. Sublime Text 2 is a very feature-packed and stable editor and I tend to have a lot of fun with it. I also rely on it a lot. Here is a URL to a quick review I did a while back, if you are interested in reading more about it: http:// | ||
+ | ** | ||
+ | Qu' | ||
+ | |||
+ | Rappelez-vous, | ||
+ | |||
+ | Pour commencer nous avons besoin d'une idée. Nous pourrions choisir les suspects habituels : des listes de tâches, des recettes et des listes de courses. Je pensais à quelque chose d'un peu plus spécifique à Ubuntu, une application qui nous dit les versions d' | ||
+ | |||
+ | NB: si vous n' | ||
+ | |||
+ | |||
+ | ** | ||
First we need to think about the information that we need to keep. The version number and names are good enough to start off with. Now that we know what we are going to do, we need to get set up... Create your working folder; I’m going to call mine FCM-UbuntuVers. Inside of that, create your css, images, js, and js/libs folders. Now create some blank files: index.html in the root, style.css in css, and main.js in the js folder. Below is a screenshot of the directory map to give you the big picture. | First we need to think about the information that we need to keep. The version number and names are good enough to start off with. Now that we know what we are going to do, we need to get set up... Create your working folder; I’m going to call mine FCM-UbuntuVers. Inside of that, create your css, images, js, and js/libs folders. Now create some blank files: index.html in the root, style.css in css, and main.js in the js folder. Below is a screenshot of the directory map to give you the big picture. | ||
Now, we can get to some coding. I like to start out with my standard HTML5 template. The template is pretty straightforward assuming you have even a little experience with HTML5. First there is the doctype, with the value of just html telling the document object that it is, you guessed it, HTML5. There is a UTF-8 declaration, | Now, we can get to some coding. I like to start out with my standard HTML5 template. The template is pretty straightforward assuming you have even a little experience with HTML5. First there is the doctype, with the value of just html telling the document object that it is, you guessed it, HTML5. There is a UTF-8 declaration, | ||
+ | ** | ||
+ | D' | ||
+ | |||
+ | Maintenant, nous pouvons faire du codage. Je voudrais commencer avec mon modèle standard HTML5. Le modèle est assez simple, en supposant que vous ayez quand même un peu d' | ||
+ | |||
+ | ** | ||
Next we are going to add a basic form, making sure to include id’s, placeholders, | Next we are going to add a basic form, making sure to include id’s, placeholders, | ||
Ligne 26: | Ligne 44: | ||
Now that we are all set, prepare yourself. Next month, we will go over the code more closely. Cheers! | Now that we are all set, prepare yourself. Next month, we will go over the code more closely. Cheers! | ||
+ | ** | ||
+ | |||
+ | Ensuite, nous allons ajouter une forme de base, en veillant à inclure les attributs de son id, ses zones, sa valeur et son nom. Nous voulons aussi inclure des étiquettes selon les bonnes pratiques. | ||
+ | |||
+ | Maintenant que nous avons notre HTML, nous devons nous assurer que nous ajoutons quelque chose pour tester les fichiers CSS et JS que nous incluons dans le code HTML. Cette tâche est assez facile, il suffit d' | ||
+ | |||
+ | main.js | ||
+ | |||
+ | alert(‘JS included’); | ||
+ | |||
+ | style.css | ||
+ | |||
+ | | ||
+ | |||
+ | Maintenant, il est temps de voir la configuration de votre navigateur. Remarquez l' | ||
+ | |||
+ | Maintenant que nous avons tout préparé, le mois prochain, nous allons analyser le code de plus près. | ||
+ |
issue65/devweb.1349558548.txt.gz · Dernière modification : 2012/10/06 23:22 de andre_domenech