Semaine 22 : CMS et e commerce - SimplonSt-Gaudens/programme-web-dev-promo-2 GitHub Wiki

Semaine 22 : CMS et e-commerce

Objectifs

  • Découvrir le monde merveilleux des CMS
  • Connaître ceux qui existent en comment ils fonctionnent
  • Savoir mettre en place un site de e-commerce

Lundi

Correction des exos

Veille de la semaine

  • Mardi : Rubber Duck Debugging - David
  • Mercredi : Voyager pour Laravel - Rachid
  • Jeudi : Automne CMS - Simon R
  • Vendredi : Jenkins - Christopher
  • Lundi : ES6 - Simon D

Exercice

En trinôme, réalisez une plateforme de e-commerce à l'aide d'un CMS au choix (Wordpress, Jimdo, Prestashop, Magento ou Drupal). Premier arrivé, premier servi.
L'objectif? Refaire Amazon (en moins moche et en plus pratique).

Quelques pistes :

  • quelles sont les principales fonctionnalités?
  • comment sont-elles mises en oeuvre?
  • comment les améliorer?

Demandez-vous aussi :

  • comment se répartir le travail de la façon la plus efficace possible?
  • comment tester?
  • de quoi aura besoin le client qui ajoutera/modifiera des items sur le site?

Méthodo : Kanban, Planning poker, PPP, comme d'hab.

Les trinômes

  • Marion, Edmond, Guillaume -> Wordpress,
  • Philippe, Simon R, Rachid -> Jimdo,
  • Christopher, Sandrine, Geoffrey -> Prestashop,
  • Valentin, Vanessa,Julien -> Magento,
  • Simon D, David, Clément -> Drupal.

Deadline

Rendu mardi minuit, présentation mercredi matin.

Mardi

Kata

Have the function ScaleBalancing(strArr) read strArr which will contain two elements, the first being the two positive integer weights on a balance scale (left and right sides) and the second element being a list of available weights as positive integers. Your goal is to determine if you can balance the scale by using the least amount of weights from the list, but using at most only 2 weights. For example: if strArr is ["[5, 9]", "[1, 2, 6, 7]"] then this means there is a balance scale with a weight of 5 on the left side and 9 on the right side. It is in fact possible to balance this scale by adding a 6 to the left side from the list of weights and adding a 2 to the right side. Both scales will now equal 11 and they are perfectly balanced. Your program should return a comma separated string of the weights that were used from the list in ascending order, so for this example your program should return the string 2,6

There will only ever be one unique solution and the list of available weights will not be empty. It is also possible to add two weights to only one side of the scale to balance it. If it is not possible to balance the scale then your program should return the string not possible.

Sample Test Cases

Input:"[3, 4]", "[1, 2, 7, 7]" => Output:"1"

Input:"[13, 4]", "[1, 2, 3, 6, 14]" => Output:"3,6"

Mercredi

Révisions + mise au point Wordpress

Jeudi

Randori

Have the function VowelSquare(strArr) take the strArr parameter being passed which will be a 2D matrix of some arbitrary size filled with letters from the alphabet, and determine if a 2x2 square composed entirely of vowels exists in the matrix. For example: strArr is ["abcd", "eikr", "oufj"] then this matrix looks like the following:

a b c d
e i k r
o u f j

Within this matrix there is a 2x2 square of vowels starting in the second row and first column, namely, ei, ou. If a 2x2 square of vowels is found your program should return the top-left position (row-column) of the square, so for this example your program should return 1-0. If no 2x2 square of vowels exists, then return the string not found. If there are multiple squares of vowels, return the one that is at the most top-left position in the whole matrix. The input matrix will at least be of size 2x2. Sample Test Cases

Input:"aqrst", "ukaei", "ffooo" => Output:"1-2"

Input:"gg", "ff" => Output:"not found"

Wordpress : un nouvel espoir

Avec les mêmes trinômes, basculez sur Wordpress (avec l'aide de ceux qui y étaient déjà). Votre mission, si vous l'acceptez, sera de développer un module pour gérer les cartes de fidélités "à votre façon".

Bonus

  • Créez votre thème custom.

Vendredi