HomeAboutBlogPortfolioTechNews Register Login

My Blog

As I have studied web development I have learned that there is a lot to know. Everytime I learn something new I realize there is much more I don't know. So here are some things I have learned along the way!


Published 4 months ago

First we need to understand that there are three levels of programming languages.  Languages like JavaScript, Java, C, and other languages that we typically hear about are high-level languages.  Relatively speaking they are easy for humans to read and understand. A level below the high-level languages is Assembly code.  It is still somewhat readable by humans but a lot harder to understand. The lowest level that the CPU can read is machine code.  This is the binaries with ones and zeros.


So when we write code we write source code.  Which is the code typed into a text editor or IDE by a programmer.  I have heard that source code is the term for code written in a compiled programming language such as C or Java and interpreted languages such as JavaScript code is not called source code, just code.  So if you know for sure leave comments and let me know.


Either way... Continue reading


Published over 2 years ago

For this post I want to talk about the basic structure of Ruby on Rails. Rails is a MVC software architectural pattern. Where M stands for model, V for view, and C for controller. Most websites communicate with databases to pull information and display it to the user. There are some that do not and those are called static pages.


In order to control the information that is accessible from the database rails uses the MVC pattern. When a user types in a web address it first goes to your routes. Your routes will direct you to a controller. The controller like in its name controls a lot of the data flow of the application. It is the controller that will determine if the application will need to go to the database through the model to grab information or if it can just go directly and grab views to be displayed. If it wasn't for the controller it would be easy for a hacker to grab whatever information they want from the database. Some information may be sensitive. For example credit card information. Also the controller helps to keep ... Continue reading