CoffeeBar Application 9/19 - Placing an order, mixing drinks and food

haclong 04/03/2015 20:45:00 Développement

Crédit : Morguefile.com

In today chapters, we will see how we can manage the logic around the PlaceOrder command. Keep in mind we have only one form to order drinks and food. But we have two different workflows so we have to know, when the order is placed, which item is a drink and which one is a food and send the item in the correct workflow.

Application CoffeeBar 9/19 - Commander les plats et les boissons

haclong 04/03/2015 15:05:00 Développement

Crédit : Morguefile.com

Dans l'article d'aujourd'hui, nous allons voir comment on articule la logique métier autour de l'opération de passer commande. Il faut garder à l'esprit qu'il n'y a qu'un seul écran pour passer commande, à la fois pour les plats comme pour les boissons. Or, nous avons deux workflows distincts pour les boissons et pour les plats. Il faut donc, des éléments commandés, distinguer les boissons des plats et les envoyer dans les bons éléments.

CoffeeBar Application 7/19 - Managing opened tabs

haclong 12/02/2015 20:38:00 Développement

Crédit : Morguefile.com

We have created previously a service responsible of managing the story of one tab only. Now, we will create a service bound to manage all the opened tabs. This new service will store the list of opened tabs and will list all the tabs status for the usage of the staff.

Application CoffeeBar 7/19 - Gérer les commandes ouvertes

haclong 12/02/2015 11:39:00 Développement

Crédit : Morguefile.com

Nous avons créé précédemment un service qui est chargé de s'occuper de l'historique d'une note indivuellement. Maintenant, nous allons nous occuper de gérer la liste des notes ouvertes. Nous allons utiliser un nouveau service pour cela. Celui-ci va stocker la liste des notes ouvertes et pourra afficher le statut de chaque notes à l'usage du staff du café.

Application CoffeeBar 5/19 - Provoquer l'ouverture de commande

haclong 28/01/2015 18:18:00 Développement

Crédit : Morguefile.com

Maintenant que nous avons notre formulaire - qui ouvre une note - nous allons lui attacher un objet. Avec cet objet, nous allons pouvoir traiter le formulaire. Nous verrons alors comment avec cet objet, nous allons pouvoir déclencher notre tout premier événement, le point de départ de toute notre application.

CoffeeBar Application 1/19 - Introduction to event driven programmation

haclong 22/12/2014 19:33:00 Développement

Crédit : Morguefile.com

Though i feel it easier to do applications with procedural programmation, i know it exists other ways to build applications, based on event driven programmation. Even though PHP does not look like the right language to do event driven programmation, we will see how Zend Framework 2 framework will help us set components to wrap a nice event driven application for the web.

Application CoffeeBar 1/19 - Introduction à la programmation événementielle

haclong 22/12/2014 16:39:00 Développement

Crédit : Morguefile.com

S’il me paraît plus aisé de faire des applications en programmation séquentielle, il existe en opposition à celle ci des applications basées sur une programmation événementielle. Même si PHP ne semble pas être un langage dans lequel on peut naturellement faire de la programmation événementielle, nous verrons en quoi le framework Zend Framework 2 a mis en place des composants pour nous aider à réaliser notre projet.