Welcome to Ed2Ti Blog.

My journey on IT is here.

Uncategorized

Topics that don't need a category, or don't fit into any other existing category.

SWAPI - Star Wars API

- Posted in Uncategorized by

Hi everyone.

I hope you enjoy this post because It's part of my first job test, as a developer, in Canada. Well, in February I apply for a job at (Let's call Yoda) Yoda company. On the same day, a girl from Yoda company (Let's call Leia Princess) call me. (It was so fast). On Friday, with power chaos in Montreal, I did my first technical interview and they send me this challenger.

Contextualizing:

Target: Create an application to get a list of People, Planets, and StarShips and implement a search on People using SWAPI. Need to use a framework and show how to install and test the web application. All information needs to be posted on GitHub.

To be honest, I did more than one solution.

  • All with Vuejs (on my GitHub)
  • All with PHP core (on my GitHub) - Horible. (I'll change everything)
  • Frontend with React and backend with PHP (I did an API server) - Was interesting. (need to correct) (on my GitHub)
  • All with Laravel - This one (on my GitHub)

Let's talk a little bit about an item (d)

About SWAPI: It is strikethrough textstand for "Star Wars API". It is a free, open-source web service that provides access to data from the Star Wars universe, including information on characters, planets, films, species, vehicles, and more.

Laravel is a popular, free and open-source PHP web application framework that follows the MVC pattern. It provides a range of features to simplify web development, such as authentication, routing, caching, and database management. Its intuitive syntax and extensive documentation makes it easy to use, while its focus on developer productivity and code readability make it an excellent choice for building scalable and maintainable web applications.

About my project.

You may ask. Why do you just use 2 routes if you have at less 3 different views?

My routes are: Route::any('/search', [swapiController::class, 'search'])->name('search'); Route::get('/{resouce?}/{param?}', [swapiController::class, 'show'])->name('show');

The first one is any route. If I receive a POST, I'll process a search request. Otherwise, if I receive a GET I'll redirect to the index view.

The second one is a generalist route.

{resouce?} = people, starships, planets. {param?} = receive the page.

The controller, swapiController, has all the logic to make a distribution of actions. I'll try to simplify more, but now, Im finishing a project from my professor at Trebas.

I need to finish this post with a simple msg for him and for Alfredo Menezes. Thank you Iyard for help-me and support-me every time. Thank you, Alfredo, for introducing me to the Yoda Company.

** Thank you, Princess Leia. You were so patient **

GitHub: https://github.com/ed2ti/swapi-laravel

Professor: Iyad Koteich

DevOps - Changing your mindset.

- Posted in Uncategorized by

Today I'll try to discuss in a few words some important concepts about DevOps. The first is that DevOps is a concept that results in a paradigm change.

Starting as DevOps we need to understand the difference between Greenfield and Brownfield. In a simple view, Greenfield is untouched land, and a Brownfield is the used ground for other purposes. Now you are confused, but don't worry.

Greenfield => New Brownfield => Legacy

But, how about using a bimodal model? For example, we can see in some organizations two or more kinds of systems. We can categorize them as Record and Engagement Systems.

The Record Systems are more stable and generally don't have frequent updates. Engagement Systems generally are created to support pieces of information that come from Record Systems. Then, an issue with this Engagement System could impact Record Systems.

First, we need to understand some initial concepts and a little history of developing and managing the environments.

In past, ware common we listen to the history of some projects that fail because of the integrations between the Developer and Operation teams.

A little about me!

- Posted in Uncategorized by

Hi guys.

My name is Edward and I live in Montreal/QC/Canada. In this blog, I'll share my journey in all kinds of technology areas that I worked and studied.

I hope you enjoy this blog!

About me:

Degree: Information Systems
Master Degree: Cloud Computing, Project Management, Distributed Systems (not completed)
Certifications:
ASW - Foundation
Microsoft - PMP
ITIL v3
Scrum
(And others!)

At this moment, what you need to know is that my first computer was a MSX (with a Z80 processor). ** 1986 **