While making my HealthCare Portal App, built with Sinatra (short video on how it works can be found here), I found an interesting issue when I tried to render an .erb page after a failed validation.
patients/edit.erb
is built to show the patient’s current information when you open the edit form. (The <input>
field is set to show the current values saved in the database for the patient’s attributes before they’ve been edited and updated).class Patient < ActiveRecord::Base
validates :name, presence: true
validates :birthdate, presence: true
... …
What API do you choose to work with if you spend all your time reading old books and looking for “scholarly references” online? The GoogleBooks API, of course!
For my first CLI project, I decided to look for books in my new field of interest, “Object-Oriented Programming”(rather than an old one).
With this program, I fetched the top 40 most relevant books (according to the Google search engine) on “Object-Oriented Computer Programming” from the Google Books API.
Once started, the program offers the user the opportunity to browse these books by their titles, and then select one for more details by entering the number of a book that appears next to its title. …
My background is in teaching people to read Classical Greek and Latin (hence the title).
There’s still a lot of work to be done in the digital humanities to make ancient texts available, and I’ve done some work in that area—but, I get really excited when I think about all of the new avenues for creative design that software engineering opens up. I’m particularly interested in designing applications that have real-world use. I also just really like learning new languages and talking about them with other people.
In short, I’m looking forward to moving into the 21st century and finding a new path (inveniens novam viam) in programming!
About