MVC

Back to work !

Oh la la !! Festival de nouveautés ! J'ai fait plein de trucs pendant mon silence (pas tant que ça mais quand même :)) et me revoila pour vous dire ce que j'ai compris. Je suis contente parce que comme j'ai appris de nouveaux sujets, j'ai de quoi parler ici.

CoffeeBar Application 13/19 - Chef todo list

In our previous chapters, food and drinks have been ordered. Though a drink can be served immediately, food has to be prepared before being served. It is the chef job to prepare food. Today, let's see how to display the chef todo list : what food he has to prepare.

CoffeeBar Application 12/19 - Processing the order

When we place an order, two events are triggered. One event advising the drinks have been ordered and the second event advising the food has been ordered. Based on the initial workflow, the food and drinks do not follow the same process. Let's see how to differentiate each process.

CoffeeBar Application 11/19 - Processing the form

We have now created our place order form, with that nice repeat-my-fields feature in the previous chapter. In today's chapter, we will process the form, binding it to an object and, of course, triggering our events.

CoffeeBar Application 10/19 - Building a form to place the order

To place an order, we will build a complex form with a fieldset : a drop down list and an input text. The numbers of fieldset is infinite and we can add as many fieldset as we need. Let's do some form dependencies and javascript in today's chapter.

CoffeeBar Application 8/19 - Displaying active tabs

Our application is taking shape more and more. We have already built our main components and services. We have dumped unceremoniously the items from the cache. Now let's see if we can do better.

CoffeeBar Application 4/19 - The Open Tab Form

In this chapter, we will build the form. Its particularity is to include a drop down component with customized datas. Let's take advantage of this application to learn how to create a customized Select component with a dependency.

CoffeeBar Application 3/19 - Spying on our cache

There are tutorials which are starting explaining the thing and then showing the first views after several chapters. Since i didn't know how to organize this one, i started to put the logic first then the views afterward. But i find it too frustrating to have to wait for the end of the tutorial to see what's happening. And truth is, in the real world, i need to see what is happening anyway.

CoffeeBar Application 2/19 - Install the framework

To start with our coffeebar application, let's start by installing our framework first. We will work with Zend Framework 2. This framework allows us to build nice web applications using the MVC architecture and when running, the application will launch automatically a bunch of managers : Service manager, Event manager, Form elements manager which will be very useful in our case.

Implement a navigation within a ZF2 modular application

Implement an application with modules has certain advantages : separation of concerns, light dependancies... we won't talk about this once again, but we can't deny that there IS cross modules items in a web site. The navigation is one of them. Each menu items belong necessarily to a different module. So, how to implement a navigation ?

Pages

Subscribe to RSS - MVC