Nisticism


A Coding Blog

Coding as it relates to life.

I believe that there are some similarities to be recognized when it comes to comparing coding to the rest of life in general. It’s true that while coding, a person is often stationary and focused on the content of the code and not the action of coding. This is somewhat similar to the need to contemplate life and think about the bigger picture, because in such actions one is focused only on conceptual thought.


Inline Frame Element and How to Use It

The Inline Frame Element or <iframe> as it appears in code, is a designation of a nested browsing context.


The Purpose of Active Record

Active Record is an important step in accessing backend data written in SQL. It can be seen as the model in the MVC paradigm. Modeling data should be used whenever many of one type of object will be created, or managed by the user. Without the involvement of a user in object creation, objects would be made without Active Record and stored in Ruby or SQL if there are many. Active Record allows for easy creation and retrieval of information stored in SQL databases without the need for SQL code. All the methods that the user has access to allow for this to happen by extending Active Record into new classes that will retrieve or create objects and data.


Table Relations Concepts

Data in the backend of most programs that require lots of storage is stored tables, and these tables are created in Structured Query Languge, or SQL (pronounced ‘see-qual’). If you want to be able to access the data from the front end, these tables have to be related to one another somehow so the user can search for something as specifically as possible, with as many relevant results from the query as possible. The data has to have a way to communicate to the methods and objects of the mid or front end program - this is where ORM comes in.


Class Variables and Methods

Variables and methods are some of the smallest elements of code in almost all languages. They are the building blocks of any program.