2024-5-5

Alemba's Database Migrations

Building an app a database changes are inevitable. Alembic is light weight tool for database migrations mainly used with [SQLAlchemy](https://www.sqlalchemy.org) . What it basically does will apply git like tracking to the database. Alembic will give Django like database migrations to python applications and allow the dev to see changes made over time. The benefit of tracking the history of the database will allow teammates have the most current changes and if there is any issue the database can be rolled back the previous version. The feature of t

Previous Years

2023-11-25

Converting an old laptop to a DNS sinkhole

The goal of the project is to start blocking ads and secure our data being used by other websites. I wanted to use my raspberry pi but couldn't find it. So I opted to use an old laptop that was running Pop_os, that wasn't doing anything.

2023-10-9

NPM Config and global packages

## What packages are installed globally

2023-8-26

Micro FrontEnds, There are several options

- Breaking an app into multiple sections taking larger section and componentizing them. Allowing the possibility to have multiple repositories for one web app.

2023-5-19

2023 Developer Set up

Here is snap shot of how I have my development set up in 2023.

2023-3-23

A overview of Object Oriented Programming

## Code examples

2022-11-4

Interacting with DOM through React

- Writing in JSX could be easy to forget that they are not real elements and have not really been created til the render method has been executed.

2022-11-4

Fetching HTTP request data on useEffect

- Any time the app need to perform a side-effect, then it will be executed within a useEffect hook.

2022-11-1

Lifting State

React Lifting up state, what does this mean exactly? Lifting State is the way we explain sharing state among components. So the first we locate least common parent, depends a lot on where and what needs the state prop. For the example it would be the App component. This isn't to say that is where the state should live but for an examples and learning is most likely the bottom.

2022-10-21

Building custom hooks

How can we make the hook able to work with multiple values and keys, with save to local storage and things. The example is working with local storage. Working with local storage is could be pretty help full in other places.

2022-10-13

Imperative vrs Declarative

React abstract the Imperative browser API. By abstracting the browser API, React would be declarative when working with browser API.

2022-8-19

Passwordless authentication with Magic Link.

## Application layout structure

2022-7-9

Notes on the YDNJS

## What type of language is JS

2022-6-16

JAMStack CMS

As of today the E-commerce site does not really require a CMS.

2022-5-26

Git and Github Intro

Create a repo on Github and once confirmed the repository the screen will have the git commands that can be copied and paste into the terminal. Open the terminal and get to a working directory. Either mkdir and cd into the dir or cd the path of the dir that you wish to start the repository. Then copy paste the whole section of code and now you have started version controlling the codebase

2021-4-12

Software Stroy

The first countermeasure is to be more public with what I'm building. So writing articles on what I have learned that week and a constant flow of tweets. Like a weekly review or similar to "stand-ups". Hopefully, this commitment with keeping the interest alive on the project.

2021-2-4

Building a Menu Component

Dropdown Menu to navigate through a website or app. The component is somewhat modular and allows the addition of any number of routes and sub-routes to be displayed. There is a code sandbox with code.. [click to see code](<[https://codesandbox.io/s/mobile-nav-qln8p](https://codesandbox.io/s/mobile-nav-qln8p)>)

2021-2-3

Intro to the useReducer Hook

## useReducer setup

2020-11-1

Building Tic Tac Toe game with Hooks

Working with Manage State and Derived State. Manage state is state that is explicitly manage, where Derived State is calculated base on other state such as calling a function to. when building the Tic tac toe app using derived state, It all depends on a declared function. Where the only manage state is the array value called squares.

2020-10-18

Jsx What and How

Creating DOM elements get us closer to the building the components. But writing them all wil `React.createElement()` api could be complicated and repetitive. So in comes a JSX, It is a HTML-like syntactic sugar. It is not HTML and not JavaScript Could be thought as a template language in js.

2020-10-18

Styling Components

- To give a component a styles there are two ways to assign style to the component first is `className` the other is inline and is created by the `style ={{}}` where camelCase properties are defined in an Object.

2020-10-14

Intro to useEffect Hook

### Quick while going through contents

2020-10-14

Intro to useState Hook

hold the current state of the page

2020-10-13

writing react elements

```html

2020-7-21

How to fetching Data from React component

To actually get data from an API the first option would be to use `Fetch()`. Which is a promised base JavaScript API that modern browsers(not IE) have implemented and standardize? There are also JS libraries that give additional features when fetching data such as Axios. but that is for another time. So we have a simple idea on how to make a call to get the data, but how and when should React make the call to get the data?

2020-7-14

Setting Default Props for React Comps

When working with components, props get past around like a ball on game day. Anyways there is the possibility that there could have some props have default values. Below are 3 ways that I have found.

2020-6-14

What is Teamcenter

The articles to come will be focused on Application Administrator. My goal is to document the things that I have learn. I have little experience with the Teamcenter software. So I have a good start in documenting cause the position is not even created and I am not 100% sure what is required of me. but I know one thing is that I hope that I can change what I am known for in this company. I hope that the team and I can improve the current state of the company and make it better for the future.