Entradas

Class Review

Positive: Project phases instead of exams. Design topics Feedback given by the professor Recommendations: None, for me it was a really refreshing experience, and a learn a lot from this class especially because we were doing projects and you gave us a lot of feedback. I think this way of learning is better than an exam in my opinion.

Implicit and Explicit

Imagen
I think one of the many good thing about this course  is how you can write or model code in a way that it can be read without comments. The more readable the better, and one of the many way to make this, is to convert thing that are implicit to explicit, so that it can be readable what you are trying to do. As you can see in this example of my project of board games, in the application layer we have a class that has a method called getInSaleBoardgames(), in this class it is pretty clear what is doing, that is getting all the data as a list from the database and converting it to JSON so it can be return. Previously, I did not have any method for converting to json, so I had to create implicitly the converting depending on what Object you wanted to convert, but now as you see I created a method that can do that to any object, and in the application layer is pretty clear what it want to do.

UML Diagram

Imagen
I think one of the best things to do when you want to create a diagram that show many of the interactions between entities in your project, is to make a UML Diagram. Last month, we were assign to create a proposal and in the presentation this UML diagram help us to improve the way of communicating with the audience. It was really clear what we wanted to do in the project, and how it will work. I recommend this site called draw.io to create UML diagrams and ER diagrams. Is a really awesome site for creating them very professionally.

Entities and attributes

One of the many methods when it comes to designing a project is to look for entities and their attributes. In my words, entities are thing that can have many characteristics with its attributes that make them different. An example could be: - board game: with attributes name, number of max players, average playtime, publisher. - user: name, address, email, phone number. - transaction: timestamp, item id, seller, buyer And there could be a lot of different entities and attributes, applied to any different type of projects. One of the better way to apply this is using an entity relational diagram.

Layer Architecture Design

One of the many Design architecture we learn from the design course, was one called Layer Architecture, and the one we chose to use in our design project. Layer Architecture consists: User Interface Layer: which contain all the components of the UI. Application Layer: which it what reunite what the infrastructure layer and domain layer outputs, and is the one that is easier to read in terms of code. Domain Layer: is the one who contains all the field and business rules about the domain. Also contain the values objects. Infrastructure Layer: contains all the implementation on how to execute certain operation. Like for example the connector between a server app and a database in a server.

Blog #1 Software Design

In this class, we will apply to a particular project many patterns and technics of software design in order to help with the process of software development cycle. The project that I choose with a partner was about boardgames online store domain. At first sight, what we did was about listing stakeholders, domain theories, etc.