14
Totali Project Presentation II

Super slideshow 2

Embed Size (px)

Citation preview

Page 1: Super slideshow 2

Totali ProjectPresentation II

Page 2: Super slideshow 2

We were tasked to create a backend booking service, one that could be used for lots of different things- like cars, hotels, etc.

Unlike the previous weeks, we finally decided on a plan.

Totali Project

The Overview

Page 3: Super slideshow 2

Goals over the next few weeks…

Learn Code Igniter Have a meeting with the client Finish the tables Make and test the SQL queries Make the PHP + Code Igniter Scripts Do extensive testing

Totali Project

Page 4: Super slideshow 2

The Plan

Those three goals formed our four part plan.

SQL Tables SQL Queries PHP Scripts Final Testing

Totali Project

Page 5: Super slideshow 2

Meeting…

Totali Project

In week 4 we finally had a full group meeting with the client.

It was instrumental in deciding how the project would evolve over the rest of the semester.

After some careful consultation with we decided we needed a more robust database so we revamped it.

Page 6: Super slideshow 2

Our old database looked like this…

Store

Totali Project

Product Type

CustomerBooking

Totali SQL Database v1.0

Page 7: Super slideshow 2

Totali ProjectUpdated SQL Database

Page 8: Super slideshow 2

Totali SQL Database v2.4

Totali Project

Inventory

Product Type

Bookings

Availability

Availability Rules

Product Rego

Customer

Payment

Product Class

WOF Expiry

Other Stuff

Page 9: Super slideshow 2

Working with SQL Queries

We had worked with foreign keys to link tables, but per the client’s request, we used Joins instead.

We needed a separate query for every type of operation we would need, this resulted in at least 9 query requests.

Totali Project

Page 10: Super slideshow 2

Check Availability Query

<content></content>

Totali Project

Page 11: Super slideshow 2

Scripts and Code Igniter

Finally, with both the tables and their corresponding queries completed it was time for the actual scripting.

The client requested we implement the scripts using a PHP library/framework called Code Igniter.

Learning code igniter was the greatest challenge as it was something we had never encountered before.

Totali Project

Page 12: Super slideshow 2

The check Availability script

Totali Project

Page 13: Super slideshow 2

Code Igniter’s custom MVC

Totali Project

Controller

User

View Model

MySQLUses

Sees

Modifies Manipulates

Queries

Page 14: Super slideshow 2

Summary

We’re currently in the script development stage, which should be finished soon.

After which, we’ll start the final phase, testing.

Totali Project