Every developer early on in the career gets introduce to the term Software Development Life Cycle Methodology therefore I decided to look deeper into it. We can define an SDLC as a set of steps followed in order to produce high-quality software applications. It goes through a series of phases that ensures its proper executions.
Different sources have different numbers of phases for an SDLC Methodology but regardless of source, you will find the following main phases.
Planing: It’s the phase where the “what to do, how to do it, and who does it.” is defined. It includes the scope…
At first look, this brought confusion to me not because it was my first time seeing nested functions but because at first look I thought…
This a topic everybody runs into while learning to code, and that sometimes brings some confusion into this process. Although as confusing as it may seem, it is also quite simple, and learning it can help you take your coding to another level.
A class variable is a variable defined in a class body that can be interacted with without an instance of such class. Class variables are shared among all instances of the class and its subclasses.
An instance variable is also a variable defined in a class body but belongs to a specific instance. Its value is not…
One of the concepts that you find along the way to becoming a great Rubyist is the concept module. A module is a way to wrap methods, classes, constant in a unit, in a way similar to a Class with the difference that a module can’t be instantiated.
You are probably wondering “If they can be instantiated then what is the use of an module?”. Well, modules have two main uses.
Namespacing is in a way a kind of container for functions, classes, constants, modules, etc … The idea of this is to used this container…
While continuing on working on my skills and developing applications on ruby I got introduce to the service object model. The service object model helps you reduce the complexity of your controllers and code repetition.
The job of a service object is to encapsulate functionality, execute one service, and provide a single point of failure. A service object is just a Plain Old Ruby Object (“PORO”) that follows the following structure.
SimpleCommand is a Ruby Gem that makes it…
I recently had the amazing opportunity to of being interview for a customer support engineer position where I met amazing people and had the opportunity to learn new tricks for debugging using the developer’s tools. One of them was detecting the end-points a web page is connecting to fetch data and I decided to do a step by step on how to do that.
For the purpose of this tutorial, I am going to use one of the websites I have built since most websites in production can have a lot of information and could be a little difficult for…
One of the most popular ways of authentication use in rails 5 and higher is the token-based authentication, where a generated created when an user logs in and such token is pass with every request the user make to as a proof of identity to authorize access to resources in the server. In this guide I am going to show you how to quickly set up a token-base authentication API in Rails 6 using JWT and BCrypt gems.
Lets start by creating a new project
rails new api-app --api
As I advance in my knowledge of python I decided to apply to a data engineer position at a prestigious finance company. Luckily I was selected from the pool of candidates and was entrusted with learning how to web scrap and use basic libraries like pandas to process the information scraped from the web. Today I’ve come to share what I learned during that process, and we are going to be web scrapping for data and creating pandas data frames to easily manipulate and present the data in the future.
An enumerator is a class in ruby that supports internal and external iteratoration, although it looks more like a function that behaves like an iterator. The best part of an enumerator is that they are highly customizable.
(Full definition from Wikipedia): “A generator is a special routine that can be used to control the iteration behaviour of a loop. A generator is very similar to a function that returns an array, in that a generator has parameters, can be called, and generates a sequence of values. However, instead of building an array containing all the values and returning them all…
Emmet is a web-developer’s toolkit that can greatly improve your HTML & CSS workflow by using abbreviations. Abbreviations are the heart of this tool, these special expressions are parsed in runtime and transformed into structured code block increasing productivity by helping you save coding time. It’s available for most text editors and IDEs, therefore wildly use.
The idea of this post is to give you a headstart with emmet and go over some basic but very important abbreviation.
Emmet provides a very easy way to write the basic structure of your HTML documents by using the
! abbreviation. …
Flatiron School Software Engineering Student