UI Week!

Here’s a quick summary of what I did last week.

I worked on the user interface of purchase invoice, a lot was learned when it comes to handling, implementing and writing codes.

I read about IQueryable and IEnumerable properties. Both are very similar and at the same time they differ in many ways that make them distinct. Such that the first runs against queryable collection, while the latter runs in memory location. Another difference lies on the execution of the select query property, IQueryable executes the logic of the select on the database, thus less work is needed and is performed fast. On the other hand, IEnumerable executes the select query logic on the client side, which requires more work and hence is slow. IQueryable is inherited from the IEnumerable class.

I have also read about the mapping function which is available in the EF core. The auto-mapper function maps only one object to another, which is not an efficient way of mapping properties, thus using methods which acts as a mapper is a more efficient and reliable.

Thus, I managed to display content on the purchase invoice, as well as view purchase order number for each invoice.

Mostly, the coding work revolved around the view, viewModel, service, wrapper and wrapperServices and etc.

See you all next week 🙂

Getting Started with Small Portion of Project Source Code

As I went through some learning material that will be use in upcoming project, I am given an introduction towards an on-going project beginning with understanding the business logic behind the project.

After I was given the source code, I learnt about Docker, a set of platform that uses OS-Level virtualization to deliver software in packages called as containers. It allows me to run an image of database and connect to it without having the database install locally. In order to connect to the database of the project, I need to invoke an command in Docker to start the image before I can run the project smoothly, then, connect to database using Docker’s IP address and port.

As I done with connecting to database, I begin to play around and perform some unit testing. Then, I was taught how to drop certain column, perform migration process between project and database after add in a new column to store new set of data.

Lastly, I was given a task to disable a button click over certain condition. I felt hard and still unable to complete my given task. I believe it is still due to me lack of experience and knowledge, but I still working on it until I manage to complete the task given.